Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | daemon: Create global redirect manager instance | Tobias Brunner | 2016-03-04 | 1 | -0/+2 |
| | |||||
* | libhydra: Move kernel interface to libcharon | Tobias Brunner | 2016-03-03 | 1 | -0/+2 |
| | | | | This moves hydra->kernel_interface to charon->kernel. | ||||
* | charon: Add custom logger to daemon | Thomas Egerer | 2016-03-01 | 1 | -41/+233 |
| | | | | | | | | | | | This logger can be used to easily register custom logging instances using __attribute__((constructor)) benefiting from the global reload mechanism (with reset of log levels). Note that this is not intended to be used from plugins, which are loaded after loggers have already been initialized. Signed-off-by: Thomas Egerer <thomas.egerer@secunet.com> | ||||
* | libcharon: Publish IKE_SA/CHILD_SA managers as custom plugin feature | Tobias Brunner | 2015-11-11 | 1 | -11/+29 |
| | |||||
* | file-logger: Add option to print milliseconds within the current second ↵ | Tobias Brunner | 2015-11-09 | 1 | -2/+4 |
| | | | | | | | | after timestamp For this to look right time_format should end with %S or %T. Closes strongswan/strongswan#18. | ||||
* | daemon: Flush shunts before unloading plugins | Tobias Brunner | 2015-07-27 | 1 | -0/+4 |
| | |||||
* | daemon: Remove scheduled jobs before unloading plugins | Tobias Brunner | 2015-03-09 | 1 | -1/+2 |
| | | | | | | | Especially callback jobs might refer to memory that gets invalid after the plugins got unlaoded, so make sure we destroy these jobs before. References #840. | ||||
* | attributes: Move the configuration attributes framework to libcharon | Martin Willi | 2015-02-20 | 1 | -0/+2 |
| | |||||
* | child-sa-manager: Add a global manager storing CHILD_SA relations | Martin Willi | 2015-02-20 | 1 | -0/+2 |
| | | | | | | To quickly check out IKE_SAs and find associated CHILD_SAs, the child_sa_manager stores relations between CHILD_SAs and IKE_SAs. It provides CHILD_SA specific IKE_SA checkout functions wrapping the ike_sa_manager. | ||||
* | plugin-loader: Support a reload() callback for static features | Martin Willi | 2014-09-22 | 1 | -1/+1 |
| | |||||
* | charon: Don't use syslog() if not supported | Martin Willi | 2014-06-04 | 1 | -5/+23 |
| | |||||
* | libcharon: Execute scripts defined in strongswan.conf during startup/shutdown | Martin Willi | 2014-05-07 | 1 | -0/+52 |
| | |||||
* | libcharon: Remove unused charon->name | Tobias Brunner | 2014-02-12 | 1 | -5/+3 |
| | |||||
* | libcharon: Use lib->ns instead of charon->name | Tobias Brunner | 2014-02-12 | 1 | -14/+14 |
| | |||||
* | plugin-loader: Removed unused path argument of load() method | Tobias Brunner | 2013-06-28 | 1 | -1/+1 |
| | | | | | Multiple additional search paths can be added with the add_path() method. | ||||
* | capabilities: Only plugins that require CAP_NET_ADMIN demand it | Tobias Brunner | 2013-06-25 | 1 | -10/+0 |
| | | | | The daemon as such does not require this capability. | ||||
* | capabilities: Move global capabilities_t instance to libstrongswan | Tobias Brunner | 2013-06-25 | 1 | -3/+1 |
| | |||||
* | capabilities: Ensure required capabilities are actually held by the process/user | Tobias Brunner | 2013-06-25 | 1 | -2/+6 |
| | |||||
* | plugin-loader: Add method to print loaded plugins on a given log level | Tobias Brunner | 2013-06-21 | 1 | -2/+0 |
| | |||||
* | libcharon can be initialized more than once | Martin Willi | 2012-11-14 | 1 | -5/+31 |
| | |||||
* | Reload logger configuration on SIGHUP | Tobias Brunner | 2012-10-18 | 1 | -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 them | Tobias Brunner | 2012-10-18 | 1 | -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 receiver | Tobias Brunner | 2012-08-08 | 1 | -12/+31 |
| | |||||
* | Proper fallback if capability dropping is not available | Tobias Brunner | 2012-07-27 | 1 | -0/+4 |
| | |||||
* | Refactored heavily #ifdefd capability code to its own libstrongswan class | Martin Willi | 2012-07-04 | 1 | -85/+3 |
| | |||||
* | libcharon also requires kernel interfaces and a socket implementation | Tobias Brunner | 2012-06-27 | 1 | -0/+3 |
| | |||||
* | Use static plugin features in libcharon to define essential dependencies | Tobias Brunner | 2012-06-27 | 1 | -1/+10 |
| | |||||
* | Centralized thread cancellation in processor_t | Tobias Brunner | 2012-06-25 | 1 | -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 Brunner | 2012-05-15 | 1 | -0/+1 |
| | |||||
* | Use name from initialization to access settings in libcharon. | Tobias Brunner | 2012-05-03 | 1 | -2/+2 |
| | | | | Also fixes several whitespace errors. | ||||
* | Store the name of the binary using libcharon to enable specific settings. | Tobias Brunner | 2012-05-03 | 1 | -3/+4 |
| | |||||
* | Provide plugin list from charon, not internally in libcharon. | Tobias Brunner | 2012-05-03 | 1 | -15/+3 |
| | |||||
* | Merge branch 'ikev1' | Martin Willi | 2012-05-02 | 1 | -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-master | Martin Willi | 2012-03-20 | 1 | -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 OpenSource | 2012-03-20 | 1 | -0/+2 |
| | | | | | | | | | | | | to talk to servers with different quirks for XAuth authentication. | ||||
* | | | Added a dedicated sender flush method, delay sender destruction until users gone | Martin Willi | 2012-05-02 | 1 | -1/+5 |
|/ / | |||||
* | | Cache list of plugin names to further simplify its usage. | Tobias Brunner | 2012-01-19 | 1 | -14/+2 |
| | | | | | | | | Also helpful for ipsec statusall to avoid having to enumerate plugins. | ||||
* | | Simplified logging of list of loaded plugins. | Tobias Brunner | 2012-01-19 | 1 | -14/+5 |
| | | |||||
* | | Make sure the certificate cache is flushed when plugins are unloaded. | Tobias Brunner | 2011-12-15 | 1 | -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 Brunner | 2011-12-14 | 1 | -4/+4 |
|/ | |||||
* | refactored TNC framework | Andreas Steffen | 2011-10-25 | 1 | -4/+0 |
| | |||||
* | Plugin enumerator enumerates over loaded features, too | Martin Willi | 2011-10-14 | 1 | -1/+1 |
| | |||||
* | Include library.h in plugin.h | Martin Willi | 2011-10-14 | 1 | -0/+1 |
| | |||||
* | Clear traps during shutdown before unloading kernel plugins | Martin Willi | 2011-09-12 | 1 | -0/+4 |
| | |||||
* | Migrated all SIM/AKA code to libsimaka, use SIM and AKA backend managers ↵ | Martin Willi | 2011-08-08 | 1 | -2/+0 |
| | | | | registered by name | ||||
* | implemented PASS and DROP shunt policies | Andreas Steffen | 2011-06-28 | 1 | -0/+2 |
| | |||||
* | explicitly activate use of TNC headers | Andreas Steffen | 2011-06-07 | 1 | -0/+2 |
| | |||||
* | Fix some warnings triggered by gcc 4.6 -Wunused-but-set-variable | Martin Willi | 2011-05-19 | 1 | -3/+1 |
| | |||||
* | Added a get_name() function to plugin_t, create_plugin_enumerator enumerates ↵ | Martin Willi | 2011-04-15 | 1 | -2/+4 |
| | | | | over plugin_t | ||||
* | Fall back to _LINUX_CAPABILITY_VERSION if no explicit version is defined. | Tobias Brunner | 2011-03-22 | 1 | -1/+3 |
| | | | | This is the case on Android. |