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/wgengine/router
Tom DNetto f6da2220d3 wgengine: set fwmark masks in netfilter & ip rules
This change masks the bitspace used when setting and querying the fwmark on packets. This allows
tailscaled to play nicer with other networking software on the host, assuming the other networking
software is also using fwmarks & a different mask.

IPTables / mark module has always supported masks, so this is safe on the netfilter front.

However, busybox only gained support for parsing + setting masks in 1.33.0, so we make sure we
arent such a version before we add the "/<mask>" syntax to an ip rule command.

Signed-off-by: Tom DNetto <tom@tailscale.com>
3 years ago
..
callback.go wgengine/router: avoid unncessary routing configuration changes 3 years ago
ifconfig_windows.go go.mod: bump wireguard/windows, which moves to using net/netip 3 years ago
ifconfig_windows_test.go go.mod: bump wireguard/windows, which moves to using net/netip 3 years ago
router.go all: convert more code to use net/netip directly 3 years ago
router_darwin.go wgengine/router: take a link monitor 4 years ago
router_default.go all: fix some js/wasm compilation issues 4 years ago
router_fake.go wgengine: pass in an explicit router.Router, rather than a generator. 5 years ago
router_freebsd.go wgengine/router: take a link monitor 4 years ago
router_linux.go wgengine: set fwmark masks in netfilter & ip rules 3 years ago
router_linux_test.go wgengine: set fwmark masks in netfilter & ip rules 3 years ago
router_openbsd.go all: convert more code to use net/netip directly 3 years ago
router_test.go all: convert more code to use net/netip directly 3 years ago
router_userspace_bsd.go all: convert more code to use net/netip directly 3 years ago
router_windows.go all: convert more code to use net/netip directly 3 years ago
runner.go wgengine/router: ignore Linux ip route error adding dup route 4 years ago