Hi, On Mon, Jul 17, 2017 at 06:17:38PM +0200, Geert Lorang wrote: [..] > As soon as you start downloading some big(ger) files which utilize the > VPN quite heavily OpenVPN will prompt again for credentials after 1-5 > minutes and our users have to re-authenticate with their token as we use > a 2FA based setup.
This is most likely not a "2.3 -> 2.4" regression, but "old 2.3.x to
more recent version".
As the default cipher (BF-CBC) is considered weak today, if you do not
renegotiate your keys ever so often, newer 2.3.x versions and 2.4 will
set "reneg-bytes 64MB" automatically if BF-CBC is in use - and if you
hit a renegotiation, you need to re-enter credentials.
One approach to handle this is to migrate to more modern crypto algorithms
- put 2.4 on the server, and it will negotiate AES-256-GCM with 2.4
clients, fixing this issue in multiple aspects.
Alternatively, you can put "reneg-bytes 0" in your configs while preparing
the migration away from BF-CBC (be aware that this weakens your crypto,
so this can only be a temporary thing).
Third option would be what David suggested, using the new approach where
the server would generate an auth-token which can be used in place of the
username/password on TLS renegotiation. I'm not sure 2.3 can do that,
though, so you might have to upgrade your server anyway.
(...but 2.4 on the server will also give you TLS floating, you want
that, no matter what .-) )
gert
--
USENET is *not* the non-clickable part of WWW!
//www.muc.de/~gert/
Gert Doering - Munich, Germany [email protected]
fax: +49-89-35655025 [email protected]
signature.asc
Description: PGP signature
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________ Openvpn-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openvpn-users
