3x-ui/internal/util
MHSanaei 3cdb7e2b49
fix(traffic): keep client accounting independent of outbound counters
The traffic poll read every Xray counter in one QueryStats reply under
gRPC's default 4 MiB receive limit; past it the whole poll failed and
no client was counted, so quotas stopped being enforced. Outbound
counters carry tags derived from third-party link remarks, so one long
remark was enough.

Poll the user, inbound and outbound families separately with a 64 MiB
limit, keep counting the families that answer, and cap a subscription
link's slug at 64 runes so the tag stays small to begin with.
2026-10-31 08:46:13 +00:00
..
common perf: reduce traffic formatter allocations (#6790) 2026-10-12 11:05:40 +02:00
cronspec fix(settings): accept five-field crontab for report and LDAP schedules 2026-10-11 20:37:04 +02:00
crypto feat(node): node hardening — mTLS, hashed+zstd reconcile transport, per-node net metrics (#5382) 2026-06-16 12:19:33 +02:00
json_util refactor: focused service files, leaf subpackages, and an internal/ layout (#5167) 2026-06-10 15:19:22 +02:00
ldap feat: ldap skip tls verify (#5637) 2026-06-28 18:10:38 +02:00
link fix(traffic): keep client accounting independent of outbound counters 2026-10-31 08:46:13 +00:00
maskcompat fix(service): keep chunk capacity math from overflowing 2026-10-11 22:10:46 +02:00
netproxy Test-quality audit: fix 2 prod bugs, strengthen weak tests, add mutation/fuzz/CI tooling (#5345) 2026-06-15 15:17:03 +02:00
netsafe fix(netsafe): classify IPv6 transition and CGNAT ranges as internal 2026-08-19 19:37:14 +02:00
random style: adopt golangci-lint v2 and resolve all findings 2026-06-27 15:42:22 +02:00
reflect_util refactor: focused service files, leaf subpackages, and an internal/ layout (#5167) 2026-06-10 15:19:22 +02:00
sys fix(monitoring): read LXC CPU, swap and uptime from the container (#6920) 2026-10-24 20:24:34 +02:00
totp fix(panel): accept 2FA codes from adjacent TOTP windows (#6546) 2026-09-15 15:42:30 +03:00
version refactor(util): move panel version comparison into a shared package 2026-10-02 23:56:52 +02:00
wirecodec feat(amneziawg): add opt-in Linux kernel datapath (#6877) 2026-10-25 13:24:50 +01:00
wireguard feat(wireguard): multi-client support 2026-06-28 00:44:38 +02:00