docs(auth): warn about a wrong or too-wide trusted proxy list
CI / Format and clippy (pull_request) Successful in 6m12s
CI / Dependency audit (pull_request) Successful in 15s
CI / Docker image (build and smoke test) (pull_request) Successful in 9m3s
CI / Tests (Linux) (pull_request) Successful in 15m33s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Lucas RayanandClaude Opus 5.5 committed 2026-11-05 07:01:16 -03:00
1 parent 9ef86ac425
commit 4f3091d963
4 files changed
+9 -2

No files matched your search

+3
View File
@@ -44,6 +44,9 @@ reproduction when a private channel is available.
and `acaua auth reset` clears the budget; an attacker still running can spend it
again. Up to 100 guesses a day per account remain possible, so long passwords
matter, and MFA remains recommended for analysts.
These limits trust the client address: a wrong `ACAUA_TRUSTED_PROXIES` makes every
client look like one address, which removes the cap and can share lockouts, and a
too-wide one lets clients forge `X-Forwarded-For`.
Crossing the budget writes one `login.budget_exhausted` audit event per account
per 24 hours; a username with no account writes none. The audit log has no rotation yet: failed logins add to it, so watch
its size on an exposed instance. Budgets of real accounts survive a restart;