| Message ID | 20251127115737.3598-1-gert@greenie.muc.de |
|---|---|
| State | New |
| Headers | show |
| Series | [Openvpn-devel,v1] Remove remainders of --no-name-remaping option | expand |
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 <gert@greenie.muc.de>
Acked-by: Frank Lichtenheld <frank@lichtenheld.com>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1411
Message-Id: <20251127115737.3598-1-gert@greenie.muc.de>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg34754.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
--
kind regards,
Gert Doering
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"