]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
pull-filter: improve documentation
authorSelva Nair <selva.nair@gmail.com>
Tue, 9 Dec 2025 07:02:11 +0000 (08:02 +0100)
committerGert Doering <gert@greenie.muc.de>
Tue, 9 Dec 2025 08:56:55 +0000 (09:56 +0100)
Pull-filter uses a simple string comparison and could be defeated by
unusual formatting of pushed option strings. Document that this
option is not meant to be used as a security measure.

Reported by: <aarnav@srlabs.de>

Change-Id: I2c8d40038e52fbdff1c56f93db1e6a2f9255c59a
Signed-off-by: Selva Nair <selva.nair@gmail.com>
Acked-by: Gert Doering <gert@greenie.muc.de>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1415
Message-Id: <20251209070218.4467-1-gert@greenie.muc.de>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg34930.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
doc/man-sections/client-options.rst

index ca4c8e9fb083b26186be306233458c21371cbcc2..b9ae7ce0f69560713829a0a2de1c41b30e11f548 100644 (file)
@@ -345,6 +345,11 @@ configuration.
   next remote succeeds. To silently ignore an option pushed by the server,
   use :code:`ignore`.
 
+  *Warning:* ``pull-filter`` cannot be relied upon as a security measure to
+  protect against offending options pushed by a server. For example, the
+  filter could be defeated by pushing options with extra spaces between
+  tokens or other formatting variations.
+
 --push-peer-info
   Push additional information about the client to server. The following
   data is always pushed to the server: