latency increased X 10 on update
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.
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 whenpacket_countexceeds 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