As much as you may think we don't need to see the code, it would be better to 
let us see it and decide for ourselves.

--
Gonzalo Diethelm
DCV Chile

From: [email protected] 
[mailto:[email protected]] On Behalf Of artemv zmq
Sent: Tuesday, December 17, 2013 5:57 AM
To: ZeroMQ development list
Subject: Re: [zeromq-dev] Reconnect failed after iptables tricks

hello there, devs

do we have any updates here?

2013/12/14 artemv zmq <[email protected]<mailto:[email protected]>>
hi Justin,

There's no sense  to paste code. Client is - DEALER. Server is ROUTER.  Inside 
infinite loop client sends a message and await for reply. By turn server -- 
inside infinite loop receives message and sends answer back.  All socket 
settings -- by default.  That's it.

2013/12/14 Justin Cook <[email protected]<mailto:[email protected]>>

Could you please pastebin the code so we can have a look?

--
Justin Cook

+44 7500 960 000<tel:%2B44%207500%20960%20000>
+1 682 738 5380<tel:%2B1%20682%20738%205380>

Sent from a mobile device
On 14 Dec 2013 16:11, "artemv zmq" 
<[email protected]<mailto:[email protected]>> wrote:
hi Pieter,

Interface didn't change I believe.   I conducted on server host (which is 
VirtualBox instace)  following:
>> iptables  -I  INPUT -s <<windows-client-ip>> -j DROP

and after some time re-enabled client by flushing all iptable rules:
>> iptables  -F

That's it..


2013/12/13 Pieter Hintjens <[email protected]<mailto:[email protected]>>
Is it possible that the interface is changed, so the bind is no longer active?

On Fri, Dec 13, 2013 at 1:54 PM, artemv zmq 
<[email protected]<mailto:[email protected]>> wrote:
> hi
>
> I was testing simple connection lose scenario  on a simple DEALER-ROUTER
> architecture.
> D was a client on Windows7, R was a server on VirtualBox.
> What happened: I started them both,   saw chatting between them in logs;
> after that I disabled a client ip on server host with "iptables" , ensured
> that there is no more chatting between peers;  after that I had re-enabled
> IP address of the client on server host; then went to logs  expecting to see
> that chatting  began, but .. there was silence.
>
> The question is: is it eligible way to test reconnection? or this is a bug
> in ZMQ core?
>
> BR
> -artemv
>
> PS
> block script: iptables  -I  INPUT -s <<IP-of-client>> -j DROP
> unlock script:  iptables  -F
>
> _______________________________________________
> zeromq-dev mailing list
> [email protected]<mailto:[email protected]>
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
_______________________________________________
zeromq-dev mailing list
[email protected]<mailto:[email protected]>
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


_______________________________________________
zeromq-dev mailing list
[email protected]<mailto:[email protected]>
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

_______________________________________________
zeromq-dev mailing list
[email protected]<mailto:[email protected]>
http://lists.zeromq.org/mailman/listinfo/zeromq-dev






----------------------------------------- 
Declaración de confidencialidad: Este Mensaje esta destinado para
el uso de la o las personas o entidades a quien ha sido dirigido y
puede contener información reservada y confidencial que no puede
ser divulgada, difundida, ni aprovechada en forma alguna. El uso no
autorizado de la información contenida en este correo podrá ser
sancionado de conformidad con la ley chilena. 
Si usted ha recibido este correo electrónico por error, le pedimos
eliminarlo junto con los archivos adjuntos y avisar inmediatamente
al remitente, respondiendo este mensaje. 

"Before printing this e-mail think if is really necesary".
Disclosure: This Message is to be used by the individual,
individuals or entities that it is addressed to and may include
private and confidential information that may not be disclosed,
made public nor used in any way at all. Unauthorized use of the
information in this electronic mail message may be subject to the
penalties set forth by Chilean law. 
If you have received this electronic mail message in error, we ask
you to destroy the message and its attached file(s) and to
immediately notify the sender by answering this message. 
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to