nixos-tor-anti-dos

Per-source rate limiting for a Tor relay's ORPort on NixOS (nftables). Working module with a two-node VM test; not production-tested. MIT

A new way for AI to search for data
View on GitHub
1GitHub stars
14commits on main
0forks

Nix 100% · created 2026-08-29 · last push 2026-10-21

What XERJ indexed

Snapshot

10 files · 43.3 KB

The whole repository at commit 8b04d7f013 (2026-10-19). main is 4 commits ahead.

Selected work

Delfim Leite
@EnovaMaker

“Add mode = connections (concurrent limit, 12h block, allow lists), li…”. 4 files, 535 lines in nixos, tests, the project root.

Licence

The repository

MIT

LICENSE file checked at the pinned commit; the author agreed to inclusion.

The XERJ corpus

MIT, with credit

The author agreed by email on 2026-10-22. Same terms as the repository. Answers name the repo, the commit and the file:line.

selected for the XERJ Corpus Hublicence clearedsuggested use: adapt with attribution

Example questions

The prompt

Paste it into your AI agent. It clones EnovaMaker/nixos-tor-anti-dos at the pinned commit and indexes it on your machine.

Search the GitHub repository EnovaMaker/nixos-tor-anti-dos with XERJ (https://hub.xerj.org/corpus/enovamaker--nixos-tor-anti-dos).
Run these in a shell, in order, and check each result before the next:
1. xerj --help  (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh
2. git clone https://github.com/EnovaMaker/nixos-tor-anti-dos nixos-tor-anti-dos && git -C nixos-tor-anti-dos checkout 8b04d7f013e69b0ef763f857093e8b1662c6bc35
3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data
4. xerj autoindex ./nixos-tor-anti-dos --url http://127.0.0.1:9200 --prefix nixos-tor-anti-dos --progress plain
5. xerj autoindex map --url http://127.0.0.1:9200
Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt
Licence: MIT. Keep the copyright notice and credit the authors.

Related

Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.