From 27e054deed4d7e897af7426e14eb1212c8de8644 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 2 Dec 2026 13:46:04 -0700 Subject: auth: write rejected logins of disabled accounts to an audit file A script replaying tokens for many disabled accounts flooded the container log with one line per request. Record each rejection (username, source IP, how many repeats were suppressed) in logs/evicted-auth.jsonl instead, still throttled per account to one entry every ten minutes, and keep logs/ out of git. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01VMan6SSfVopM1ZzXKZmLYU --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index 62d629bd..6f126e65 100644 --- a/.gitignore +++ b/.gitignore @@ -37,3 +37,6 @@ req* # peerswap runtime artifacts /peerswap/ + +# runtime logs written by the app (contain usernames and IPs) +logs/ -- cgit v1.2.3