Tobias Brunner
bcba14504a
android: Add class to handle IP ranges and subnets
2017-07-03 10:27:51 +02:00
Tobias Brunner
c5ba381757
android: Log some information about the Android version and the device
2017-07-03 10:27:51 +02:00
Tobias Brunner
e5ec18009f
android: Escape backslashes in settings values
...
For usernames that use domain specifiers.
2017-07-03 10:27:51 +02:00
Tobias Brunner
59693d6c56
android: Use a specific action to disconnect from the VPN
2017-07-03 10:27:50 +02:00
Tobias Brunner
bef8bc3aac
android: Try to load existing user cert when importing VPN profile
2017-07-03 10:27:50 +02:00
Tobias Brunner
36e8f43617
android: Enable revocation plugin
2017-07-03 10:27:50 +02:00
Tobias Brunner
7b4177578b
android: Add a simple HTTP(S) fetcher for CRLs
2017-07-03 10:27:50 +02:00
Tobias Brunner
74d44e15dc
android: Make log view more efficient
...
This bunches several log messages together before posting Runnables.
Fixes #2148 .
2017-07-03 10:27:45 +02:00
Tobias Brunner
9c4607b454
android: Don't update state fragment if not attached to an Activity
...
When the bound state service finally connects we might not actually be
attached to an Activity.
2017-06-30 09:32:27 +02:00
Tobias Brunner
b14507dd90
android: Make sure every listener at the VPN state service is only registered once
...
We register when the service connects but also in onStart() (as we
unregister in onStop() to avoid updates when not shown). So this could
theoretically cause the listener to get registered twice if the service
is connected before onStart() is called (it seems it usually isn't).
2017-06-30 09:32:27 +02:00
Tobias Brunner
6766c85231
android: Add menu item to import VPN profile via Storage Access Framework
...
This is useful in case the proper MIME type was not set for a downloaded
profile.
2017-06-30 09:32:27 +02:00
Tobias Brunner
edad60ea77
android: Add translation for Traditional Chinese
...
Courtesy of Chris Chiang.
2017-06-30 09:32:27 +02:00
Tobias Brunner
61098dd6a3
android: Move Simplified Chinese translation to values-zg-rCN folder
2017-06-30 09:32:26 +02:00
Tobias Brunner
451498b470
android: Update Gradle plugin and wrapper
2017-06-30 09:32:26 +02:00
Tobias Brunner
aa66e2b704
nm: Version bump to 1.4.2
2017-05-30 14:36:17 +02:00
Tobias Brunner
b2473e94a2
Fixed some typos, courtesy of codespell
2017-05-26 14:44:06 +02:00
Tobias Brunner
2e4d110d1e
linked-list: Change return value of find_first() and signature of its callback
...
This avoids the unportable five pointer hack.
2017-05-26 13:56:44 +02:00
Tobias Brunner
8a2e4d4a8b
linked-list: Change interface of callback for invoke_function()
...
This avoids the unportable five pointer hack.
2017-05-26 13:56:44 +02:00
Tobias Brunner
95a63bf281
Migrate all enumerators to venumerate() interface change
2017-05-26 13:56:44 +02:00
Raphael Geissert
a4b3f1454b
nm: Explicitly prevent the smartcard PIN from being stored
...
The secret storage flag wasn't being saved when using smartcard
authentication, resulting in the PIN being stored.
Fixes #2166 .
2017-05-08 15:29:37 +02:00
Defunct
8e1b986c10
nm: IKE/ESP proposal customization support
...
Closes strongswan/strongswan#70 .
2017-05-08 14:35:27 +02:00
Tobias Brunner
72fcce92d7
android: New release after fixing potential ANR issue
2017-02-20 16:34:43 +01:00
Tobias Brunner
94375d46dc
android: Send network change events from a separate thread via JNI
...
Doing this from the main UI thread (which delivers the broadcast) might
cause an ANR if there is a delay (e.g. while acquiring a mutex in the
native parts). There might also have been a race condition during
termination previously because Unregister() was not synchronized so there
might have been dangling events that got delivered while or after the mutex
in the native parts was destroyed.
2017-02-17 13:07:30 +01:00
Tobias Brunner
2222af2932
android: New release after adding translation for Simplified Chinese
2017-02-07 16:01:25 +01:00
Tobias Brunner
ad882e1a43
android: Add translation for Simplified Chinese
...
Courtesy of Yick Xie.
2017-02-07 15:59:07 +01:00
Tobias Brunner
9665686bd8
daemon: Use separate method to set default loggers
...
This way it is not necessary to pass the same values to reload the
loggers.
2017-01-25 14:58:09 +01:00
Tobias Brunner
7b73cf4aa9
android: New release after adding profile import functionality
2017-01-20 11:53:43 +01:00
Tobias Brunner
66bf2b788c
android: Handle profile file names with dots in them
2017-01-20 11:44:17 +01:00
Tobias Brunner
9c79af8c38
android: Handle errors when fetching profile in more detail
2017-01-20 11:44:16 +01:00
Tobias Brunner
3107634e30
android: Add activity to import VPN profiles from JSON-encoded files
...
The file format is documented on the wiki.
URLs to .sswan files may be intercepted and downloaded files with a media
type of application/vnd.strongswan.profile may also be opened (the file
extension doesn't matter in that case). Whether downloaded files for which
the media type is not correct but the extension is .sswan can be opened
depends on the app that issues the Intent. For instance, from the default
Downloads app it won't work due to the content:// URLs that do not contain
the file name but when opening the downloaded file from within Chrome's
Downloads view it works as these Intents use file:// URLs, which contain
the complete file name (the latter requires a new permission).
2017-01-20 11:44:07 +01:00
Tobias Brunner
cf6110f152
android: Use a local broadcast to notify about profile changes
...
This allows other components to modify the profiles and notify about
changes.
2017-01-20 11:01:32 +01:00
Tobias Brunner
c4ab9af74e
android: Add a UUID property to the VPN profiles
...
All new or edited profiles get a random UUID. We currently don't
enforce one, though. Later we might change that and use the UUID as
primary key.
2017-01-20 11:01:32 +01:00
Tobias Brunner
8c859e86d6
android: New release after re-adding support for ECC Brainpool curves
2016-12-10 12:28:09 +01:00
Tobias Brunner
aae9a9e678
android: New release after fixing libtpmtss issue
2016-12-09 11:18:17 +01:00
Tobias Brunner
9920824e70
android: Make sure libtpmtss is loaded on older systems
...
On newer Android systems this seems to happen automatically (or does at
least not cause crashes if the library is not loaded).
2016-12-09 11:16:42 +01:00
Tobias Brunner
708f9c7f65
android: New release after adding notification
2016-12-08 17:37:21 +01:00
Tobias Brunner
3e85b5a492
android: Ensure that the certificates are loaded when accessing them via JNI
2016-12-08 17:14:49 +01:00
Tobias Brunner
85059424a7
android: Add a public notification
2016-12-08 17:14:49 +01:00
Tobias Brunner
d5070425a0
android: Display a permanent notification while connected
...
This forces the service to run in the foreground, meaning the system
won't kill it when low on memory.
2016-12-08 17:14:49 +01:00
Tobias Brunner
e03c936982
android: Log any installed DNS servers
2016-12-08 17:14:49 +01:00
Tobias Brunner
d6d12bab14
android: Unregister listener in case of error alerts
...
This avoids triggering additional errors via e.g. ike_updown() that
might cause the error message displayed in the GUI to change if the
status fragment is recreated.
References #2134 .
2016-12-08 17:13:16 +01:00
Tobias Brunner
ef2ad9db1c
android: Report an error for invalid integer values
...
Previously we'd just ignore the invalid values without notifying the
user.
2016-12-08 16:43:51 +01:00
Tobias Brunner
cefbf2bf9b
android: Propose curve25519 in the ESP proposals
2016-12-08 16:43:51 +01:00
Tobias Brunner
fec47b6146
android: Enable curve25519 plugin in the app
2016-12-08 16:43:51 +01:00
Tobias Brunner
5f0913fc1e
android: Propose ChaCha20/Poly1305 in the ESP AEAD proposals
2016-12-08 16:43:50 +01:00
Tobias Brunner
8c0b38e9df
android: Enable chapoly plugin in the app
2016-12-08 16:43:50 +01:00
Tobias Brunner
03472aea1f
android: Update Gradle plugin and wrapper
2016-12-08 16:43:50 +01:00
Tobias Brunner
542b464e25
nm: Version bump to 1.4.1
2016-10-14 09:52:11 +02:00
Tobias Brunner
8b35d5f162
android: Identifiers for SHA2-base RSA signature schemes got renamed
...
Fixes: 40f2589abf ("gmp: Support of SHA-3 RSA signatures")
2016-10-11 15:29:14 +02:00
Tobias Brunner
5b93de43c6
nm: Fix comment in service file in /etc/NetworkManager/VPN
2016-10-04 09:57:14 +02:00