All of lore.kernel.org
 help / color / mirror / Atom feed
From: lists+netfilter@roth.lu
To: netfilter@vger.kernel.org
Subject: viewing rules and traffic while inserting/removing rules
Date: Wed, 07 May 2008 19:26:45 +0200	[thread overview]
Message-ID: <4821E655.4010504@roth.lu> (raw)

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?
Regards,
Marc

             reply	other threads:[~2008-05-07 17:26 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-07 17:26 lists+netfilter [this message]
2008-05-07 18:25 ` viewing rules and traffic while inserting/removing rules Jan Engelhardt
2008-05-07 20:01 ` Steven Kath
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=4821E655.4010504@roth.lu \
    --to=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 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.