Subject: Re: [htdig3-dev] SIGALRM handler fixed
Date: Tue Feb 29 2000 - 03:54:49 PST
Vadim Chekan writes:
> email@example.com 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).
-- Loic Dachary
24 av Secretan 75019 Paris Tel: 33 1 42 45 09 16 e-mail: firstname.lastname@example.org URL: http://www.senga.org/
------------------------------------ To unsubscribe from the htdig3-dev mailing list, send a message to email@example.com You will receive a message to confirm this.
This archive was generated by hypermail 2b28 : Tue Feb 29 2000 - 04:59:39 PST