From: "J. Bakshi" <joydeep@infoservices.in>
To: Anatoly Muliarski <x86ever@gmail.com>
Cc: netfilter@vger.kernel.org
Subject: Re: How to view blacklist ip ?
Date: Tue, 08 Sep 2009 10:58:21 +0530 [thread overview]
Message-ID: <4AA5EB75.5060301@infoservices.in> (raw)
In-Reply-To: <4AA5DF29.9070008@infoservices.in>
J. Bakshi wrote:
> Anatoly Muliarski wrote:
>
>> 2009/9/7 J. Bakshi <joydeep@infoservices.in>:
>>
>>
>>> 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.
>>
>>
>>
>
> Hello Anatoly,
>
> Thanks for your enlightenment. I have to check if iptables supports
> ipset by default in suse and debian. BTW any good tutorial to start with
> ipset ?
>
> regards
>
Hello,
find iptree of ipset. seems it can do the job. iptree can store ip
addresses with a timeout value. So the next thing is to migrate the
blacklisted ip from ipt_recent module to the iptree of ipset. I hope I
am on te right track. need some guidance from you list.
regards.
next prev parent reply other threads:[~2009-09-08 5:28 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-07 5:57 How to view blacklist ip ? J. Bakshi
2009-09-07 6:01 ` Anatoly Muliarski
2009-09-07 6:09 ` J. Bakshi
2009-09-07 7:33 ` Pascal Hambourg
2009-09-07 7:43 ` J. Bakshi
2009-09-07 7:59 ` J. Bakshi
2009-09-07 8:14 ` Pascal Hambourg
2009-09-07 8:26 ` J. Bakshi
2009-09-07 9:20 ` J. Bakshi
2009-09-07 10:34 ` Pascal Hambourg
2009-09-07 10:47 ` J. Bakshi
2009-09-07 11:14 ` Pascal Hambourg
2009-09-07 12:20 ` J. Bakshi
2009-09-07 18:37 ` Anatoly Muliarski
2009-09-08 4:35 ` J. Bakshi
2009-09-08 5:28 ` J. Bakshi [this message]
2009-09-08 7:48 ` Anatoly Muliarski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4AA5EB75.5060301@infoservices.in \
--to=joydeep@infoservices.in \
--cc=netfilter@vger.kernel.org \
--cc=x86ever@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.