[strongSwan-dev] High Availability

Martin Willi martin at strongswan.org
Mon May 2 15:53:10 CEST 2011


> What I don't get is: How the connection is launched then? 
> By the way, I could see that the message is sent through the socket
> send_stroke_msn(&msg).

send_stroke_msg() sends a message over a UNIX socket to the daemon. The
daemon listens in stroke_socket.c:process() and dispatches these
messages. stroke_initiate() then calls initiate() on controller_t. This
call waits until the SA is established and redirects logging output via
the UNIX socket back to the stroke tool and finally to your console.

Regards
Martin





More information about the Dev mailing list