[zeromq-dev] zproxy and curve

Pieter Hintjens ph at imatix.com
Wed Apr 22 15:35:45 CEST 2015


Nice. if you want to publish that piece of code, others may enjoy
seeing how you did it.

On Wed, Apr 22, 2015 at 12:43 PM, Alan Ward <alan.ward at btinternet.com> wrote:
> Hi Pieter,
>
> Thanks for the replies.
> In the end I cooked my own proxy using a zpoller loop.
> This also allows me to handle close down more cleanly.
>
> Thanks,
> Alan
>
> -----Original Message-----
> From: zeromq-dev-bounces at lists.zeromq.org [mailto:zeromq-dev-bounces at lists.zeromq.org] On Behalf Of Pieter Hintjens
> Sent: 20 April 2015 12:25
> To: ZeroMQ development list
> Subject: Re: [zeromq-dev] zproxy and curve
>
> Maybe I should wait another 5 minutes so you can answer the question :-)
>
> Indeed, there is no support for configuring CURVE security on the zproxy sockets.
>
> Two options. A is to add this, which is a fun exercise for someone who wants to explore how CZMQ actors work. B, use zmq_proxy as you were before, using zsock_resolve () to get the ZMQ socket handle.
>
>
>
>
>
> On Mon, Apr 20, 2015 at 11:54 AM, Alan Ward <alan.ward at btinternet.com> wrote:
>>
>> Hi again,
>>
>>
>>
>> OK. Having delved a bit deeper it looks like I should be using zproxy rather than zmq_proxy.
>>
>>
>>
>> I now have a problem in that I can’t determine how to connect my frontend socket with CURVE security as the socket I wish to secure is within zproxy.
>>
>>
>>
>> Thanks
>>
>> Alan
>>
>>
>>
>>
>>
>>
>>
>> From: zeromq-dev-bounces at lists.zeromq.org
>> [mailto:zeromq-dev-bounces at lists.zeromq.org] On Behalf Of Alan Ward
>> Sent: 20 April 2015 09:12
>> To: zeromq-dev at lists.zeromq.org
>> Subject: [zeromq-dev] zmq_proxy problem
>>
>>
>>
>> Hi,
>>
>>
>>
>> I have a system that has been using zmq_proxy for a while to distribute work across a number of worker processes..
>>
>>
>>
>> It was using zsocket etc.
>>
>>
>>
>> I am in the process of upgrading the system to use zsock, zactor etc and all is going well – except that zmq-proxy is no longer working.
>>
>>
>>
>> Apart from the change to zsock the code has not changed and zmq_proxy is just falling through with no error message.
>>
>>
>>
>> The frontend is a normal tcp socket from an external client; the backed is a set of 3 ipc sockets.
>>
>>
>>
>> Any ideas?
>>
>>
>>
>> Thanks,
>>
>> Alan
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> zeromq-dev mailing list
>> zeromq-dev at lists.zeromq.org
>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev



More information about the zeromq-dev mailing list