Deprecate --inetd

This is a corner case of a corner case option. It only works with tcp,
tap and needs special configuration.

Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20200723155937.1867-1-arne@rfc2549.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg20554.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
This commit is contained in:
Arne Schwabe 2020-07-23 17:59:37 +02:00 committed by Gert Doering
parent c290df558f
commit 25a422cc60
2 changed files with 7 additions and 0 deletions

View file

@ -34,6 +34,11 @@ 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.
- ``inetd`` has been deprecated
This is a very limited and not-well-tested way to run OpenVPN, on TCP
and TAP mode only, which complicates the code quite a bit for little gain.
To be removed in OpenVPN 2.6 (unless users protest).
- ``no-iv`` has been removed
This option was made into a NOOP option with OpenVPN 2.4. This has now
been completely removed.

View file

@ -5802,6 +5802,8 @@ add_option(struct options *options,
}
else if (streq(p[0], "inetd") && !p[3])
{
msg(M_WARN, "DEPRECATED OPTION: --inetd mode is deprecated "
"and will be removed in OpenVPN 2.6");
VERIFY_PERMISSION(OPT_P_GENERAL);
if (!options->inetd)
{