xt_owner/xt_connlimit not working
I'm trying to use CSF Firewall on my VPS and am unable to use the check-owner functions of IPTables with the following error:
# /etc/csf/csftest.pl
Testing ip_tables/iptable_filter...OK
Testing ipt_LOG...OK
Testing ipt_multiport/xt_multiport...OK
Testing ipt_REJECT...OK
Testing ipt_state/xt_state...OK
Testing ipt_limit/xt_limit...OK
Testing ipt_recent...OK
Testing xt_connlimit...FAILED [Error: iptables: Unknown error 18446744073709551615] - Required for CONNLIMIT feature
Testing ipt_owner/xt_owner...FAILED [Error: iptables: Unknown error 18446744073709551615] - Required for SMTP_BLOCK and UID/GID blocking features
Testing iptable_nat/ipt_REDIRECT...OK
Testing iptable_nat/ipt_DNAT...OK
RESULT: csf will function on this server but some features will not work due to some missing iptables modules [2]
The Kernel I'm running is 3.0.4-x86_64-linode21 on CentOS 5.6
I've checked /proc/config.gz and these modules were apparently built in to the kernel, but for some reason they don't seem to be working and IPTables just throws the "unknown error" which usually means the module isn't loaded.
Hoping someone can help,
Cheers
2 Replies
For all interested, the issue lies with the CentOS iptables tools being too old, I built iptables from source and it resolved my issue.
You would probably have better luck with CentOS 6, which at least is only about a year old (based on the RHEL release date). It's based on 2.6.32, at least, which is only ~2 years old.