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 85c3d17b3c wgengine/magicsock: use disco ping src as a candidate endpoint
Consider:

   Hard NAT (A) <---> Hard NAT w/ mapped port (B)

If A sends a packet to B's mapped port, A can disco ping B directly,
with low latency, without DERP.

But B couldn't establish a path back to A and needed to use DERP,
despite already logging about A's endpoint and adding a mapping to it
for other purposes (the wireguard conn.Endpoint lookup also needed
it).

This adds the tracking to discoEndpoint too so it'll be used for
finding a path back.

Fixes tailscale/corp#556

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
5 years ago
..
filter wgengine/filter: omit logging for all v6 multicast, remove debug panic :( 5 years ago
magicsock wgengine/magicsock: use disco ping src as a candidate endpoint 5 years ago
monitor wgengine/monitor: add, clean up netlink logging on route changes 5 years ago
packet wgengine/filter: fix IPv4 IGMP spam omission, also omit ff02::16 spam 5 years ago
router wgengine/router/router_userspace_bsd: on Mac the route program syntax expects delete not del -- this had caused router reconfig to fail in some cases. Fixes #673 5 years ago
tsdns tsdns: implement reverse DNS lookups, canonicalize names everywhere. (#640) 5 years ago
tstun wgengine: configure wireguard peers lazily, as needed 5 years ago
winnet Move Linux client & common packages into a public repo. 6 years ago
rusage.go Move "logger" package to under types, now that we have it. 6 years ago
rusage_nowindows.go wgengine: flesh out some docs 6 years ago
rusage_windows.go Move Linux client & common packages into a public repo. 6 years ago
userspace.go net/interfaces: include DefaultRouteInterface in interfaces.State 5 years ago
userspace_test.go wgengine,magicsock: fix two lazy wireguard config issues 5 years ago
watchdog.go cmd/tailscale/cli: add ping subcommand 5 years ago
watchdog_test.go wgengine: prevent log after exit in watchdog test 5 years ago
wgengine.go cmd/tailscale/cli: add ping subcommand 5 years ago