From: "selvanair (Code Review)"
Date: Mon, 8 Dec 2025 16:13:29 +0000
In-Reply-To:
References:
Reply-To: selva.nair@...277..., arne-openvpn@...1227...,
openvpn-devel@lists.sourceforge.net, gert@...1296...
Message-ID: <5ab844e0ddc3ff1d4869817836952c863d5dceff-EmailReviewComments-HTML@...2715...>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Disposition: inline
Content-Type: multipart/alternative; boundary="r+fnvxuz47o="; 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: ,
Cc: plaisthos , openvpn-devel
--r+fnvxuz47o=
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Attention is currently required from: cron2, plaisthos.
selvanair has posted comments on this change by selvanair. ( http://gerrit.=
openvpn.net/c/openvpn/+/1415?usp=3Demail )
Change subject: pull-filter: improve documentation
......................................................................
Patch Set 1:
(1 comment)
File doc/man-sections/client-options.rst:
http://gerrit.openvpn.net/c/openvpn/+/1415/comment/cb5ea473_694dd9d3?usp=3D=
email :
PS1, Line 349: protect against offending options pushed by a server. For =
example, the
> Well, I see your point, but then I find your wording a bit hard to unders=
tand - "it can not be relie [=E2=80=A6]
This is what I wanted to say: Pull filter was not designed as a security me=
asure, so do not use it for security, its easy to be defeated. That said, t=
here is some care one could take while writing the filter commands to guard=
against formatting mismatches. I do not want to give an impression that it=
s "secure" once ordered as an "allow-list". May be it is, I do not know.
I just paraphrased the above into a more formal form --- "in such situation=
s" was meant to refer to spaces/formatting mismatches, not security; "prefe=
rred" is meant to indicate that its a suggestion, not a fool-proof work-aro=
und. I see its a bit nuanced. If the intended meaning is not coming through=
I'll rewrite it:
Option 1 -- use a less nuanced language:
Warning: The pull-filter mechanism must not be regarded as a security measu=
re for blocking undesired server-pushed options. It can be circumvented thr=
ough formatting variations (e.g., added whitespace). To improve robustness =
against such formatting discrepancies, an "allow-list" configuration using =
specific `pull-filter accept` directives followed by a general `pull-filter=
ignore` is preferred to a "deny-list" approach. This recommendation does n=
ot imply that pull-filter provides any security guarantees.
Option 2 -- Just add an extra line:
"This approach improves robustness but does not guarantee security."
--
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: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I2c8d40038e52fbdff1c56f93db1e6a2f9255c59a
Gerrit-Change-Number: 1415
Gerrit-PatchSet: 1
Gerrit-Owner: selvanair
Gerrit-Reviewer: cron2
Gerrit-Reviewer: plaisthos
Gerrit-CC: openvpn-devel
Gerrit-Attention: plaisthos
Gerrit-Attention: cron2
Gerrit-Comment-Date: Mon, 08 Dec 2025 16:13:29 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: cron2
Comment-In-Reply-To: selvanair
--r+fnvxuz47o=
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Attention is cur=
rently required from: cron2, plaisthos.
View =
Change
1 comment:
This is what I wanted to say: Pull filter was not designed as a secu=
rity measure, so do not use it for security, its easy to be defeated. That =
said, there is some care one could take while writing the filter commands t=
o guard against formatting mismatches. I do not want to give an impression =
that its "secure" once ordered as an "allow-list". May =
be it is, I do not know.
I just paraphrased the above into a more forma=
l form --- "in such situations" was meant to refer to spaces/form=
atting mismatches, not security; "preferred" is meant to indicate=
that its a suggestion, not a fool-proof work-around. I see its a bit nuanc=
ed. If the intended meaning is not coming through I'll rewrite it:
<=
p class=3D"blocks" style=3D"white-space: pre-wrap; word-wrap: break-word;">=
Option 1 -- use a less nuanced language:Warning: The pull-filter mecha=
nism must not be regarded as a security measure for blocking undesired serv=
er-pushed options. It can be circumvented through formatting variations (e.=
g., added whitespace). To improve robustness against such formatting discre=
pancies, an "allow-list" configuration using specific `pull-filte=
r accept` directives followed by a general `pull-filter ignore` is preferre=
d to a "deny-list" approach. This recommendation does not imply t=
hat pull-filter provides any security guarantees.
Option 2 -- Just add =
an extra line:
"This approach improves robustness but does not guar=
antee security."
To view, visit change 1415. To =
unsubscribe, or for help writing mail filters, visit settings.
Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I2c8d40038e52fbdff1c56f93db1=
e6a2f9255c59a
Gerrit-Change-Number: 1415
Gerrit-PatchSet: 1
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-Comment-Date: Mon, 08 Dec 2025 16:13:29=
+0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: cron2 <gert@...1296...=
>
Comment-In-Reply-To: selvanair <selva.nair@=
...277...>
=
--r+fnvxuz47o=--