anubis/cmd/anubis
Remilia Da Costa Faro d6d879133e
Allow filtering by remote addresses (#52)
* Added the possibility to define rules for remote addresses

* Added change in changelog

* Added check for X-Real-Ip and X-Forwarded-For when checking for remote address filtering

* cmd/anubis: refine IP filtering logic

* Optimize the configuration so that the IP trie is created once at
  application start instead of dynamically being created every request.
* Document the changes in the changelog and docs site.
* Allow pure IP range filtering.
* Allow user agent based IP range filtering.
* Allow path based IP range filtering.
* Create --debug-x-real-ip-default flag for testing Anubis locally
  without a HTTP load balancer.

---------

Co-authored-by: Xe Iaso <me@xeiaso.net>
2025-03-21 15:39:34 -04:00
..
internal Allow filtering by remote addresses (#52) 2025-03-21 15:39:34 -04:00
js cmd/anubis: configurable difficulty per-bot rule (#53) 2025-03-21 13:48:00 -04:00
static cmd/anubis: configurable difficulty per-bot rule (#53) 2025-03-21 13:48:00 -04:00
.gitignore initial import from /x/ monorepo 2025-03-17 19:33:07 -04:00
botPolicies.json Allow filtering by remote addresses (#52) 2025-03-21 15:39:34 -04:00
CHANGELOG.md initial import from /x/ monorepo 2025-03-17 19:33:07 -04:00
decaymap.go initial import from /x/ monorepo 2025-03-17 19:33:07 -04:00
decaymap_test.go initial import from /x/ monorepo 2025-03-17 19:33:07 -04:00
index.templ cmd/anubis: explain why users are seeing Anubis (#55) 2025-03-21 14:21:59 -04:00
index_templ.go cmd/anubis: explain why users are seeing Anubis (#55) 2025-03-21 14:21:59 -04:00
main.go Allow filtering by remote addresses (#52) 2025-03-21 15:39:34 -04:00
policy.go Allow filtering by remote addresses (#52) 2025-03-21 15:39:34 -04:00
policy_test.go cmd/anubis: configurable difficulty per-bot rule (#53) 2025-03-21 13:48:00 -04:00