3x-ui/internal
MHSanaei f66e369e41
fix(node): keep pushed inbounds off the node host's own resources
A node-sync token, or a master enrolled with the mTLS certificate, may
push inbounds, and the node stored them as already validated. An
inbound is effectively config for a core running as root, so a push
could serve the host's files (hysteria file masquerade), relay to its
own services or the core API (masquerade proxy, fallback dest, REALITY
target), write files (masterKeyLog), use local or templated XDRIVE
storage, fetch URLs (ECH, realm masks), or run tun/http/mixed inbounds.

A push now refuses those fields unless the node already stores the same
value, which keeps rows configured by the node's own admin syncing:
relay targets must be public or another of this node's inbounds, and
only node-eligible protocols are accepted. Every caller is refused env:
references, which the core expands from the panel's environment, and
the inbound listen address is JSON-encoded into the config instead of
quoted by hand.
2026-10-31 23:30:02 +01:00
..
amneziawg fix(amneziawg): bound what a handshake allocates and the tunnel MTU 2026-10-31 14:50:18 +01:00
amneziawgkern feat(amneziawg): add opt-in Linux kernel datapath (#6877) 2026-10-25 13:24:50 +01:00
amneziawgnet fix(amneziawg): bound the egress relay's UDP sessions as a whole 2026-10-31 15:20:50 +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(node): keep pushed inbounds off the node host's own resources 2026-10-31 23:30:02 +01: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): convert far expiry dates to Jalali in constant time 2026-10-31 14:28:18 +01: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(tuic): bound what unauthenticated connections cost 2026-10-31 15:03:21 +01:00
tunnelmonitor style: adopt golangci-lint v2 and resolve all findings 2026-06-27 15:42:22 +02:00
util fix(api): cap the client traffic list a master pushes by entry count 2026-10-31 14:25:21 +01:00
web fix(node): keep pushed inbounds off the node host's own resources 2026-10-31 23:30:02 +01:00
xray fix(traffic): keep client accounting independent of outbound counters 2026-10-31 08:46:13 +00:00