tailscale/wgengine
valscale 74eb99aed1
derp, derphttp, magicsock: send new unknown peer frame when destination is unknown (#7552)
* wgengine/magicsock: add envknob to send CallMeMaybe to non-existent peer

For testing older client version responses to the PeerGone packet format change.

Updates #4326

Signed-off-by: Val <valerie@tailscale.com>

* derp: remove dead sclient struct member replaceLimiter

Leftover from an previous solution to the duplicate client problem.

Updates #2751

Signed-off-by: Val <valerie@tailscale.com>

* derp, derp/derphttp, wgengine/magicsock: add new PeerGone message type Not Here

Extend the PeerGone message type by adding a reason byte. Send a
PeerGone "Not Here" message when an endpoint sends a disco message to
a peer that this server has no record of.

Fixes #4326

Signed-off-by: Val <valerie@tailscale.com>

---------

Signed-off-by: Val <valerie@tailscale.com>
2023-03-24 19:11:48 -07:00
..
bench all: update copyright and license headers 2023-01-27 15:36:29 -08:00
capture wgengine: start logging DISCO frames to pcap stream 2023-02-10 11:22:34 -10:00
filter all: use tstest.Replace more 2023-03-04 12:24:55 -08:00
magicsock derp, derphttp, magicsock: send new unknown peer frame when destination is unknown (#7552) 2023-03-24 19:11:48 -07:00
monitor net/sockstats: remove explicit dependency on wgengine/monitor 2023-03-03 08:37:14 -08:00
netlog all: replace logtail.{Public,Private}ID with logid.{Public,Private}ID (#7404) 2023-02-28 19:00:00 -08:00
netstack net/tstun: rename filterIn/filterOut methods to be more descriptive 2023-03-23 16:54:12 -07:00
router version/distro,wgengine/router: raise WSL eth0 MTU when too low 2023-03-02 21:33:02 -08:00
wgcfg all: replace logtail.{Public,Private}ID with logid.{Public,Private}ID (#7404) 2023-02-28 19:00:00 -08:00
wgint all: update copyright and license headers 2023-01-27 15:36:29 -08:00
wglog all: update copyright and license headers 2023-01-27 15:36:29 -08:00
winnet all: update copyright and license headers 2023-01-27 15:36:29 -08:00
mem_ios.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
pendopen.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
userspace_ext_test.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
userspace_test.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
userspace.go net/tstun: add inital support for NAT v4 2023-03-23 16:54:12 -07:00
watchdog_js.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
watchdog_test.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
watchdog.go wgengine: start logging DISCO frames to pcap stream 2023-02-10 11:22:34 -10:00
wgengine.go wgengine: start logging DISCO frames to pcap stream 2023-02-10 11:22:34 -10:00