From: "selvanair (Code Review)"
Date: Mon, 8 Dec 2025 21:50:59 +0000
In-Reply-To:
References:
Reply-To: selva.nair@...277..., arne-openvpn@...1227...,
openvpn-devel@lists.sourceforge.net, gert@...1296...
Message-ID: <9f2011a1f6fd2db21da10ded1bcdd608cefd19f9-EmailReviewComments-HTML@...2715...>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Disposition: inline
Content-Type: multipart/alternative; boundary="Jj8cC/YC9nQ="; 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
--Jj8cC/YC9nQ=
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 2:
(1 comment)
Patchset:
PS2:
> ewww... who permitted such ugliness to pass the parser... [=E2=80=A6]
I had an inkling that there could be more ways than just spaces to defeat t=
his -- and you challenged me to find one =F0=9F=98=8A
Anyway, such "unknown unknowns" is what prompted me to write this in a nuan=
ced and hedged fashion... Now we know at least one concrete way to break it=
, we could just say:
*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.
I thought about improving the matching algorithm, but it doesn't look trivi=
al. For now it has to remain a convenience option.
--
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: 2
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 21:50:59 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: cron2
Comment-In-Reply-To: selvanair
--Jj8cC/YC9nQ=
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Attention is cur=
rently required from: cron2, plaisthos.
ewww=
... who permitted such ugliness to pass the parser... [=E2=80=A6]
I had an inkling that there could be more ways than just spaces to =
defeat this -- and you challenged me to find one =F0=9F=98=8A
Anyway,=
such "unknown unknowns" is what prompted me to write this in a n=
uanced and hedged fashion... Now we know at least one concrete way to break=
it, we could just say:
*Warning:* ``pull-filter`` canno=
t be relied upon as a security measure to protect against offending op=
tions pushed by a server. For example, the filter could be defeated by=
pushing options with extra spaces between tokens or other formatting =
variations.
I thought about improving the matching algorithm, but it =
doesn't look trivial. For now it has to remain a convenience option.
To view, visit change 1415. To unsubscribe, or for help=
writing mail filters, visit settings.