[zeromq-dev] Open file leak during DNS resolution while network is down (regression in libzmq-4.1.0 and libzmq-master) #1302

2015-01-19 Thread Tomas Krajca
Hi Peter, It's actually really simple, I have posted example C code to github at https://github.com/zeromq/libzmq/issues/1302. Am I doing something wrong or is it that obvious? There is no need for a poller or anything like that. It seems that DNS resolution during zmq_connect() somehow does

Re: [zeromq-dev] About CURVE and ROUTER sockets

2015-01-19 Thread Andre Caron
Thanks for clarifying that. At the moment, I'm using the directory for discovery so I can exchange keys through there at the same time as I discover peer ensuring that this edge case never happens. It's like hitting two birds with one stone :-) André On Jan 19, 2015, at 10:23 AM, Pieter

Re: [zeromq-dev] zyre

2015-01-19 Thread Andrew Hume
ahh, firewalld rears its ugly head. after allowing ports 5660, 5670 (and for testing), it works just fine! excellent progress. On Jan 19, 2015, at 5:00 AM, Andrew Hume and...@humeweb.com wrote: that looks promising. i downloaded it and the chat example doesn’t work (of course, i’m not

Re: [zeromq-dev] zyre

2015-01-19 Thread Brian Knox
Excellent! On Mon, Jan 19, 2015 at 8:18 AM, Andrew Hume and...@humeweb.com wrote: ahh, firewalld rears its ugly head. after allowing ports 5660, 5670 (and for testing), it works just fine! excellent progress. On Jan 19, 2015, at 5:00 AM, Andrew Hume and...@humeweb.com wrote: that

Re: [zeromq-dev] About CURVE and ROUTER sockets

2015-01-19 Thread André Caron
Ah, indeed, I could use the doubled-up router-dealer part of the Harmony pattern even with my current design. Makes sense. There's an edge case where a node tries to connect and is rejected as its peer hasn't yet received a key. If a peer is rejected by curve authentication, does ZMQ automatic

Re: [zeromq-dev] zyre

2015-01-19 Thread Andrew Hume
that looks promising. i downloaded it and the chat example doesn’t work (of course, i’m not entirely sure what the chat example is supposed to do, but it seems like you can type messages and they should appear (labelled) in other chat windows.) i’ll take a poke at it and see if something obvious

Re: [zeromq-dev] About CURVE and ROUTER sockets

2015-01-19 Thread Pieter Hintjens
On Mon, Jan 19, 2015 at 2:41 PM, André Caron andre.l.ca...@gmail.com wrote: If a peer is rejected by curve authentication, does ZMQ automatic reconnection still work (and will it successfully connect once the server receives the public key)? This is the part I'm not happy with. The client

Re: [zeromq-dev] Using ZeroMQ Security with gssapi

2015-01-19 Thread Peter Kleiweg
Mike Gatny schreef op de 18e dag van de louwmaand van het jaar 2015: But there is a gist! https://gist.github.com/cbusbey/11265987 We wrote this example back when we started the gssapi implementation, in the same spirit as Pieter's blog post examples. If you need something more, I'll be

Re: [zeromq-dev] zyre

2015-01-19 Thread Brian Knox
There is gyre - it hasn't had any work done on it in quite awhile as far as I can tell, and I've never tried to use it: https://github.com/zeromq/gyre I'm currently working on a zproto template that is compatible with goczmq here -

Re: [zeromq-dev] Open file leak during DNS resolution while network is down (regression in libzmq-4.1.0 and libzmq-master) #1302

2015-01-19 Thread Pieter Hintjens
Can your C++ programmer make a minimal test case in C that reproduces the problem? On Mon, Jan 19, 2015 at 1:55 AM, Tomas Krajca to...@repositpower.com wrote: Hi, I've reported this weird bug https://github.com/zeromq/libzmq/issues/1302 that we hit last week, I wonder if anybody experienced

Re: [zeromq-dev] zyre

2015-01-19 Thread Pieter Hintjens
There are no Go bindings yet, afaik. On Mon, Jan 19, 2015 at 12:30 AM, Andrew Hume and...@humeweb.com wrote: are there any Go bindings for the API? On Jan 18, 2015, at 10:14 AM, Pieter Hintjens p...@imatix.com wrote: Zyre has come along nicely, it works well and has a clean API. On Sun,