summaryrefslogtreecommitdiffhomepage
path: root/docs/security.md
diff options
context:
space:
mode:
authorEmīls <emils@mullvad.net>2020-08-31 16:35:05 +0100
committerEmīls <emils@mullvad.net>2020-09-02 10:52:53 +0100
commite387c43658b017a382e60bdd6841597ea8aea42f (patch)
treee303940fae40c78f21b6adb4fbaa2cfcbf9223b5 /docs/security.md
parent5d7179a3a5fce366a7ab8215de7e4133a7cb20fd (diff)
downloadmullvadvpn-e387c43658b017a382e60bdd6841597ea8aea42f.tar.xz
mullvadvpn-e387c43658b017a382e60bdd6841597ea8aea42f.zip
Use a mark to whitelist tunnel traffic
Diffstat (limited to 'docs/security.md')
-rw-r--r--docs/security.md7
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/security.md b/docs/security.md
index 7fc5369bd3..786cf99d8b 100644
--- a/docs/security.md
+++ b/docs/security.md
@@ -124,8 +124,11 @@ VPN tunnel is allowed on all interfaces, together with responses to this outgoin
First hop means the bridge server if one is used, otherwise the VPN server directly.
This IP+port+protocol combination should only be allowed for the process establishing the
VPN tunnel, or only administrator level processes, depending on what the platform firewall
-allows restricting. On Windows the rule only allows processes from binaries in certain paths.
-On Linux and macOS the rule only allows packets from processes running as `root`.
+allows restricting. On Windows the rule only allows processes from binaries in certain paths. macOS
+the rule only allows packets from processes running as `root`. On Linux, the rule only allows
+packets that have the mark `0x6d6f6c65` set: setting a firewall mark on traffic requires elevated
+privileges when using tunnels that support marking traffic, otherwise the rule is the same as on
+macOS: the packet needs to originate from a process running as `root`.
This process/user check is important to not allow unprivileged programs
to leak packets to this IP outside the tunnel, as those packets can be fingerprinted.