Skip to content

Commit d3e03b9

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]>
1 parent 55a5e20 commit d3e03b9

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
@@ -345,6 +345,11 @@ configuration.
345345
next remote succeeds. To silently ignore an option pushed by the server,
346346
use :code:`ignore`.
347347

348+
*Warning:* ``pull-filter`` cannot be relied upon as a security measure to
349+
protect against offending options pushed by a server. For example, the
350+
filter could be defeated by pushing options with extra spaces between
351+
tokens or other formatting variations.
352+
348353
--push-peer-info
349354
Push additional information about the client to server. The following
350355
data is always pushed to the server:

0 commit comments

Comments
 (0)