From: "cron2 (Code Review)" Date: Thu, 27 Nov 2025 10:29:33 +0000 References: Reply-To: gert@...1296..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net Message-ID: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="7eFGzInITZ8="; charset=UTF-8 Subject: [Openvpn-devel] [XS] Change in openvpn[master]: Remove remainders of --no-name-remaping option List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: plaisthos Cc: openvpn-devel --7eFGzInITZ8= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: plaisthos. Hello plaisthos, I'd like you to do a code review. Please visit http://gerrit.openvpn.net/c/openvpn/+/1411?usp=3Demail to review the following change. Change subject: Remove remainders of --no-name-remaping option ...................................................................... Remove remainders of --no-name-remaping 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 --- M doc/man-sections/script-options.rst M src/openvpn/options.c 2 files changed, 2 insertions(+), 4 deletions(-) git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/11/1411/1 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 4794315..0257418f 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: newchange Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: Ib15bd4148872db39a4c8291796a5da211bb20a87 Gerrit-Change-Number: 1411 Gerrit-PatchSet: 1 Gerrit-Owner: cron2 Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos --7eFGzInITZ8= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is cur= rently required from: plaisthos.

cron2 would like plaisthos to review this change.

V= iew Change

Remove remainders of --no-name-remaping opt=
ion

This option was removed in 2.5 (commit c3f565f059) but still sho= wed
up in the ``openvpn --help`` text and in a Q&A section of the ma= n page.

Change-Id: Ib15bd4148872db39a4c8291796a5da211bb20a87
Sign= ed-off-by: Gert Doering <gert@...1296...>
---
M doc/man-section= s/script-options.rst
M src/openvpn/options.c
2 files changed, 2 inser= tions(+), 4 deletions(-)

git pull ssh://gerrit.o=
penvpn.net:29418/openvpn refs/changes/11/1411/1
diff --git a/doc/ma=
n-sections/script-options.rst b/doc/man-sections/script-options.rst<=
br>index 670cd33..cadd464 100644
--- a/doc/man-sectio= ns/script-options.rst
+++ b/doc/man-sections/script-options= .rst
@@ -571,8 +571,8 @@
a filename, e= tc.

*Q: Can string remapping be disabled= ?*
- Yes, by using t= he ``--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 cons= idered too insecure.

Here is a brief run= down of OpenVPN's current string types and the
permitt= ed character class for each string:
diff --git a/src/openvp= n/options.c b/src/openvpn/options.c
index 4794315..0257418f= 100644
--- a/src/openvpn/options.c
+++ b/s= rc/openvpn/options.c
@@ -474,8 +474,6 @@
= " for generated tokens can be set.\n"<= br> "--auth-user-pass-optional : Allow connections by client= s that don't\n"
" speci= fy a username/password.\n"
- "--no-name-remapping : (DEPRECATED) Allow Common Name an= d X509 Subject to include\n"
- " any printable character.\n"= ;
"--client-to-client : Internally route client-t= o-client traffic.\n"
"--duplicate-cn : Allo= w multiple clients with the same common name to\n"
= " concurrently connect.\n"

To view, visit change 1411. To unsubscribe, or for help writin= g mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ib15bd4148872db39a4c8291796a= 5da211bb20a87
Gerrit-Change-Number: 1411
Gerrit-PatchSet: 1
Gerrit-Owner: 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...>
= --7eFGzInITZ8=--