Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | whitelist: fix error handling when creating the socket fails | Martin Willi | 2013-07-18 | 1 | -0/+6 | |
| | | ||||||
| * | lookip: fix error handling when creating the socket fails | Martin Willi | 2013-07-18 | 1 | -1/+7 | |
| | | ||||||
| * | error-notify: fix error handling when creating the socket fails | Martin Willi | 2013-07-18 | 1 | -0/+6 | |
| | | ||||||
| * | kernel-pfroute: use watcher to receive kernel events | Martin Willi | 2013-07-18 | 1 | -17/+13 | |
| | | ||||||
| * | kernel-pfkey: use watcher to receive networking events | Martin Willi | 2013-07-18 | 1 | -19/+13 | |
| | | ||||||
| * | kernel-netlink: use watcher to receive kernel events for net/ipsec | Martin Willi | 2013-07-18 | 2 | -35/+24 | |
| | | ||||||
| * | eap-radius: use watcher instead of receiver thread on DAE socket | Martin Willi | 2013-07-18 | 1 | -11/+7 | |
| | | ||||||
| * | dhcp: use watcher instead of dedicated receiver thread | Martin Willi | 2013-07-18 | 1 | -10/+8 | |
| | | ||||||
| * | farp: use watcher instead of dedicated receiver thread | Martin Willi | 2013-07-18 | 1 | -11/+6 | |
| | | ||||||
| * | load-tester: use a stream service to dispatch control connections | Martin Willi | 2013-07-18 | 2 | -93/+27 | |
| | | ||||||
| * | whitelist: use a stream service to accept client connections | Martin Willi | 2013-07-18 | 3 | -121/+106 | |
| | | | | | | | | | | Use SOCK_STREAM, as we don't have SOCK_SEQPACKET on TCP. To have network transparency, the message now uses network byte order. | |||||
| * | lookip: use stream service with async I/O dispatching | Martin Willi | 2013-07-18 | 5 | -256/+294 | |
| | | | | | | | | | | Now uses SOCK_STREAM, as SOCK_SEQPACKET is not available over TCP. To have network transparency, the message now uses network byte order. | |||||
| * | error-notify: use a stream service to accept client connections | Martin Willi | 2013-07-18 | 4 | -122/+103 | |
| | | | | | | | | | | As TCP does not have SOCK_SEQPACKET, we now use SOCK_STREAM for the error-notify socket. To have network transparency, the message now uses network byte order. | |||||
| * | duplicheck: use a stream service to accept client connections | Martin Willi | 2013-07-18 | 4 | -105/+146 | |
| | | | | | | | | | | | | As we can't use SOCK_SEQPACKET over TCP, we now have to provide message boundaries ourselves. We do this by appending a 16-bit length header to each sent duplicate identity. | |||||
| * | stroke: use a stream service to handle stroke requests | Martin Willi | 2013-07-18 | 1 | -227/+48 | |
| | | ||||||
| * | stream: allow async read/write callback to destroy the stream explicitly | Martin Willi | 2013-07-18 | 2 | -10/+15 | |
| | | ||||||
| * | stream: don't close underlying socket when creating a stream from it | Martin Willi | 2013-07-18 | 1 | -1/+6 | |
| | | ||||||
| * | watcher: add some debugging statements | Martin Willi | 2013-07-18 | 1 | -0/+12 | |
| | | ||||||
| * | watcher: if the processor has no threads, execute the job with watcher thread | Martin Willi | 2013-07-18 | 1 | -11/+19 | |
| | | | | | | | | | | This is important during shutdown, where we might need to signal some FDs while all idle threads are gone already. | |||||
| * | processor: add a getter for the threads passed to set_threads() | Martin Willi | 2013-07-18 | 2 | -1/+17 | |
| | | ||||||
| * | watcher: unregister a watcher FD if its thread gets cancelled | Martin Willi | 2013-07-18 | 1 | -0/+13 | |
| | | ||||||
| * | watcher: release threads waiting in remove() when watcher thread gets cancelled | Martin Willi | 2013-07-18 | 1 | -0/+24 | |
| | | | | | | | | | | | | | | During daemon shutdown, users might call remove() after processor.set_threads(0) has been called. This gets problematic, as a watch event might be unable to signal completion when no threads are available anymore. Work around this issue by cancelling waiters once processor.cancel() has been called. | |||||
| * | stream: support keeping the service alive outside of service callback | Martin Willi | 2013-07-18 | 2 | -4/+5 | |
| | | ||||||
| * | stream: add read/write_all() methods to stream | Martin Willi | 2013-07-18 | 2 | -2/+73 | |
| | | ||||||
| * | stream: support cancellation of stream service callback | Martin Willi | 2013-07-18 | 1 | -2/+3 | |
| | | ||||||
| * | stream: use a service constructor to create services | Martin Willi | 2013-07-18 | 2 | -77/+8 | |
| | | | | | | | | | | | | It does not make much sense to reference running services in the manager, especially as unregistration would need the URI (which a user would have to store instead of the service reference). | |||||
| * | stream: replace print/vprint() convenience functions by a FILE* getter | Martin Willi | 2013-07-18 | 2 | -51/+20 | |
| | | | | | | | | | | While this will complicate the implementation of streams not based on a fd, it allows us to unleash the full power of FILE based convenience functions. | |||||
| * | stream: add a concurrency option to services, limiting parallel callbacks | Martin Willi | 2013-07-18 | 4 | -7/+71 | |
| | | ||||||
| * | stream: add a job priority option to stream services | Martin Willi | 2013-07-18 | 4 | -7/+24 | |
| | | ||||||
| * | stream: add backlog option to stream services, forward to listen() | Martin Willi | 2013-07-18 | 4 | -11/+15 | |
| | | ||||||
| * | stream: add support for TCP stream services | Martin Willi | 2013-07-18 | 3 | -0/+53 | |
| | | ||||||
| * | stream: add support for TCP streams | Martin Willi | 2013-07-18 | 3 | -2/+108 | |
| | | ||||||
| * | stream: add support for UNIX stream services | Martin Willi | 2013-07-18 | 3 | -0/+61 | |
| | | ||||||
| * | stream: add support for UNIX streams | Martin Willi | 2013-07-18 | 3 | -0/+77 | |
| | | ||||||
| * | stream: support async operation using watcher | Martin Willi | 2013-07-18 | 2 | -0/+142 | |
| | | ||||||
| * | stream: add printf()-style covenience functions | Martin Willi | 2013-07-18 | 2 | -1/+60 | |
| | | ||||||
| * | stream: create library instance of stream-manager | Martin Willi | 2013-07-18 | 5 | -5/+13 | |
| | | ||||||
| * | stream: add a manager to dynamically register streams and services | Martin Willi | 2013-07-18 | 4 | -3/+389 | |
| | | ||||||
| * | stream: add a stream service class abstracting services using BSD sockets | Martin Willi | 2013-07-18 | 4 | -0/+238 | |
| | | ||||||
| * | stream: add a stream class abstracting BSD sockets | Martin Willi | 2013-07-18 | 4 | -3/+205 | |
| | | | | | | | | | | Currently only synchronous operation is supported, but this will be extended with asynchronous methods using the new watcher. | |||||
| * | watcher: add a centralized an generic facility to monitor file descriptors | Martin Willi | 2013-07-18 | 6 | -3/+504 | |
|/ | ||||||
* | kernel-pfkey: Fail route installation if remote TS matches peer | Tobias Brunner | 2013-07-18 | 1 | -0/+8 | |
| | ||||||
* | kernel-libipsec: Fail route installation if remote TS matches peer | Tobias Brunner | 2013-07-18 | 1 | -0/+9 | |
| | ||||||
* | capabilities: Some plugins don't actually require capabilities at runtime | Tobias Brunner | 2013-07-18 | 13 | -14/+17 | |
| | ||||||
* | capabilities: Add function to check if a capability is held, without keeping it | Tobias Brunner | 2013-07-18 | 2 | -45/+75 | |
| | | | | | This can be useful if capabilities are not required anymore after dropping privileges. | |||||
* | NEWS: leak-detective improvements | Martin Willi | 2013-07-18 | 1 | -0/+4 | |
| | ||||||
* | NEWS: add keychain plugin | Martin Willi | 2013-07-18 | 1 | -1/+2 | |
| | ||||||
* | autoconf: replace autogen.sh custom script with a call to autoreconf -i | Martin Willi | 2013-07-18 | 1 | -18/+1 | |
| | ||||||
* | automake: replace INCLUDES by AM_CPPFLAGS | Martin Willi | 2013-07-18 | 149 | -546/+746 | |
| | | | | | | INCLUDES are now deprecated and throw warnings when using automake 1.13. We now also differentiate AM_CPPFLAGS and AM_CFLAGS, where includes and defines are passed to AM_CPPFLAGS only. | |||||
* | autoconf: rename configure.in to configure.ac | Martin Willi | 2013-07-18 | 2 | -2/+2 | |
| | | | | | | configure.ac has been the recommended name for autoconf input for several years now. Newer autotools start to complain about the configure.in, so we finally change it. |