enable geoip databases on anubis #156
Open
opened 2026-11-10 17:51:20 +00:00 by fauno
·
5 comments
No Branch/Tag Specified
master
renovate/traefik-3.x
anubis-geoip
code-owners
codeowners
rate-limits
access-logs-docs
dont-generate-wildcard-certs
MAINTENANCE
forwarded-headers
adding-matrix-room
pgsql-port-open
anubis-metrics
trust-forward-header
large-uploads
anubis-log-level
compose.matrix
garage
cve_patch
chore-5.0.0+v3.6.10
feat-release-notes-next
add-onion-support
remove-default-timeout
feat-pull-request-template
improve-docs
anubis
sixsmith-v3-update-only
feature/irc
revert-logmaxAge
qbit
feature/v3
error-pages-again
metrics
basic-auth
error-messages-attempt
error-pages-attempt
minecraft
forward-auth-2
error-pages
rejig-compose-vars
self-signed
6.5.1+v3.7.17
6.5.0+v3.7.16
6.4.0+v3.7.14
6.3.0+v3.7.13
6.2.0+v3.7.12
6.1.0+v3.7.10
6.0.0+v3.7.7
5.1.1+v3.6.15
5.1.0+v3.6.11
5.0.0+v3.6.10
4.0.0+v3.6.10
3.10.0+v3.6.7
3.9.0+v3.6.5
3.8.0+v3.6.5
3.7.0+v3.6.2
3.6.3+v3.4.5
3.6.2+v3.4.5
3.6.1+v3.4.5
3.6.0+v3.4.5
3.5.0+v3.4.5
3.4.2+v3.4.5
3.4.1+v3.4.5
3.4.0+v3.4.4
3.3.0+v2.11.26
3.2.0+v2.11.25
3.1.1+v2.11.25
3.1.0+v2.11.24
3.0.0+v2.11.22
2.10.0+v2.11.22
2.9.1+v2.11.14
3.1.0+v2.11.14
2.9.0+v2.11.14
2.8.0+v2.11.10
2.7.0+v2.11.8
3.0.0+v3.0.0
2.6.3+v2.11.2
2.6.2+v2.11.1
2.6.1+v2.11.0
2.6.0+v2.11.0
2.5.0+v2.11.0
2.4.3+v2.10.5
2.1.0+v2.9.9
2.4.2+v2.10.4
2.4.1+v2.10.3
2.4.0+v2.10.1
2.3.1+v2.10.2
2.3.0+v2.10.2
2.2.0+v2.10.2
2.2.0+v2.10.1
2.0.4+v2.9.6
2.0.3+v2.9.6
2.0.2+v2.9.5
2.0.0+v2.9.1
1.1.1+v2.8.1
1.1.0+v2.8.0
1.0.1+v2.5.6
1.0.0+v2.5.2
Milestone
No items
No Milestone
Assignees
3wordchant
aadil (Aadil Ayub)
abra-bot (Abra Bot)
ammaratef45
amras (Sarma)
BornDeleuze (Born Deleuze)
Brooke
carla
cas (Cassowary)
coopcloud
dannygroenewegen (Danny Groenewegen)
decentral1se (d1)
devydave
fauno (fauno)
hex (Josh Dukes)
javielico (Javielico)
jjsfunhouse
kawaiipunk (KawaiiPunk)
knoflook
moosemower
moritz
notplants
oxaliq (sorrel)
p4u1 (p4u1)
renovate-bot (Comrade Renovate Bot)
simon
stevensting (stevensting)
trav (Trav Fryer)
yksflip
Clear assignees
No Assignees
fauno
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: coop-cloud/traefik#156
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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?
well i just found seemingly updated databases, tbd if the source is trustable
https://github.com/P3TERX/GeoLite.mmdb/
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
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
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
i'm missing documentation on how to upload the databases to the volume,
abra app copydidn't work