Page 1 of 1

CC_DENY does not work

Posted: 24 Mar 2018, 13:07
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...?

Re: CC_DENY does not work

Posted: 29 Mar 2018, 03:59
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

Re: CC_DENY does not work

Posted: 29 Mar 2018, 08:28
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.