Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Removed superfluous @param in bus.h. | Tobias Brunner | 2012-05-18 | 1 | -1/+0 | |
| | ||||||
* | Loggers specify what log messages they want to receive during registration. | Tobias Brunner | 2012-05-02 | 5 | -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 Brunner | 2012-05-02 | 2 | -0/+20 | |
| | ||||||
* | Use a separate interface for loggers. | Tobias Brunner | 2012-05-02 | 8 | -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 Brunner | 2012-05-02 | 3 | -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 Brunner | 2012-05-02 | 1 | -39/+9 | |
| | ||||||
* | Remove obsolete bus_t.listen() method. | Tobias Brunner | 2012-05-02 | 2 | -82/+7 | |
| | ||||||
* | Invoke bus_t.message hook twice, once plain and parsed, once encoded and ↵ | Martin Willi | 2012-03-20 | 3 | -4/+13 | |
| | | | | encrypted | |||||
* | Pass IKEv1 specific keymat to ike_keys hook | Martin Willi | 2012-03-20 | 3 | -7/+14 | |
| | ||||||
* | Properly remove listener when listen() times out | Martin Willi | 2011-08-31 | 1 | -0/+1 | |
| | ||||||
* | bus->listen() and the controller wrappers accept a timeout to wait for callbacks | Martin Willi | 2011-08-26 | 2 | -5/+29 | |
| | ||||||
* | Throw an alert if authentication of the peer fails (not only for initiator). | Tobias Brunner | 2011-08-12 | 1 | -2/+2 | |
| | ||||||
* | Throw an alert when the peer address cannot be resolved during initiation. | Tobias Brunner | 2011-08-12 | 1 | -0/+2 | |
| | ||||||
* | Throw an alert via bus_t when remote authentication fails. | Tobias Brunner | 2011-08-12 | 1 | -2/+4 | |
| | ||||||
* | Fixed common misspellings. | Tobias Brunner | 2011-07-20 | 2 | -2/+2 | |
| | | | | Mostly found by 'codespell'. | |||||
* | Replaced ike_sa_t.create_child_sa_iterator with enumerator. | Tobias Brunner | 2011-07-06 | 1 | -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 Brunner | 2011-05-03 | 1 | -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 Brunner | 2011-05-03 | 1 | -23/+20 | |
| | ||||||
* | Migrated file_logger_t to INIT/METHOD macros. | Tobias Brunner | 2011-05-03 | 1 | -25/+22 | |
| | ||||||
* | Fix potential use after free | Thomas Egerer | 2011-01-19 | 1 | -1/+1 | |
| | ||||||
* | Refer to scheduler and processor via lib and not hydra. | Tobias Brunner | 2010-09-02 | 1 | -2/+1 | |
| | ||||||
* | Refer to processor via hydra and not charon. | Tobias Brunner | 2010-09-02 | 1 | -2/+2 | |
| | ||||||
* | Added a ike_name logger option to prefix the IKE_SA name on each line | Martin Willi | 2010-08-25 | 4 | -12/+57 | |
| | ||||||
* | Pass the CREATE_CHILD_SA initiator flag to the child_keys parameter | Martin Willi | 2010-07-26 | 3 | -6/+9 | |
| | ||||||
* | Added a hook to narrow traffic selectors for CHILD_SAs | Martin Willi | 2010-07-13 | 3 | -0/+85 | |
| | ||||||
* | Moved bus_t to METHOD/INIT macros | Martin Willi | 2010-07-13 | 1 | -108/+69 | |
| | ||||||
* | The file logger supports a time prefix using a strftime() format specifier | Martin Willi | 2010-07-08 | 2 | -7/+32 | |
| | ||||||
* | Moved syslog.h include. | Tobias Brunner | 2010-05-04 | 2 | -2/+1 | |
| | ||||||
* | Move debug groups from charon's bus.h to libstrongswan's debug.h. | Tobias Brunner | 2010-04-06 | 2 | -85/+7 | |
| | ||||||
* | Fixed some Doxygen warnings. | Tobias Brunner | 2010-03-24 | 1 | -2/+2 | |
| | ||||||
* | Convert charon into libcharon. | Tobias Brunner | 2010-03-19 | 1 | -1/+1 | |
| | ||||||
* | Moving charon to libcharon. | Tobias Brunner | 2010-03-19 | 7 | -0/+1637 | |