Page 1 of 1

Since last Tuesday, CSF can't geolocate Spanish IP addresses

Posted: 16 Dec 2020, 14:05
by david_we
Hello!

Since las Tuesday, CSF can't geolocate Spanish IP addresses when executing this:

csf -i 81.202.228.230

This commando retusn this:

# csf -i 81.202.228.230
81.202.228.230 (81.202.228.230.dyn.user.ono.com)

while in other countries it works welll, for example...:

## csf -i 8.8.8.8
8.8.8.8 (US/United States/dns.google)

We noticed that if we modify the database file like this:

echo ',,,,,,' >> /var/lib/csf/Geo/GeoLite2-Country-Locations-en.csv

Then, it works well again... This happens since last MaxMind Update this Tuesday...

csf -i 81.202.228.230
81.202.228.230 (ES/Spain/81.202.228.230.dyn.user.ono.com)

Re: Since last Tuesday, CSF can't geolocate Spanish IP addresses

Posted: 16 Dec 2020, 16:53
by ForumAdmin
We've made some improvements to the binary search for the maxmind lookups, for the next release of csf. In the meantime, you will have to either use your workaround or switch to CC_SRC = "2".