1
Fork 0
mirror of https://github.com/thegeneralist01/archivr synced 2026-07-21 18:55:36 +02:00
archivr/crates/archivr-server
TheGeneralist a8e52bdf71
security: add per-IP sliding-window rate limit on POST /api/auth/login
5 attempts / 15 min per IP. Excess attempts get 429 + Retry-After.
Client IP read from X-Forwarded-For with loopback fallback.
In-memory; prune inline on each check.
Refactored app() into app_with_state() + thin wrapper.
Uses parking_lot::Mutex (no unwrap, no poisoning).
2026-06-29 20:06:41 +02:00
..
src security: add per-IP sliding-window rate limit on POST /api/auth/login 2026-06-29 20:06:41 +02:00
static ui: comprehensive UI polish pass 2026-06-28 22:14:08 +02:00
Cargo.toml security: add per-IP sliding-window rate limit on POST /api/auth/login 2026-06-29 20:06:41 +02:00