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 b8fb8264a5 wgengine/netstack: avoid delivering incoming packets to both netstack + host
The earlier eb06ec172f fixed
the flaky SSH issue (tailscale/corp#1725) by making sure that packets
addressed to Tailscale IPs in hybrid netstack mode weren't delivered
to netstack, but another issue remained:

All traffic handled by netstack was also potentially being handled by
the host networking stack, as the filter hook returned "Accept", which
made it keep processing. This could lead to various random racey chaos
as a function of OS/firewalls/routes/etc.

Instead, once we inject into netstack, stop our caller's packet
processing.

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
4 years ago
..
bench all: delete wgcfg.Key and wgcfg.PrivateKey 4 years ago
filter net/packet, wgengine/{filter,tstun}: add TSMP ping 4 years ago
magicsock wgenengine/magicsock: delete cursed tests 4 years ago
monitor wgengine/monitor: reduce Linux log spam on down 4 years ago
netstack wgengine/netstack: avoid delivering incoming packets to both netstack + host 4 years ago
router wgengine/router: use net.IP.Equal instead of bytes.Equal to compare IPs 4 years ago
wgcfg all: delete wgcfg.Key and wgcfg.PrivateKey 4 years ago
wglog wgengine/wglog: improve wireguard-go logging rate limiting 4 years ago
winnet wgengine/winnet: don't build on non-windows 4 years ago
pendopen.go wgengine: fix pendopen debug to not track SYN+ACKs, show Node.Online state 4 years ago
userspace.go net/tsaddr: add NewContainsIPFunc (move from wgengine) 4 years ago
userspace_ext_test.go cmd/tailscaled, wgengine{,/netstack}: add netstack hybrid mode, add to Windows 4 years ago
userspace_test.go cmd/tailscaled, wgengine{,/netstack}: add netstack hybrid mode, add to Windows 4 years ago
watchdog.go wgengine: take in dns.Config, split out to resolver.Config and dns.OSConfig. 4 years ago
watchdog_test.go wgengine: extend TestWatchdog timeout on macOS 4 years ago
wgengine.go tailcfg: add Endpoint, EndpointType, MapRequest.EndpointType 4 years ago