Problem adding connlimit rule
Quoted 12 lines · Ruben Cardenal
Hi,
Quoted 9 lines · [email protected] wrote:
Quoted 7 lines · Ruben Cardenal
Hi,
I'm trying to add a quite simple rule but I get an error:
# iptables -I INPUT -p tcp --syn --dport 25 -m connlimit --connlimit-above 10 -j REJECT iptables: No chain/target/match by that name
Quoted 6 lines
Quoted 3 lines
Maybe you don't have the support for the connlimit match compiled for iptables. Check if you have the file:
/lib/iptables/libipt_connlimit.soFor this system libs are located under
/usr/local/lib/iptablesand
libipt_connlimit.so is there.
Do you have the vanilla kernel patched with pom-ng?
I know the FC3 and RHEL kernels don't include the support for the connlimit match, so you have to apply the last pom patches to the iptables sources and the kernel.
If you are using the kernel bundled with a distribution then probably it doesn't have the connlimit support.
Quoted 3 lines
Regards,
- Ruben
Regards.
Signature · 12 lines
Jose Maria Lopez Hernandez Director Tecnico de bgSEC [email protected] bgSEC Seguridad y Consultoria de Sistemas http://www.bgsec.com ESPAÑA The only people for me are the mad ones -- the ones who are mad to live, mad to talk, mad to be saved, desirous of everything at the same time, the ones who never yawn or say a commonplace thing, but burn, burn, burn like fabulous yellow Roman candles. -- Jack Kerouac, "On the Road"