Changeset 75ab393 in Klonkt for .beads/issues.jsonl

Timestamp:
06/25/2026 08:45:02 PM (3 months ago)
Author:
Robin Genis <roboburr@…>
Branches:
main
Children:
a9900ec
Parents:
49edc72
Message:

feat(ratelimit): cap fediverse endpoints per IP; key IPv6 limiters by /64

Adds a generous per-IP baseline limiter across /ap/* reads (300/min) and a
tighter cap on the inbox POST (120/min), since each inbox delivery triggers an
outbound actor fetch. clientKey now collapses IPv6 to its /64 prefix so the
login/register/AP limiters can't be sidestepped by rotating addresses within
one allocation. Generous thresholds — real federation never trips them.

Co-Authored-By: Claude <noreply@…>

(No files)

Note: See TracChangeset for help on using the changeset viewer.