aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/bus
Commit message (Collapse)AuthorAgeFilesLines
* 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-192-0/+6
|
* 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
|
* 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.
* 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
|
* Make syslog and file loggers configurable at runtimeTobias Brunner2012-10-184-21/+157
|
* 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-063-0/+48
| | | | | This is particularly useful during reauthentication to get the new IKE_SA.
* Don't modify the message string passed to logger, as it gets reusedMartin Willi2012-07-133-21/+25
|
* Log to a malloc()ed buffer if the on-stack buffer is not large enoughMartin Willi2012-07-131-3/+23
|
* 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-025-116/+261
| | | | | | | 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.
* Ensure that multi-line log messages are not torn apart.Tobias Brunner2012-05-022-0/+20
|
* Use a separate interface for loggers.Tobias Brunner2012-05-028-247/+198
| | | | | | | | 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-023-73/+168
| | | | | | | | | | | 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-022-82/+7
|
* Invoke bus_t.message hook twice, once plain and parsed, once encoded and ↵Martin Willi2012-03-203-4/+13
| | | | encrypted
* Pass IKEv1 specific keymat to ike_keys hookMartin Willi2012-03-203-7/+14
|
* 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-262-5/+29
|
* 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-202-2/+2
| | | | Mostly found by 'codespell'.
* 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.
* Cache group name in sys_logger_t to avoid problems with Vstr.Tobias Brunner2011-05-031-3/+5
| | | | | Because syslog(3) is not replaced when using the Vstr wrapper, %N can not be resolved properly.
* Migrated sys_logger_t to INIT/METHOD macros.Tobias Brunner2011-05-031-23/+20
|
* Migrated file_logger_t to INIT/METHOD macros.Tobias Brunner2011-05-031-25/+22
|
* 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
|
* Added a ike_name logger option to prefix the IKE_SA name on each lineMartin Willi2010-08-254-12/+57
|
* Pass the CREATE_CHILD_SA initiator flag to the child_keys parameterMartin Willi2010-07-263-6/+9
|
* Added a hook to narrow traffic selectors for CHILD_SAsMartin Willi2010-07-133-0/+85
|
* Moved bus_t to METHOD/INIT macrosMartin Willi2010-07-131-108/+69
|