aboutsummaryrefslogtreecommitdiffstats
path: root/src/frontends/android/jni/libandroidbridge
Commit message (Collapse)AuthorAgeFilesLines
...
* Don't set the source address on AndroidTobias Brunner2012-08-131-0/+9
|
* Close IKE_SA on Android immediately if setting up CHILD_SA failsTobias Brunner2012-08-131-0/+2
|
* Reduce number of retransmits on AndroidTobias Brunner2012-08-131-0/+9
|
* Job added which handles plain text packets read from TUN deviceTobias Brunner2012-08-131-1/+63
|
* Added a handler that writes inbound plain text packets to the TUN deviceTobias Brunner2012-08-131-0/+35
|
* Add simple callbacks to receive/send ESP packets via libipsec/receiver.Tobias Brunner2012-08-131-0/+31
|
* Add routes based on the installed IPsec policies to the TUN device builderTobias Brunner2012-08-131-0/+46
|
* Add virtual IP to the TUN device builderTobias Brunner2012-08-131-1/+9
| | | | | After the CHILD_SA is established we can easily get this address from the IKE_SA.
* Create a TUN device via VpnService.Builder once the CHILD_SA is establishedTobias Brunner2012-08-131-0/+82
|
* An Android specific attribute handler installs DNS servers via BuilderTobias Brunner2012-08-134-0/+185
|
* Native counterpart of VpnService.Builder added, exposed by charonserviceTobias Brunner2012-08-137-4/+403
|
* Initiate an SA via native JNI methodTobias Brunner2012-08-131-0/+63
|
* android_service_t handles initiation of an SA and tracks its progressTobias Brunner2012-08-133-0/+331
| | | | Status updates are delivered via charonservice (JNI).
* Android specific credential set also provides user credentialsTobias Brunner2012-08-132-4/+37
|
* Added an Android specific credential set that provides CA certificates via JNITobias Brunner2012-08-135-0/+243
|
* CharonVpnService provides a function to get trusted certificates via JNITobias Brunner2012-08-132-0/+57
|
* Function added that allows to update VPN state via JNITobias Brunner2012-08-132-0/+47
|
* Implement kernel_ipsec_t.bypass_socket() via JNI and VpnService.protect()Tobias Brunner2012-08-133-1/+43
|
* Add an Android specific kernel_ipsec_t implementationTobias Brunner2012-08-134-0/+244
| | | | | This is pretty much a proxy class that delegates everything (that is currently supported) to libipsec.
* Add an Android specific kernel_net_t implementationTobias Brunner2012-08-135-1/+126
| | | | | | This currently provides only no-ops and is just added because a kernel-net implementation is required and kernel-netlink can't be used at the moment.
* Keep a global reference to the CharonVpnService object in charonserviceTobias Brunner2012-08-131-5/+12
|
* Add signal handler for fatal signals to libandroidbridgeTobias Brunner2012-08-131-0/+24
|
* Set default log level in libandroidbridgeTobias Brunner2012-08-131-1/+7
|
* Helper function added to handle Java exceptions in native codeTobias Brunner2012-08-131-0/+18
|
* Don't attach to actual Java threads (or already attached ones)Tobias Brunner2012-08-131-3/+12
| | | | | | We check this by trying to retrieve a JNIEnv object from the JVM, if one is returned the current thread is not native (created from Java) or the thread is already attached.
* Moved CharonVpnService to logic sub-packageTobias Brunner2012-08-081-2/+2
|
* Global charonservice_t object added to libandroidbridgeTobias Brunner2012-08-083-2/+95
| | | | This is later used to call Java methods on CharonVpnService via JNI.
* Added functions to attach/detach native threads to the JVMTobias Brunner2012-08-082-0/+64
| | | | | | Even though native threads are automatically detached from the JVM with help of a thread-local destructor it is recommended to detach as soon as possible as local JNI references are not freed until a thread detaches.
* Moved JNI helper macros to a separate fileTobias Brunner2012-08-084-13/+102
| | | | | Also initialize a reference to the CharonVpnService class during JNI_OnLoad, which allows us later to call methods from C to Java.
* Load libipsec in Android app.Tobias Brunner2012-08-082-1/+13
|
* Added android.net.VpnService wrapper around charon (loaded via JNI).Tobias Brunner2012-08-082-0/+146