From: "cron2 (Code Review)" Date: Thu, 27 Nov 2025 12:04:29 +0000 In-Reply-To: References: Reply-To: gert@...1296..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641... Message-ID: <5f2f5686995f421d0254cb390f5c0ddde512c8d1-EmailReplacePatchSet-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="0gYfhubJj+k="; 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: , To: plaisthos , flichtenheld Cc: openvpn-devel --0gYfhubJj+k= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello flichtenheld, plaisthos, I'd like you to reexamine a change. Please visit http://gerrit.openvpn.net/c/openvpn/+/1411?usp=3Demail to look at the new patch set (#2). The following approvals got outdated and were removed: Code-Review+2 by flichtenheld 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(-) git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/11/1411/2 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: newpatchset 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 --0gYfhubJj+k= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

cron2 upl= oaded patch set #2 to this change.

View Change

The followi= ng approvals got outdated and were removed: Code-Review+2 by flichtenheld

Remove remainders of --no-na=
me-remapping option

This option was removed in 2.5 (commit c3f565f05= 9) but still showed
up in the ``openvpn --help`` text and in a Q&A s= ection of the man page.

Change-Id: Ib15bd4148872db39a4c8291796a5da21= 1bb20a87
Signed-off-by: Gert Doering <gert@...1296...>
Acked-by= : Frank Lichtenheld <frank@...2641...>
Gerrit URL: https://gerrit.= openvpn.net/c/openvpn/+/1411
Message-Id: <20251127115737.3598-1-gert@= ...1296...>
URL: https://www.mail-archive.com/openvpn-devel@...1885...= rceforge.net/msg34754.html
Signed-off-by: Gert Doering <gert@...1725...= ..>
---
M doc/man-sections/script-options.rst
M src/openvpn/opt= ions.c
2 files changed, 2 insertions(+), 4 deletions(-)

git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/11/= 1411/2
diff --git a/doc/man-sections/script-options.rst b/doc/man-s=
ections/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 @@<= /span>
a filename, etc.

*Q= : Can string remapping be disabled?*
- Yes, by using the ``--no-name-remapping`` option, howeve= r this
- should be c= onsidered an advanced option.
+ No. The options ``--no-name-remapping`` and ``--compat-names= `` have
+ been rem= oved in 2.5 because they were considered too insecure.

Here is a brief rundown of OpenVPN's current string type= s 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
@@ -4= 74,8 +474,6 @@
" for generated t= okens can be set.\n"
"--auth-user-pass-optio= nal : 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-c= lient : Internally route client-to-client traffic.\n"
= "--duplicate-cn : Allow multiple clients with the same common na= me to\n"
" concurrently con= nect.\n"

To view, visit change 1411. T= o unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newpatchset
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>
= --0gYfhubJj+k=--