mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-11-02 19:25:05 +03:00
f988e9677f
A forwarded port accepts unauthenticated traffic, and every TCP connection and every new UDP source got its own relay with a goroutine and a buffer, with no limit, so anyone reaching the port could exhaust the panel's memory. Live TCP relays and UDP sessions are now capped at 2048 each across all forwards; past that a connection is closed and a datagram from a new source is dropped, while open flows keep going.