tailscale/net
M. J. Fromberger 5ce3845a02
net/portmapper: avert a panic when a mapping is not available (#16686)
Ideally when we attempt to create a new port mapping, we should not return
without error when no mapping is available. We already log these cases as
unexpected, so this change is just to avoiding panicking dispatch on the
invalid result in those cases. We still separately need to fix the underlying
control flow.

Updates #16662

Change-Id: I51e8a116b922b49eda45e31cd27f6b89dd51abc8

Signed-off-by: M. J. Fromberger <fromberger@tailscale.com>
2025-07-28 09:01:41 -07:00
..
art all: fix new lint warnings from bumping staticcheck 2024-08-22 12:31:08 -07:00
bakedroots tstest/tlstest: simplify, don't even bake in any keys 2025-06-19 16:12:32 -07:00
captivedetection tailcfg: add DERPRegion.NoMeasureNoHome, deprecate+document Avoid [cap 115] 2025-03-07 23:15:38 -07:00
connectproxy net/tlsdial: fix TLS cert validation of HTTPS proxies 2025-06-18 14:20:39 -07:00
connstats {net/connstats,wgengine/magicsock}: fix packet counting in connstats 2024-10-14 14:17:56 +02:00
dns net/dns/recursive: set EDNS on queries 2025-07-21 09:06:13 -07:00
dnscache net/tlsdial: fix TLS cert validation of HTTPS proxies 2025-06-18 14:20:39 -07:00
dnsfallback net/tlsdial: fix TLS cert validation of HTTPS proxies 2025-06-18 14:20:39 -07:00
flowtrack net/flowtrack: fix, test String method 2024-06-18 21:44:44 -07:00
ipset all: use iterators over slice views more 2024-11-11 13:22:34 -08:00
ktimeout various: disable MPTCP when setting TCP_USER_TIMEOUT sockopt (#15063) 2025-02-19 10:41:45 -08:00
memnet net/{netx,memnet},all: add netx.DialFunc, move memnet Network impl 2025-04-08 10:07:47 -07:00
netaddr all: update copyright and license headers 2023-01-27 15:36:29 -08:00
netcheck net/netcheck: preserve live home DERP through packet loss 2025-06-13 11:05:20 -07:00
neterror net/neterror, wgengine/magicsock: use UDP GSO and GRO on Linux (#7791) 2023-04-04 16:32:16 -07:00
netkernelconf all: remove non-applicable "linux" deps on Android 2025-05-07 21:05:13 -07:00
netknob all: update copyright and license headers 2023-01-27 15:36:29 -08:00
netmon net/netmon: add tests for the events over the eventbus (#16382) 2025-06-25 14:44:01 -04:00
netns all: remove non-applicable "linux" deps on Android 2025-05-07 21:05:13 -07:00
netstat all: add test for package comments, fix, add comments as needed 2024-07-10 09:57:00 -07:00
netutil net/netmon: publish events to event bus 2025-04-16 10:10:45 -07:00
netx net/{netx,memnet},all: add netx.DialFunc, move memnet Network impl 2025-04-08 10:07:47 -07:00
packet net/packet: cleanup IPv4 fragment guards 2025-06-13 11:06:02 -07:00
ping net/ping: fix ICMP echo code field to 0 2023-09-15 17:08:39 -07:00
portmapper net/portmapper: avert a panic when a mapping is not available (#16686) 2025-07-28 09:01:41 -07:00
proxymux all: cleanup unused code, part 1 (#10661) 2023-12-20 14:50:30 -08:00
routetable net/routetable: don't try to fetch the route table on android 2025-04-03 14:37:14 -07:00
socks5 net/socks5: optimize UDP relay 2024-11-01 15:47:52 -07:00
sockstats net/sockstats: prevent crash in setNetMon (#13985) 2024-10-31 12:00:34 -07:00
speedtest all: update copyright and license headers 2023-01-27 15:36:29 -08:00
stun ci: enable checklocks workflow for specific packages 2024-06-26 13:55:07 -04:00
stunserver all: use Go 1.22 range-over-int 2024-04-16 15:32:38 -07:00
tcpinfo all: use Go 1.22 range-over-int 2024-04-16 15:32:38 -07:00
tlsdial net/tlsdial: fix TLS cert validation of HTTPS proxies 2025-06-18 14:20:39 -07:00
tsaddr net/tsaddr: include test input in test failure output 2024-11-21 08:32:38 -08:00
tsdial net/*: remove Windows exceptions for when Resolver.PreferGo didn't work 2025-06-18 10:45:20 -07:00
tshttpproxy net/tshttpproxy: fix WDAP/PAC proxy detection on Win10 1607 and earlier 2025-05-29 14:28:37 -05:00
tstun all: detect JetKVM and specialize a handful of things for it 2025-07-10 15:07:19 -07:00
udprelay wgengine/magicsock,all: allocate peer relay over disco instead of PeerAPI (#16603) 2025-07-21 10:02:37 -07:00
wsconn go.{mod,sum}: migrate from nhooyr.io/websocket to github.com/coder/websocket 2024-08-14 21:23:49 -07:00