tomilius
27-03-2005, 23:58
Trash this if I'm wrong, but I can't get iplimit to work correctly.
This works:
iptables -A INPUT -p tcp --syn -j REJECT
This doesn't:
iptables -A INPUT -p tcp --syn -m iplimit --iplimit-above 5 -j REJECT
Result:
iptables: No chain/target/match by that name
I'm ... well... 66% positive that I'm doing it correctly. I've googled.
... And in so googling, I've found other people with the problem but not a solution that I can understand (something about patch-o-matic). Oleg, I would appreciate it if you could solve this problem in the next firmware :)
iptables -m iplimit -h:
iplimit v1.2.7a options:
[!] --iplimit-above n match if the number of existing tcp connections is (not) above n
--iplimit-mask n group hosts using mask
So it's not completely broken, since it can show that. Like I said, there are reports of this problem. Apparently iplimit needs a kernel patch or something:
Please use patch-o-matic to get <B style="color:black;background-color:#ffff66">iplimit</B> match support in your firewall. If compiled into kernel, then you have no need
to worry :)
This works:
iptables -A INPUT -p tcp --syn -j REJECT
This doesn't:
iptables -A INPUT -p tcp --syn -m iplimit --iplimit-above 5 -j REJECT
Result:
iptables: No chain/target/match by that name
I'm ... well... 66% positive that I'm doing it correctly. I've googled.
... And in so googling, I've found other people with the problem but not a solution that I can understand (something about patch-o-matic). Oleg, I would appreciate it if you could solve this problem in the next firmware :)
iptables -m iplimit -h:
iplimit v1.2.7a options:
[!] --iplimit-above n match if the number of existing tcp connections is (not) above n
--iplimit-mask n group hosts using mask
So it's not completely broken, since it can show that. Like I said, there are reports of this problem. Apparently iplimit needs a kernel patch or something:
Please use patch-o-matic to get <B style="color:black;background-color:#ffff66">iplimit</B> match support in your firewall. If compiled into kernel, then you have no need
to worry :)