enable geoip databases on anubis #156

Open
opened 2026-11-10 17:51:20 +00:00 by fauno · 5 comments
Owner

anubis supports geoip databases from maxmind, which are a commercial subscription and the latest geoiplite databases i tracked are from december 2019. would that too old in internet terms?

there are asn databases that are open, so for more up to date databases it's either adding support on anubis for those or converting them to mmdb. i think the first would be easier, since i never found a reliable way to create my own mmdb (the write libraries i found were too old or incomplete afair)

for a basic poc i could add the config file and instructions on how to add the file?

[anubis supports geoip databases](https://anubis.techaro.lol/docs/admin/geoip) from maxmind, which are a commercial subscription and the latest geoiplite databases i tracked are from december 2019. would that too old in internet terms? there are asn databases that are open, so for more up to date databases it's either adding support on anubis for those or converting them to mmdb. i think the first would be easier, since i never found a reliable way to create my own mmdb (the write libraries i found were too old or incomplete afair) for a basic poc i could add the config file and instructions on how to add the file?
fauno added the enhancementhelp wanted labels 2026-11-10 17:51:20 +00:00
fauno self-assigned this 2026-11-10 17:51:20 +00:00
Author
Owner

well i just found seemingly updated databases, tbd if the source is trustable

https://github.com/P3TERX/GeoLite.mmdb/

well i just found seemingly updated databases, tbd if the source is trustable https://github.com/P3TERX/GeoLite.mmdb/
Author
Owner

well i deployed it but it's difficult to see if it's having any effect. currently i can see the asns are being logged, and ali baba which is my current nuisance is being denied, but apparently by another rule. i'm still getting lots of requests on forgejo that can't be seen on anubis logs, i'm not sure why yet

well i deployed it but it's difficult to see if it's having any effect. currently i can see the asns are being logged, and ali baba which is my current nuisance is being denied, but apparently by another rule. i'm still getting lots of requests on forgejo that can't be seen on anubis logs, i'm not sure why yet
Author
Owner

ok, i'm seeing ~370 distinct ip addresses from ali baba that anubis says it's blocking when they do 1 request, but i'm also seeing 1 request each on forgejo's access log. i can't tell now if it's the same request or they're two separate requests, because anubis isn't logging the url

ok, i'm seeing ~370 distinct ip addresses from ali baba that anubis says it's blocking when they do 1 request, but i'm also seeing 1 request each on forgejo's access log. i can't tell now if it's the same request or they're two separate requests, because anubis isn't logging the url
Author
Owner

ended up blocking the entire subnets of the asn because i couldn't tell if anubis was being bypassed or not consistently blocking requests.

but the asns do appear on logs and metrics, so this pr is still useful

ended up blocking the entire subnets of the asn because i couldn't tell if anubis was being bypassed or not consistently blocking requests. but the asns do appear on logs and metrics, so this pr is still useful
Author
Owner

i'm missing documentation on how to upload the databases to the volume, abra app copy didn't work

i'm missing documentation on how to upload the databases to the volume, `abra app copy` didn't work
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: coop-cloud/traefik#156