tailscale/util/linuxfw
James Tucker 2066f9fbb2 util/linuxfw: fix crash in DelSNATRule when no rules are found
Appears to be a missing nil handling case. I looked back over other
usage of findRule and the others all have nil guards. findRule returns
nil when no rules are found matching the arguments.

Fixes #9553
Signed-off-by: James Tucker <james@tailscale.com>
2023-09-27 12:51:27 -07:00
..
linuxfwtest util/linuxfw: initial implementation of package 2023-02-09 14:20:24 -05:00
helpers.go util/linuxfw: initial implementation of package 2023-02-09 14:20:24 -05:00
iptables.go util/linuxfw: rename ErrorFWModeNotSupported 2023-08-10 09:27:05 -07:00
iptables_runner.go util/linuxfw: add nftables support 2023-07-19 14:33:23 -04:00
iptables_runner_test.go util/linuxfw: decoupling IPTables logic from linux router 2023-06-27 19:54:27 -04:00
linuxfw.go util/linuxfw: rename ErrorFWModeNotSupported 2023-08-10 09:27:05 -07:00
linuxfw_unsupported.go util/linuxfw: Fix comment which lists supported linux arches 2023-09-07 16:49:50 -07:00
nftables.go util/linuxfw: rename ErrorFWModeNotSupported 2023-08-10 09:27:05 -07:00
nftables_runner.go util/linuxfw: fix crash in DelSNATRule when no rules are found 2023-09-27 12:51:27 -07:00
nftables_runner_test.go util/linuxfw: reorganize nftables rules to allow it to work with ufw 2023-08-18 18:24:05 -07:00
nftables_types.go util/linuxfw: add new arch build constraints 2023-06-30 18:22:15 -04:00