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

Pieter Hintjens ph at imatix.com
Sat Sep 28 14:41:36 CEST 2013


On Sat, Sep 28, 2013 at 10:24 AM, Laurent Alebarde <l.alebarde at free.fr> wrote:

> From the server, both clients have the same IP, but different ports
> allocated by the company's router ?

Sure.

> 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 ?

RIght.

> libzmq creates one instance of options_t and curve_server_t for each client?

Yes.

> The server long term key pair may be the same for all clients, or different?

Yes.

> 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 ?

The port isn't available. The IP address is provided to the ZAP
handler, and may later be exposed to applications too.

-Pieter



More information about the zeromq-dev mailing list