netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: marty <martinbarrowcliff@gmail.com>
To: netfilter-devel@vger.kernel.org
Subject: latency increased X 10 on update
Date: Fri, 25 Nov 2011 16:45:54 -0500	[thread overview]
Message-ID: <4ED00C92.9030701@gmail.com> (raw)

Using ipset-6.9.1 on Linux-3.1.1
Only managing ipv4 traffic on Intel Atom-330 firewall.

Same iptables rules, however after updating from v4 code I see issues.
Attacker sends a packet;
I detect a unserved dest port and --add-set Blah src;
LOG it, DROP it, and begone;
But the set may not match for several further packets.
Ouch. Buffers?

Blah is used as
iptables -t raw -I PREROUTING  --match-set Blah src-j DROP
This DROP is NEVER logged, but certainly counted.

However I often continue to log multiple packets from blocked hosts, 
despite I am supposedly blocking them on the first bad packet.
I can confirm they are in the set but when packet_count exceeds 1 
something is very wrong with that picture.


Marty B.

             reply	other threads:[~2011-11-25 21:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-25 21:45 marty [this message]
2011-11-25 23:04 ` latency increased X 10 on update Jozsef Kadlecsik

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=4ED00C92.9030701@gmail.com \
    --to=martinbarrowcliff@gmail.com \
    --cc=netfilter-devel@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;
as well as URLs for NNTP newsgroup(s).