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 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
..
bench health,ipn/ipnlocal: introduce eventbus in heath.Tracker (#17085) 3 months ago
filter wgengine/filter: add check for unknown proto 10 months ago
magicsock feature/featuretags: add LazyWG modular feature 2 months ago
netlog net/connstats: make it modular (omittable) 2 months ago
netstack feature, net/tshttpproxy: pull out support for using proxies as a feature 2 months ago
router wgengine/router/osrouter: fix data race in magicsock port update callback 2 months ago
wgcfg all: use Go 1.20's errors.Join instead of our multierr package 2 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 wgengine: stop importing flowtrack when unused 2 months ago
pendopen_omit.go wgengine: stop importing flowtrack when unused 2 months ago
userspace.go feature/featuretags: add LazyWG modular feature 2 months ago
userspace_ext_test.go health,ipn/ipnlocal: introduce eventbus in heath.Tracker (#17085) 3 months ago
userspace_test.go health,ipn/ipnlocal: introduce eventbus in heath.Tracker (#17085) 3 months ago
watchdog.go ipn/ipnlocal, engine: avoid runtime/pprof with two usages of ts_omit_debug 2 months ago
watchdog_omit.go ipn/ipnlocal, engine: avoid runtime/pprof with two usages of ts_omit_debug 2 months ago
watchdog_test.go health,ipn/ipnlocal: introduce eventbus in heath.Tracker (#17085) 3 months ago
wgengine.go feature/capture: move packet capture to feature/*, out of iOS + CLI 10 months ago