mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-06-06 21:24:10 +00:00
- Add RateLimitMiddleware(10/min) to POST /login (previously unprotected) - Use RemoteAddr instead of X-Real-IP/X-Forwarded-For in getRemoteIp() and rate limiter - Prevents brute-force login and rate-limit bypass via spoofed headers |
||
|---|---|---|
| .. | ||
| access_control_test.go | ||
| api.go | ||
| base.go | ||
| inbound.go | ||
| index.go | ||
| node.go | ||
| server.go | ||
| setting.go | ||
| user.go | ||
| util.go | ||
| websocket.go | ||
| xray_setting.go | ||
| xui.go | ||