Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | daemon: Use separate method to set default loggers | Tobias Brunner | 2017-01-25 | 1 | -12/+5 |
| | | | | | This way it is not necessary to pass the same values to reload the loggers. | ||||
* | configure: Check for and explicitly link against -latomic | Martin Willi | 2016-06-14 | 1 | -1/+1 |
| | | | | | Some C libraries, such as uClibc, require an explicit link for some atomic functions. Check for any libatomic, and explcily link it. | ||||
* | libhydra: Remove empty unused library | Tobias Brunner | 2016-03-03 | 3 | -15/+1 |
| | |||||
* | sigwaitinfo() may fail with EINTR if interrupted by an unblocked signal not ↵ | Tobias Brunner | 2015-11-23 | 1 | -6/+5 |
| | | | | | | in the set Fixes #1213. | ||||
* | Replace usages of sigwait(3) with sigwaitinfo(2) | Tobias Brunner | 2015-10-29 | 1 | -7/+4 |
| | | | | | | | This is basically the same call, but it has the advantage of being supported by FreeBSD's valgrind, which sigwait() is not. References #1106. | ||||
* | settings: Use strongswan.conf used during library initialization for reload | Martin Willi | 2014-09-22 | 1 | -5/+1 |
| | | | | | | | | Since 4b670a20 we require an explicit strongswan.conf to re-load configurations. However, the define was missing in the build, breaking SIGHUP based config reloading. Fixes #651. | ||||
* | charon: Set CLOEXEC flag on daemon PID file and /dev/(u)random source FDs | Martin Willi | 2014-06-24 | 1 | -0/+10 |
| | | | | | | | | | | | | | On Fedora, SELinux complains about these open file descriptors when the updown script invokes iptables. While it seems difficult to set the flag on all file descriptors, this at least fixes those covered by the SELinux policy. As these two cases are in code executed while the daemon is still single threaded, we avoid the use of atomic but not fully portable fdopen("e") or open(O_CLOEXEC) calls. Fixes #519. | ||||
* | settings: strongswan.conf must be loaded explicitly | Tobias Brunner | 2014-05-15 | 1 | -1/+4 |
| | |||||
* | libcharon: Remove unused charon->name | Tobias Brunner | 2014-02-12 | 1 | -1/+1 |
| | |||||
* | libhydra: Remove unused hydra->daemon | Tobias Brunner | 2014-02-12 | 1 | -1/+1 |
| | |||||
* | lib: Add global config namespace | Tobias Brunner | 2014-02-12 | 1 | -1/+1 |
| | |||||
* | android: Remove dependency on libvstr | Tobias Brunner | 2013-11-13 | 1 | -1/+0 |
| | |||||
* | automake: replace INCLUDES by AM_CPPFLAGS | Martin Willi | 2013-07-18 | 1 | -5/+2 |
| | | | | | | INCLUDES are now deprecated and throw warnings when using automake 1.13. We now also differentiate AM_CPPFLAGS and AM_CFLAGS, where includes and defines are passed to AM_CPPFLAGS only. | ||||
* | capabilities: Make the user and group charon(-nm) changes to configurable | Tobias Brunner | 2013-06-25 | 1 | -6/+17 |
| | |||||
* | capabilities: Move global capabilities_t instance to libstrongswan | Tobias Brunner | 2013-06-25 | 1 | -6/+6 |
| | |||||
* | plugin-loader: Add method to print loaded plugins on a given log level | Tobias Brunner | 2013-06-21 | 1 | -0/+1 |
| | |||||
* | When receiving critical signals, additionally log backtraces to syslog/files | Martin Willi | 2013-03-04 | 1 | -0/+1 |
| | |||||
* | Return SS_RC_INITIALIZATION_FAILED if pid file exists | Adrian-Ken Rueegsegger | 2013-01-23 | 1 | -1/+0 |
| | | | | | | Let charon return SS_RC_INITIALIZATION_FAILED if an existing pid file is found. Starter only terminates itself if the result code of the daemon is a valid SS_RC_* value. | ||||
* | Reload logger configuration on SIGHUP | Tobias Brunner | 2012-10-18 | 1 | -126/+12 |
| | | | | | | Besides changing the configuration this allows to easily rotate log files. Also moved logger initialization back to daemon_t. | ||||
* | Make syslog and file loggers configurable at runtime | Tobias Brunner | 2012-10-18 | 1 | -35/+17 |
| | |||||
* | Added ESP log group for libipsec log messages. | Tobias Brunner | 2012-08-08 | 1 | -1/+2 |
| | |||||
* | Rebuild charon after running ./configure to reflect plugin changes | Martin Willi | 2012-08-03 | 1 | -0/+2 |
| | |||||
* | Refactored heavily #ifdefd capability code to its own libstrongswan class | Martin Willi | 2012-07-04 | 1 | -55/+9 |
| | |||||
* | Show some uname() info during charon startup | Martin Willi | 2012-06-28 | 1 | -1/+8 |
| | |||||
* | charon is now an IKE daemon | Andreas Steffen | 2012-05-03 | 1 | -1/+1 |
| | |||||
* | Store the name of the binary using libcharon to enable specific settings. | Tobias Brunner | 2012-05-03 | 1 | -1/+1 |
| | |||||
* | Provide plugin list from charon, not internally in libcharon. | Tobias Brunner | 2012-05-03 | 3 | -4/+17 |
| | |||||
* | Loggers specify what log messages they want to receive during registration. | Tobias Brunner | 2012-05-02 | 1 | -4/+4 |
| | | | | | | | This also allows us to generate the log message only once for all loggers that need it (avoids calls to custom printf specifier callbacks). To update the log levels loggers can simply be registered again. | ||||
* | Use a separate interface for loggers. | Tobias Brunner | 2012-05-02 | 1 | -5/+5 |
| | | | | | | | | The new interface does not allow loggers to unregister themselves from the bus. This allows us to use a rwlock_t for them. The latter also means that loggers can now be called concurrently by multiple threads. | ||||
* | Option added to set identifier for syslog(3) logging. | Tobias Brunner | 2012-04-20 | 1 | -1/+7 |
| | | | | This identifier is added to each log message by syslog. | ||||
* | 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. | ||||
* | Added ASN debug group to log low-level encoding/decoding (ASN.1, X.509). | Tobias Brunner | 2011-12-16 | 1 | -1/+2 |
| | | | | | This will allow us to remove quite some clutter from the LIB debug group for higher debug levels. | ||||
* | Revert "fixed integrity tests of plugins using libtls or libtnccs" | Tobias Brunner | 2011-11-08 | 1 | -8/+0 |
| | | | | | This reverts commit b597ac4a4cbcd9197b886d743c75d58293264580 (not completely). | ||||
* | Revert "fixed integrity tests of plugins using libsimaka" | Tobias Brunner | 2011-11-08 | 1 | -4/+0 |
| | | | | | | | | This reverts commit 8c42f16deeeffa1ae305b18306b0796f49c9922c. Conflicts: src/charon/Makefile.am | ||||
* | use the correct USE_SIMAKA conditional | Andreas Steffen | 2011-11-04 | 1 | -1/+1 |
| | |||||
* | fixed integrity tests of plugins using libsimaka | Andreas Steffen | 2011-11-04 | 1 | -0/+4 |
| | |||||
* | charon must load libtls if available | Andreas Steffen | 2011-11-02 | 1 | -0/+4 |
| | |||||
* | fixed integrity tests of plugins using libtls or libtnccs | Andreas Steffen | 2011-11-02 | 1 | -0/+4 |
| | |||||
* | pluto: Switch to user 'vpn' on Android. | Tobias Brunner | 2011-10-18 | 1 | -1/+1 |
| | |||||
* | Make sure the PID read from charon.pid is null-terminated. | Tobias Brunner | 2011-09-28 | 1 | -0/+1 |
| | |||||
* | added PTS debug class | Andreas Steffen | 2011-09-11 | 1 | -1/+2 |
| | |||||
* | added DBG_IMC and DBG_IMV debug options | Andreas Steffen | 2011-05-29 | 1 | -0/+2 |
| | |||||
* | Reload strongswan.conf and plugins supporting reloading on SIGHUP | Martin Willi | 2011-04-15 | 1 | -1/+10 |
| | |||||
* | Moved logger initialization from libcharon to charon | Martin Willi | 2011-01-05 | 1 | -1/+136 |
| | |||||
* | use DBG_TNC for TNC debugging output | Andreas Steffen | 2010-10-09 | 1 | -1/+2 |
| | |||||
* | added --debug-tls to charon usage() function | Andreas Steffen | 2010-10-07 | 1 | -1/+1 |
| | |||||
* | added debug-tls comand line option | Andreas Steffen | 2010-08-23 | 1 | -0/+1 |
| | |||||
* | Moved eap-tls plugin to libcharon, updated to 4.4.1 APIs | Martin Willi | 2010-08-03 | 26 | -5132/+0 |
| | |||||
* | Implemented EAP-TLS server functionality | Martin Willi | 2010-08-03 | 7 | -29/+595 |
| | |||||
* | TLS stack keeps a copy of server/peer identities | Martin Willi | 2010-08-03 | 2 | -18/+17 |
| |