aboutsummaryrefslogtreecommitdiffstats
path: root/server.c
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-09-29 08:37:39 -0700
committerAdam Soltys <[email protected]>2026-09-29 08:37:47 -0700
commit4900ecb19ab9c6d279c8771b834fcb29e526a1e0 (patch)
treea8e1067d3cadbd8eacc9d111da2507d7babadfbd /server.c
parente96ad1cea4192a608a7f15896e4b690b57bf8fc9 (diff)
downloadcoinos-server-4900ecb19ab9c6d279c8771b834fcb29e526a1e0.tar.gz
coinos-server-4900ecb19ab9c6d279c8771b834fcb29e526a1e0.zip
logging: throttle log lines that clients can trigger at will
Evicted-JWT replays, blocked sends from frozen or limited accounts and failed payment retries each logged one line per request, so a looping client could flood the log, and an evicted token replayed across a proxy pool made atk-autoban.sh block every IP it saw. Add quiet()/suppressed() in lib/logging.ts: the first occurrence per key logs as before, repeats within the window are counted and reported on the next line that gets through. The evicted-auth summary line is worded so the auto-banner ignores it. Co-Authored-By: Claude Fable 5.1 <[email protected]>
Diffstat (limited to 'server.c')
0 files changed, 0 insertions, 0 deletions