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
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
..
ace feature/ace: make ACE modular 2 months ago
art all: fix new lint warnings from bumping staticcheck 1 year ago
bakedroots tstest/tlstest: simplify, don't even bake in any keys 6 months ago
batching net/udprelay: use batching.Conn (#16866) 4 months ago
captivedetection derp/derpserver: split off derp.Server out of derp into its own package 2 months ago
connectproxy net/tlsdial: fix TLS cert validation of HTTPS proxies 6 months ago
connstats net/connstats: make it modular (omittable) 2 months ago
dns feature/featuretags: add features for c2n, peerapi, advertise/use routes/exit nodes 2 months ago
dnscache net/dnscache: fix case where Resolver could return zero IP with single IPv6 address 2 months ago
dnsfallback feature, net/tshttpproxy: pull out support for using proxies as a feature 2 months ago
flowtrack net/flowtrack: fix, test String method 1 year ago
ipset all: use iterators over slice views more 1 year ago
ktimeout various: disable MPTCP when setting TCP_USER_TIMEOUT sockopt (#15063) 10 months ago
memnet net/memnet: allow listener address reuse (#17342) 2 months ago
netaddr all: update copyright and license headers 3 years ago
netcheck all: use Go 1.20's errors.Join instead of our multierr package 2 months ago
neterror net/neterror, wgengine/magicsock: use UDP GSO and GRO on Linux (#7791) 3 years ago
netkernelconf all: remove non-applicable "linux" deps on Android 7 months ago
netknob all: update copyright and license headers 3 years ago
netmon feature/featuretags: add features for c2n, peerapi, advertise/use routes/exit nodes 2 months ago
netns feature/featuretags, all: add build features, use existing ones in more places 2 months ago
netstat all: add test for package comments, fix, add comments as needed 1 year ago
netutil net/netmon: publish events to event bus 8 months ago
netx net/{netx,memnet},all: add netx.DialFunc, move memnet Network impl 8 months ago
packet wgengine: stop importing flowtrack when unused 2 months ago
ping all: use Go 1.20's errors.Join instead of our multierr package 2 months ago
portmapper feature/featuretags: add features for c2n, peerapi, advertise/use routes/exit nodes 2 months ago
proxymux all: cleanup unused code, part 1 (#10661) 2 years ago
routetable net/routetable: don't try to fetch the route table on android 8 months ago
sockopts wgengine/magicsock,net/sockopts: export Windows ICMP suppression logic (#16917) 3 months ago
socks5 net/socks5: optimize UDP relay 1 year ago
sockstats net/sockstats: prevent crash in setNetMon (#13985) 1 year ago
speedtest net/speedtest: mark flaky test, and skip it by default as it's slow 2 months ago
stun ci: enable checklocks workflow for specific packages 1 year ago
stunserver all: use Go 1.22 range-over-int 2 years ago
tcpinfo all: use Go 1.22 range-over-int 2 years ago
tlsdial feature/featuretags, all: add build features, use existing ones in more places 2 months ago
tsaddr net/tsaddr: include test input in test failure output 1 year ago
tsdial feature/featuretags: add features for c2n, peerapi, advertise/use routes/exit nodes 2 months ago
tshttpproxy feature, net/tshttpproxy: pull out support for using proxies as a feature 2 months ago
tstun feature/featuretags: add LazyWG modular feature 2 months ago
udprelay client, cmd/tailscale/cli, feature/relayserver, net/udprelay: implement tailscale debug peer-relay-sessions (#17239) 2 months ago
wsconn net/wsconn: clarify package comment 2 months ago