aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
| * 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-133-0/+118
| |
| * Function added that allows to update VPN state via JNITobias Brunner2012-08-133-0/+122
| |
| * Add a function to disconnect any current VPN connectionTobias Brunner2012-08-131-0/+19
| |
| * Implement kernel_ipsec_t.bypass_socket() via JNI and VpnService.protect()Tobias Brunner2012-08-133-1/+43
| |
| * CharonVpnService binds to VpnStateService and does basic state updatesTobias Brunner2012-08-131-1/+94
| |
| * CharonVpnService reacts on Intents and properly inits/deinits charonTobias Brunner2012-08-131-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 changesTobias Brunner2012-08-132-0/+249
| | | | | | | | It is ensured that listeners are notified only from the main thread.
| * 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.
| * Clone the current VPN profile before updating the passwordTobias Brunner2012-08-131-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 clonedTobias Brunner2012-08-131-1/+14
| |
| * Prompt the user for a password if none is configured in the VPN profileTobias Brunner2012-08-133-1/+107
| |
| * Allow selection of a CA certificate for a VPN profileTobias Brunner2012-08-133-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 MainActivityTobias Brunner2012-08-131-31/+30
| |
| * Added simple adapter for trusted certificates (to be used with a Spinner widget)Tobias Brunner2012-08-132-0/+178
| |
| * 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
| |
| * Renamed main Activity (shorter name in Launcher)Tobias Brunner2012-08-132-4/+4
| |
| * MainActivity starts CharonVpnService if a VpnProfile is clicked in the listTobias Brunner2012-08-131-7/+32
| | | | | | | | | | This is done by implementing the OnVpnProfileSelectedListener interface provided by VpnProfileListFragment.
| * Menu option added to reload cached CA certificatesTobias Brunner2012-08-133-1/+64
| | | | | | | | This might be required if the user installs a new CA certificate.
| * Show progress bar in ActionBar while loading cached CA certificatesTobias Brunner2012-08-131-0/+10
| |
| * 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.
| * Initially load CA certificates when the main Activity is createdTobias Brunner2012-08-131-0/+11
| |
| * Trusted CA certificates are loaded and cached by a static singletonTobias Brunner2012-08-131-0/+188
| |
| * Remove restriction to portrait orientationTobias Brunner2012-08-131-3/+1
| |
| * Use Holo as themeTobias Brunner2012-08-132-1/+23
| |
| * Make click events on the profile list available to the ActivityTobias Brunner2012-08-131-0/+31
| | | | | | | | | | If the Activity this fragment is placed in implements the provided interface it is notified about clicks on any of the profiles.
| * Use a contextual action bar to edit and delete selected VPN profilesTobias Brunner2012-08-114-1/+146
| |
| * Provide a menu with options to save VPN profilesTobias Brunner2012-08-113-0/+123
| | | | | | | | | | The ID of the updated/inserted profile is sent back to the activity that started the detail view.
| * The list fragment uses a menu to provide an option to add new VPN profilesTobias Brunner2012-08-113-0/+94
| |
| * Added an activity to edit basic VPN profile detailsTobias Brunner2012-08-114-0/+202
| | | | | | | | | | Already load existing data based on extra data delivered with the Intent, no saving and CA certificate handling yet.
| * Show list fragment in main activityTobias Brunner2012-08-112-6/+20
| |
| * Fragment added to list the VPN profilesTobias Brunner2012-08-113-1/+118
| |
| * Added a custom adapter and layout to display VPN profiles in a ListViewTobias Brunner2012-08-113-1/+158
| |
| * Added class to simplify access to database of VPN profilesTobias Brunner2012-08-111-0/+231
| |
| * Added class to move around VPN profiles in the Android AppTobias Brunner2012-08-111-0/+90
| |
| * Replaced launcher icon with a more appropriate oneTobias Brunner2012-08-118-1/+1
| |
| * Moved main Activity to ui sub-packageTobias Brunner2012-08-082-4/+6
| | | | | | | | Also force portrait orientation.
| * Moved CharonVpnService to logic sub-packageTobias Brunner2012-08-083-5/+9
| |
| * 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.
| * Use strongSwan logo as iconTobias Brunner2012-08-088-1/+1
| | | | | | | | Due to the transparency and black font this is probably not optimal yet.
| * Fixed ip_packet_t if IPv6 is not availableTobias Brunner2012-08-081-0/+4
| |
| * Added utility class to create TUN devicesTobias Brunner2012-08-084-3/+468
| | | | | | | | Currently works only on Linux.