From: "flichtenheld (Code Review)" Date: Tue, 18 Nov 2025 14:29:27 +0000 In-Reply-To: References: Reply-To: frank@...2641..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net Message-ID: <28fb270edaad6201b420909993da0c2a715c0941-EmailReplacePatchSet-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="MiC0cs5E5Dw="; 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: plaisthos Cc: openvpn-devel --MiC0cs5E5Dw= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: flichtenheld, plaisthos. Hello plaisthos, I'd like you to reexamine a change. Please visit http://gerrit.openvpn.net/c/openvpn/+/1380?usp=3Demail to look at the new patch set (#2). The following approvals got outdated and were removed: Code-Review+2 by plaisthos The change is no longer submittable: Code-Review and checks~ChecksSubmitRul= e are unsatisfied now. 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 --- 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/2 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: 2 Gerrit-Owner: flichtenheld Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos Gerrit-Attention: flichtenheld --MiC0cs5E5Dw= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is cur= rently required from: flichtenheld, plaisthos.

flichtenheld uploaded patch set #2 to this change.

<= p>View C= hange

The following approvals got outdated and were removed: Code-Review+2 by plaisthos

The change is no longer submittable: Code-= Review and checks~ChecksSubmitRule are unsatisfied now.

do=
c: Document potential filesystem pitfalls of client-config-dir

Repor= ted-By: stefan@...2953...
Change-Id: I23ea00dbd62271838aa72e913b743cc679= ff2386
Signed-off-by: Frank Lichtenheld <frank@...2641...>
---<= br>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/2
diff --git a/doc/man-secti=
ons/server-options.rst b/doc/man-sections/server-options.rst
index 5243a06..739be22 100644
--- a/doc/man-sections/serv= er-options.rst
+++ b/doc/man-sections/server-options.rst
@@ -144,6 +144,16 @@
``--push-reset``, ``-= -push-remove``, ``--iroute``, ``--ifconfig-push``,
``--v= lan-pvid`` and ``--config``.

+ **Note:** OpenVPN uses the CN exactly as writt= en in the certificate.
+ Importantly OpenVPN will= consider two CNs that only differ in case as
+ different names but a case-insensitive filesyst= em (like you might
+ = encounter on Windows or macOS) will treat them as the same. When you
+ generate your certifica= tes make sure that the CNs are sufficiently
+ different to not cause issues. When trusting an e= xternal CA note that
= + this is a potential attack vector via maliciously generated
+ certificates that exploit this= issue.

+
<= span> --client-to-client

Because the OpenVPN server mode= handles multiple clients through a
single tun or tap in= terface, it is effectively a router. The

<= p>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: 2
Gerrit-Owner: flichtenheld <frank@...2723...= .>
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: flichtenheld <frank@...2375...= 41...>
= --MiC0cs5E5Dw=--