diff options
author | Arne Schwabe <arne@rfc2549.org> | 2022-12-14 13:51:10 +0100 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2022-12-14 13:51:10 +0100 |
commit | f07066d047562f1fae9618ffc5af1f940d733967 (patch) | |
tree | 46e2ca1047d5afd486b8ca3b7a461602cdc9d529 /main/src/ui | |
parent | d9ef18f4fa02e56d013fec9ef918d66073b7b99a (diff) |
Update OpenVPN 2 and 3
This changes the OpenVPN version number to 2.7 since we branched off
2.6 from master.
Diffstat (limited to 'main/src/ui')
-rw-r--r-- | main/src/ui/java/de/blinkt/openvpn/core/OpenVPNThreadv3.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/main/src/ui/java/de/blinkt/openvpn/core/OpenVPNThreadv3.java b/main/src/ui/java/de/blinkt/openvpn/core/OpenVPNThreadv3.java index 75093e14..ad7a7c28 100644 --- a/main/src/ui/java/de/blinkt/openvpn/core/OpenVPNThreadv3.java +++ b/main/src/ui/java/de/blinkt/openvpn/core/OpenVPNThreadv3.java @@ -189,12 +189,14 @@ public class OpenVPNThreadv3 extends ClientAPI_OpenVPNClient implements Runnable config.setExternalPkiAlias("extpki"); config.setCompressionMode("asym"); + config.setHwAddrOverride(NetworkUtils.getFakeMacAddrFromSAAID(mService)); config.setInfo(true); config.setAllowLocalLanAccess(mVp.mAllowLocalLAN); boolean retryOnAuthFailed = mVp.mAuthRetry == AUTH_RETRY_NOINTERACT; config.setRetryOnAuthFailed(retryOnAuthFailed); config.setEnableLegacyAlgorithms(mVp.mUseLegacyProvider); + /* We want the same app internal route emulation for OpenVPN 2 and OpenVPN 3 */ config.setEnableRouteEmulation(false); if (mVp.mCompatMode > 0 && mVp.mCompatMode < 20500) config.setEnableNonPreferredDCAlgorithms(true); |