3x-ui/internal/web
MHSanaei daf5b16eda
fix(wireguard): hold /0 allowedIPs to the overlap guard
The tunnel overlap guard treated every /0 allowedIPs entry as claiming
no address, while the entry was stored with its host bits and the
consumers read them back: the AmneziaWG port forwarder resolves a peer's
target from them and the device routes the /0 by longest prefix. An
entry such as 10.8.1.2/0 therefore passed next to another client's
10.8.1.2/32, and forwarded ports reached that client's device.

A written entry now counts with its whole range, so a /0 collides with
every held address of its family. On the stored side only a literal
0.0.0.0/0 or ::/0 default route keeps nobody out, and a /0 with host
bits claims that host. Editing a legacy peer that echoes its stored
default route still works.
2026-11-01 00:06:09 +01:00
..
controller fix(api): cap the client traffic list a master pushes by entry count 2026-10-31 14:25:21 +01:00
entity feat(hosts): give a host a pool of SNIs, random per config or shared (#6923) 2026-10-24 21:05:42 +02:00
global
job fix(node): keep a node's online and IP reports to its own clients 2026-10-31 14:17:43 +01:00
locale fix(i18n): publish the translation bundle only once it is complete 2026-10-31 09:11:54 +00:00
middleware fix(api): accept config envelopes only on requests that carry a body 2026-10-31 09:09:06 +00:00
network
runtime fix(api): cap the client traffic list a master pushes by entry count 2026-10-31 14:25:21 +01:00
service fix(wireguard): hold /0 allowedIPs to the overlap guard 2026-11-01 00:06:09 +01:00
session fix(web): start a fresh session at login 2026-10-31 09:05:28 +00:00
translation feat(tls): cipher suite presets and a uTLS fingerprint warning 2026-10-25 15:54:48 +01:00
websocket fix(tuic): client speed display and certificate button layout (#6723) 2026-10-05 19:46:46 +02:00
cadence_test.go
node_contract_test.go fix(node): drop a swept inbound's bookkeeping from the node runtime 2026-10-31 09:28:39 +00:00
routes_contract_test.go fix(web): install the share-link provider before the panel serves (#6914) 2026-10-24 05:50:46 +02:00
schedule_test.go fix(settings): accept five-field crontab for report and LDAP schedules 2026-10-11 20:37:04 +02:00
web.go feat(amneziawg): add opt-in Linux kernel datapath (#6877) 2026-10-25 13:24:50 +01:00
web_mtls.go
web_mtls_test.go
web_shutdown_test.go fix(web): install the share-link provider before the panel serves (#6914) 2026-10-24 05:50:46 +02:00
web_sublink_test.go fix(web): install the share-link provider before the panel serves (#6914) 2026-10-24 05:50:46 +02:00
web_tuic_shutdown_test.go fix(web): install the share-link provider before the panel serves (#6914) 2026-10-24 05:50:46 +02:00