Performance losings with iptables
Hello,
i use iptables with Debian-Linux (2.4.20).
Wenn i install 150 Input-Chains like this:
iptables -A input -s 192.168.81.xxx
i will lose a lot of perfomance (for example: apache take a lot of time, ssh ...) Wenn i show the perfomance with vmstat - vmstat says that 99 % is idel... Wer is the Problem ???
Thanks for helping ... Michael
Am Die, 2003-05-13 um 17.40 schrieb Michael Albrecht:
Quoted 7 lines
Hello,
i use iptables with Debian-Linux (2.4.20).
Wenn i install 150 Input-Chains like this:
iptables -A input -s 192.168.81.xxx
i will lose a lot of perfomance (for example: apache take a lot of time, ssh ...) Wenn i show the perfomance with vmstat - vmstat says that 99 % is idel... Wer is the Problem ???
I doubt that iptables itself is responsible for the performance loss. I rather suspect name resolution.
Can you post you rules or at least some timing information?
Cheers,
Ralf
Signature · 7 lines
Ralf Spenneberg RHCE, RHCX Book: Intrusion Detection für Linux Server http://www.spenneberg.com IPsec-Howto http://www.ipsec-howto.org Honeynet Project Mirror: http://honeynet.spenneberg.org
On Tue, May 20, 2003 at 09:50:01AM +0200, Ralf Spenneberg spoke thusly:
Quoted 5 lines
Am Die, 2003-05-13 um 17.40 schrieb Michael Albrecht:
Quoted 4 lines
iptables -A input -s 192.168.81.xxx
i will lose a lot of perfomance (for
example: apache take a lot of time, ssh ...) Wenn i show the perfomance with vmstat - vmstat says that 99 % is
As Michael has already mentioned, I too doubt its an iptables fault. I've had in excess of 1,300 rules running on a production firewall, for dynamic dumping of Nimda infected hosts. Its almost certainly a name resolving issue as Michael has already pointed to.