waster
Joined: 18 Mar 2008
Posts: 4
|
| Posted: Tue Mar 18, 2008 3:42 pm Post subject: iptables+connlimit |
|
|
Hello,
Was playing with te iptables and suddenly had the problem.
I'v tried to add the following rule to limit number of connections to 80 port:
Code: -A INPUT -p tcp --syn --dport 80 -m connlimit --connlimit-above 5 -j REJECT
And get the following error in /var/log/messages:
Code: kernel: ip_tables: connlimit match: invalid size 32 != 16
Do zcat /proc/config.gz | grep -i connlimit and get CONFIG_NETFILTER_XT_MATCH_CONNLIMIT=y - so connlimit is supported by the kernel?
Is it possible to load connlimit iptables module?
OS: Debian 4.0
Thanks. |
|