Re: removing black listed ip

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Saturday 2010-04-10 19:03, ratheesh k wrote:

>Hi ,
>
> I need to remove black listed ip if   last seen packet is  x time
>ago  . I have changed code , but here it is comparing with first seen
>packet time . i need to compare last seen packet .

xt_recent works by comparing the difference between an entry's 
timestamps and the current time with the chosen --seconds parameter.


>@@ -178,6 +189,10 @@
> 		e->nstamps = e->index;
> 	e->index %= ip_pkt_list_tot;
> 	list_move_tail(&e->lru_list, &t->lru_list);
>+
>+
>+
>+
> }
>
> static struct recent_table *recent_table_lookup(const char *name)
>
>

What's with all this whitespace...
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux