CSF firewall not blocking IP blocks properly

Post Reply
lamigo
Junior Member
Posts: 1
Joined: 17 Oct 2012, 23:58

CSF firewall not blocking IP blocks properly

Post 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
vectro
Junior Member
Posts: 3
Joined: 04 Dec 2012, 04:49

Re: CSF firewall not blocking IP blocks properly

Post 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.
C4talyst
Junior Member
Posts: 3
Joined: 07 Jan 2013, 16:30

Re: CSF firewall not blocking IP blocks properly

Post by C4talyst »

I may be encountering the same; did you guys make and headyway on this?
vectro
Junior Member
Posts: 3
Joined: 04 Dec 2012, 04:49

Re: CSF firewall not blocking IP blocks properly

Post by vectro »

Seems to have corrected itself on my end. Just a temporary glitch I suppose.
Post Reply