fix(singbox): prevent UDP routing to HTTP outbounds (#45) and improve dashboard metadata
- Ensure selector and urltest groups require all member outbounds to support UDP - Add explicit reject rule for UDP on non-UDP outbounds to avoid sing-box router log spam - Add http/s:// to connection URL description in LuCI settings and update localization - Display transport protocol badges on dashboard outbound cards and modal rows - Deduplicate and collapse UDP routing error lines in telegram logs and bug report
This commit is contained in:
@@ -20,12 +20,8 @@ fi
|
||||
grep -Fq '_("Close")' "$SECTION_JS" ||
|
||||
fail "Tachyon section settings modal must expose a Close action"
|
||||
|
||||
if grep -Fq 'http(s)://, hy2/hysteria2:// links' \
|
||||
"$SECTION_JS" "$SOURCE_PO" "$PACKAGE_PO" "$SOURCE_POT" "$PACKAGE_POT" "$CALLS_JSON"; then
|
||||
fail "Connection URL help must not advertise removed HTTP proxy links"
|
||||
fi
|
||||
grep -Fq 'socks4/5://, hy2/hysteria2:// links' "$SECTION_JS" ||
|
||||
fail "Connection URL help must list the remaining native proxy links"
|
||||
grep -Fq 'socks4/5://, http/s://, hy2/hysteria2:// links' "$SECTION_JS" ||
|
||||
fail "Connection URL help must list the supported proxy links"
|
||||
|
||||
for po in "$SOURCE_PO" "$PACKAGE_PO"; do
|
||||
awk '
|
||||
|
||||
Reference in New Issue
Block a user