csf fails after kernel upgrade; "couldn't load target LOGDROPIN"
Posted: 17 Jun 2015, 17:13
A VPS I admin recently needed to upgrade from a 2.4 series kernel to 3.12.27. It appears that csf/lfd are no longer working to do any iptables firewall filtering. When I try to add an address with csf -d, I get this error:
And when I run iptables -L, all tables are empty:
I understand iptables is being phased out, but I thought it should still work with a compatibility layer in 3.12. Can someone point me in the right direction to get csf filtering back in place on this new kernel?
Code: Select all
# csf -d xxx.xxx.xxx.xxx
Adding xxx.xxx.xxx.xxx to csf.deny and iptables DROP...
iptables v1.4.21: Couldn't load target `LOGDROPIN':No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables: No chain/target/match by that name.
DROP all opt -- in * out !lo 0.0.0.0/0 -> xxx.xxx.xxx.xxx
Code: Select all
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination