]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Remove --no-iv
authorDavid Sommerseth <davids@openvpn.net>
Fri, 17 Jul 2020 17:15:44 +0000 (19:15 +0200)
committerGert Doering <gert@greenie.muc.de>
Sat, 18 Jul 2020 08:58:33 +0000 (10:58 +0200)
This finializes the depreacation started in OpenVPN 2.4, where --no-iv
was made into a NOOP option.

Signed-off-by: David Sommerseth <davids@openvpn.net>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20200717171544.21632-1-davids@openvpn.net>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg20460.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
Changes.rst
doc/man-sections/server-options.rst
doc/man-sections/unsupported-options.rst
src/openvpn/options.c

index 18b03e47a764bcb9845a313eeb44e0d5ca499f01..e5228696a8fb1fa668fad58084730980cd8ea7b8 100644 (file)
@@ -34,6 +34,9 @@ https://community.openvpn.net/openvpn/wiki/DeprecatedOptions
     With the improved and matured data channel cipher negotiation, the use
     of ``ncp-disable`` should not be necessary anymore.
 
+- ``no-iv`` has been removed
+  This option was made into a NOOP option with OpenVPN 2.4.  This has now
+  been completely removed.
 
 Overview of changes in 2.4
 ==========================
index c24aec0b94ebd3f2742ce43ab6eb660453c7b5af..c8e9fc6157ec6e92f715b847f9cb7bca700e12d2 100644 (file)
@@ -399,7 +399,7 @@ fast hardware. SSL/TLS authentication must be used in this mode.
   ``link-mtu``, ``tun-mtu``, ``proto``, ``ifconfig``,
   ``comp-lzo``, ``fragment``, ``keydir``, ``cipher``,
   ``auth``, ``keysize``, ``secret``, ``no-replay``,
-  ``no-iv``, ``tls-auth``, ``key-method``, ``tls-server``
+  ``tls-auth``, ``key-method``, ``tls-server``
   and ``tls-client``.
 
   This option requires that ``--disable-occ`` NOT be used.
index 8aff5dd97b4c3df814cee9425d408ed303a1cdee..05ba3ca20527356dd8f9639d47ca1ed3e7359d57 100644 (file)
@@ -19,7 +19,7 @@ longer supported
 
 --no-iv
   Removed in OpenVPN 2.5.  This option should not be used as it weakens the
-  VPN tunnel security.
+  VPN tunnel security.  This has been a NOOP option since OpenVPN 2.4.
 
 --no-replay
   Removed in OpenVPN 2.5.  This option should not be used as it weakens the
index 8e9d845a16d66c441ad697fc0e853f5c67301b8c..a81336f2c80d9cdc81f292d57a3f6d0512643894 100644 (file)
@@ -8012,11 +8012,6 @@ add_option(struct options *options,
         VERIFY_PERMISSION(OPT_P_GENERAL);
         options->mute_replay_warnings = true;
     }
-    else if (streq(p[0], "no-iv") && !p[1])
-    {
-        msg(msglevel,
-            "--no-iv is no longer supported. Remove it from client and server configs.");
-    }
     else if (streq(p[0], "replay-persist") && p[1] && !p[2])
     {
         VERIFY_PERMISSION(OPT_P_GENERAL);