You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[verified] — 3,000 abandoned /srp/init calls left 3,001 entries in SRPAuthManager.sessions.
MessageStore grows forever (each message up to 1 MiB, Sanic's default frame limit).
SRPAuthManager.sessions gains an entry per /srp/init. It's only removed on a failed verify; abandoned inits and successful sessions are never removed (remove_session is never called anywhere).
cleanup_stale only cleans UserSessionStore, not SRP sessions.
No rate limiting on /srp/init//srp/verify, which also allows unlimited online password guessing.
Fix
TTL (e.g. 60 s) and a cap for pending SRP sessions; remove the SRP session after verify succeeds.
Activity