summaryrefslogtreecommitdiffhomepage
path: root/control/controlknobs
diff options
context:
space:
mode:
authorTom DNetto <tom@tailscale.com>2022-09-12 13:29:41 -0700
committerTom <twitchyliquid64@users.noreply.github.com>2022-09-13 09:52:26 -0700
commitf6da2220d30943181def1b48c97e95cbd1ddc01e (patch)
tree5259cb34b11e5a6e374b84dc5efd054bb4fcf75c /control/controlknobs
parentb22b565947ac49406664de06350e5cbdbc856435 (diff)
downloadtailscale-f6da2220d30943181def1b48c97e95cbd1ddc01e.tar.xz
tailscale-f6da2220d30943181def1b48c97e95cbd1ddc01e.zip
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>
Diffstat (limited to 'control/controlknobs')
0 files changed, 0 insertions, 0 deletions