Vadim Chekan writes:
 > [EMAIL PROTECTED] wrote:
 > > 
 > >        Hi,
 >  
 > >        I've tested it manually on http://pop.ceic.com:80/ that is guaranteed
 > > to timeout because of a firewall. I could not figure a way to emulate this
 > > conditions under a controlled test environment. Ideas are wellcome.
 > 
 > I'm not 100% shure but what about: 
 > 1. run simple application which do listen(<some port>), but doesn't do
 > any read from socket.

 The connect is successfull, even if the application does not do a accept().
And if you set the backlog to 0, you get connection refused.
 
 > 2. try to connect localhost:<some port>

 It's connection refused. 

 The hard part is that you must try to reach an IP that could answer but
does not because packets are thrown away (that's what happens when a machine
is behind a firewall). 

 Cheers,

-- 
                Loic Dachary

                24 av Secretan
                75019 Paris
                Tel: 33 1 42 45 09 16
                e-mail: [EMAIL PROTECTED]
                URL: http://www.senga.org/


------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
[EMAIL PROTECTED] 
You will receive a message to confirm this. 

Reply via email to