Re: [zeromq-dev] Using CurveZMQ to secure multiple sockets?

2016-10-05 Thread Mark Gillott
t. > OK so authentication/encryption needs to be (separately) applied to every socket. And if some other part of the system springs up a socket between client & server for its own use, it has to remember to build in the zauth/zcert calls. Mark > On 5 October 2016 at 09:27, Mark Gillott

[zeromq-dev] Using CurveZMQ to secure multiple sockets?

2016-10-05 Thread Mark Gillott
Suppose we have a server and one or more client applications that communicate using a number of 0MQ sockets; a ROUTER-DEALER, a PUB-SUB and a REP-REQ. Is it possible to use CurveZMQ to secure all of these connections? Using the various zactor, zcert & zsock_set_curve functions I can secure the

Re: [zeromq-dev] Access to underlying Linux socket?

2016-02-11 Thread Mark Gillott
On Wed, 2016-02-10 at 23:33 +, Luca Boccassi wrote: > On Feb 10, 2016 20:39, "Mark Gillott" <mgill...@brocade.com> wrote: > > > > On Wed, 2016-02-10 at 20:45 +0100, Pieter Hintjens wrote: > > > You can't do this really, since one ZeroMQ soc

Re: [zeromq-dev] Access to underlying Linux socket?

2016-02-11 Thread Mark Gillott
On Wed, 2016-02-10 at 23:33 +, Luca Boccassi wrote: > > > There is a new option on libzmq master that lets you pre-configure > a > > > FD and give it to ZeroMQ to use for its first pipe. (ZMQ_USE_FD). > > > > > > > Care to expand a bit more? Is there something (test code? source > module) > >

[zeromq-dev] Access to underlying Linux socket?

2016-02-10 Thread Mark Gillott
[I'm sure this must have been asked before, but can't find anything] Is there a facility or method to "map" a 0MQ socket to its supporting Linux socket? Working with a Linux kernel that has some new networking facility together with socket extensions to control the facility. With vanilla sockets

Re: [zeromq-dev] Access to underlying Linux socket?

2016-02-10 Thread Mark Gillott
hanism. > > > > That's the way I have liked it the best when these things came up with > > other systems. > > > > jerry > > > > On 02/10/2016 07:50 AM, Mark Gillott wrote: > >> [I'm sure this must have been asked before, but can't find anything] >