Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | library: Allow specifying the path to strongswan.conf in the STRONGSWAN_CONF ↵ | Shea Levy | 2014-10-02 | 1 | -1/+1 |
| | | | | env var | ||||
* | library: Store the used root strongswan.conf configuration | Martin Willi | 2014-09-22 | 1 | -7/+7 |
| | |||||
* | diffie-hellman: Explicitly initialize DH exponent sizes during initialization | Martin Willi | 2014-08-25 | 1 | -0/+2 |
| | | | | | | | | To avoid any race conditions when multiple threads call and initialize diffie_hellman_get_params(), explicitly examine the optimum DH exponent size during library initialization. Fixes #655. | ||||
* | unit-tests: Seed chunk_hash() only once, but before creating any hashtables | Martin Willi | 2014-06-04 | 1 | -8/+1 |
| | | | | | | | Due to the removal of pthread_once, we manually create the seed for chunk_hash(). With the new testable functions interface, this won't work for the hashtable initiated using __attribute__((constructor)). Enforce seeding before creating that hashtable. | ||||
* | library: Change init/deinit order to allow utils to depend on threading | Martin Willi | 2014-06-04 | 1 | -4/+5 |
| | |||||
* | chunk: Don't depend on pthread directly | Martin Willi | 2014-06-04 | 1 | -0/+9 |
| | |||||
* | windows: Add utils_init/deinit functions to initialize Winsock2 | Martin Willi | 2014-06-04 | 1 | -0/+2 |
| | |||||
* | settings: strongswan.conf must be loaded explicitly | Tobias Brunner | 2014-05-15 | 1 | -0/+7 |
| | |||||
* | leak-detective: LEAK_DETECTIVE_DISABLE completely disables LD | Tobias Brunner | 2014-04-03 | 1 | -2/+5 |
| | | | | | If lib->leak_detective is non-null some code parts (e.g. the plugin loader) assume LD is actually used. | ||||
* | array: Add fallback for qsort_r using thread-local value | Tobias Brunner | 2014-02-12 | 1 | -0/+3 |
| | | | | Cygwin for example does not support qsort_r. | ||||
* | lib: All settings use configured namespace | Tobias Brunner | 2014-02-12 | 1 | -2/+2 |
| | |||||
* | lib: Add default config fallback for configured namespace | Tobias Brunner | 2014-02-12 | 1 | -0/+3 |
| | | | | All settings in the configured global namespace fall back to libstrongswan. | ||||
* | lib: Add global config namespace | Tobias Brunner | 2014-02-12 | 1 | -1/+3 |
| | |||||
* | leak-detective: Use callback functions to report leaks and usage information | Martin Willi | 2013-11-06 | 1 | -0/+35 |
| | | | | This is more flexible than printing reports to a FILE. | ||||
* | stream: create library instance of stream-manager | Martin Willi | 2013-07-18 | 1 | -0/+2 |
| | |||||
* | watcher: add a centralized an generic facility to monitor file descriptors | Martin Willi | 2013-07-18 | 1 | -0/+2 |
| | |||||
* | capabilities: Move global capabilities_t instance to libstrongswan | Tobias Brunner | 2013-06-25 | 1 | -0/+2 |
| | |||||
* | Strictly memwipe_check() for magic only in the affected buffer | Martin Willi | 2013-06-05 | 1 | -25/+8 |
| | | | | | | | Passing back the buffer address we memwipe() is not ideal, as it could, in theory, change the behavior of the compiler and not-optimize memwipe(). But as checking a larger stack is very difficult for different architectures and compilers, we do it nonetheless for now. | ||||
* | In memwipe_check(), don't put magic on stack when calling do_magic() | Martin Willi | 2013-05-03 | 1 | -3/+3 |
| | | | | Otherwise the magic might be on the stack while checking it. | ||||
* | Dump stack if memwipe() check fails | Martin Willi | 2013-05-03 | 1 | -3/+19 |
| | |||||
* | During libstrongswan initialization, check if memwipe() works as expected | Martin Willi | 2013-04-18 | 1 | -1/+51 |
| | |||||
* | Added manager for DNS resolvers | Reto Guadagnini | 2013-02-19 | 1 | -0/+2 |
| | |||||
* | libstrongswan can be initialized more than once | Martin Willi | 2012-11-14 | 1 | -4/+27 |
| | |||||
* | Moved debug.[ch] to utils folder | Tobias Brunner | 2012-10-24 | 1 | -1/+1 |
| | |||||
* | Moved data structures to new collections subfolder | Tobias Brunner | 2012-10-24 | 1 | -1/+1 |
| | |||||
* | Moved host_t and host_resolver_t to a new networking subfolder | Tobias Brunner | 2012-10-24 | 1 | -1/+1 |
| | |||||
* | Terminate unused resolver threads after a timeout | Tobias Brunner | 2012-10-18 | 1 | -2/+1 |
| | |||||
* | Resolve hosts by DNS name in separate threads so we can cancel them | Tobias Brunner | 2012-10-18 | 1 | -0/+3 |
| | | | | | | | | | | 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. | ||||
* | Added possibility to register custom proposal keywords | Tobias Brunner | 2012-09-13 | 1 | -0/+2 |
| | | | | Keyword lookup and registration are handled via the new lib->proposal object. | ||||
* | With --enable-bfd-backtraces, use binutils libbfd to resolve backtraces | Martin Willi | 2012-07-13 | 1 | -0/+4 |
| | | | | | | | | The invocation of addr2line to resolve backtrace source locations is slow and cumbersome. When using libbfd directly, we can eliminate the overhead of the process invocation. Even better, we can cache library symbol names, bringing wicked fast lookups. As a neat bonus, we can resolve static function names. | ||||
* | Make sure the certificate cache is flushed when plugins are unloaded. | Tobias Brunner | 2011-12-15 | 1 | -0/+3 |
| | | | | | This avoids segmentation faults when plugins implementing cert_t are already unloaded when the cache is flushed during destruction. | ||||
* | Destroy objects hashtable after plugin_manager. | Tobias Brunner | 2011-10-26 | 1 | -1/+1 |
| | | | | | | If plugins are not explicitly unloaded before library_deinit is called there could have been a segfault because some plugins might unregister objects during unloading/destruction. | ||||
* | Provide generic object registration by name on libstrongswan | Martin Willi | 2011-08-08 | 1 | -7/+55 |
| | |||||
* | Don't install the libraries directly in lib/. | Tobias Brunner | 2011-07-05 | 1 | -1/+1 |
| | | | | | Instead use a subdirectory (prefix/lib/ipsec by default). Also moved the plugins from libexec to a subdirectory of that dir. | ||||
* | Make leak detective public | Martin Willi | 2011-05-16 | 1 | -15/+5 |
| | |||||
* | Moved scheduler and thread pool to libstrongswan. | Tobias Brunner | 2010-09-02 | 1 | -0/+4 |
| | |||||
* | Renamed key_encod{ing,der}_t and constants, prepare for generic credential ↵ | Martin Willi | 2010-07-13 | 1 | -1/+1 |
| | | | | encoding | ||||
* | Moved credential manager to libstrongswan | Martin Willi | 2010-07-13 | 1 | -0/+2 |
| | |||||
* | traffic_selector_t is gone into libstrongswan, migrate printf hook ↵ | Martin Willi | 2010-06-07 | 1 | -5/+8 |
| | | | | registration, too. | ||||
* | Option to skip slow addr2line resolution in leak-detective | Martin Willi | 2010-05-20 | 1 | -0/+5 |
| | |||||
* | Adding DBG_LIB to all calls of libstrongswan's version of DBG*. | Tobias Brunner | 2010-04-06 | 1 | -2/+2 |
| | |||||
* | Attributes moved from libstrongswan to libhydra. | Tobias Brunner | 2010-03-24 | 1 | -2/+0 |
| | | | | | The attribute_manager_t instance is now located on the new hydra object instead of the lib object. | ||||
* | Fixing some includes by replacing <> with "". | Tobias Brunner | 2010-03-02 | 1 | -7/+5 |
| | | | | I changed only the includes needed to fix the build on Android, which has an utils.h system header file, but we should probably change all the local includes in libstrongswan to "" and relative paths. | ||||
* | Using the thread wrapper in charon, libstrongswan and their plugins. | Tobias Brunner | 2009-12-23 | 1 | -0/+6 |
| | |||||
* | moved attribute_manager to libstrongswan | Andreas Steffen | 2009-10-13 | 1 | -0/+2 |
| | |||||
* | removed trailing spaces ([[:space:]]+$) | Martin Willi | 2009-09-04 | 1 | -6/+6 |
| | |||||
* | added a facility to hand out fingerprinting/key encoding to the ↵ | Martin Willi | 2009-08-26 | 1 | -0/+2 |
| | | | | pkcs1/pgp/... plugins | ||||
* | announce integrity testing only once | Martin Willi | 2009-07-21 | 1 | -1/+0 |
| | |||||
* | indicate use if integrity testing at startup | Martin Willi | 2009-06-22 | 1 | -0/+1 |
| | |||||
* | build integrity_checker.c only if --enable-integrity-test set | Martin Willi | 2009-06-22 | 1 | -0/+5 |
| |