Closed pitchum closed 2 years ago
Can you log the IP and the returned record and share it with me?
I don't want to publicly share IP addresses and I couldn't find a way to send you a private message. What I can tell you is that those IPs only have "continent" information in the maxmind DB. Here is what command mmdblookup return for thoses IPs:
$ mmdblookup --file GeoLite2-Country.mmdb --ip x.x.x.x
{
"continent":
{
"code":
"EU" <utf8_string>
"geoname_id":
6255148 <uint32>
"names":
{
"de":
"Europa" <utf8_string>
"en":
"Europe" <utf8_string>
"es":
"Europa" <utf8_string>
"fr":
"Europe" <utf8_string>
"ja":
"ヨーãƒãƒƒãƒ‘" <utf8_string>
"pt-BR":
"Europa" <utf8_string>
"ru":
"Европа" <utf8_string>
"zh-CN":
"欧洲" <utf8_string>
}
}
}
Feel free to drop me an email to <my github name>@nextcloud.com
done!
Maybe related to #367, it seems that some IP addresses present in the maxmind DB don't have a "country" attribute. It doesn't seem to break anything, but it writes a lot of garbage in logs.
On my instance, I solved this with the following patch:
HTH