tailscale/util/linuxfw
Naman Sood 5d56cc8512
util/linuxfw: return error instead of nil pointer dereference
Issue #19737 ran into a nil pointer dereference, the cause of which was fixed
by #19761. If we end up on this code path with a nil table again, we should
bubble that up as an error (which is logged by the health warning system)
rather than failing catastrophically.

Signed-off-by: Naman Sood <mail@nsood.in>
2026-05-19 10:01:07 -04:00
..
detector.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
fake_netfilter.go util/linuxfw,wgengine/router: allow incoming CGNAT range traffic with nodeattr 2026-04-14 16:45:06 -04:00
fake.go util/linuxfw: fix nil pointer panic in connmark rules without IPv6 (#18946) 2026-03-10 15:19:15 -04:00
helpers.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
iptables_disabled.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
iptables_for_svcs_test.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
iptables_for_svcs.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
iptables_runner_test.go util/linuxfw: fix nftables endianness and add connmark conditional check (#19725) 2026-05-14 09:11:24 -04:00
iptables_runner.go util/linuxfw: fix nftables endianness and add connmark conditional check (#19725) 2026-05-14 09:11:24 -04:00
iptables.go all: use Go 1.26 things, run most gofix modernizers 2026-03-06 13:32:03 -08:00
linuxfw.go util/linuxfw: fix nftables endianness and add connmark conditional check (#19725) 2026-05-14 09:11:24 -04:00
nftables_for_svcs_test.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
nftables_for_svcs.go all: use Go 1.26 things, run most gofix modernizers 2026-03-06 13:32:03 -08:00
nftables_runner_test.go util/linuxfw: fix nftables endianness and add connmark conditional check (#19725) 2026-05-14 09:11:24 -04:00
nftables_runner.go util/linuxfw: return error instead of nil pointer dereference 2026-05-19 10:01:07 -04:00
nftables_types.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
nftables.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00