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

This forum is only for reproducible bugs with csf and lfd (i.e. not iptables problems, lack of understanding how to use a feature, etc). Posts must be accompanied with full technical details of the problem and how it can be recreated. Any posts not adhering to this, or not considered bugs, will be moved to the General Discussion (csf) forum.
Post Reply
david_we
Junior Member
Posts: 3
Joined: 02 Nov 2010, 11:39

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

Post 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)
ForumAdmin
Moderator
Posts: 1523
Joined: 01 Oct 2008, 09:24

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

Post 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".
Post Reply