Re: How to view blacklist ip ?

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

 



2009/9/7 J. Bakshi <joydeep@xxxxxxxxxxxxxxx>:
> Could anyone suggest me how to get time in jiffies ? Tried with "date
> +%s" but it is not the jiffie value. Any clue please ?

You may use the first field in /proc/uptime - that gives you uptime in seconds.

IMHO, the recent module should be used for filtering purpose only not
for managing black lists.
The right way is ipset :)
And it does not require you to recompile your kernel - you may install
it as a module.
And yes, to use it you should recompile iptables if it does not
support it by default.

-- 
Best regards
Anatoly Muliarski
--
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