summaryrefslogtreecommitdiff
path: root/main/src
AgeCommit message (Collapse)Author
2021-10-04Minor code cleanupArne Schwabe
2021-10-04Avoid ANR when starting OpenVPNService and fetching profileArne Schwabe
2021-10-04Ensure profile is saved if auth/password is queried on startupArne Schwabe
This ensure the profile counter is incremented and the profile is saved to disk to avoid the race condition of not getting the user/pass which was started. Closes #1342
2021-10-03Fix peer-fingerprint with auth-user-passArne Schwabe
Also throw an error if neither of CA or peer-fingerprint is configured
2021-10-03Move Ui specific unit tests to Ui specific test fileArne Schwabe
2021-10-02Fix lint issueArne Schwabe
2021-10-01Modernise default ciphers in the OpenSSL Speed testArne Schwabe
2021-10-01Remove Ice Cream Sandwich support from ics-openvpn (closes #1337)Arne Schwabe
Ice cream sandwich was the first Android version to support the VPNService API, which also gave the project its name as it was an Android port to ICS. Now that the NDK does no longer support API 14 and 15, this project needs to say farewell to Ice cream sandwich.
2021-10-01Update OPenSSL to 3.0 and OpenVPN to current masterArne Schwabe
2021-10-01Do not use key CA certificate if peer-fingerprint is enabledArne Schwabe
2021-10-01Implement using compat-modeArne Schwabe
2021-10-01Implement new signing API as required by the OpenSSL 3.0 providerArne Schwabe
2021-09-27Fix background in Tab BarArne Schwabe
2021-09-21Note that APIprofile also is exempted from GPL like the AIDL interfacesArne Schwabe
2021-09-09Fix NPE when resuming VPN activitysyphyr
Fixes: Implement support of openvpn://import-profile/ support E AndroidRuntime: FATAL EXCEPTION: main E AndroidRuntime: Process: de.blinkt.openvpn, PID: 15364 E AndroidRuntime: java.lang.RuntimeException: Unable to resume activity {de.blinkt.openvpn/de.blinkt.openvpn.activities.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference E AndroidRuntime: at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3454) E AndroidRuntime: at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3494) E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2757) E AndroidRuntime: at android.app.ActivityThread.-wrap12(ActivityThread.java) E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1496) E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102) E AndroidRuntime: at android.os.Looper.loop(Looper.java:154) E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6186) E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method) E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889) E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779) E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference E AndroidRuntime: at de.blinkt.openvpn.activities.MainActivity.onResume(MainActivity.java:82) E AndroidRuntime: at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1270) E AndroidRuntime: at android.app.Activity.performResume(Activity.java:6788) E AndroidRuntime: at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3431) E AndroidRuntime: ... 10 more
2021-08-25Version 0.7.24Arne Schwabe
2021-08-24Implement support of openvpn://import-profile/ supportArne Schwabe
For details about the protocol see https://github.com/OpenVPN/openvpn3/blob/master/doc/webauth.md
2021-08-14fix skeleton buildArne Schwabe
2021-08-13Add a dialog in Log Window allowing to start pending authArne Schwabe
2021-08-13Add WEB_AUTH pending auth supportArne Schwabe
2021-08-12Update lz4 and asio to latest releaseArne Schwabe
2021-08-12Rename opvpnutil to ovpnutilArne Schwabe
opvpn is a rather unusual abbreviation for openvpn
2021-07-18Change provider authority reference to include applicationIdDániel Zolnai
We have found an issue that we couldn't install any of our apps next to each other, and also next to the official OpenVPN for Android app. The reason is that the provider authorities must be unique globally on the device. Since the class name is hardcoded, it will be the same for all of the implementors of this library. Although this issue can be easily fixed by changing this manually, I think it is important to do it, because it might be missed by most developers, since we usually do not test 2 VPN apps next to each other. By doing this change, the authority will always start with the final application package ID, so it should be unique globally.
2021-07-18Ability to pass extras when starting VPN via AIDL using inline config.ntoskrnl
To preserve backward compatibility, a new method is created: IOpenVPNAPIService#startVPNwithExtras(String, Bundle). Currently only one parameter is supported: de.blinkt.openvpn.api.ALLOW_VPN_BYPASS – boolean.
2021-07-09Version 0.7.23Arne Schwabe
2021-06-15Cleanup kotlin migration and message to use Always on VPNArne Schwabe
2021-06-15Number of miscellenous fixes and clean upsArne Schwabe
2021-06-15Upgrade build files to new versionsArne Schwabe
2021-06-14Convert General Settings to KotlinArne Schwabe
2021-04-15Implement VPN http proxy support (Android 10+) (closes #1263)Arne Schwabe
Use dhcp-option PROXY_HTTP 1.2.3.4 8080 or push "dhcp-option PROXY_HTTP 1.2.3.4 8080" from a server to use the feature.
2021-04-15Update gradle files, remove anko dependencyArne Schwabe
2021-04-09Fix custom options in serverlist fragment (closes #1298)Arne Schwabe
2021-03-12Update OpenSSL to 1.1.1jArne Schwabe
2021-03-12Update OpenVPN 2.x and OpenVPN 3.xArne Schwabe
2021-03-12Add End of service and privacy policy in about dialogArne Schwabe
This is a common requirement of Google play store. Even though this app should not really need them and therefore the content is pretty short and redundant.
2021-03-12Remove remaining GMS codeArne Schwabe
2021-03-04Update translations (closes #1296)Arne Schwabe
2021-02-19Add changes required for API 'S' (upcoming 31)Arne Schwabe
2021-02-16Make Coverity happyArne Schwabe
Most of these things are minor to the point that changing them is only to make the scanner happy.
2021-02-16Implement UI support for --peer-fingerprintArne Schwabe
2021-02-16Fix very unlikely ressource leaksArne Schwabe
2021-02-16ignore lint error on permission to list all appsArne Schwabe
2020-11-23Provide a padding type for externalCertificateProviderEvgenii Potapov
Based on server-side OpenSSL behaviour the data to be signed by externalCertificateProvider may be or may be not padded already. To choose the proper signing mechanism we need to pass external info.
2020-09-29Fix typo in the word proprietaryArne Schwabe
Noticed by random dragon on reddit.
2020-09-24Import OpenSSL 1.1.1hArne Schwabe
2020-09-24Add FAQ for NCPArne Schwabe
2020-09-24Request QUERY_ALL_PACKAGES permission (closes #1238)Arne Schwabe
On SDK 30 or higher this permission is required to be able to list all packages on a device. This app needs that to show all installed apps in the allow/disallow Apps via VPN dialog.
2020-09-21Allow none cipher in data-ciphers (closes #1232)Arne Schwabe
2020-09-21Set OpenVPN metered to false (closes #1227)Arne Schwabe
See also https://developer.android.com/reference/android/net/VpnService.Builder#setMetered(boolean)
2020-09-21Just assume the new API is always availabe on SDK 30+Arne Schwabe
closes #1234