From b3a5be9da43898bce98b254171dacdf256e3c029 Mon Sep 17 00:00:00 2001 From: mrchatam <287639636+mrchatam@users.noreply.github.com> Date: Sat, 26 Sep 2026 23:31:04 +0330 Subject: [PATCH] =?UTF-8?q?fix(amneziawg):=20stop=20AAAA=20fallback=20on?= =?UTF-8?q?=20v4-only=20tunnels=20and=20expose=20I2=E2=80=93I5=20(#6611)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix(amneziawg): stop AAAA fallback on v4-only tunnels and expose I2–I5 Gate tunnel DNS queries to address families the device can actually dial, reject undialable literal IPs early, and surface I2–I5 on the outbound form. Fixes #6570 * ci: retrigger frontend after npm registry maintenance The frontend job failed solely on `npm audit` while registry.npmjs.org returned 503 (Service Under Maintenance). Lint, typecheck, vitest, vite build, and storybook all passed. Local `npm audit --omit=dev --audit-level=high` now reports 0 vulnerabilities. * style(amneziawg): keep the tunnel DNS family comments to two lines CLAUDE.md caps a comment block at two lines. --------- Co-authored-by: mrchatam Co-authored-by: MHSanaei --- .../xray/outbounds/protocols/amneziawg.tsx | 4 + internal/amneziawgnet/dns.go | 39 +++++-- internal/amneziawgnet/dns_family_test.go | 107 ++++++++++++++++++ internal/amneziawgnet/egress.go | 7 ++ 4 files changed, 148 insertions(+), 9 deletions(-) create mode 100644 internal/amneziawgnet/dns_family_test.go diff --git a/frontend/src/pages/xray/outbounds/protocols/amneziawg.tsx b/frontend/src/pages/xray/outbounds/protocols/amneziawg.tsx index 99d26fa58..14e2345dd 100644 --- a/frontend/src/pages/xray/outbounds/protocols/amneziawg.tsx +++ b/frontend/src/pages/xray/outbounds/protocols/amneziawg.tsx @@ -79,6 +79,10 @@ export default function AmneziawgFields() { + + + +