diff options
author | Arne Schwabe | 2021-12-06 02:00:07 +0100 |
---|---|---|
committer | Gert Doering | 2021-12-06 18:06:45 +0100 |
commit | de02c828f5aa3fbaca78918d4392b48b47547770 (patch) | |
tree | 01426109a7bffb006b9148db8f6f7dec8e206ae0 /Changes.rst | |
parent | 868433857fbf8d71515ac0ffecb98eae893515dc (diff) | |
download | openvpn-de02c828f5aa3fbaca78918d4392b48b47547770.zip openvpn-de02c828f5aa3fbaca78918d4392b48b47547770.tar.gz |
Make --nobind default for --pull
Currently we default to local binding with udp. But the majority of
configuration files actually uses --nobind in the configuration to
change the default for --client. And client protocols should normally
use a random source port. This changes the default. Local binding with
--client can still be done using --bind.
This commit refactors the current code to be more easy to add to understand
and adds the the o->pull condition as additional option to opt into setting
local binding to false.
Patch v2: add more commments
Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Frank Lichtenheld <frank@lichtenheld.com>
Message-Id: <20211206010007.3072528-1-arne@rfc2549.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg23303.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
Diffstat (limited to 'Changes.rst')
-rw-r--r-- | Changes.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Changes.rst b/Changes.rst index e83dda0..b7d7f20 100644 --- a/Changes.rst +++ b/Changes.rst @@ -120,7 +120,8 @@ PF (Packet Filtering) support has been removed User-visible Changes -------------------- - CHACHA20-POLY1305 is included in the default of ``--data-ciphers`` when available. -- Option ``--prng`` is ignored as we rely on the SSL library radnom generator. +- Option ``--prng`` is ignored as we rely on the SSL library random number generator. +- Option ``--nobind`` is default when ``--client`` or ``--pull`` is used in the configuration Overview of changes in 2.5 ========================== |