aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/daemon.c
Commit message (Collapse)AuthorAgeFilesLines
* libcharon can be initialized more than onceMartin Willi2012-11-141-5/+31
|
* Reload logger configuration on SIGHUPTobias Brunner2012-10-181-7/+349
| | | | | | Besides changing the configuration this allows to easily rotate log files. Also moved logger initialization back to daemon_t.
* Resolve hosts by DNS name in separate threads so we can cancel themTobias Brunner2012-10-181-1/+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.
* Use a CALLBACK feature to create charon's sender and receiverTobias Brunner2012-08-081-12/+31
|
* Proper fallback if capability dropping is not availableTobias Brunner2012-07-271-0/+4
|
* Refactored heavily #ifdefd capability code to its own libstrongswan classMartin Willi2012-07-041-85/+3
|
* libcharon also requires kernel interfaces and a socket implementationTobias Brunner2012-06-271-0/+3
|
* Use static plugin features in libcharon to define essential dependenciesTobias Brunner2012-06-271-1/+10
|
* Centralized thread cancellation in processor_tTobias Brunner2012-06-251-1/+4
| | | | | | | | | | This ensures that no threads are active when plugins and the rest of the daemon are unloaded. callback_job_t was simplified a lot in the process as its main functionality is now contained in processor_t. The parent-child relationships were abandoned as these were only needed to simplify job cancellation.
* Free name of application using libcharon.Tobias Brunner2012-05-151-0/+1
|
* Use name from initialization to access settings in libcharon.Tobias Brunner2012-05-031-2/+2
| | | | Also fixes several whitespace errors.
* Store the name of the binary using libcharon to enable specific settings.Tobias Brunner2012-05-031-3/+4
|
* Provide plugin list from charon, not internally in libcharon.Tobias Brunner2012-05-031-15/+3
|
* Merge branch 'ikev1'Martin Willi2012-05-021-0/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: configure.in man/ipsec.conf.5.in src/libcharon/encoding/generator.c src/libcharon/encoding/payloads/notify_payload.c src/libcharon/encoding/payloads/notify_payload.h src/libcharon/encoding/payloads/payload.c src/libcharon/network/receiver.c src/libcharon/sa/authenticator.c src/libcharon/sa/authenticator.h src/libcharon/sa/ikev2/tasks/ike_init.c src/libcharon/sa/task_manager.c src/libstrongswan/credentials/auth_cfg.c
| * Merge branch 'ikev1-clean' into ikev1-masterMartin Willi2012-03-201-0/+2
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: configure.in man/ipsec.conf.5.in src/libcharon/daemon.c src/libcharon/plugins/eap_ttls/eap_ttls_peer.c src/libcharon/plugins/eap_radius/eap_radius_accounting.c src/libcharon/plugins/eap_radius/eap_radius_forward.c src/libcharon/plugins/farp/farp_listener.c src/libcharon/sa/ike_sa.c src/libcharon/sa/keymat.c src/libcharon/sa/task_manager.c src/libcharon/sa/trap_manager.c src/libstrongswan/plugins/x509/x509_cert.c src/libstrongswan/utils.h Applied lost changes of moved files keymat.c and task_manager.c. Updated listener_t.message hook signature in new plugins.
| | * IKEv1 XAuth: Added plugin support for XAuth, which allows us to have plugins ↵Clavister OpenSource2012-03-201-0/+2
| | | | | | | | | | | | to talk to servers with different quirks for XAuth authentication.
* | | Added a dedicated sender flush method, delay sender destruction until users goneMartin Willi2012-05-021-1/+5
|/ /
* | Cache list of plugin names to further simplify its usage.Tobias Brunner2012-01-191-14/+2
| | | | | | | | Also helpful for ipsec statusall to avoid having to enumerate plugins.
* | Simplified logging of list of loaded plugins.Tobias Brunner2012-01-191-14/+5
| |
* | Make sure the certificate cache is flushed when plugins are unloaded.Tobias Brunner2011-12-151-0/+2
| | | | | | | | | | This avoids segmentation faults when plugins implementing cert_t are already unloaded when the cache is flushed during destruction.
* | Destroy mediation managers before unloading plugins.Tobias Brunner2011-12-141-4/+4
|/
* refactored TNC frameworkAndreas Steffen2011-10-251-4/+0
|
* Plugin enumerator enumerates over loaded features, tooMartin Willi2011-10-141-1/+1
|
* Include library.h in plugin.hMartin Willi2011-10-141-0/+1
|
* Clear traps during shutdown before unloading kernel pluginsMartin Willi2011-09-121-0/+4
|
* Migrated all SIM/AKA code to libsimaka, use SIM and AKA backend managers ↵Martin Willi2011-08-081-2/+0
| | | | registered by name
* implemented PASS and DROP shunt policiesAndreas Steffen2011-06-281-0/+2
|
* explicitly activate use of TNC headersAndreas Steffen2011-06-071-0/+2
|
* Fix some warnings triggered by gcc 4.6 -Wunused-but-set-variableMartin Willi2011-05-191-3/+1
|
* Added a get_name() function to plugin_t, create_plugin_enumerator enumerates ↵Martin Willi2011-04-151-2/+4
| | | | over plugin_t
* Fall back to _LINUX_CAPABILITY_VERSION if no explicit version is defined.Tobias Brunner2011-03-221-1/+3
| | | | This is the case on Android.
* replaced ipsec up %startall command by start_action jobAndreas Steffen2011-02-091-0/+4
|
* Use newer Linux capability native API, if availableMartin Willi2011-01-171-9/+24
|
* Moved generic infrastructure initialization to libcharon_init(), allows us ↵Martin Willi2011-01-051-11/+9
| | | | to preload plugins
* Moved logger initialization from libcharon to charonMartin Willi2011-01-051-154/+9
|
* implement IMC and IMV manager classesAndreas Steffen2010-11-091-6/+0
|
* implemented IMC/IMV handlerAndreas Steffen2010-11-091-0/+6
|
* moved TNCCS layer out of eap_tnc pluginAndreas Steffen2010-09-281-0/+2
|
* Refer to scheduler and processor via lib and not hydra.Tobias Brunner2010-09-021-3/+2
|
* Moved kernel interface to libhydra.Tobias Brunner2010-09-021-4/+2
|
* Moved scheduler_t to libhydra.Tobias Brunner2010-09-021-2/+0
|
* Added kernel event handler stub.Tobias Brunner2010-09-021-0/+8
|
* Refer to processor via hydra and not charon.Tobias Brunner2010-09-021-0/+1
|
* Move processor_t (thread-pool) to libhydra.Tobias Brunner2010-09-021-8/+3
|
* Added a ike_name logger option to prefix the IKE_SA name on each lineMartin Willi2010-08-251-7/+12
|
* Moved credential manager to libstrongswanMartin Willi2010-07-131-2/+0
|
* The file logger supports a time prefix using a strftime() format specifierMartin Willi2010-07-081-2/+4
|
* Flush and destroy the send queue before unloading the socket plugins.Tobias Brunner2010-06-241-1/+1
|
* Adding support for the native Linux capabilities interface.Tobias Brunner2010-06-151-8/+31
| | | | | Note that this interface is deprecated and mainly added to support Android. Use libcap, if possible.
* traffic_selector_t is gone into libstrongswan, migrate printf hook ↵Martin Willi2010-06-071-5/+0
| | | | registration, too.