From: "cron2 (Code Review)" Date: Tue, 9 Dec 2025 09:00:53 +0000 In-Reply-To: References: Reply-To: gert@...1296..., arne-openvpn@...1227..., selva.nair@...277..., openvpn-devel@lists.sourceforge.net Message-ID: <705ab28722243a980a8c6e29c09377b42e28b260-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="L8T3BiRz1HI="; charset=UTF-8 Subject: [Openvpn-devel] [XS] Change in openvpn[master]: pull-filter: improve documentation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: selvanair Cc: plaisthos , openvpn-devel --L8T3BiRz1HI= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable cron2 has submitted this change. ( http://gerrit.openvpn.net/c/openvpn/+/14= 15?usp=3Demail ) Change subject: pull-filter: improve documentation ...................................................................... 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: Change-Id: I2c8d40038e52fbdff1c56f93db1e6a2f9255c59a Signed-off-by: Selva Nair Acked-by: Gert Doering Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1415 Message-Id: <20251209070218.4467-1-gert@...1296...> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg34= 930.html Signed-off-by: Gert Doering --- M doc/man-sections/client-options.rst 1 file changed, 5 insertions(+), 0 deletions(-) diff --git a/doc/man-sections/client-options.rst b/doc/man-sections/client-= options.rst index ca4c8e9..b9ae7ce 100644 --- a/doc/man-sections/client-options.rst +++ b/doc/man-sections/client-options.rst @@ -345,6 +345,11 @@ 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: -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/1415?usp=3Demail To unsubscribe, or for help writing mail filters, visit http://gerrit.openv= pn.net/settings?usp=3Demail Gerrit-MessageType: merged Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: I2c8d40038e52fbdff1c56f93db1e6a2f9255c59a Gerrit-Change-Number: 1415 Gerrit-PatchSet: 4 Gerrit-Owner: selvanair Gerrit-Reviewer: cron2 Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel --L8T3BiRz1HI= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

cron2 sub= mitted this change.

View Change

pull-filter: improve documentation

Pull-f= ilter uses a simple string comparison and could be defeated by
unusual f= ormatting of pushed option strings. Document that this
option is not mea= nt to be used as a security measure.

Reported by: <aarnav@...2974...= ...>

Change-Id: I2c8d40038e52fbdff1c56f93db1e6a2f9255c59a
Sign= ed-off-by: Selva Nair <selva.nair@...277...>
Acked-by: Gert Doerin= g <gert@...1296...>
Gerrit URL: https://gerrit.openvpn.net/c/openv= pn/+/1415
Message-Id: <20251209070218.4467-1-gert@...1296...>
U= RL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg349= 30.html
Signed-off-by: Gert Doering <gert@...1296...>
---
M = doc/man-sections/client-options.rst
1 file changed, 5 insertions(+), 0 d= eletions(-)

diff --git a/doc/man-sections/client-options.rst b/doc/man-sections/clie=
nt-options.rst
index ca4c8e9..b9ae7ce 100644
--- a/doc/man-sections/client-options.rst
+++ b/doc/man-s= ections/client-options.rst
@@ -345,6 +345,11 @@
<= span> next remote succeeds. To silently ignore an option pushed by the se= rver,
use :code:`ignore`.

+ *Warning:* ``pull-filter`` can= not be relied upon as a security measure to
+ protect against offending options pushed by a ser= ver. For example, the
+ filter could be defeated by pushing options with extra spaces between
+ tokens or other for= matting variations.
+=
--push-peer-info
Push additional infor= mation about the client to server. The following
data is= always pushed to the server:

To view, = visit ch= ange 1415. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: merged
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I2c8d40038e52fbdff1c56f93db1= e6a2f9255c59a
Gerrit-Change-Number: 1415
Gerrit-PatchSet: 4
Gerrit-Owner: selvanair <selva.nair@...1354...= ..>
Gerrit-Reviewer: cron2 <gert@...1296...>=
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...= .1227...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
= --L8T3BiRz1HI=--