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/net/tstun
Brad Fitzpatrick cf520a3371 feature/featuretags: add LazyWG modular feature
Due to iOS memory limitations in 2020 (see
https://tailscale.com/blog/go-linker, etc) and wireguard-go using
multiple goroutines per peer, commit 16a9cfe2f4 introduced some
convoluted pathsways through Tailscale to look at packets before
they're delivered to wireguard-go and lazily reconfigure wireguard on
the fly before delivering a packet, only telling wireguard about peers
that are active.

We eventually want to remove that code and integrate wireguard-go's
configuration with Tailscale's existing netmap tracking.

To make it easier to find that code later, this makes it modular. It
saves 12 KB (of disk) to turn it off (at the expense of lots of RAM),
but that's not really the point. The point is rather making it obvious
(via the new constants) where this code even is.

Updates #12614

Change-Id: I113b040f3e35f7d861c457eaa710d35f47cee1cb
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2 months ago
..
fake.go cmd/tailscaled,net/tstun: fix data race on start-up in TUN mode 2 years ago
ifstatus_noop.go all: update copyright and license headers 3 years ago
ifstatus_windows.go all: update copyright and license headers 3 years ago
linkattrs_linux.go net/tstun: don't try to set link attributes on android 8 months ago
linkattrs_notlinux.go net/tstun: don't try to set link attributes on android 8 months ago
mtu.go disco,net/tstun,wgengine/magicsock: probe peer MTU 2 years ago
mtu_test.go scripts/check_license_headers.sh: delete, rewrite as a Go test 6 months ago
netstack_disabled.go net/tstun: support ts_omit_netstack 2 months ago
netstack_enabled.go net/tstun: support ts_omit_netstack 2 months ago
tstun_stub.go net/tstun: add Plan 9 'tun' support 8 months ago
tun.go net/tstun: fix typo in doc 2 months ago
tun_linux.go all: detect JetKVM and specialize a handful of things for it 5 months ago
tun_macos.go all: update copyright and license headers 3 years ago
tun_notwindows.go all: update copyright and license headers 3 years ago
tun_windows.go all: update copyright and license headers 3 years ago
wrap.go feature/featuretags: add LazyWG modular feature 2 months ago
wrap_linux.go net/tstun: use ts_omit_gro in another place I missed earlier 2 months ago
wrap_noop.go net/tstun: use ts_omit_gro in another place I missed earlier 2 months ago
wrap_test.go feature/capture: move packet capture to feature/*, out of iOS + CLI 10 months ago