Tobias Brunner
7867ae42ab
lookip: Properly return from disconnect callback job
...
References #518 .
2014-02-18 11:21:51 +01:00
Martin Willi
961409b668
lookip: Disconnect asynchronously to avoid dead-locking watcher unregistration
...
While it really would be desirable to allow stream destruction during on_read()
callbacks, this does not work anymore since e49b2998 . Until we have a proper
solution for this issue, use asynchronous disconnects for the only user doing
so.
Fixes #518 .
2014-02-17 09:48:55 +01:00
Tobias Brunner
d223fe807a
libcharon: Use lib->ns instead of charon->name
2014-02-12 14:34:32 +01:00
Martin Willi
091d0afa21
lookip: use stream service with async I/O dispatching
...
Now uses SOCK_STREAM, as SOCK_SEQPACKET is not available over TCP. To have
network transparency, the message now uses network byte order.
2013-07-18 16:00:29 +02:00
Tobias Brunner
a2eb581781
capabilities: Move global capabilities_t instance to libstrongswan
2013-06-25 17:16:32 +02:00
Martin Willi
db9c8b6fba
Fix passing of IKE_SA unique_id over lookip socket
2012-11-30 13:44:12 +01:00
Martin Willi
2685020ace
Lookip plugin additionally reports the IKE_SA unique identifier
2012-11-29 10:00:45 +01:00
Tobias Brunner
12642a6831
Moved data structures to new collections subfolder
2012-10-24 16:00:49 +02:00
Martin Willi
9d422bb1b0
Send a lookip NOT_FOUND reply if a lookup yields no results
2012-10-24 11:43:34 +02:00
Martin Willi
31576ceddf
Handle multiple lookip connections using a single FDSET
2012-10-24 11:43:34 +02:00
Martin Willi
28683ef137
Renamed list to store listening lookip clients
2012-10-24 11:43:34 +02:00
Martin Willi
bae50c7393
Handle client subscriptions in lookip plugin
2012-10-24 11:43:34 +02:00
Martin Willi
7650dd9a4f
Add a lookip server side UNIX socket processing LOOKUP and DUMP requests
2012-10-24 11:43:34 +02:00