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 171ec9f8f4 control/{controlknobs,controlclient}: simplify knobs API, fix controlclient crash
From integration tests elsewhere:

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x70 pc=0x845c9b]

goroutine 226 [running]:
tailscale.com/control/controlclient.(*Direct).sendMapRequest(0xc00053e1e0, 0x16670f0, 0xc000353780, 0xffffffffffffffff, 0xc0003e5f10, 0x0, 0x0)
   /home/runner/go/pkg/mod/tailscale.com@v1.1.1-0.20210715222212-1bb6abc604c1/control/controlclient/direct.go:803 +0x19bb
tailscale.com/control/controlclient.(*Direct).PollNetMap(...)
   /home/runner/go/pkg/mod/tailscale.com@v1.1.1-0.20210715222212-1bb6abc604c1/control/controlclient/direct.go:574
tailscale.com/control/controlclient.(*Auto).mapRoutine(0xc00052a1e0)
   /home/runner/go/pkg/mod/tailscale.com@v1.1.1-0.20210715222212-1bb6abc604c1/control/controlclient/auto.go:464 +0x571
created by tailscale.com/control/controlclient.(*Auto).Start
   /home/runner/go/pkg/mod/tailscale.com@v1.1.1-0.20210715222212-1bb6abc604c1/control/controlclient/auto.go:151 +0x65
exit status 2

Also remove types/opt.Bool API addition which is now unnecessary.

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
3 years ago
..
dns net/dns/resolver: upgrade forwarded MagicDNS queries to DoH when IP known 3 years ago
dnscache control/controlclient, net/{dnscache,dnsfallback}: add DNS fallback mechanism 4 years ago
dnsfallback ipn, etc: use controlplane.tailscale.com 3 years ago
flowtrack net/packet, wgengine/filter: support SCTP 4 years ago
interfaces net/interface: add AWS App Runner /proc/net/route test 3 years ago
netcheck net/{interfaces,netcheck}: rename some fields, funcs 3 years ago
netns netns_linux: remove special handling for tests. 3 years ago
netstat all: adapt to opaque netaddr types 4 years ago
nettest net/nettest: make nettest.NewConn pass x/net/nettest.TestConn. 4 years ago
packet net/packet: use netaddr AppendTo methods 4 years ago
portmapper control/{controlknobs,controlclient}: simplify knobs API, fix controlclient crash 3 years ago
socks5 net/socks5/tssocks: add a SOCKS5 dialer type, method-ifying code 3 years ago
speedtest Implemented Commandline Download Speedtest (#2064) 3 years ago
stun tstest/integration: add testNode.AwaitListening, DERP+STUN, improve proxy trap 4 years ago
tlsdial net/tlsdial, derp/derphttp: finish DERPNode.CertName validation 5 years ago
tsaddr net/tsaddr: simplify TailscaleServiceIP 4 years ago
tshttpproxy net/tshttpproxy: call winhttp calls from a fixed OS thread 4 years ago
tstun net/tstun: fix data races 3 years ago