Page 1 of 1

CSF firewall not blocking IP blocks properly

Posted: 18 Oct 2012, 00:05
by lamigo
Hello,

It looks like CSF firewall is not blocking IP blocks (CIDR ranges) properly.

For instance, I had setup the following rules manually:

csf.deny
208.86.196.0/22 # do not delete Manually denied - Mon Oct 15 17:17:39 2012
208.93.4.0/22 # do not delete Manually denied - Mon Oct 15 17:20:03 2012
178.137.80.0/20 # do not delete Manually denied - Mon Oct 15 17:26:50 2012

But some IP address belonging to those blocks are still connecting to the sites on this VPS:

Request Date : Wednesday, October 17th 2012 @ 10:58:43 PM
Error Date : Wednesday, October 17th 2012 @ 10:59:59 PM
Script : domaingoeshere dot com/showthread.php?t=565018
Referrer :
IP Address : 208.93.7.52

Please let me know what is wrong or if this is a bug in the CSF firewall. Or does this work only for /24 blocks?

Thank you.

Kind regards.

Lamigo

Re: CSF firewall not blocking IP blocks properly

Posted: 04 Dec 2012, 04:51
by vectro
I'm having the same problem. CIDR is not working in the allow lists. IP addresses in the range are still being blocked in csf.tempban even though the entire range is in csf.allow and csf.ignore.

Re: CSF firewall not blocking IP blocks properly

Posted: 07 Jan 2013, 18:34
by C4talyst
I may be encountering the same; did you guys make and headyway on this?

Re: CSF firewall not blocking IP blocks properly

Posted: 18 Feb 2013, 01:23
by vectro
Seems to have corrected itself on my end. Just a temporary glitch I suppose.