Skip to content

Commit f8f1e1a

Browse files
selvanaircron2
authored andcommitted
pull-filter: improve documentation
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: <[email protected]> Change-Id: I2c8d40038e52fbdff1c56f93db1e6a2f9255c59a Signed-off-by: Selva Nair <[email protected]> Acked-by: Gert Doering <[email protected]> Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1415 Message-Id: <[email protected]> URL: https://www.mail-archive.com/[email protected]/msg34930.html Signed-off-by: Gert Doering <[email protected]> (cherry picked from commit d3e03b9)
1 parent 966cdeb commit f8f1e1a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

doc/man-sections/client-options.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,11 @@ configuration.
340340
next remote succeeds. To silently ignore an option pushed by the server,
341341
use :code:`ignore`.
342342

343+
*Warning:* ``pull-filter`` cannot be relied upon as a security measure to
344+
protect against offending options pushed by a server. For example, the
345+
filter could be defeated by pushing options with extra spaces between
346+
tokens or other formatting variations.
347+
343348
--push-peer-info
344349
Push additional information about the client to server. The following
345350
data is always pushed to the server:

0 commit comments

Comments
 (0)