diff options
| author | Dennis Fink | 2026-10-31 19:33:49 +0100 |
|---|---|---|
| committer | Dennis Fink | 2026-10-31 19:33:49 +0100 |
| commit | 3a3284abe23e143cbb638877f47958c82afa3367 (patch) | |
| tree | 5409bb940d252756f502d545cc145b382f06a3a0 /tests/cli/test_users.py | |
| parent | 40bdba0f2aa132f47326d2591e83039249ae2121 (diff) | |
| download | webmentions-ssg-3a3284abe23e143cbb638877f47958c82afa3367.tar.gz webmentions-ssg-3a3284abe23e143cbb638877f47958c82afa3367.zip | |
fix(core): harden login rate limiting behind proxies
Trust forwarded client addresses only for an explicitly configured
number of reverse-proxy hops so per-IP limits cannot be bypassed or
collapsed in proxied deployments.
Add a separate hashed per-username login limit across IPs to reduce
distributed credential-guessing attempts without storing raw usernames
in limiter keys.
Diffstat (limited to 'tests/cli/test_users.py')
0 files changed, 0 insertions, 0 deletions
