mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-06-06 21:24:10 +00:00
When behind Cloudflare CDN, RemoteAddr shows CF's IP, breaking rate limiting and logging. Trust CF-Connecting-IP (set by CF, cannot be spoofed by clients) and fall back to RemoteAddr for direct connections. |
||
|---|---|---|
| .. | ||
| 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 | ||