CC_DENY does not work

Post Reply
tfetfetfe
Junior Member
Posts: 8
Joined: 16 Jan 2018, 10:19

CC_DENY does not work

Post by tfetfetfe »

Some time ago I submitted a thread Blocking IP ranges does not have any effect -
viewtopic.php?f=6&t=10685&p=29188 but didn; t get any comment.

Today I noticed that CC_DENY option doesnt work either.

I have:

Code: Select all

CC_DENY = "CN,BR,CA,HK,TW,RO,UA,MD,KZ,KR,VN,TR,RU,PA,LB"
However today I noticed a visitor on my website from IP address: 37.20.161.96.
CSF/LFD uses Maxmind database to detect country, right? So, the Maxmind database returns "RU" for this IP address. How is it possible that visitors from blocked countries can access the server?

Can anyone tell me the location of Maxmind database on the server? How often it get' s updated? Maybe the problem is caused by a outdated Maxmind database...?
firewall_admin
Junior Member
Posts: 4
Joined: 07 Mar 2018, 06:18

Re: CC_DENY does not work

Post by firewall_admin »

Have you consider to update the IP ranges?

You can export the latest list easily from https://www.ip2location.com/free/visitor-blocker for ConfigServer
tfetfetfe
Junior Member
Posts: 8
Joined: 16 Jan 2018, 10:19

Re: CC_DENY does not work

Post by tfetfetfe »

firewall_admin,

As I know, CSF/LFD is using Maxmind services to detect countries.. I am wrong?

I have read the readme.txt file but it doesn't say that I have to update anything manually if I want to use CC_DENY setting.
Post Reply