GeoIP shows country as unknown
-
@yquirion said in GeoIP shows country as unknown:
Hi @jdeloach,
Can you paste the link to @Gertjan message? I tried to look under his profile, but he's posting a lot
Thanks for your reply!
YanickSorry, I made a mistake, it wasn't Gertjan that came up with work around in the code for this issue. I was thinking of something else.
-
@jdeloach said in GeoIP shows country as unknown:
There is another message or two here about this issue. @Gertjan, another user, has offered a mod to the code on here that supposedly fixes the issue
This one : pfBlockerNG-devel v3.1.0_9 / v3.1.0_15 isn't related, as it was a 'ut1' audio video file name mismatch issue.
-
@yquirion I think this is the post you are looking for: https://forum.netgate.com/topic/176668/geoip-showing-unk/7
-
I am having the same issues. Originally the GeoLite2-Country.mmdb did not exist which I ran /usr/bin/tar -xzf GeoLite2-Country.tar.gz --strip=1. I restarted prb_filter and even did a reboot and the vast majority are showing as Unk.
I also queried my biggest offenders which show and Unk and the query respons with a country code.
-
-
@fireodo both myself and the op did that which I stated and he stated.
-
@dkggpeters said in GeoIP shows country as unknown:
@fireodo both myself and the op did that which I stated and he stated.
OK!
-
@yquirion This worked for me. I went to package manager and did a reinstall and an update afterwards. Now GeoIP is populating for all items.
-
@fireodo It ended up being something with the original install. I reinstalled and everything works. Thanks for the effort.
-
@dkggpeters You were right! Just reinstalling the package also solve the issue for me! It was also nice that the reinstall didn't reset all my configuration!
Thank you so much for the hint! Really appreciated!
Cheers!
-
@yquirion I was surprised as well and was hoping it did not change my configuration which it did not. I was not aware about querying the database so I learned a very nice thing from you as well.
-