aboutsummaryrefslogtreecommitdiffstats
path: root/src/frontends/android/jni/libandroidbridge
Commit message (Collapse)AuthorAgeFilesLines
...
* android: Mitigate race condition on reauthenticationTobias Brunner2013-03-011-0/+4
| | | | | | | | If the TUN device gets recreated while another thread in handle_plain() has not yet called select(2) but already stored the file descriptor of the old TUN device in its FD set, select() will fail with EBADF. Fixes #301.
* Add a DSCP configuration value to IKE configsMartin Willi2013-02-061-1/+1
|
* android: Implement kernel_net_t.get_interface via JNITobias Brunner2013-01-143-5/+62
| | | | | | This is now required to properly accept/install a virtual IP address. Fixes #275.
* android: Moved chunk_from_byte_array and byte_array_from_chunk helper functionsTobias Brunner2013-01-142-24/+32
|
* Added an option that allows to force IKEv1 fragmentationTobias Brunner2013-01-121-1/+2
|
* Use a connection specific option to en-/disable IKEv1 fragmentationTobias Brunner2012-12-241-1/+1
|
* Install virtual IPs via interface name, and use an interface lookup where ↵Martin Willi2012-11-291-1/+1
| | | | required
* Add an optional kernel-interface parameter to install IPs with a custom prefixMartin Willi2012-11-291-1/+2
|
* android: Properly handle exceptions when loading keys/certificatesTobias Brunner2012-11-211-3/+3
|
* android: Private key bug has been fixed with Android 4.2Tobias Brunner2012-11-191-1/+1
|
* Moved debug.[ch] to utils folderTobias Brunner2012-10-246-6/+6
|
* Moved data structures to new collections subfolderTobias Brunner2012-10-241-1/+1
|
* Moved host_t and host_resolver_t to a new networking subfolderTobias Brunner2012-10-242-2/+2
|
* Remove version argument on peer_cfg constructor, use ike_cfg version insteadMartin Willi2012-10-241-1/+1
|
* Add IKE version information to ike_cfg_tMartin Willi2012-10-241-1/+1
|
* Reload logger configuration on SIGHUPTobias Brunner2012-10-181-22/+14
| | | | | | Besides changing the configuration this allows to easily rotate log files. Also moved logger initialization back to daemon_t.
* Make syslog and file loggers configurable at runtimeTobias Brunner2012-10-181-13/+3
|
* Use a helper function to add milliseconds to timeval structsTobias Brunner2012-10-181-6/+1
|
* android: Ignore if peer is unreachable when reestablishing an SATobias Brunner2012-10-181-2/+7
|
* android: Use a shorter timeout for retransmitsTobias Brunner2012-10-181-1/+1
|
* android: Use keyingtries=%forever and dpd|closeaction=restartTobias Brunner2012-10-181-3/+3
| | | | | | | We also ignore the CHILD_SA_DOWN event. This should allow us to keep the connection up as long as the user does not manually disconnect.
* android: Handle unreachable peers via alertTobias Brunner2012-10-161-17/+5
|
* android: Use 0.0.0.0/0 as local traffic selectorTobias Brunner2012-10-161-1/+2
| | | | | This is helpful if the responder also wants to tunnel e.g. multicast packages.
* android: Bypass/protect previously bypassed sockets if connectivity changesTobias Brunner2012-10-163-4/+30
|
* android: Support for IPsec SA update addedTobias Brunner2012-10-161-1/+2
|
* android: Trigger roam events in case connectivity changesTobias Brunner2012-10-161-0/+63
|
* android: Register NetworkManager as BroadcastReceiver and relay events via JNITobias Brunner2012-10-163-6/+145
|
* android: Determine source address dynamicallyTobias Brunner2012-10-165-23/+47
|
* android: Added NetworkManager class which allows to retrieve a local IP addressTobias Brunner2012-10-163-0/+197
|
* android: Don't use the default ESP proposal as it includes unsupported ↵Tobias Brunner2012-10-161-1/+4
| | | | algorithms
* android: Leak the private key reference on Jelly Bean to avoid a bug in the ↵Tobias Brunner2012-09-241-1/+10
| | | | | | | | | framework A bug in the framework on Android Jelly Bean causes a SIGSEGV when the private key object returned from KeyChain.getPrivateKey is garbage collected. Leaking the global reference to that object prevents the garbage collection and thereby the crash.
* android: Added a global variable to check the current SDK versionTobias Brunner2012-09-242-1/+26
|
* android: Load the private key and certificates separately in android_creds_tTobias Brunner2012-09-242-31/+32
|
* android: Added a method to get the user's private key via JNITobias Brunner2012-09-242-1/+44
|
* android: Added a JNI backed private key implementationTobias Brunner2012-09-243-0/+324
| | | | | This is required because private keys are provided by an OpenSSL engine in Jelly Bean, which makes them inaccessible directly via getEncoding.
* android: Use AUTH_RULE_IDENTITY_LOOSETobias Brunner2012-09-181-0/+1
|
* android: Fix conversion of actual Unicode strings (i.e. bytes!=chars)Tobias Brunner2012-09-171-5/+6
|
* android: Properly handle reauthentication initiated by the clientTobias Brunner2012-09-061-7/+42
|
* Merge branch 'android-client-cert'Tobias Brunner2012-09-047-40/+244
|\ | | | | | | Introduces IKEv2 client certificate authentication for the Android App.
| * android: Native parts handle ikev2-cert VPN typeTobias Brunner2012-08-313-16/+71
| |
| * android: android_creds_t can provide a user's private key and certificateTobias Brunner2012-08-312-3/+89
| |
| * android: Added JNI method to retrieve user certificate and private keyTobias Brunner2012-08-312-13/+69
| | | | | | | | | | To simplify things the private key, the user certificate and the CA certificates are all put into the same list.
| * android: Pass the type of VPN to the native partsTobias Brunner2012-08-311-4/+7
| |
| * android: Make sure NULL jstrings are converted properlyTobias Brunner2012-08-311-5/+8
| |
* | Pass a list instead of a single virtual IP to attribute enumeratorsMartin Willi2012-08-301-1/+1
| |
* | Support multiple address pools configured on a peer_cfgMartin Willi2012-08-301-1/+1
| |
* | Support multiple virtual IPs on peer_cfg and ike_sa classesMartin Willi2012-08-301-8/+22
|/
* Charon logs to a file in the App's data directoryTobias Brunner2012-08-131-1/+36
|
* Moved Java to C string conversion function to android_jni header fileTobias Brunner2012-08-132-19/+23
|
* Log charon version and uname() output, split libcharon and charon initializationTobias Brunner2012-08-131-2/+20
|