aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/Android.mk
Commit message (Collapse)AuthorAgeFilesLines
* android: Update Android.mk files to match changes due to the Windows portTobias Brunner2014-06-241-6/+16
| | | | Makes them easier to compare to the original Makefile.am.
* stream: Separate TCP/Unix stream helpers from stream/service implementationsMartin Willi2014-06-041-2/+4
| | | | | | This allows us to disable Unix sockets cleanly on Windows. Replaces some read/write calls with recv/send counterparts, as Winsock does not like read/writes.
* settings: Add flex/bison based parser for strongswan.confTobias Brunner2014-05-151-0/+1
| | | | | | | | | | | This parser features several improvements over the existing one. For instance, quoted strings (with escape sequences), unlimited includes, relaxed newline handling (e.g. at the end of files or before/after { and }), and the difference between empty and unset values (key = vs. key = ""). It also complains a lot more about invalid syntax. The current one accepts pretty odd stuff (like settings or sections without name) without any errors or warnings.
* settings: Extract section and key/value pair types and helper functionsTobias Brunner2014-05-151-3/+3
| | | | This allows us to use them in the upcoming parser.
* parser-helper: Add utility class for flex/bison based parsersTobias Brunner2014-05-151-1/+2
|
* settings: Move to a separate folderTobias Brunner2014-05-151-3/+3
|
* android: Use static version of libcryptoTobias Brunner2014-04-251-1/+1
| | | | | System.loadLibrary() searches in system directories first (at least in recent releases), that is, our own build wouldn't actually get used.
* x509: Integrate IETF attribute handling, and obsolete ietf_attributes_tMartin Willi2014-03-311-1/+1
| | | | | The ietf_attributes_t class is used for attribute certificates only these days, and integrating them to x509_ac_t simplifies things significantly.
* utils: Move thread-safe strerror replacement to a separate fileTobias Brunner2014-02-241-1/+2
| | | | | For some utils _GNU_SOURCE might be needed but that conflicts with the signature of strerror_r(3).
* unit-tests: Add facility to register testable functionsTobias Brunner2013-12-041-1/+1
| | | | | These can be defined in plugins, or other parts of the tested libraries. They can even be static.
* android: Remove dependency on libvstrTobias Brunner2013-11-131-5/+2
|
* iv_gen: Add IV generator that allocates IVs sequentiallyTobias Brunner2013-10-111-1/+1
|
* iv_gen: Add IV generator that allocates IVs randomlyTobias Brunner2013-10-111-0/+1
| | | | Uses RNG_WEAK as the code currently does elsewhere to allocate IVs.
* printf-hook: Move glibc/vstr printf hook backends to separate filesMartin Willi2013-10-111-1/+1
|
* stream: add a manager to dynamically register streams and servicesMartin Willi2013-07-181-1/+1
|
* stream: add a stream service class abstracting services using BSD socketsMartin Willi2013-07-181-0/+1
|
* stream: add a stream class abstracting BSD socketsMartin Willi2013-07-181-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 descriptorsMartin Willi2013-07-181-1/+1
|
* array: introduce an array collection storing elements very efficientlyMartin Willi2013-07-171-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 fileTobias Brunner2013-05-081-1/+1
|
* Extract PKCS#5 handling from pkcs8 plugin to separate helper classTobias Brunner2013-05-081-1/+1
|
* Android.mk updated to latest MakefilesTobias Brunner2013-02-261-0/+1
| | | | Fixes #300.
* Android.mk of libstrongswan updatedTobias Brunner2013-01-141-2/+2
|
* Enable pkcs7 plugin when building scepclient on AndroidMartin Willi2012-12-191-0/+2
|
* Remove unused monolithic PKCS#7 codeMartin Willi2012-12-191-1/+1
|
* Moved utils.[ch] to utils folderTobias Brunner2012-10-241-1/+1
|
* Moved settings_t to utils folderTobias Brunner2012-10-241-2/+2
|
* Moved debug.[ch] to utils folderTobias Brunner2012-10-241-3/+4
|
* Moved enum_name_t to utils folderTobias Brunner2012-10-241-2/+2
|
* Moved chunk_t to utils folderTobias Brunner2012-10-241-2/+2
|
* Moved printf hooks to utils folderTobias Brunner2012-10-241-2/+2
|
* Moved data structures to new collections subfolderTobias Brunner2012-10-241-1/+2
|
* Moved packet_t and tun_device_t to networking folderTobias Brunner2012-10-241-3/+4
|
* Moved host_t and host_resolver_t to a new networking subfolderTobias Brunner2012-10-241-2/+3
|
* Resolve hosts by DNS name in separate threads so we can cancel themTobias Brunner2012-10-181-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_staticFrancois ten Krooden2012-09-131-1/+2
| | | | Added new proposal keywords with function to reference the static keywords.
* android: Enable pkcs8 pluginTobias Brunner2012-08-311-0/+2
|
* Added utility class to create TUN devicesTobias Brunner2012-08-081-1/+1
| | | | Currently works only on Linux.
* Moved types used by kernel_ipsec_t interface (and libipsec) to libstrongswanTobias Brunner2012-08-081-0/+1
| | | | This avoids a dependency of libipsec to libhydra.
* Added a simple blocking queue around linked_list_tTobias Brunner2012-08-081-2/+2
|
* Moved packet_t to libstrongswanTobias Brunner2012-08-081-1/+1
|
* Make path to Android OpenSSL headers configurable.Tobias Brunner2012-08-081-1/+1
|
* Android.mk of libstrongswan adapted to config.h changesTobias Brunner2012-07-121-78/+24
|
* Android.mk of libstrongswan updatedTobias Brunner2012-07-091-0/+2
|
* Added MAC wrappers to Android.mkTobias Brunner2012-06-261-0/+3
|
* Build nonce plugin on AndroidTobias Brunner2012-06-261-0/+3
|
* Added support for the curl plugin on AndroidTobias Brunner2012-06-261-0/+6
|
* Updated PKCS#7 parser/generator in libstrongswan.Tobias Brunner2012-06-111-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 Brunner2012-05-021-0/+1
|
* Android 4 requires LOCAL_MODULE_TAGS to be set for all modules.Tobias Brunner2012-01-121-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.