You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/wgengine
Brad Fitzpatrick d8a531108d wgengine/magicsock: quiet an IPv6 warning in tests
In tests, we force binding to localhost to avoid OS firewall warning
dialogs.

But for IPv6, we were trying (and failing) to bind to 127.0.0.1.

You'd think we'd just say "localhost", but that's apparently ill
defined. See
https://tools.ietf.org/html/draft-ietf-dnsop-let-localhost-be-localhost
and golang/go#22826. (It's bitten me in the past, but I can't
remember specific bugs.)

So use "::1" explicitly for "udp6", which makes the test quieter.

(cherry picked from commit 450cfedeba)
4 years ago
..
filter wgengine/filter: also silently drop link-local unicast traffic 4 years ago
magicsock wgengine/magicsock: quiet an IPv6 warning in tests 4 years ago
monitor wgengine/monitor: fix copy/paste-o to actually monitor route changes 4 years ago
packet wgengine/filter: also silently drop link-local unicast traffic 4 years ago
router wgengine/router: don't double-prefix dns log messages [Windows] 4 years ago
tsdns ipn, wgengine, magicsock, tsdns: be quieter and less aggressive when offline 4 years ago
tstun wgengine/tstun/faketun: it's a null tunnel, not a loopback. 4 years ago
winnet Move Linux client & common packages into a public repo. 5 years ago
userspace.go wgengine: fix lazy wireguard config bug when disco keys change 4 years ago
userspace_test.go wgengine: fix lazy wireguard config bug when disco keys change 4 years ago
watchdog.go wgengine: add Engine.SetLinkChangeCallback 4 years ago
watchdog_test.go wgengine: prevent log after exit in watchdog test 4 years ago
wgengine.go ipn, wgengine: disable subnet routes if network has PAC configuration 4 years ago