You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Jonathan Nobels
3e89068792
net/netmon, wgengine/userspace: purge ChangeDelta.Major and address TODOs ( #17823 )
...
updates tailscale/corp#33891
Addresses several older the TODO's in netmon. This removes the
Major flag precomputes the ChangeDelta state, rather than making
consumers of ChangeDeltas sort that out themselves. We're also seeing
a lot of ChangeDelta's being flagged as "Major" when they are
not interesting, triggering rebinds in wgengine that are not needed. This
cleans that up and adds a host of additional tests.
The dependencies are cleaned, notably removing dependency on netmon
itself for calculating what is interesting, and what is not. This includes letting
individual platforms set a bespoke global "IsInterestingInterface"
function. This is only used on Darwin.
RebindRequired now roughly follows how "Major" was historically
calculated but includes some additional checks for various
uninteresting events such as changes in interface addresses that
shouldn't trigger a rebind. This significantly reduces thrashing (by
roughly half on Darwin clients which switching between nics). The individual
values that we roll into RebindRequired are also exposed so that
components consuming netmap.ChangeDelta can ask more
targeted questions.
Signed-off-by: Jonathan Nobels <jonathan@tailscale.com>
4 months ago
..
ace
feature/ace: make ACE modular
7 months ago
art
all: rename variables with lowercase-l/uppercase-I
5 months ago
bakedroots
tstest/tlstest: simplify, don't even bake in any keys
11 months ago
batching
net/batching: fix import formatting
5 months ago
captivedetection
syncs: add Mutex/RWMutex alias/wrappers for future mutex debugging
5 months ago
connectproxy
net/tlsdial: fix TLS cert validation of HTTPS proxies
11 months ago
dns
net/dns: retrample resolve.conf when another process has trampled it ( #18069 )
5 months ago
dnscache
syncs: add Mutex/RWMutex alias/wrappers for future mutex debugging
5 months ago
dnsfallback
feature, net/tshttpproxy: pull out support for using proxies as a feature
7 months ago
flowtrack
net/flowtrack: fix, test String method
2 years ago
ipset
all: use iterators over slice views more
1 year ago
ktimeout
all: rename variables with lowercase-l/uppercase-I
5 months ago
memnet
all: rename variables with lowercase-l/uppercase-I
5 months ago
netaddr
all: rename variables with lowercase-l/uppercase-I
5 months ago
netcheck
all: rename variables with lowercase-l/uppercase-I
5 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
12 months ago
netknob
all: update copyright and license headers
3 years ago
netmon
net/netmon, wgengine/userspace: purge ChangeDelta.Major and address TODOs ( #17823 )
4 months ago
netns
net/netns: remove spammy logs for interface binding caps
5 months ago
netstat
all: add test for package comments, fix, add comments as needed
2 years ago
netutil
syncs: add Mutex/RWMutex alias/wrappers for future mutex debugging
5 months ago
netx
net/{netx,memnet},all: add netx.DialFunc, move memnet Network impl
1 year ago
packet
net/{packet,tstun},wgengine: update disco key when receiving via TSMP ( #18158 )
5 months ago
ping
syncs: add Mutex/RWMutex alias/wrappers for future mutex debugging
5 months ago
portmapper
go.mod: bump golang.org/x/crypto ( #17907 )
5 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
1 year ago
sockopts
wgengine/magicsock,net/sockopts: export Windows ICMP suppression logic ( #16917 )
8 months ago
socks5
all: rename variables with lowercase-l/uppercase-I
5 months ago
sockstats
net/netmon, wgengine/userspace: purge ChangeDelta.Major and address TODOs ( #17823 )
4 months ago
speedtest
all: rename variables with lowercase-l/uppercase-I
5 months ago
stun
ci: enable checklocks workflow for specific packages
2 years 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
7 months ago
tsaddr
net/tsaddr: include test input in test failure output
1 year ago
tsdial
net/netmon, wgengine/userspace: purge ChangeDelta.Major and address TODOs ( #17823 )
4 months ago
tshttpproxy
go.mod: bump golang.org/x/crypto ( #17907 )
5 months ago
tstun
net/{packet,tstun},wgengine: update disco key when receiving via TSMP ( #18158 )
5 months ago
udprelay
net/udprelay: replace map+sync.Mutex with sync.Map for VNI lookup
5 months ago
wsconn
syncs: add Mutex/RWMutex alias/wrappers for future mutex debugging
5 months ago