Commit Graph

3 Commits

Author SHA1 Message Date
SashegDev 255caeb069 fix: server health ping, rate limiting, security hardening, DA backoff
- Server health ping every 30s — dead servers excluded from all API calls, auto-recovered when back online
- Fixed py3xui client.delete() argument order (inbound_id first, client_uuid second)
- Rate limiting on /admin/login (max 10 attempts per 60s per IP)
- XSS prevention: HTML-escape all user-controlled fields in templates
- CSP headers on all HTML pages (CSP, X-Frame-Options, X-Content-Type-Options)
- CORS restricted to configured host instead of wildcard
- Secure + SameSite=Lax cookie flags for admin_token
- Bind to 127.0.0.1 instead of 0.0.0.0
- Async locks for global state (last_donation_id)
- Graceful shutdown: all background tasks cancelled on exit
- DA polling exponential backoff: 1s→max 1h, immediate 1h on 401
2026-06-16 21:23:03 +00:00
SashegDev d1f018dba1 docs: update README — wdtt/Zern-BlackOut compat, new repo URL, propagate, health, trojan 2026-06-07 10:42:44 +00:00
SashegDev ac70aaae03 Initial release: soft-tariff multi-server VPN aggregator with Happ support 2026-05-16 16:45:47 +00:00