[zeromq-dev] Cannot get epgm pubsub to work

2012-12-13 Thread John Cheng
To try out ZeroMQ, I've installed pyzmq and zeromq 2.2.0. When I run the example publisher.py, I am able to see UDP packages via tcpdump, e.g., $ python examples/pubsub/publisher.py epgm://eth1;239.0.1.1:34415 3 5 [root@vagrant-centos-5 ~]# tcpdump -i eth1 tcpdump: verbose output suppressed, use

Re: [zeromq-dev] Cannot get epgm pubsub to work

2012-12-13 Thread Steven McCoy
On 13 December 2012 15:33, John Cheng johnlich...@gmail.com wrote: However, the example subscribe never receives any messages: Separate hosts are required on the network, PGM is not supported localhost, use IPC or ITC instead. -- Steve-o ___

Re: [zeromq-dev] general strategy for sending data over epgm

2012-12-13 Thread Steven McCoy
On 3 December 2012 17:19, Justin Karneges jus...@affinix.com wrote: Slightly OT, but I wonder if RATE might be a useful feature to allow for all PUB sockets (and maybe just all sockets), rather than restricted to pgm only. It seems to me that you want to use RATE when you need to slow down

Re: [zeromq-dev] general strategy for sending data over epgm

2012-12-13 Thread Steven McCoy
On 3 December 2012 15:39, mlist user mlist.user8...@gmail.com wrote: Hi list, First post here. I would like to figure out how you guys manage to send data at certain frequency. For e.g., if I send small'ish {k,v} over epgm over 100mb link with 0.60ms RTT, i need to sleep only 2 second per

[zeromq-dev] Sub problem

2012-12-13 Thread Stefan de Konink
Hi, I am still observing a case were a connected ZeroMQ Sub is still not receiving any data anymore after a certain period of idle time without any data. We are willing to test this with exact numbers (our estimation is that less than 4 hours no data results in a dead client) but in the mean

Re: [zeromq-dev] Sub problem

2012-12-13 Thread Pieter Hintjens
Hi Stefan, Are you connecting SUB to PUB via some firewall or proxy, or is this a direct connection? Also, is the publisher silent for long periods of time? The reason I ask is that we've seen connections going 'stale' sometimes; TCP not reporting an error at the client side but not

Re: [zeromq-dev] Titanic SP with encrypted data transfer

2012-12-13 Thread Pieter Hintjens
On Thu, Dec 13, 2012 at 11:42 PM, Jovan Kostovski chomb...@gmail.com wrote: I know that ZeroMQ supports TLS shared keys encryption... It doesn't, yet, unfortunately. If you need encryption, you will need to either do it at a lower layer (VPN), which is usually quite nasty, or else modify the

Re: [zeromq-dev] Sub problem

2012-12-13 Thread Stefan de Konink
Hi Pieter, On 12/14/12 00:20, Pieter Hintjens wrote: Are you connecting SUB to PUB via some firewall or proxy, or is this a direct connection? The same (local) iptables as before, just accept/drop, without any connection tracking what so ever. Also, is the publisher silent for long periods

Re: [zeromq-dev] Sub problem

2012-12-13 Thread Pieter Hintjens
On Fri, Dec 14, 2012 at 12:23 AM, Stefan de Konink ste...@konink.de wrote: The same (local) iptables as before, just accept/drop, without any connection tracking what so ever. I recall last time you found the problem didn't happen when you connected directly, only when you went via iptables?

Re: [zeromq-dev] Titanic SP with encrypted data transfer

2012-12-13 Thread Justin Karneges
On Friday, December 14, 2012 12:23:19 AM Pieter Hintjens wrote: On Thu, Dec 13, 2012 at 11:42 PM, Jovan Kostovski chomb...@gmail.com wrote: I know that ZeroMQ supports TLS shared keys encryption... It doesn't, yet, unfortunately. If you need encryption, you will need to either do it at