[zeromq-dev] what happens with concurrent handshakes in curve ?

Laurent Alebarde l.alebarde at free.fr
Sat Sep 28 10:24:48 CEST 2013


Hi all,

I am wondering what may happen with the curve handcheck mechanism in the 
following situation. I am making some assessments of how I think it 
works, with questions marks waiting for confirmation or corrections :

Say we have a server somewhere in the web, and two clients behind the 
same router (say two users in the same company).

 1.  From the server, both clients have the same IP, but different ports
    allocated by the company's router ?
 2. So the identities of the clients are different for the server's
    ROUTER socket and there is no collision in the handchecks even if
    they occur simultaneously ?
 3. libzmq creates one instance of options_t and curve_server_t for each
    client ?
 4. The server long term key pair may be the same for all clients, or
    different ?
 5. If I need the client's IP and port at application level in the
    server, I can put them in the identity of the client in the client
    application, or in the data only ?

Cheers,


Laurent.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130928/4a19b433/attachment.htm>


More information about the zeromq-dev mailing list