mirror of
https://github.com/PRVTPRO/Amnezia-Web-Panel.git
synced 2026-09-18 01:44:10 +02:00
c16c6af7a4
- Count conntrack entries per peer IP from /proc/net/nf_conntrack (no extra packages on the host), matching against the instance subnet - Record a warning when a peer exceeds 600 simultaneous connections, at most one per hour per peer, keeping the last 5 events; persisted in conn_warnings.json inside the container data dir (volume-backed) - Render warnings under the client meta row (.conn-warnings/.conn-warning, no inline styles), localized via new conn_warning_text key (en/ru/fr/fa/zh) - Show peer internal IP next to the client name (.client-ip)