From: "cron2 (Code Review)" Date: Wed, 19 Nov 2025 14:38:48 +0000 In-Reply-To: References: Reply-To: gert@...1296..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641... Message-ID: <31800a244e8759df3503269d1990b3ae145af729-EmailReplacePatchSet-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="fQwQV4wPL20="; charset=UTF-8 Subject: [Openvpn-devel] [S] Change in openvpn[master]: doc: Document potential filesystem pitfalls of client-config-dir List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: flichtenheld , plaisthos Cc: openvpn-devel --fQwQV4wPL20= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable cron2 has uploaded a new patch set (#3) to the change originally created by= flichtenheld. ( http://gerrit.openvpn.net/c/openvpn/+/1380?usp=3Demail ) The following approvals got outdated and were removed: Code-Review+2 by cron2 Change subject: doc: Document potential filesystem pitfalls of client-confi= g-dir ...................................................................... doc: Document potential filesystem pitfalls of client-config-dir Reported-By: stefan@...2953... Change-Id: I23ea00dbd62271838aa72e913b743cc679ff2386 Signed-off-by: Frank Lichtenheld Acked-by: Gert Doering Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1380 Message-Id: <20251119135243.30967-1-gert@...1296...> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg34= 541.html Signed-off-by: Gert Doering --- M doc/man-sections/server-options.rst 1 file changed, 10 insertions(+), 0 deletions(-) git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/80/1380/3 diff --git a/doc/man-sections/server-options.rst b/doc/man-sections/server-= options.rst index 5243a06..739be22 100644 --- a/doc/man-sections/server-options.rst +++ b/doc/man-sections/server-options.rst @@ -144,6 +144,16 @@ ``--push-reset``, ``--push-remove``, ``--iroute``, ``--ifconfig-push``, ``--vlan-pvid`` and ``--config``. + **Note:** OpenVPN uses the CN exactly as written in the certificate. + But since this is a file access the filesystem might interfere. + Importantly OpenVPN will consider two CNs that only differ in case as + different names but a case-insensitive filesystem (like you might + encounter on Windows or macOS) will treat them as the same. When you + generate your certificates make sure that the CNs are sufficiently + different to not cause issues. When trusting an external CA note that + this is a potential attack vector via maliciously generated + certificates that exploit this issue. + --client-to-client Because the OpenVPN server mode handles multiple clients through a single tun or tap interface, it is effectively a router. The -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/1380?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: I23ea00dbd62271838aa72e913b743cc679ff2386 Gerrit-Change-Number: 1380 Gerrit-PatchSet: 3 Gerrit-Owner: flichtenheld Gerrit-Reviewer: cron2 Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel --fQwQV4wPL20= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

cron2 upl= oaded patch set #3 to the change originally created by flichtenhel= d.

View Change

The following approvals got outdated and were remove= d: Code-Review+2 by cron2

doc: Document potential filesystem =
pitfalls of client-config-dir

Reported-By: stefan@...2953...
Chan= ge-Id: I23ea00dbd62271838aa72e913b743cc679ff2386
Signed-off-by: Frank Li= chtenheld <frank@...2641...>
Acked-by: Gert Doering <gert@...1711...= 96...>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1380
Mes= sage-Id: <20251119135243.30967-1-gert@...1296...>
URL: https://www= .mail-archive.com/openvpn-devel@lists.sourceforge.net/msg34541.html
Sign= ed-off-by: Gert Doering <gert@...1296...>
---
M doc/man-section= s/server-options.rst
1 file changed, 10 insertions(+), 0 deletions(-)
git pull ssh://gerrit.openvpn.net:29418/openvpn re=
fs/changes/80/1380/3
diff --git a/doc/man-sections/server-options.r=
st b/doc/man-sections/server-options.rst
index 5243a06..739= be22 100644
--- a/doc/man-sections/server-options.rst
+++ b/doc/man-sections/server-options.rst
@@ -14= 4,6 +144,16 @@
``--push-reset``, ``--push-remove``, ``--= iroute``, ``--ifconfig-push``,
``--vlan-pvid`` and ``--c= onfig``.

+ **Note:** OpenVPN uses the CN exactly as written in the certificat= e.
+ But since this = is a file access the filesystem might interfere.
+ Importantly OpenVPN will consider two CNs th= at only differ in case as
+ different names but a case-insensitive filesystem (like you might
+ encounter on Window= s or macOS) will treat them as the same. When you
+ generate your certificates make sure that t= he CNs are sufficiently
+ different to not cause issues. When trusting an external CA note that=
+ this is a potenti= al attack vector via maliciously generated
+ certificates that exploit this issue.
+

--client-to-cl= ient
Because the OpenVPN server mode handles multiple cl= ients through a
single tun or tap interface, it is effec= tively a router. The

To view, visit change 1380= . To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newpatchset
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I23ea00dbd62271838aa72e913b7= 43cc679ff2386
Gerrit-Change-Number: 1380
Gerrit-PatchSet: 3
Gerrit-Owner: flichtenheld <frank@...2723...= .>
Gerrit-Reviewer: cron2 <gert@...1296...>=
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...= .1227...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
= --fQwQV4wPL20=--