OpenVPN 2.5-rc1 released
The OpenVPN community project team is proud to release OpenVPN 2.5-rc1. Source code and Windows installers can be downloaded from our download page:
<https://openvpn.net/community-downloads/>
Debian and Ubuntu packages are available in the official apt repositories:
<https://community.openvpn.net/openvpn/wiki/OpenvpnSoftwareRepos>
On Red Hat derivatives we recommend using the Fedora Copr repository:
<https://copr.fedorainfracloud.org/coprs/dsommers/openvpn-beta/>
This release includes a number of fixes to OpenVPN. On the Windows side there are several changes:
- The MSI installer now bundles EasyRSA 3, a modern take on OpenVPN CA management
- OpenVPN GUI can now be run as admin without breaking Wintun with the "Always use interactive service by default" checkbox.
- Windows performance is increased by enabling compile-time optimizations for OpenVPN and OpenSSL.
OpenVPN 2.5 is a new major release with many new features:
Client-specific tls-crypt keys (--tls-crypt-v2)
Added support for using the ChaCha20-Poly1305 cipher in the OpenVPN
data channel
Improved Data channel cipher negotiation
Removal of BF-CBC support in default configuration Asynchronous (deferred) authentication support for auth-pam plugin Deferred client-connect
Faster connection setup
Netlink support
Wintun support
IPv6-only operation
Improved Windows 10 detection
Linux VRF support
TLS 1.3 support
Support setting DHCP search domain
Handle setting of tun/tap interface MTU on Windows
HMAC based auth-token support
VLAN support
Support building of .msi installers for Windows
Allow unicode search string in --cryptoapicert option (Windows) Support IPv4 configs with /31 netmasks now
New option --block-ipv6 to reject all IPv6 packets (ICMPv6)
More details on these new features as well as a list of deprecated features and user-visible changes are available in Changes.rst:
<https://github.com/OpenVPN/openvpn/blob/release/2.5/Changes.rst>
For generic help use these support channels:
Official documentation:
<http://openvpn.net/index.php/open-source/documentation/howto.html>
Wiki: <https://community.openvpn.net/>
Forums: <https://forums.openvpn.net/>
User mailing list: <http://sourceforge.net/mail/?group_id=48978>
User IRC channel: #openvpn at irc.freenode.net
Please report bugs and ask development questions here:
Community bug tracker: <https://community.openvpn.net/>
Developer mailing list: <http://sourceforge.net/mail/?group_id=48978>
Developer IRC channel: #openvpn-devel at irc.freenode.net (requires
Freenode registration)
Signature · 5 lines
Samuli Seppänen Community Manager OpenVPN Technologies, Inc irc freenode net: mattock
David Sommerseth (4):
man: Add missing --server-ipv6
man: Improve --remote entry
sample-plugins: Partially autotoolize the sample-plugins build
build: Fix make distclean/distcheck
Gert Doering (11):
Fix handling of 'route remote_host' for IPv6 transport case. Replace 'echo -n' with 'printf' in tests/t_lpback.sh
Fix description of --client-disconnect calling convention in manpage. Handle NULL returns from calloc() in sample plugins.
Fix --show-gateway for IPv6 on NetBSD/i386.
socks.c: fix alen for DOMAIN type addresses, bump up buffer sizes Fix netbits setting (in TAP mode) for IPv6 on Windows.
If IPv6 pool specification sets pool start to ::0 address, increment. Add demo plugin that excercises "CLIENT_CONNECT" and "CLIENT_CONNECT_V2" paths Fix combination of --dev tap and --topology subnet across multiple platforms. Preparing release 2.5_rc1
Lev Stipakov (1):
msvc: better support for 32bit architecture
Selva Nair (2):
Add a remark on dropping privileges when --mlock is used Allow --dhcp-option in config file when windows-driver is wintun
Vladislav Grishenko (1):
Fix fatal error at switching remotes (#629)
Re: [Openvpn-devel] OpenVPN 2.5-rc1 released unable to redirect IPv4 default gateway under Windows
Am Dienstag, 22. September 2020, 11:10:44 CEST schrieb Samuli Seppänen:
Quoted 5 lines
The OpenVPN community project team is proud to release OpenVPN 2.5-rc1. Source code and Windows installers can be downloaded from our download page:
Please report bugs and ask development questions here:
Developer mailing list
I tested the todays windows release candidate (as client) against my home servers.
I get
Note: unable to redirect IPv4 default gateway -- Cannot read current default gateway from system
Environment:
Windows client: IPv6-only Wifi
Linux/Synology server: behind DS-lite
transport IPv6, works, payload IPv6 works, payload IPv4 works only partly
Redirection of IPv6 works, redirection of IPv4 doesn't work
Regards,
Thomas
Re: [Openvpn-devel] OpenVPN 2.5-rc1 released unable to redirect IPv4 default gateway under Linux
same problem, different message:
with 2.5rc
NOTE: unable to redirect IPv4 default gateway -- Cannot obtain current remote host address
with 2.4.3 (version of my linux distributor) it still works in that environment / configuration
both are compiled with --enable-iproute2
Re: [Openvpn-devel] OpenVPN 2.5-rc1 released unable to redirect IPv4 default gateway under Windows
In reply to Thomas SchäferHi,
Quoted 7 lines · Thomas Schäfer
Am Dienstag, 22. September 2020, 11:10:44 CEST schrieb Samuli Seppänen:
Quoted 3 lines
The OpenVPN community project team is proud to release OpenVPN 2.5-rc1. Source code and Windows installers can be downloaded from our download page:
I get
Note: unable to redirect IPv4 default gateway -- Cannot read current default gateway from system
Just to be sure: did this work in 2.4.x? Or did this never work?
Did you try "redirect-gateway ipv6" or "redirect-gateway def1 ipv6"?
Quoted 3 lines
Environment:
Windows client: IPv6-only Wifi
"redirect-gateway" for IPv4 has two (at least) modes
- default mode:
find out where the current default route points to remove that route
install a /32 route (if IPv4) for the VPN server to the old gateway install a new route 0.0.0.0/0 -> tap interface
- "def1" mode
find out where the current default route points to *keep* that route
install a /32 route (if IPv4) for the VPN server to the old gateway install two new /1 routes 0.0.0.0/1 + 128.0.0.0/1 -> tap interface
Not sure how stupid our assumptions are here, but possibly "if finding out the current default route" fails, it might be that we do not proceed further at all...
As a workaround,
route 0.0.0.0 128.0.0.0
route 128.0.0.0 128.0.0.0
should do the same thing as "redirect-gateway def1" but without the current gateway check (= will only work if you connect over IPv6).
Thanks for the test results anyway, this is a bug and needs to be fixed
- it probably is not a *new* bug, and might not be fixed in 2.5.0, but it will be.
gert
Signature · 6 lines
"If was one thing all people took for granted, was conviction that if you
feed honest figures into a computer, honest figures come out. Never doubted
it myself till I met a computer with a sense of humor."
Robert A. Heinlein, The Moon is a Harsh Mistress
Gert Doering - Munich, Germany [email protected]...Re: [Openvpn-devel] OpenVPN 2.5-rc1 released unable to redirect IPv4 default gateway under Linux
In reply to Thomas SchäferHi,
Quoted 7 lines · Thomas Schäfer
same problem, different message:
with 2.5rc
NOTE: unable to redirect IPv4 default gateway -- Cannot obtain current remote host addresswith 2.4.3 (version of my linux distributor) it still works in that environment / configuration
both are compiled with --enable-iproute2
And indeed, I find this in our tree...
commit 5340f56b62c9fe7ad892e815029321f378660714
Author: Antonio Quartulli <[email protected]...> Date: Fri Jan 20 00:25:18 2017 +0800
fix redirect-gateway behaviour when an IPv4 default route does not exist
When no IPv4 default route exists, the "redirect-gateway" routine aborts even if the sub-option "local" was specified or if we are connecting to the remote host using IPv6.
I blaim Antonio for breaking it as part of the IPv6-only patchset (which changed redirect-gateway flags handling)... but if that is at fault, it was me for ACKing it.
Yeah, thanks for re-testing, and re-reporting.
gert
Signature · 6 lines
"If was one thing all people took for granted, was conviction that if you
feed honest figures into a computer, honest figures come out. Never doubted
it myself till I met a computer with a sense of humor."
Robert A. Heinlein, The Moon is a Harsh Mistress
Gert Doering - Munich, Germany [email protected]...Re: [Openvpn-devel] OpenVPN 2.5-rc1 released unable to redirect IPv4 default gateway under Windows
In reply to Thomas SchäferHi Thomas,
Quoted 2 lines · Thomas Schäfer
I get
Note: unable to redirect IPv4 default gateway -- Cannot read current default gateway from system
I'm fairly sure I found this, and a fix has been merged today.
I expect us to release a RC3 this week, so it can be thoroughly tested.
(You saw the same effect before, but it was a different bug this time... I've already increased my testing coverage on one of the build machines now to actually test redirecting v4/v6 gateway, over v4/v6 connections, and will add one more test machine that has no default route, with the same test cases - so, hopefully, preventing this from ever happening again)
thanks for testing & reporting.
gert
Signature · 6 lines
"If was one thing all people took for granted, was conviction that if you
feed honest figures into a computer, honest figures come out. Never doubted
it myself till I met a computer with a sense of humor."
Robert A. Heinlein, The Moon is a Harsh Mistress
Gert Doering - Munich, Germany [email protected]...Re: [Openvpn-devel] OpenVPN 2.5-rc1 released unable to redirect IPv4 default gateway under Windows
Am Sonntag, 4. Oktober 2020, 18:08:13 CEST schrieben Sie:
Quoted 9 lines
Hi Thomas,
Quoted 3 lines · Thomas Schäfer
I get
Note: unable to redirect IPv4 default gateway -- Cannot read current default gateway from systemI'm fairly sure I found this, and a fix has been merged today.
I expect us to release a RC3 this week, so it can be thoroughly tested.
I went back to the university tonight just in the moment I saw rc3.
No wonder: I can confirm it works now as expected.
Tested with the windows installer package (amd) and with linux source tar ball.
Thank you!
Thomas
Re: [Openvpn-devel] OpenVPN 2.5-rc1 released unable to redirect IPv4 default gateway under Windows
Hi,
Quoted 8 lines · Thomas Schäfer
Quoted 1 line
I expect us to release a RC3 this week, so it can be thoroughly tested.
I went back to the university tonight just in the moment I saw rc3.
No wonder: I can confirm it works now as expected.
Tested with the windows installer package (amd) and with linux source tar ball.
thank you very much! :-)
*happy dance*
gert
Signature · 6 lines
"If was one thing all people took for granted, was conviction that if you
feed honest figures into a computer, honest figures come out. Never doubted
it myself till I met a computer with a sense of humor."
Robert A. Heinlein, The Moon is a Harsh Mistress
Gert Doering - Munich, Germany [email protected]...