Re: [zeromq-dev] Sniffing connections

2013-04-12 Thread Herry Sitepu
Thanks Pieter :) Regards, Herry Sitepu On Fri, Apr 12, 2013 at 6:42 PM, Pieter Hintjens wrote: > On Fri, Apr 12, 2013 at 1:02 PM, Herry Sitepu wrote: > > > I have sniffed some of the traffic using the examples in the guide using > ngrep. The captured traffic are commented along with the bytes

Re: [zeromq-dev] A simple Request-Reply architecture is much slower than expected.

2013-04-12 Thread A. Mark
Can you supply the entire code? Your dealer and router are running in separate threads right? On Fri, Apr 12, 2013 at 7:19 PM, crocket wrote: > There is "Double Read(String name)" method, and it takes 50~60ms to call > Read() 1000 times. > > I made two message queues that are basically a wrappe

Re: [zeromq-dev] send() cause core dump or system pending

2013-04-12 Thread dennis
Dear Trevor Thank for your reply. I follow the bellowing step to build jzmq (same step on two machine) --- git clone git://github.com/zeromq/libzmq.git cd libzmq ./autogen.sh && ./configure && make && sudo make install && echo ":: ALL OK ::" sudo cp src/.libs/libzmq.so /usr/l

[zeromq-dev] A simple Request-Reply architecture is much slower than expected.

2013-04-12 Thread crocket
There is "Double Read(String name)" method, and it takes 50~60ms to call Read() 1000 times. I made two message queues that are basically a wrapper around that method. (Java Client)DEALER <-> ROUTER <-> Read() I expected the following code to take within 70ms to read 1000 times, but it t

Re: [zeromq-dev] Sniffing connections

2013-04-12 Thread Jose Pedro Oliveira
Matthew, Is Ettercap able to dissect ZMQ frames? Can't find references to one in the history http://ettercap.github.io/ettercap/downloads.html or in the dissectors source directory https://github.com/Ettercap/ettercap/tree/master/src/dissectors Regards, jpo On 2013-04-12 22:05, Matth

Re: [zeromq-dev] Sniffing connections

2013-04-12 Thread Garrett Smith
I was expecting a link to a something Burlesque, but ettercap is cool too. On Fri, Apr 12, 2013 at 4:05 PM, Matthew Kaufman wrote: > Please use http://ettercap.github.io/ettercap/ to understand everything in > life. > > > On Fri, Apr 12, 2013 at 4:58 PM, Jose Pedro Oliveira > wrote: >> >> On 20

Re: [zeromq-dev] Sniffing connections

2013-04-12 Thread Matthew Kaufman
Please use http://ettercap.github.io/ettercap/ to understand everything in life. On Fri, Apr 12, 2013 at 4:58 PM, Jose Pedro Oliveira wrote: > On 2013-04-10 18:12, Garrett Smith wrote: > > It's come to the point that I want to become very intimate with 0MQ > connections. > > > > I'd usually use

Re: [zeromq-dev] Sniffing connections

2013-04-12 Thread Jose Pedro Oliveira
On 2013-04-10 18:12, Garrett Smith wrote: > It's come to the point that I want to become very intimate with 0MQ > connections. > > I'd usually use tcpdump and watch port traffic but at the TCP level, > I'm guessing I won't learn much. Does anyone have some helpful tips to > start this process? G

Re: [zeromq-dev] czmq:zbeacon outgoing interface / broadcast routes / multiple interfaces

2013-04-12 Thread Pieter Hintjens
On Fri, Apr 12, 2013 at 6:03 PM, Joe Pulver wrote: > I'd like to use zbeacon as a discovery service. My devices (Linux) have > multiple interfaces (wired and wireless) and I would like to send beacons > out both interfaces. I think overwriting the broadcast address is a bug. It does all the wor

Re: [zeromq-dev] Delayed message reception problem.

2013-04-12 Thread Pieter Hintjens
On Fri, Apr 12, 2013 at 7:29 PM, Divya Mohan wrote: > Are there any sleep/wait (for semaphores) in the zeromq code that could send > my process to suspeneded/sleep state. I am not able to figure out why this > delay is seen when using ZeroMq and not with message queues. Can you make a simple tes

[zeromq-dev] czmq:zbeacon outgoing interface / broadcast routes / multiple interfaces

2013-04-12 Thread Joe Pulver
I'd like to use zbeacon as a discovery service. My devices (Linux) have multiple interfaces (wired and wireless) and I would like to send beacons out both interfaces. In my first attempt, zbeacon choose the wireless interface to publish on both devices, yet my two devices did not discover each ot

Re: [zeromq-dev] Delayed message reception problem.

2013-04-12 Thread Divya Mohan
Hi Pieter, I tried the same performance tests with POSIX message queues and there was no delay in receiving the messages. The same test with ZeroMQ showed delays of upto 470msec. Doesn't this mean that we can rule out the possibility of another process taking up CPU time randomly (as you had sugge

Re: [zeromq-dev] send() cause core dump or system pending

2013-04-12 Thread Trevor Bernard
Does the shared library libjzmq.so match the version of jzmq.jar? On Fri, Apr 12, 2013 at 10:46 AM, dennis wrote: > > > I deploy my program on two machine. > first machine run zeromq 2.2(open jdk 1.7) > second machine run zeromq 3.2 (open jdk 1.7) > > the program is working fine on first machin

[zeromq-dev] send() cause core dump or system pending

2013-04-12 Thread dennis
I deploy my program on two machine. first machine run zeromq 2.2(open jdk 1.7) second machine run zeromq 3.2 (open jdk 1.7) the program is working fine on first machine. (sometimes will cause core dump) but on second machine , I can't send message to receiver. (It always pending at send() or

Re: [zeromq-dev] Sniffing connections

2013-04-12 Thread Pieter Hintjens
On Fri, Apr 12, 2013 at 1:02 PM, Herry Sitepu wrote: > I have sniffed some of the traffic using the examples in the guide using > ngrep. The captured traffic are commented along with the bytes captured by > ngrep. Here are the captured files... This is neat! I've created a new repository for

Re: [zeromq-dev] Sniffing connections

2013-04-12 Thread Herry Sitepu
I have sniffed some of the traffic using the examples in the guide using ngrep. The captured traffic are commented along with the bytes captured by ngrep. Here are the captured files: 1. PROTOCOL-REQREP This capture explain the REQ-REP dialog between hwclient and hwserver 2. PROTOCOL-REQREP-IDENTIT

Re: [zeromq-dev] Sniffing connections

2013-04-12 Thread Pieter Hintjens
On Fri, Apr 12, 2013 at 6:21 AM, asif saeed wrote: > I don't understand. TCP is already implemented in 0MQ, why is this > protocol needed in the first place? Could you please give me a tutorial, > etc? > Good question. I'll add some explanation in the RFC. Here is the story: TCP carries a stre

Re: [zeromq-dev] FYI: DTLS now on Windows 7 SP1+

2013-04-12 Thread Pieter Hintjens
It'd be interesting to compare DTLS and CurveCP in terms of security and performance... On Thu, Apr 11, 2013 at 8:36 PM, Steven McCoy wrote: > As part of Remote Desktop Protocol 8 Windows now provides DTLS support and > presumably acceleration when available: > > http://support.microsoft.com/kb