3x-ui/internal/web/service/outbound
BlindMaster24 efcf152950
fix(outbound): read the probe testability gate's ids like the core (#6527)
A direct, DNS, loopback or blackhole outbound is not a proxy, so the probe
must reject it instead of measuring the panel host's own reachability. The
gate compared the protocol id exactly while the core lowercases it in
LoadWithID before resolving the handler, so "Freedom" and "DNS" were not
recognised: the HTTP probe ran through the direct outbound and returned
Success=true with a full egress block, and the row's Test button stayed
enabled because isUntestable compared exactly as well. The operator reads the
panel host's own country and delay as a working tunnel.

The batch gate now folds the id once before its switch, and isUntestable goes
through the shared isOutboundProtocol helper.
2026-09-14 19:53:05 +03:00
..
egress_trace_test.go feat: Add outbound egress metadata (IP + country) (#5886) 2026-07-12 15:09:52 +02:00
outbound.go fix(outbound): read the probe protocol id and transport name like the core (#6526) 2026-09-14 19:52:31 +03:00
outbound_commit_postgres_test.go fix(migration): stop a half-applied startup migration from committing silently (#6182) 2026-08-14 20:10:39 +02:00
outbound_endpoints_test.go fix(outbound): test VLESS vnext endpoints (#6358) 2026-09-02 20:46:49 +02:00
probe_http.go fix(outbound): read the probe testability gate's ids like the core (#6527) 2026-09-14 19:53:05 +03:00
probe_http_test.go feat(amneziawg): add AmneziaWG as an outbound protocol (#6320) 2026-09-10 14:50:48 +02:00
probe_protocol_case_test.go fix(outbound): read the probe protocol id and transport name like the core (#6526) 2026-09-14 19:52:31 +03:00
probe_testability_gate_test.go fix(outbound): read the probe testability gate's ids like the core (#6527) 2026-09-14 19:53:05 +03:00