Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Pascal Hambourg <pascal.mail@plouf.fr.eu.org>
To: netfilter@vger.kernel.org
Subject: Re: How to view blacklist ip ?
Date: Mon, 07 Sep 2009 12:34:21 +0200	[thread overview]
Message-ID: <4AA4E1AD.4040200@plouf.fr.eu.org> (raw)
In-Reply-To: <4AA4D05E.5050909@infoservices.in>

J. Bakshi a écrit :
> 
> Even after the blacklist interval the client can access the server
> successfully; the server still shows the client ip as blacklisted.
> Definately the ip can be removed or "clear" as described in the man page
> but storing the ip permanently at  /proc/net/ipt_recent/blacklist  is 
> very confusing.  How can you then check if the ip is still blacklisted
> or able to communicate with the server in real-life  ?

The list just stores source addresses and timestamps (the big numbers,
measured in jiffies) of recently seen packets in a FIFO manner. Whether
a packet will match the rule with 'recent' depends on its options
--seconds and/or --hitcount. So it is up to you to parse the timestamps
associated to an address and decide whether this address is blacklisted
or not.

  reply	other threads:[~2009-09-07 10:34 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 [this message]
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
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=4AA4E1AD.4040200@plouf.fr.eu.org \
    --to=pascal.mail@plouf.fr.eu.org \
    --cc=netfilter@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox