3x-ui/internal
MHSanaei 5a1ea42785
fix(node): bound what a node's answers can cost the master
Node responses are untrusted input on the master, and a few shapes still
cost it without bound under the 64 MiB body cap:
- a success=false message became an error (logged, stored as lastError)
  in full; it is now cut to the 8 KiB the non-200 diagnostic already uses;
- each "{}" of a reported list decodes into a whole struct, so lists are
  now decoded entry by entry with per-endpoint caps (1024 descendants,
  65536 inbounds and host groups, 1M client-IP rows), and the GUID-keyed
  trees and maps are capped at 1M values;
- a TLS handshake the node never answers kept a socket and goroutines
  alive forever, since the transport keeps dialing for its pool after the
  request gives up; node transports now give up after 10 s.
2026-10-31 09:19:51 +00:00
..
amneziawg feat(amneziawg): add opt-in Linux kernel datapath (#6877) 2026-10-25 13:24:50 +01:00
amneziawgkern feat(amneziawg): add opt-in Linux kernel datapath (#6877) 2026-10-25 13:24:50 +01:00
amneziawgnet fix(tests): stabilize local network fixtures 2026-10-25 11:44:58 +01:00
config v3.11.0 2026-10-25 20:08:14 +01:00
crypto/nodetoken fix(nodetoken): stop refusing every node-token key file on Windows 2026-09-27 15:55:42 +02:00
database fix(database): replace the stored session secret once on upgrade 2026-10-31 08:10:36 +00:00
eventbus chore: refresh dependencies, fix Linux tool tasks, modernize Go idioms 2026-07-25 16:08:09 +02:00
logger fix(logger): reuse the open log rotator when InitLogger runs again 2026-09-27 15:32:20 +02:00
mtproto feat(mtproto): expose mtg-multi's per-IP pending-handshake limit 2026-10-14 16:46:20 +02:00
nodee2e perf(ip-sync): avoid redundant client IP reads and writes (#6930) 2026-10-25 14:13:18 +01:00
pia chore(build): bump Go toolchain to 1.27.0 2026-08-23 21:57:03 +02:00
sub fix(sub): bound what a remote routing profile renders to 2026-10-31 09:00:06 +00:00
testpg test(database): give each package its own schema when tests run on PostgreSQL (#6594) 2026-09-26 21:13:42 +02:00
tuic fix(xray): bound what the in-process config loader is asked to expand 2026-10-31 08:43:30 +00:00
tunnelmonitor style: adopt golangci-lint v2 and resolve all findings 2026-06-27 15:42:22 +02:00
util perf(wirecodec): decode a config envelope into one buffer 2026-10-31 09:09:22 +00:00
web fix(node): bound what a node's answers can cost the master 2026-10-31 09:19:51 +00:00
xray fix(traffic): keep client accounting independent of outbound counters 2026-10-31 08:46:13 +00:00