Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Don't set the source address on Android | Tobias Brunner | 2012-08-13 | 1 | -0/+9 | |
| | ||||||
* | Close IKE_SA on Android immediately if setting up CHILD_SA fails | Tobias Brunner | 2012-08-13 | 1 | -0/+2 | |
| | ||||||
* | Reduce number of retransmits on Android | Tobias Brunner | 2012-08-13 | 1 | -0/+9 | |
| | ||||||
* | Job added which handles plain text packets read from TUN device | Tobias Brunner | 2012-08-13 | 1 | -1/+63 | |
| | ||||||
* | Added a handler that writes inbound plain text packets to the TUN device | Tobias Brunner | 2012-08-13 | 1 | -0/+35 | |
| | ||||||
* | Add simple callbacks to receive/send ESP packets via libipsec/receiver. | Tobias Brunner | 2012-08-13 | 1 | -0/+31 | |
| | ||||||
* | Add routes based on the installed IPsec policies to the TUN device builder | Tobias Brunner | 2012-08-13 | 1 | -0/+46 | |
| | ||||||
* | Add virtual IP to the TUN device builder | Tobias Brunner | 2012-08-13 | 1 | -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 established | Tobias Brunner | 2012-08-13 | 1 | -0/+82 | |
| | ||||||
* | An Android specific attribute handler installs DNS servers via Builder | Tobias Brunner | 2012-08-13 | 4 | -0/+185 | |
| | ||||||
* | Native counterpart of VpnService.Builder added, exposed by charonservice | Tobias Brunner | 2012-08-13 | 7 | -4/+403 | |
| | ||||||
* | Initiate an SA via native JNI method | Tobias Brunner | 2012-08-13 | 1 | -0/+63 | |
| | ||||||
* | android_service_t handles initiation of an SA and tracks its progress | Tobias Brunner | 2012-08-13 | 3 | -0/+331 | |
| | | | | Status updates are delivered via charonservice (JNI). | |||||
* | Android specific credential set also provides user credentials | Tobias Brunner | 2012-08-13 | 2 | -4/+37 | |
| | ||||||
* | Added an Android specific credential set that provides CA certificates via JNI | Tobias Brunner | 2012-08-13 | 5 | -0/+243 | |
| | ||||||
* | CharonVpnService provides a function to get trusted certificates via JNI | Tobias Brunner | 2012-08-13 | 2 | -0/+57 | |
| | ||||||
* | Function added that allows to update VPN state via JNI | Tobias Brunner | 2012-08-13 | 2 | -0/+47 | |
| | ||||||
* | Implement kernel_ipsec_t.bypass_socket() via JNI and VpnService.protect() | Tobias Brunner | 2012-08-13 | 3 | -1/+43 | |
| | ||||||
* | Add an Android specific kernel_ipsec_t implementation | Tobias Brunner | 2012-08-13 | 4 | -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 implementation | Tobias Brunner | 2012-08-13 | 5 | -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 charonservice | Tobias Brunner | 2012-08-13 | 1 | -5/+12 | |
| | ||||||
* | Add signal handler for fatal signals to libandroidbridge | Tobias Brunner | 2012-08-13 | 1 | -0/+24 | |
| | ||||||
* | Set default log level in libandroidbridge | Tobias Brunner | 2012-08-13 | 1 | -1/+7 | |
| | ||||||
* | Helper function added to handle Java exceptions in native code | Tobias Brunner | 2012-08-13 | 1 | -0/+18 | |
| | ||||||
* | Don't attach to actual Java threads (or already attached ones) | Tobias Brunner | 2012-08-13 | 1 | -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-package | Tobias Brunner | 2012-08-08 | 1 | -2/+2 | |
| | ||||||
* | Global charonservice_t object added to libandroidbridge | Tobias Brunner | 2012-08-08 | 3 | -2/+95 | |
| | | | | This is later used to call Java methods on CharonVpnService via JNI. | |||||
* | Added functions to attach/detach native threads to the JVM | Tobias Brunner | 2012-08-08 | 2 | -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 file | Tobias Brunner | 2012-08-08 | 4 | -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 Brunner | 2012-08-08 | 2 | -1/+13 | |
| | ||||||
* | Added android.net.VpnService wrapper around charon (loaded via JNI). | Tobias Brunner | 2012-08-08 | 2 | -0/+146 | |