tailscale/wgengine/router
Avery Pennarun 9ff51909a3 router_linux: fix behaviour when switching --netfilter-mode.
On startup, and when switching into =off and =nodivert, we were
deleting netfilter rules even if we weren't the ones that added them.

In order to avoid interfering with rules added by the sysadmin, we have
to be sure to delete rules only in the case that we added them in the
first place.

Signed-off-by: Avery Pennarun <apenwarr@tailscale.com>
2020-05-28 07:15:05 -04:00
..
ifconfig_windows.go wgengine/router: rename config.Settings to config.Config, make pointer. 2020-05-12 15:58:33 -07:00
router_darwin_support.go router_darwin_support: we can build this on every platform. 2020-05-14 04:42:36 -04:00
router_darwin.go wgengine/router: rename config.Settings to config.Config, make pointer. 2020-05-12 15:58:33 -07:00
router_default.go wgengine/router: split out from wgengine. 2020-04-30 13:31:24 -07:00
router_fake.go wgengine/router: rename config.Settings to config.Config, make pointer. 2020-05-12 15:58:33 -07:00
router_freebsd.go wgengine/router: rename config.Settings to config.Config, make pointer. 2020-05-12 15:58:33 -07:00
router_linux_test.go router_linux: remove need for iptables.ListChains(). 2020-05-28 07:15:05 -04:00
router_linux.go router_linux: fix behaviour when switching --netfilter-mode. 2020-05-28 07:15:05 -04:00
router_openbsd.go wgengine/router: rename config.Settings to config.Config, make pointer. 2020-05-12 15:58:33 -07:00
router_windows.go wgengine/router: rename config.Settings to config.Config, make pointer. 2020-05-12 15:58:33 -07:00
router.go ipn: plumb NetfilterMode all the way out to the CLI. 2020-05-14 23:51:44 -07:00
runner.go router_linux: remove need for iptables.ListChains(). 2020-05-28 07:15:05 -04:00