Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | stream: add a manager to dynamically register streams and services | Martin Willi | 2013-07-18 | 1 | -1/+1 |
| | |||||
* | stream: add a stream service class abstracting services using BSD sockets | Martin Willi | 2013-07-18 | 1 | -0/+1 |
| | |||||
* | stream: add a stream class abstracting BSD sockets | Martin Willi | 2013-07-18 | 1 | -1/+1 |
| | | | | | Currently only synchronous operation is supported, but this will be extended with asynchronous methods using the new watcher. | ||||
* | watcher: add a centralized an generic facility to monitor file descriptors | Martin Willi | 2013-07-18 | 1 | -1/+1 |
| | |||||
* | array: introduce an array collection storing elements very efficiently | Martin Willi | 2013-07-17 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | Currently we use the very versatile linked-list collection to store elements with variable count. This is fine, but very inefficient: Due to the many methods in the linked list, on 64-bit platforms an empty list alone is more than 200 bytes. As we currently have about 50 lists per IKE_SA/CHILD_SA pair, this takes up to 10KB just for managing the empty lists. This is about the half of memory used by an IKE_SA/CHILD_SA pair, and obviously way too much. The new array type is not an object, but a collection of functions on an abstract type. The following lists are per IKE_SA and should be considered for a replacement with more efficient arrays (this uses load-testers on-demand created dynamic configurations, other scenarios have different lists): 14 -> ike_sa_create() @ src/libcharon/sa/ike_sa.c:2198 10 -> auth_cfg_create() @ src/libstrongswan/credentials/auth_cfg.c:1088 6 -> task_manager_v2_create() @ src/libcharon/sa/ikev2/task_manager_v2.c:1505 6 -> proposal_create() @ src/libcharon/config/proposal.c:592 5 -> peer_cfg_create() @ src/libcharon/config/peer_cfg.c:657 4 -> child_sa_create() @ src/libcharon/sa/child_sa.c:1090 2 -> child_cfg_create() @ src/libcharon/config/child_cfg.c:536 1 -> ike_cfg_create() @ src/libcharon/config/ike_cfg.c:330 1 -> put_connected_peers() @ src/libcharon/sa/ike_sa_manager.c:854 | ||||
* | Move PKCS#12 key derivation to a separate file | Tobias Brunner | 2013-05-08 | 1 | -1/+1 |
| | |||||
* | Extract PKCS#5 handling from pkcs8 plugin to separate helper class | Tobias Brunner | 2013-05-08 | 1 | -1/+1 |
| | |||||
* | Android.mk updated to latest Makefiles | Tobias Brunner | 2013-02-26 | 1 | -0/+1 |
| | | | | Fixes #300. | ||||
* | Android.mk of libstrongswan updated | Tobias Brunner | 2013-01-14 | 1 | -2/+2 |
| | |||||
* | Enable pkcs7 plugin when building scepclient on Android | Martin Willi | 2012-12-19 | 1 | -0/+2 |
| | |||||
* | Remove unused monolithic PKCS#7 code | Martin Willi | 2012-12-19 | 1 | -1/+1 |
| | |||||
* | Moved utils.[ch] to utils folder | Tobias Brunner | 2012-10-24 | 1 | -1/+1 |
| | |||||
* | Moved settings_t to utils folder | Tobias Brunner | 2012-10-24 | 1 | -2/+2 |
| | |||||
* | Moved debug.[ch] to utils folder | Tobias Brunner | 2012-10-24 | 1 | -3/+4 |
| | |||||
* | Moved enum_name_t to utils folder | Tobias Brunner | 2012-10-24 | 1 | -2/+2 |
| | |||||
* | Moved chunk_t to utils folder | Tobias Brunner | 2012-10-24 | 1 | -2/+2 |
| | |||||
* | Moved printf hooks to utils folder | Tobias Brunner | 2012-10-24 | 1 | -2/+2 |
| | |||||
* | Moved data structures to new collections subfolder | Tobias Brunner | 2012-10-24 | 1 | -1/+2 |
| | |||||
* | Moved packet_t and tun_device_t to networking folder | Tobias Brunner | 2012-10-24 | 1 | -3/+4 |
| | |||||
* | Moved host_t and host_resolver_t to a new networking subfolder | Tobias Brunner | 2012-10-24 | 1 | -2/+3 |
| | |||||
* | Resolve hosts by DNS name in separate threads so we can cancel them | Tobias Brunner | 2012-10-18 | 1 | -2/+2 |
| | | | | | | | | | | getaddrinfo(3) may block a long time so proper termination of the daemon may block if DNS servers are not reachable. getaddrinfo(3) is an optional cancellation point in posix threads so it might still block a shutdown but at least on Android (with the signal based pthread_cancel implementation) it works, on Linux starter will kill charon anyway after a while. | ||||
* | Moved proposal_keywords to proposal_keywords_static | Francois ten Krooden | 2012-09-13 | 1 | -1/+2 |
| | | | | Added new proposal keywords with function to reference the static keywords. | ||||
* | android: Enable pkcs8 plugin | Tobias Brunner | 2012-08-31 | 1 | -0/+2 |
| | |||||
* | Added utility class to create TUN devices | Tobias Brunner | 2012-08-08 | 1 | -1/+1 |
| | | | | Currently works only on Linux. | ||||
* | Moved types used by kernel_ipsec_t interface (and libipsec) to libstrongswan | Tobias Brunner | 2012-08-08 | 1 | -0/+1 |
| | | | | This avoids a dependency of libipsec to libhydra. | ||||
* | Added a simple blocking queue around linked_list_t | Tobias Brunner | 2012-08-08 | 1 | -2/+2 |
| | |||||
* | Moved packet_t to libstrongswan | Tobias Brunner | 2012-08-08 | 1 | -1/+1 |
| | |||||
* | Make path to Android OpenSSL headers configurable. | Tobias Brunner | 2012-08-08 | 1 | -1/+1 |
| | |||||
* | Android.mk of libstrongswan adapted to config.h changes | Tobias Brunner | 2012-07-12 | 1 | -78/+24 |
| | |||||
* | Android.mk of libstrongswan updated | Tobias Brunner | 2012-07-09 | 1 | -0/+2 |
| | |||||
* | Added MAC wrappers to Android.mk | Tobias Brunner | 2012-06-26 | 1 | -0/+3 |
| | |||||
* | Build nonce plugin on Android | Tobias Brunner | 2012-06-26 | 1 | -0/+3 |
| | |||||
* | Added support for the curl plugin on Android | Tobias Brunner | 2012-06-26 | 1 | -0/+6 |
| | |||||
* | Updated PKCS#7 parser/generator in libstrongswan. | Tobias Brunner | 2012-06-11 | 1 | -0/+1 |
| | | | | | Added some functionality from pluto's version, updated usage of asn1 and crypto primitives. It does compile but is not really tested yet. | ||||
* | Added a wrapper class around POSIX semaphores. | Tobias Brunner | 2012-05-02 | 1 | -0/+1 |
| | |||||
* | Android 4 requires LOCAL_MODULE_TAGS to be set for all modules. | Tobias Brunner | 2012-01-12 | 1 | -0/+2 |
| | | | | | | | Because all packages are now marked as optional executables that are to be installed on the final system have to be added to PRODUCT_PACKAGES in build/target/product/core.mk. Dependencies (such as libraries) are installed automatically. | ||||
* | pkcs11: Allow to build pkcs11 plugin on Android. | Tobias Brunner | 2011-10-31 | 1 | -0/+2 |
| | |||||
* | Source files in Android.mk updated. | Tobias Brunner | 2011-10-14 | 1 | -1/+1 |
| | |||||
* | Added support for plugin features | Martin Willi | 2011-10-14 | 1 | -0/+1 |
| | |||||
* | Add enum names for database drivers | Martin Willi | 2011-10-14 | 1 | -2/+2 |
| | |||||
* | File lists in Android.mk files updated. | Tobias Brunner | 2011-07-29 | 1 | -0/+2 |
| | |||||
* | Finally removed deprecated iterator_t. | Tobias Brunner | 2011-07-06 | 1 | -1/+0 |
| | |||||
* | Added job priority enum names | Martin Willi | 2011-05-16 | 1 | -1/+1 |
| | |||||
* | fetcher.c added to Android.mk. | Tobias Brunner | 2011-05-13 | 1 | -1/+1 |
| | |||||
* | File lists in Android.mk files updated to those in the Makefiles. | Tobias Brunner | 2011-03-22 | 1 | -2/+1 |
| | |||||
* | Updated Android.mk to latest Makefile.am. | Tobias Brunner | 2010-10-21 | 1 | -0/+1 |
| | |||||
* | Moved scheduler and thread pool to libstrongswan. | Tobias Brunner | 2010-09-02 | 1 | -2/+6 |
| | |||||
* | Moved EAP type/code definitions to a seprate header file in libstrongswan | Martin Willi | 2010-08-31 | 1 | -0/+1 |
| | |||||
* | Implemented a callback based credential set, currently for shared keys only | Martin Willi | 2010-08-04 | 1 | -0/+1 |
| | |||||
* | Implemented a generic in-memory credential set, currently for shared keys only | Martin Willi | 2010-08-04 | 1 | -0/+1 |
| |