[zeromq-dev] curve : switch off security

2013-09-21 Thread Laurent Alebarde
Hi Pieter, After some thinking, I think the following would be nice to switch off security : BEFORE : int as_server = 1; rc = zmq_setsockopt (server, ZMQ_PARANO_SERVER, as_server, sizeof (int)); // perform some CURVE exchanges // remove security int as_server = 0; rc = zmq_setsockopt (server,

[zeromq-dev] Trouble building CZMQ master with libzmq installed to ${prefix}/lib64

2013-09-21 Thread KIU Shueng Chuan
Hi, Using OpenSUSE 12.3 x64 with distribution packaged ZeroMQ 3.2.2 installed to /usr/lib64. Built libzmq master with: ./configure --prefix=/home/user/local Libraries get installed to /home/user/local/lib64 (The same problem occurs if I don't supply the prefix, it just gets installed to

Re: [zeromq-dev] curve : switch off security

2013-09-21 Thread Pieter Hintjens
What is the use case for switching off security? I mean, do we have a concrete example where this is necessary? If not, I'd recommend the pattern where one socket has one configured security level, period. The risk of confusion and error is otherwise much higher (I want CURVE on this tcp://

Re: [zeromq-dev] Trouble building CZMQ master with libzmq installed to ${prefix}/lib64

2013-09-21 Thread Pieter Hintjens
The problem isn't caused by the install location but by an addition to the ZMQ API that the latest CZMQ depends on. I'll fix the CZMQ master so it builds correctly on older ZMQ versions as advertised. -Pieter ___ zeromq-dev mailing list

Re: [zeromq-dev] curve : switch off security

2013-09-21 Thread Laurent Alebarde
I have no use case to exhibit. I agree with you that if it is not desirable nor usefull, it should be impossible. Le 21/09/2013 11:42, Pieter Hintjens a écrit : What is the use case for switching off security? I mean, do we have a concrete example where this is necessary? If not, I'd

Re: [zeromq-dev] Trouble building CZMQ master with libzmq installed to ${prefix}/lib64

2013-09-21 Thread Pieter Hintjens
Oh, sorry, missed that detail. There was a problem with CZMQ and ZeroMQ 3.2, which I've fixed also. On Sat, Sep 21, 2013 at 11:57 AM, KIU Shueng Chuan nixch...@gmail.com wrote: I was trying to build czmq master against libzmq master, not against zeromq 3.2.2. Manually editing the makefile to

Re: [zeromq-dev] ZeroMQ/4.0.0 rc1 is now available

2013-09-21 Thread Ian Barber
Awesome stuff, great job all, and thanks for wrangling the release Pieter! Ian On 20 September 2013 16:23, Pieter Hintjens p...@imatix.com wrote: On Fri, Sep 20, 2013 at 5:18 PM, AJ Lewis aj.le...@quantum.com wrote: Ignore that - it was user error: I accidentally ran two builds in the

Re: [zeromq-dev] Trouble building CZMQ master with libzmq installed to ${prefix}/lib64

2013-09-21 Thread KIU Shueng Chuan
According to http://stackoverflow.com/questions/4791699/gcc-looks-for-headers-in-usr-local-include-when-compiling-but-not-for-librarie, it seems it's going to be a problem to have distro packaged zmq development headers in /usr and libzmq master in /usr/local Current workaround, install libzmq

Re: [zeromq-dev] Trouble building CZMQ master with libzmq installed to ${prefix}/lib64

2013-09-21 Thread KIU Shueng Chuan
Correction: ./configure --with-libzmq=/home/user/local does work, but I needed to link lib64 to lib ln -s /home/user/local/lib64 /home/user/local/lib On Sun, Sep 22, 2013 at 11:20 AM, KIU Shueng Chuan nixch...@gmail.comwrote: According to