aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/networking/streams/stream_manager.c
Commit message (Collapse)AuthorAgeFilesLines
* streams: Remove registered systemd stream serviceTobias Brunner2017-10-181-0/+3
| | | | Fixes: 59db98fb941c ("stream: Add basic stream service for systemd sockets")
* stream: Add basic stream service for systemd socketsaszlig2017-10-101-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | This allows systemd socket activation by passing URIs such as systemd://foo to plugins such as VICI. For example setting charon.plugins.vici.socket = systemd://vici, a systemd socket file descriptor with the name "vici" will be picked up. So these would be the corresponding unit options: [Socket] FileDescriptorName=vici Service=strongswan.service ListenStream=/run/charon.vici The implementation currently is very basic and right now only the first file descriptor for a particular identifier is picked up if there are multiple socket units with the same FileDescriptorName. Signed-off-by: aszlig <aszlig@redmoonstudios.org> Closes strongswan/strongswan#79.
* stream: Separate TCP/Unix stream helpers from stream/service implementationsMartin Willi2014-06-041-4/+15
| | | | | | This allows us to disable Unix sockets cleanly on Windows. Replaces some read/write calls with recv/send counterparts, as Winsock does not like read/writes.
* stream: use a service constructor to create servicesMartin Willi2013-07-181-61/+4
| | | | | | 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: add a concurrency option to services, limiting parallel callbacksMartin Willi2013-07-181-2/+2
|
* stream: add a job priority option to stream servicesMartin Willi2013-07-181-2/+2
|
* stream: add backlog option to stream services, forward to listen()Martin Willi2013-07-181-2/+2
|
* stream: add support for TCP stream servicesMartin Willi2013-07-181-0/+2
|
* stream: add support for TCP streamsMartin Willi2013-07-181-0/+2
|
* stream: add support for UNIX stream servicesMartin Willi2013-07-181-0/+2
|
* stream: add support for UNIX streamsMartin Willi2013-07-181-0/+4
|
* stream: add a manager to dynamically register streams and servicesMartin Willi2013-07-181-0/+282