aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/bus/bus.c
Commit message (Collapse)AuthorAgeFilesLines
* bus: raise certificate validation alerts using credential manager hookMartin Willi2013-07-181-0/+29
|
* Introduce an optional logger_t.vlog() method with format string and argumentsMartin Willi2013-05-061-13/+60
| | | | | | | To have more flexibility in the logging backend, receiving the original format string and do printf() substitution in the logger may be preferable. An additional but optional logger method does not touch the behavior of existing loggers.
* emit a single assig_vips bus message for all VIPsAndreas Steffen2013-04-061-6/+5
|
* ifmap plugin subscribes to assing_vip bus signalAndreas Steffen2013-04-061-0/+29
|
* Raise an alert if an authorize() hook failsMartin Willi2012-12-191-0/+4
|
* Fixed output of longer debug messagesTobias Brunner2012-11-071-0/+1
| | | | | (v)snprintf(3) returns the length without terminating null byte but the length given as parameter must include it.
* Add ike_reestablish() event that is triggered when an IKE_SA is reestablishedTobias Brunner2012-09-061-0/+28
| | | | | This is particularly useful during reauthentication to get the new IKE_SA.
* Log to a malloc()ed buffer if the on-stack buffer is not large enoughMartin Willi2012-07-131-3/+23
|
* Loggers specify what log messages they want to receive during registration.Tobias Brunner2012-05-021-29/+153
| | | | | | | 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 Brunner2012-05-021-190/+101
| | | | | | | | 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.
* Use a separate list and mutex for loggers.Tobias Brunner2012-05-021-69/+152
| | | | | | | | | | | This avoids deadlocks caused by extensive listener_t implementations which might want to acquire a lock which is currently held by another thread wanting to log messages. Since the latter requires that thread to acquire the same lock the initial thread currently holds this previously resulted in a deadlock. With this change logging messages does not require threads to acquire the main lock in bus_t and thus avoids the deadlock.
* Removed remaining parts of controller_t.listen() implementation.Tobias Brunner2012-05-021-39/+9
|
* Remove obsolete bus_t.listen() method.Tobias Brunner2012-05-021-59/+0
|
* Invoke bus_t.message hook twice, once plain and parsed, once encoded and ↵Martin Willi2012-03-201-2/+2
| | | | encrypted
* Pass IKEv1 specific keymat to ike_keys hookMartin Willi2012-03-201-3/+4
|
* Properly remove listener when listen() times outMartin Willi2011-08-311-0/+1
|
* bus->listen() and the controller wrappers accept a timeout to wait for callbacksMartin Willi2011-08-261-4/+26
|
* Replaced ike_sa_t.create_child_sa_iterator with enumerator.Tobias Brunner2011-07-061-4/+4
| | | | | This required two new methods on ike_sa_t. One returns the number of CHILD_SAs and one allows to remove a CHILD_SA.
* Fix potential use after freeThomas Egerer2011-01-191-1/+1
|
* Refer to scheduler and processor via lib and not hydra.Tobias Brunner2010-09-021-2/+1
|
* Refer to processor via hydra and not charon.Tobias Brunner2010-09-021-2/+2
|
* Pass the CREATE_CHILD_SA initiator flag to the child_keys parameterMartin Willi2010-07-261-3/+3
|
* Added a hook to narrow traffic selectors for CHILD_SAsMartin Willi2010-07-131-0/+33
|
* Moved bus_t to METHOD/INIT macrosMartin Willi2010-07-131-108/+69
|
* Move debug groups from charon's bus.h to libstrongswan's debug.h.Tobias Brunner2010-04-061-26/+0
|
* Moving charon to libcharon.Tobias Brunner2010-03-191-0/+753