Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Show MainActiviy if the user clicks 'Configure' in Android's VPN dialog | Tobias Brunner | 2012-08-13 | 1 | -0/+11 | |
| | ||||||
* | Keep reporting the error until the user dismisses it | Tobias Brunner | 2012-08-13 | 1 | -3/+40 | |
| | | | | Even when the Activity is closed and later reopened. | |||||
* | Show an error dialog when errors occur while establishing the VPN | Tobias Brunner | 2012-08-13 | 2 | -0/+81 | |
| | ||||||
* | Show a button to disconnect the VPN once it is established | Tobias Brunner | 2012-08-13 | 3 | -0/+36 | |
| | ||||||
* | Show current VPN state and profile name | Tobias Brunner | 2012-08-13 | 3 | -0/+189 | |
| | | | | Show modal dialogs while connecting and disconnecting the VPN. | |||||
* | Add a fragment to MainActivity which will display the current VPN state | Tobias Brunner | 2012-08-13 | 4 | -3/+154 | |
| | | | | The fragment is bound to the VpnStateService and registered as listener. | |||||
* | Use a separate (volatile) variable for certificate alias | Tobias Brunner | 2012-08-13 | 1 | -2/+7 | |
| | | | | | | If a connection is started while certificates are still loading and the initiation is then canceled a deadlock could result if the daemon is trying to enumerate the certificates just then. | |||||
* | 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 | 8 | -6/+409 | |
| | ||||||
* | Adapter class added around VpnService.Builder which allows to access it via JNI | Tobias Brunner | 2012-08-13 | 1 | -0/+99 | |
| | ||||||
* | Initiate an SA via native JNI method | Tobias Brunner | 2012-08-13 | 2 | -0/+74 | |
| | ||||||
* | Helper function added that retrieves a local IP address | Tobias Brunner | 2012-08-13 | 1 | -0/+37 | |
| | ||||||
* | 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 | 3 | -0/+118 | |
| | ||||||
* | Function added that allows to update VPN state via JNI | Tobias Brunner | 2012-08-13 | 3 | -0/+122 | |
| | ||||||
* | Add a function to disconnect any current VPN connection | Tobias Brunner | 2012-08-13 | 1 | -0/+19 | |
| | ||||||
* | Implement kernel_ipsec_t.bypass_socket() via JNI and VpnService.protect() | Tobias Brunner | 2012-08-13 | 3 | -1/+43 | |
| | ||||||
* | CharonVpnService binds to VpnStateService and does basic state updates | Tobias Brunner | 2012-08-13 | 1 | -1/+94 | |
| | ||||||
* | CharonVpnService reacts on Intents and properly inits/deinits charon | Tobias Brunner | 2012-08-13 | 1 | -11/+140 | |
| | | | | | | | | | Charon is initialized with every new connection attempt and deinitialized when the service is terminated or it receives an empty Intent (or before starting a new connection). A separate thread is used to handle the connection attempts, this thread acts as main thread for charon. | |||||
* | Service added that keeps track of VPN state and notifies listeners about changes | Tobias Brunner | 2012-08-13 | 2 | -0/+249 | |
| | | | | It is ensured that listeners are notified only from the main thread. | |||||
* | 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. | |||||
* | Clone the current VPN profile before updating the password | Tobias Brunner | 2012-08-13 | 1 | -0/+2 | |
| | | | | | | | | Storing the password on the original object would be problematic in case the user mistypes the password (no prompt would be shown the second time). An alternative would be to just return the ID of the selected profile and then fetch it from the database. | |||||
* | Allow VpnProfile objects to be cloned | Tobias Brunner | 2012-08-13 | 1 | -1/+14 | |
| | ||||||
* | Prompt the user for a password if none is configured in the VPN profile | Tobias Brunner | 2012-08-13 | 3 | -1/+107 | |
| | ||||||
* | Allow selection of a CA certificate for a VPN profile | Tobias Brunner | 2012-08-13 | 3 | -0/+209 | |
| | | | | | This solution is just temporary as it really is not that user-friendly to select CA certificates with a Spinner widget. | |||||
* | Simplified asynchronous loading of CA certificates in MainActivity | Tobias Brunner | 2012-08-13 | 1 | -31/+30 | |
| | ||||||
* | Added simple adapter for trusted certificates (to be used with a Spinner widget) | Tobias Brunner | 2012-08-13 | 2 | -0/+178 | |
| | ||||||
* | 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 | |
| | ||||||
* | Renamed main Activity (shorter name in Launcher) | Tobias Brunner | 2012-08-13 | 2 | -4/+4 | |
| | ||||||
* | MainActivity starts CharonVpnService if a VpnProfile is clicked in the list | Tobias Brunner | 2012-08-13 | 1 | -7/+32 | |
| | | | | | This is done by implementing the OnVpnProfileSelectedListener interface provided by VpnProfileListFragment. | |||||
* | Menu option added to reload cached CA certificates | Tobias Brunner | 2012-08-13 | 3 | -1/+64 | |
| | | | | This might be required if the user installs a new CA certificate. | |||||
* | Show progress bar in ActionBar while loading cached CA certificates | Tobias Brunner | 2012-08-13 | 1 | -0/+10 | |
| | ||||||
* | 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. | |||||
* | Initially load CA certificates when the main Activity is created | Tobias Brunner | 2012-08-13 | 1 | -0/+11 | |
| | ||||||
* | Trusted CA certificates are loaded and cached by a static singleton | Tobias Brunner | 2012-08-13 | 1 | -0/+188 | |
| |