I have CSF v5.12 (generic) installed on my CentOS 4.4 server, and am trying to use the tempban/tempdeny feature to temporary add a firewall block to a specific IP. (I am building a PHP script which needs to block abusive users for an hour)
The command I am running is:
[root@domfe01 csf]# /usr/sbin/csf --tempdeny 220.127.116.11 10 DROP all opt -- in !lo out * 18.104.22.168 -> 0.0.0.0/0 csf: 22.214.171.124 blocked on port * for 10 seconds inbound
However, more than 10 seconds later and the IP is still blocked.
I don't really know what to do next, as CSF appears to function correctly.