Skip to content

Auto: paths with an IPv6 address are left alone on a device without IPv6 - #5

Merged
limeflash merged 2 commits into
mainfrom
skip-ipv6-paths
Dec 1, 2026
Merged

limeflash merged 2 commits into
mainfrom
skip-ipv6-paths

Conversation

@limeflash

Copy link
Copy Markdown
Contributor

On a device without IPv6, a path whose entry address is an IPv6 literal was raced by Auto, lost, and was written to the memory as a failure; picked by hand it waited up to 10 s.

  • Auto, the background probes and the memory leave such paths out; one log line per attempt.
  • A manual pick fails at once with the new code no_ipv6.
  • subs.list marks such a server with needs_ipv6.
  • "The device has IPv6" now also wants a global address on the physical interface (Teredo and 6to4 gave a false yes).
  • The diag probes follow the address family, so an IPv6 path can win a race on a device that has IPv6.

Not verified live: there is no IPv6 network to test on. Merging together with the AmneziaWG branch gives one trivial conflict in engine/real_windows.go (keep both functions).

🤖 Generated with Claude Code

…Pv6, and the probes follow the address family

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…ow marks the path by design

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@limeflash
limeflash merged commit 05ca6b0 into main Dec 1, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant