From: "cron2 (Code Review)" Date: Thu, 27 Nov 2025 12:04:31 +0000 In-Reply-To: References: Reply-To: gert@...1296..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641... Message-ID: <5f2f5686995f421d0254cb390f5c0ddde512c8d1-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="5C+SiDINRHk="; charset=UTF-8 Subject: [Openvpn-devel] [XS] Change in openvpn[master]: Remove remainders of --no-name-remapping option List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: flichtenheld , plaisthos , openvpn-devel --5C+SiDINRHk= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable cron2 has submitted this change. ( http://gerrit.openvpn.net/c/openvpn/+/14= 11?usp=3Demail ) Change subject: Remove remainders of --no-name-remapping option ...................................................................... Remove remainders of --no-name-remapping option This option was removed in 2.5 (commit c3f565f059) but still showed up in the ``openvpn --help`` text and in a Q&A section of the man page. Change-Id: Ib15bd4148872db39a4c8291796a5da211bb20a87 Signed-off-by: Gert Doering Acked-by: Frank Lichtenheld Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1411 Message-Id: <20251127115737.3598-1-gert@...1296...> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg34= 754.html Signed-off-by: Gert Doering --- M doc/man-sections/script-options.rst M src/openvpn/options.c 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/doc/man-sections/script-options.rst b/doc/man-sections/script-= options.rst index 670cd33..cadd464 100644 --- a/doc/man-sections/script-options.rst +++ b/doc/man-sections/script-options.rst @@ -571,8 +571,8 @@ a filename, etc. *Q: Can string remapping be disabled?* - Yes, by using the ``--no-name-remapping`` option, however this - should be considered an advanced option. + No. The options ``--no-name-remapping`` and ``--compat-names`` have + been removed in 2.5 because they were considered too insecure. Here is a brief rundown of OpenVPN's current string types and the permitted character class for each string: diff --git a/src/openvpn/options.c b/src/openvpn/options.c index 5e73196..a3fc19d 100644 --- a/src/openvpn/options.c +++ b/src/openvpn/options.c @@ -474,8 +474,6 @@ " for generated tokens can be set.\n" "--auth-user-pass-optional : Allow connections by clients that don't\n" " specify a username/password.\n" - "--no-name-remapping : (DEPRECATED) Allow Common Name and X509 Subject= to include\n" - " any printable character.\n" "--client-to-client : Internally route client-to-client traffic.\n" "--duplicate-cn : Allow multiple clients with the same common name to= \n" " concurrently connect.\n" -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/1411?usp=3Demail To unsubscribe, or for help writing mail filters, visit http://gerrit.openv= pn.net/settings?usp=3Demail Gerrit-MessageType: merged Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: Ib15bd4148872db39a4c8291796a5da211bb20a87 Gerrit-Change-Number: 1411 Gerrit-PatchSet: 2 Gerrit-Owner: cron2 Gerrit-Reviewer: flichtenheld Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel --5C+SiDINRHk= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

cron2 sub= mitted this change.

View Change

Remove remainders of --no-name-remapping option<=
br>
This option was removed in 2.5 (commit c3f565f059) but still showed<= br>up in the ``openvpn --help`` text and in a Q&A section of the man pa= ge.

Change-Id: Ib15bd4148872db39a4c8291796a5da211bb20a87
Signed-o= ff-by: Gert Doering <gert@...1296...>
Acked-by: Frank Lichtenheld = <frank@...2641...>
Gerrit URL: https://gerrit.openvpn.net/c/openvp= n/+/1411
Message-Id: <20251127115737.3598-1-gert@...1296...>
UR= L: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg3475= 4.html
Signed-off-by: Gert Doering <gert@...1296...>
---
M d= oc/man-sections/script-options.rst
M src/openvpn/options.c
2 files ch= anged, 2 insertions(+), 4 deletions(-)

diff --git a/doc/man-sections/script-options.rst b/doc/man-sections/scri=
pt-options.rst
index 670cd33..cadd464 100644
--- a/doc/man-sections/script-options.rst
+++ b/doc/man-s= ections/script-options.rst
@@ -571,8 +571,8 @@
a filename, etc.

*Q: Can string= remapping be disabled?*
- should be considered an= advanced option.
+ = No. The options ``--no-name-remapping`` and ``--compat-names`` have

+ been removed in 2.5 = because they were considered too insecure.

Here is a brief rundown of OpenVPN's current string types and the
permitted character class for each string:
d= iff --git a/src/openvpn/options.c b/src/openvpn/options.c
i= ndex 5e73196..a3fc19d 100644
--- a/src/openvpn/options.c
+++ b/src/openvpn/options.c
@@ -474,8 +474,6 = @@
" for generated tokens can be= set.\n"
"--auth-user-pass-optional : Allow = connections by clients that don't\n"
" = specify a username/password.\n"
- "--no-name-remapping : (DEPRECATED= ) Allow Common Name and X509 Subject to include\n"
- " any print= able character.\n"
"--client-to-client : Int= ernally route client-to-client traffic.\n"
"= --duplicate-cn : Allow multiple clients with the same common name to\n&quo= t;
" concurrently connect.\n&quo= t;

To view, visit change 1411. To unsubscri= be, or for help writing mail filters, visit settings.

Gerrit-MessageType: merged
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ib15bd4148872db39a4c8291796a= 5da211bb20a87
Gerrit-Change-Number: 1411
Gerrit-PatchSet: 2
Gerrit-Owner: cron2 <gert@...1296...>
Gerrit-Reviewer: flichtenheld <frank@...2716...= 1...>
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...= .1227...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
= --5C+SiDINRHk=--