Skip to contentSkip to conversation

Change in openvpn[master]: Remove remainders of --no-name-remaping option

Openvpn-devel In review cron2 (Code Review) 2 participants 6 messages Nov 27, 2025 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): gerrit.1764239370000.Ib15bd4148872db39a4c8291796a5da211bb20a87@...2715...

#1 lore raw

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=email

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

---
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

doc/man-sections/script-options.rst +2 -2
index 670cd33..cadd464 100644
@@ -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:
src/openvpn/options.c +0 -2
index 4794315..0257418f 100644
@@ -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=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: newchange
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ib15bd4148872db39a4c8291796a5da211bb20a87
Gerrit-Change-Number: 1411
Gerrit-PatchSet: 1
Gerrit-Owner: cron2 <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>

#2 lore raw
In reply to a message not in the archive

Attention is currently required from: cron2, plaisthos.

flichtenheld has posted comments on this change by cron2. ( http://gerrit.openvpn.net/c/openvpn/+/1411?usp=email )

Change subject: Remove remainders of --no-name-remaping option
......................................................................

Patch Set 1: Code-Review+2

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1411?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ib15bd4148872db39a4c8291796a5da211bb20a87
Gerrit-Change-Number: 1411
Gerrit-PatchSet: 1
Gerrit-Owner: cron2 <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Attention: cron2 <[email protected]...>
Gerrit-Comment-Date: Thu, 27 Nov 2025 11:53:07 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes

#3 lore raw

PATCH 1/1 Remove remainders of --no-name-remaping option

In reply to a message not in the archive

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

Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1411
---

This change was reviewed on Gerrit and approved by at least one developer. I request to merge it to master.

Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1411
This mail reflects revision 1 of this Change.

Acked-by according to Gerrit (reflected above):
Frank Lichtenheld <[email protected]...>

doc/man-sections/script-options.rst +2 -2
index 670cd33..cadd464 100644
@@ -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:
src/openvpn/options.c +0 -2
index 4794315..0257418f 100644
@@ -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"
#4 lore raw

[Openvpn-devel] [PATCH applied] Re: Remove remainders of --no-name-remapping option

Not much to test here - the option is long gone, and for the help text, as long as it compiles, nothing got broken (BB confirmed that :-) ).

Your patch has been applied to the master branch.

commit 0effd6cae392bc42bb5106170661ba520e344fbe

Author: Gert Doering
Date:   Thu Nov 27 12:57:32 2025 +0100
     Remove remainders of --no-name-remapping option

     Signed-off-by: Gert Doering <[email protected]...>
     Acked-by: Frank Lichtenheld <[email protected]...>
     Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1411
     Message-Id: <[email protected]...>
     URL: https://www.mail-archive.com/[email protected]/msg34754.html
     Signed-off-by: Gert Doering <[email protected]...>

--
kind regards,

Gert Doering

#5 lore raw

[Openvpn-devel] [XS] Change in openvpn[master]: Remove remainders of --no-name-remapping option

In reply to a message not in the archive

Hello flichtenheld, plaisthos,

I'd like you to reexamine a change. Please visit

    http://gerrit.openvpn.net/c/openvpn/+/1411?usp=email

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

Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1411
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg34754.html

---
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

doc/man-sections/script-options.rst +2 -2
index 670cd33..cadd464 100644
@@ -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:
src/openvpn/options.c +0 -2
index 5e73196..a3fc19d 100644
@@ -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=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: newpatchset
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ib15bd4148872db39a4c8291796a5da211bb20a87
Gerrit-Change-Number: 1411
Gerrit-PatchSet: 2
Gerrit-Owner: cron2 <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>

#6 lore raw

[Openvpn-devel] [XS] Change in openvpn[master]: Remove remainders of --no-name-remapping option

In reply to a message not in the archive

cron2 has submitted this change. ( http://gerrit.openvpn.net/c/openvpn/+/1411?usp=email )

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

Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1411
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg34754.html

---
M doc/man-sections/script-options.rst
M src/openvpn/options.c

2 files changed, 2 insertions(+), 4 deletions(-)
doc/man-sections/script-options.rst +2 -2
index 670cd33..cadd464 100644
@@ -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:
src/openvpn/options.c +0 -2
index 5e73196..a3fc19d 100644
@@ -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=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: merged
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ib15bd4148872db39a4c8291796a5da211bb20a87
Gerrit-Change-Number: 1411
Gerrit-PatchSet: 2
Gerrit-Owner: cron2 <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>