Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | 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 | |
| | | ||||||
| * | Remove restriction to portrait orientation | Tobias Brunner | 2012-08-13 | 1 | -3/+1 | |
| | | ||||||
| * | Use Holo as theme | Tobias Brunner | 2012-08-13 | 2 | -1/+23 | |
| | | ||||||
| * | Make click events on the profile list available to the Activity | Tobias Brunner | 2012-08-13 | 1 | -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 profiles | Tobias Brunner | 2012-08-11 | 4 | -1/+146 | |
| | | ||||||
| * | Provide a menu with options to save VPN profiles | Tobias Brunner | 2012-08-11 | 3 | -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 profiles | Tobias Brunner | 2012-08-11 | 3 | -0/+94 | |
| | | ||||||
| * | Added an activity to edit basic VPN profile details | Tobias Brunner | 2012-08-11 | 4 | -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 activity | Tobias Brunner | 2012-08-11 | 2 | -6/+20 | |
| | | ||||||
| * | Fragment added to list the VPN profiles | Tobias Brunner | 2012-08-11 | 3 | -1/+118 | |
| | | ||||||
| * | Added a custom adapter and layout to display VPN profiles in a ListView | Tobias Brunner | 2012-08-11 | 3 | -1/+158 | |
| | | ||||||
| * | Added class to simplify access to database of VPN profiles | Tobias Brunner | 2012-08-11 | 1 | -0/+231 | |
| | | ||||||
| * | Added class to move around VPN profiles in the Android App | Tobias Brunner | 2012-08-11 | 1 | -0/+90 | |
| | | ||||||
| * | Replaced launcher icon with a more appropriate one | Tobias Brunner | 2012-08-11 | 8 | -1/+1 | |
| | | ||||||
| * | Moved main Activity to ui sub-package | Tobias Brunner | 2012-08-08 | 2 | -4/+6 | |
| | | | | | | | | Also force portrait orientation. | |||||
| * | Moved CharonVpnService to logic sub-package | Tobias Brunner | 2012-08-08 | 3 | -5/+9 | |
| | | ||||||
| * | 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. | |||||
| * | Use strongSwan logo as icon | Tobias Brunner | 2012-08-08 | 8 | -1/+1 | |
| | | | | | | | | Due to the transparency and black font this is probably not optimal yet. | |||||
| * | Fixed ip_packet_t if IPv6 is not available | Tobias Brunner | 2012-08-08 | 2 | -0/+5 | |
| | | ||||||
| * | Added utility class to create TUN devices | Tobias Brunner | 2012-08-08 | 4 | -3/+468 | |
| | | | | | | | | Currently works only on Linux. | |||||
| * | Added IPsec processor which is responsible for handling in- and outbound packets | Tobias Brunner | 2012-08-08 | 6 | -0/+449 | |
| | | | | | | | | | | | | Two callbacks can be registered that get called when new inbound plaintext and outbound ESP packets have been processed. Inbound ESP and outbound plaintext packets can be queued for processing with two other methods. | |||||
| * | Represent the payload of an ESP packet as ip_packet_t instead of a chunk_t | Tobias Brunner | 2012-08-08 | 2 | -41/+76 | |
| | | ||||||
| * | IPsec policies can be looked up based on an IP packet | Tobias Brunner | 2012-08-08 | 4 | -1/+62 | |
| | | ||||||
| * | ip_packet_t parses the header of IP packets | Tobias Brunner | 2012-08-08 | 4 | -0/+286 | |
| | | ||||||
| * | Order IPsec policies by a pseudo-priority based on the traffic selectors | Tobias Brunner | 2012-08-08 | 1 | -28/+127 | |
| | | | | | | | | | | This allows a simple lookup, i.e. just use the first policy that matches a given IP packet. | |||||
| * | Implemented a checkout/checkin mechanism for IPsec SAs | Tobias Brunner | 2012-08-08 | 2 | -25/+285 | |
| | | | | | | | | | | SAs can only be checked out by a single thread and all other threads block until the SA is checked in again. | |||||
| * | IPsec policy manager added | Tobias Brunner | 2012-08-08 | 6 | -0/+278 | |
| | | | | | | | | This version only provides the very simplest management functions. | |||||
| * | Method added to easily compare IPsec policies | Tobias Brunner | 2012-08-08 | 2 | -0/+29 | |
| | | ||||||
| * | Class representing an IPsec policy added | Tobias Brunner | 2012-08-08 | 4 | -0/+302 | |
| | | ||||||
| * | Schedule and relay expiration events for created IPsec SAs | Tobias Brunner | 2012-08-08 | 1 | -0/+95 | |
| | | ||||||
| * | Added class to relay IPsec events (like expiration) to listeners | Tobias Brunner | 2012-08-08 | 7 | -0/+332 | |
| | | | | | | | | | | Currently, only expiration of IPsec SAs is supported. Later other events for e.g. acquires or changed NAT endpoints could be added. |