From: "selvanair (Code Review)" Date: Mon, 8 Dec 2025 19:15:03 +0000 In-Reply-To: References: Reply-To: selva.nair@...277..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, gert@...1296... Message-ID: <5833d2dc35fc3438d3f0c2cb4c7ff6422c6c5b2c-EmailReplacePatchSet-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="kCbFE24ZWK0="; 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: plaisthos Cc: openvpn-devel --kCbFE24ZWK0= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: cron2, plaisthos, selvanair. Hello cron2, plaisthos, I'd like you to reexamine a change. Please visit http://gerrit.openvpn.net/c/openvpn/+/1415?usp=3Demail to look at the new patch set (#2). The following approvals got outdated and were removed: Code-Review-1 by cron2 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 --- M doc/man-sections/client-options.rst 1 file changed, 8 insertions(+), 0 deletions(-) git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/15/1415/2 diff --git a/doc/man-sections/client-options.rst b/doc/man-sections/client-= options.rst index e8523d9..17f0a6a 100644 --- a/doc/man-sections/client-options.rst +++ b/doc/man-sections/client-options.rst @@ -345,6 +345,14 @@ 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. In such situations, an "allow-lis= t" + approach using specific ``pull-filter accept`` directives followed by a + generic ``pull-filter ignore`` should be preferred over a "deny-list" + approach. This improves robustness but does not guarantee security. + --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: newpatchset Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: I2c8d40038e52fbdff1c56f93db1e6a2f9255c59a Gerrit-Change-Number: 1415 Gerrit-PatchSet: 2 Gerrit-Owner: selvanair Gerrit-Reviewer: cron2 Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos Gerrit-Attention: cron2 Gerrit-Attention: selvanair --kCbFE24ZWK0= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is cur= rently required from: cron2, plaisthos, selvanair.

selvanair uploaded patch set #2 to this change.

<= a href=3D"http://gerrit.openvpn.net/c/openvpn/+/1415?usp=3Demail">View Chan= ge

The following approvals got outdated and were removed: Code-Review-1 by cron2

pull-filter: improve documentation<=
br>
Pull-filter uses a simple string comparison and could be defeated by=
unusual formatting of pushed option strings. Document that this
opti= on is not meant to be used as a security measure.

Reported by: <a= arnav@...2953...>

Change-Id: I2c8d40038e52fbdff1c56f93db1e6a2f925= 5c59a
Signed-off-by: Selva Nair <selva.nair@...277...>
---
M= doc/man-sections/client-options.rst
1 file changed, 8 insertions(+), 0 = deletions(-)

git pull ssh://gerrit.openvpn.net:2=
9418/openvpn refs/changes/15/1415/2
diff --git a/doc/man-sections/c=
lient-options.rst b/doc/man-sections/client-options.rst
ind= ex e8523d9..17f0a6a 100644
--- a/doc/man-sections/client-op= tions.rst
+++ b/doc/man-sections/client-options.rst<= br>@@ -345,6 +345,14 @@
next remote succeeds. To s= ilently ignore an option pushed by the server,
use :code= :`ignore`.

+ *Warning:* ``pull-filter`` cannot be relied upon as a security m= easure to
+ protect = against offending options pushed by a server. For example, the
+ filter could be defeated by pu= shing options with extra spaces between
+ tokens or other formatting variations. In such situat= ions, an "allow-list"
+ approach using specific ``pull-filter accept`` directives fol= lowed by a
+ generic= ``pull-filter ignore`` should be preferred over a "deny-list"

+ approach. This impro= ves robustness but does not guarantee security.
+
--push-peer-info
Push additional information about the client to server. The followin= g
data is always pushed to the server:
<= /span>

To view, visit change 1415. To unsubscribe, or for help writ= ing mail filters, visit settings.

=
Gerrit-MessageType: newpatchset
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I2c8d40038e52fbdff1c56f93db1= e6a2f9255c59a
Gerrit-Change-Number: 1415
Gerrit-PatchSet: 2
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>
Gerrit-Attention: plaisthos <arne-openvpn@...220...= ..1227...>
Gerrit-Attention: cron2 <gert@...1296...>= ;
Gerrit-Attention: selvanair <selva.nair@...493...= 277...>
= --kCbFE24ZWK0=--