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 75a03fc719 wgengine/magicsock: use learned DERP route as send path of last resort
If we get a packet in over some DERP and don't otherwise know how to
reply (no known DERP home or UDP endpoint), this makes us use the
DERP connection on which we received the packet to reply. This will
almost always be our own home DERP region.

This is particularly useful for large one-way nodes (such as
hello.ts.net) that don't actively reach out to other nodes, so don't
need to be told the DERP home of peers. They can instead learn the
DERP home upon getting the first connection.

This can also help nodes from a slow or misbehaving control plane.

Updates tailscale/corp#26438

Change-Id: I6241ec92828bf45982e0eb83ad5c7404df5968bc
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
9 months ago
..
bench ipn/ipnlocal, all: plumb health trackers in tests 2 years ago
filter wgengine/filter: add check for unknown proto 10 months ago
magicsock wgengine/magicsock: use learned DERP route as send path of last resort 9 months ago
netlog wgengine: add exit destination logging enable for wgengine logger (#11952) 2 years ago
netstack wgengine/netstack: respond to service IPs in Linux tun mode 10 months ago
router wgengine/router: refactor udm-pro into broader ubnt support 11 months ago
wgcfg wgengine/wgcfg/nmcfg: coalesce, limit some debug logs 10 months ago
wgint wgengine{,/wgint}: add wgint.Peer wrapper type, add to wgengine.Engine 2 years ago
wglog all: use Go 1.22 range-over-int 2 years ago
winnet all: add test for package comments, fix, add comments as needed 1 year ago
mem_ios.go all: update copyright and license headers 3 years ago
pendopen.go all: add Node.HomeDERP int, phase out "127.3.3.40:$region" hack [capver 111] 11 months ago
userspace.go feature/capture: move packet capture to feature/*, out of iOS + CLI 10 months ago
userspace_ext_test.go util/usermetrics: make usermetrics non-global 1 year ago
userspace_test.go util/usermetrics: make usermetrics non-global 1 year ago
watchdog.go feature/capture: move packet capture to feature/*, out of iOS + CLI 10 months ago
watchdog_js.go all: update copyright and license headers 3 years ago
watchdog_test.go util/usermetrics: make usermetrics non-global 1 year ago
wgengine.go feature/capture: move packet capture to feature/*, out of iOS + CLI 10 months ago