aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * duplicheck: use a stream service to accept client connectionsMartin Willi2013-07-184-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 requestsMartin Willi2013-07-181-227/+48
| |
| * stream: allow async read/write callback to destroy the stream explicitlyMartin Willi2013-07-182-10/+15
| |
| * stream: don't close underlying socket when creating a stream from itMartin Willi2013-07-181-1/+6
| |
| * watcher: add some debugging statementsMartin Willi2013-07-181-0/+12
| |
| * watcher: if the processor has no threads, execute the job with watcher threadMartin Willi2013-07-181-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 Willi2013-07-182-1/+17
| |
| * watcher: unregister a watcher FD if its thread gets cancelledMartin Willi2013-07-181-0/+13
| |
| * watcher: release threads waiting in remove() when watcher thread gets cancelledMartin Willi2013-07-181-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 callbackMartin Willi2013-07-182-4/+5
| |
| * stream: add read/write_all() methods to streamMartin Willi2013-07-182-2/+73
| |
| * stream: support cancellation of stream service callbackMartin Willi2013-07-181-2/+3
| |
| * stream: use a service constructor to create servicesMartin Willi2013-07-182-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* getterMartin Willi2013-07-182-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 callbacksMartin Willi2013-07-184-7/+71
| |
| * stream: add a job priority option to stream servicesMartin Willi2013-07-184-7/+24
| |
| * stream: add backlog option to stream services, forward to listen()Martin Willi2013-07-184-11/+15
| |
| * stream: add support for TCP stream servicesMartin Willi2013-07-183-0/+53
| |
| * stream: add support for TCP streamsMartin Willi2013-07-183-2/+108
| |
| * stream: add support for UNIX stream servicesMartin Willi2013-07-183-0/+61
| |
| * stream: add support for UNIX streamsMartin Willi2013-07-183-0/+77
| |
| * stream: support async operation using watcherMartin Willi2013-07-182-0/+142
| |
| * stream: add printf()-style covenience functionsMartin Willi2013-07-182-1/+60
| |
| * stream: create library instance of stream-managerMartin Willi2013-07-185-5/+13
| |
| * stream: add a manager to dynamically register streams and servicesMartin Willi2013-07-184-3/+389
| |
| * stream: add a stream service class abstracting services using BSD socketsMartin Willi2013-07-184-0/+238
| |
| * stream: add a stream class abstracting BSD socketsMartin Willi2013-07-184-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 descriptorsMartin Willi2013-07-186-3/+504
|/
* kernel-pfkey: Fail route installation if remote TS matches peerTobias Brunner2013-07-181-0/+8
|
* kernel-libipsec: Fail route installation if remote TS matches peerTobias Brunner2013-07-181-0/+9
|
* capabilities: Some plugins don't actually require capabilities at runtimeTobias Brunner2013-07-1813-14/+17
|
* capabilities: Add function to check if a capability is held, without keeping itTobias Brunner2013-07-182-45/+75
| | | | | This can be useful if capabilities are not required anymore after dropping privileges.
* NEWS: leak-detective improvementsMartin Willi2013-07-181-0/+4
|
* NEWS: add keychain pluginMartin Willi2013-07-181-1/+2
|
* autoconf: replace autogen.sh custom script with a call to autoreconf -iMartin Willi2013-07-181-18/+1
|
* automake: replace INCLUDES by AM_CPPFLAGSMartin Willi2013-07-18149-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.acMartin Willi2013-07-182-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.
* eap-sim-pcsc: fix compiler warningMartin Willi2013-07-181-2/+1
|
* nm: omit deprecated g_type_init() when using >= GLIB 2.36Martin Willi2013-07-181-0/+2
|
* soup: omit deprecated g_type_init() when using >= GLIB 2.36Martin Willi2013-07-181-0/+2
|
* libfast: cancel thread if it fails to accept fcgi sessionsMartin Willi2013-07-181-1/+5
|
* libfast: add a fast_ prefix to all classes, avoiding namespace clashesMartin Willi2013-07-1834-369/+372
|
* Merge branch 'charon-xpc'Martin Willi2013-07-1825-40/+2358
|\ | | | | | | | | | | Implement a charon daemon controlled by the Apple specific XPC mechanism, acting as a backend for a yet to build unprivileged GUI. The keychain plugin coming with this merge provides certificates from the OS X keychain service.
| * xpc: allow easy copy & pase of ./configure instructionsMartin Willi2013-07-181-9/+9
| |
| * xpc: use -idirafter to build against openssl headers from /usr/includeMartin Willi2013-07-181-4/+4
| |
| * xpc: forward some risen alerts over XPC to AppMartin Willi2013-07-181-0/+57
| |
| * xpc: enable close_ike_on_child_failureMartin Willi2013-07-181-0/+2
| |
| * xpc: send a "connecting" event when establishing a connection startsMartin Willi2013-07-181-0/+27
| |
| * xpc: use osx-attr plugin to install configuration attributesMartin Willi2013-07-182-3/+6
| |
| * xpc: update README with new events, markdown style fixesMartin Willi2013-07-181-21/+31
| |