From: "Steven Kath" <steven.kath@vyatta.com>
To: lists+netfilter@roth.lu, netfilter@vger.kernel.org
Subject: RE: viewing rules and traffic while inserting/removing rules
Date: Wed, 7 May 2008 13:01:07 -0700 (PDT) [thread overview]
Message-ID: <090801c8b07c$fa084b60$5000040a@skathlaptop> (raw)
In-Reply-To: <4821E655.4010504@roth.lu>
Marc wrote:
>
> Hi there,
> I have quite a large list of blacklisted networks in my iptables
> firewall, approx. 20,000.
> Now I have a script that updates this blacklist according to my needs
> every hour. My problem now is that during the update period (which
> consists of several iptables [-I|-D] $CHAIN -s ... -j ... commands) my
> traffic accounting is going haywire.
> I have narrowed it down to the problem that displaying the rules (from
> which I extract the traffic information via iptables -xvnL $CHAIN)
> intermittently shows 0s (zeroes) as paket and byte counters while the
> insert/delete commands are being issued.
> Is there a locking problem? Should I maybe report this to the devel
list?
Have you considered using netfilter's ip sets for this? Sounds like it
might be perfect for your needs.
http://www.netfilter.org/projects/ipset/
next prev parent reply other threads:[~2008-05-07 20:01 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-07 17:26 viewing rules and traffic while inserting/removing rules lists+netfilter
2008-05-07 18:25 ` Jan Engelhardt
2008-05-07 20:01 ` Steven Kath [this message]
2008-05-07 21:29 ` lists+netfilter
2008-05-08 16:44 ` Grant Taylor
2008-05-08 17:17 ` lists+netfilter
2008-05-08 19:21 ` Grant Taylor
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='090801c8b07c$fa084b60$5000040a@skathlaptop' \
--to=steven.kath@vyatta.com \
--cc=lists+netfilter@roth.lu \
--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