aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/bus/bus.h
Commit message (Collapse)AuthorAgeFilesLines
* bus: Add new hooks for derived IKE_SA and CHILD_SA keysTobias Brunner2016-10-041-5/+30
|
* task-manager: Add retransmit cleared alertTobias Brunner2016-06-061-0/+3
|
* task-manager: Add retransmit count to retransmit send alertThomas Egerer2016-06-061-2/+3
| | | | Signed-off-by: Thomas Egerer <thomas.egerer@secunet.com>
* Use standard unsigned integer typesAndreas Steffen2016-03-241-1/+1
|
* bus: Add new hook called when IKEv1 CHILD_SAs are migrated to a new IKE_SATobias Brunner2015-05-211-1/+9
| | | | | | The interface is currently not very nice, but if we ever were able to safely checkout multiple SAs concurrently we could add something similar to ike_rekey() and call that when we detect a reauthentication.
* Add bool param to ALERT_KEEP_ON_CHILD_SA_FAILURE alertAdrian-Ken Rueegsegger2015-05-041-1/+2
| | | | | The parameter indicates if the alert is raised upon failure to establish the first CHILD SA of an IKE SA.
* bus: Add an ike_update() hook invoked when peer endpoints changeMartin Willi2015-02-201-0/+9
|
* ikev1: Move fragment generation to message_tTobias Brunner2014-10-101-2/+4
|
* bus: Add ike_reestablish_pre hook, called before DNS resolutionTobias Brunner2014-07-221-3/+14
| | | | | The old hook is renamed to ike_reestablish_post and is now also called when the initiation of the new IKE_SA failed.
* bus: Add a handle_vips() hook invoked after handling configuration attributesMartin Willi2014-06-171-0/+8
| | | | | | | | | Similar to assign_vips() used by a peer assigning virtual IPs to the other peer, the handle_vips() hook gets invoked on a peers after receiving attributes. On release of the same attributes the hook gets invoked again. This is useful to inspect handled attributes, as the ike_updown() hook is invoked after authentication, when attributes have not been handled yet.
* bus: raise certificate validation alerts using credential manager hookMartin Willi2013-07-181-0/+14
|
* Raise an alert if the responding peer narrowed traffic selectorsMartin Willi2013-06-191-0/+4
|
* Raise LOCAL_AUTH_FAILED alert after receiving AUTHENTICATION_FAILUREMartin Willi2013-05-151-1/+1
|
* emit a single assig_vips bus message for all VIPsAndreas Steffen2013-04-061-3/+2
|
* ifmap plugin subscribes to assing_vip bus signalAndreas Steffen2013-04-061-0/+9
|
* When IKEv1 DPD times out, raise missing SEND_RETRANSMIT_TIMOUT alertMartin Willi2013-03-141-1/+1
|
* Raise an alert if an IKE_SA could not have been reauthenticated and expiresMartin Willi2013-03-141-0/+2
|
* Fixed some typos, courtesy of codespellTobias Brunner2012-12-201-1/+1
|
* Raise an alert if IKE SA is keptAdrian-Ken Rueegsegger2012-12-201-0/+2
| | | | | This alert is raised when the establishment of a child SA fails but the IKE SA is kept.
* Raise an alert if half-open timeout limit reachedMartin Willi2012-12-191-0/+2
|
* Raise an alert if an authorize() hook failsMartin Willi2012-12-191-0/+2
|
* Raise an alert if allocating virtual IPs failsMartin Willi2012-12-191-0/+2
|
* Raise an alert if kernel policy installation failsMartin Willi2012-12-191-0/+2
|
* Raise an alert if kernel SA installation failsMartin Willi2012-12-191-0/+2
|
* Raise an alert on traffic selector mismatchMartin Willi2012-12-191-0/+3
|
* Raise alerts when enforcing IKE_SA unique policyMartin Willi2012-12-191-0/+4
|
* Raise an alert if CHILD_SA proposals mismatchMartin Willi2012-12-191-0/+2
|
* Raise an alert if IKE proposals mismatchMartin Willi2012-12-191-0/+2
|
* Raise an alert of generating local authentication data failsMartin Willi2012-12-191-0/+2
|
* Add alerts for sent/received message retransmissions and timeoutMartin Willi2012-11-291-0/+6
|
* Moved debug.[ch] to utils folderTobias Brunner2012-10-241-1/+1
|
* Raise a bus alert when IKE message body parsing failsMartin Willi2012-10-241-0/+3
|
* Raise a bus alert when IKE message header parsing failsMartin Willi2012-10-241-0/+2
|
* Raise a bus alert when a received message contains unknown SPIsMartin Willi2012-10-241-0/+2
|
* Added a new alert that is raised if peer does not respond to initial IKE messageTobias Brunner2012-10-161-0/+2
|
* Add a responder narrow() hook to change TS in the kernel, but not on the wireMartin Willi2012-09-111-0/+2
|
* Add ike_reestablish() event that is triggered when an IKE_SA is reestablishedTobias Brunner2012-09-061-0/+8
| | | | | This is particularly useful during reauthentication to get the new IKE_SA.
* Removed superfluous @param in bus.h.Tobias Brunner2012-05-181-1/+0
|
* Loggers specify what log messages they want to receive during registration.Tobias Brunner2012-05-021-0/+8
| | | | | | | 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-6/+22
| | | | | | | | 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-2/+6
| | | | | | | | | | | 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.
* Remove obsolete bus_t.listen() method.Tobias Brunner2012-05-021-23/+7
|
* Invoke bus_t.message hook twice, once plain and parsed, once encoded and ↵Martin Willi2012-03-201-1/+6
| | | | encrypted
* Pass IKEv1 specific keymat to ike_keys hookMartin Willi2012-03-201-2/+5
|
* bus->listen() and the controller wrappers accept a timeout to wait for callbacksMartin Willi2011-08-261-1/+3
|
* Throw an alert if authentication of the peer fails (not only for initiator).Tobias Brunner2011-08-121-2/+2
|
* Throw an alert when the peer address cannot be resolved during initiation.Tobias Brunner2011-08-121-0/+2
|
* Throw an alert via bus_t when remote authentication fails.Tobias Brunner2011-08-121-2/+4
|
* Fixed common misspellings.Tobias Brunner2011-07-201-1/+1
| | | | Mostly found by 'codespell'.
* Pass the CREATE_CHILD_SA initiator flag to the child_keys parameterMartin Willi2010-07-261-2/+3
|