Skip to contentSkip to conversation

latency increased X 10 on update

DISCUSSION marty 2 participants 2 messages Nov 25, 2011 netfilter

lore
Share & tools
lore

marty

author
#0 lore 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.

#1 lore raw
Quoted 10 lines · marty

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?

Quoted 8 lines

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.

Please send exact data: the elements of the set at the given moment, the iptables rules and the log/counters which proves that something is wrong.

I don't really get how your subject is related to the text in your message body.

Best regards,
Jozsef
-
E-mail : [email protected], [email protected] PGP key : http://www.kfki.hu/~kadlec/pgp_public_key.txt
Address : KFKI Research Institute for Particle and Nuclear Physics

          H-1525 Budapest 114, POB. 49, Hungary