Re: 30 seconds timeout using certain proxy servers

richard lucassen <[email protected]> Tue, 31 Oct 2006 17:24:57 +0100
Newsgroups gmane.comp.djb.publicfile
Organization XAQ Systems
Message-ID <[email protected]>
On Tue, 31 Oct 2006 10:09:53 -0600
Charles Cazabon <[email protected]> wrote:

> > > Show us the script you're using to start the publicfile service.
> > 
> > #!/bin/sh
> > exec 2>&1
> > exec envuidgid qftp softlimit -o20 -d50000 tcpserver -vDRHl0 -b50
> > -c100 0 80 /usr/local/publicfile/bin/httpd
> > /mnt/data/symlinks/var/www
> 
> Hmmm.  The most common cause of the delay is one of the DNS or ident
> lookups, but that script disables them.  Did you change this script
> without restarting the service, so that it's actually using different
> options than this shows?

No, and as I said, the problem only occurs when I use a proxy like
"mproxy" or "privoxy". This tech3.cam.nl has ran for several years now.

> > Same problem on Dan's site http://cr.yp.to/ btw.
> 
> Not here.  djb leaves the DNS lookups and ident lookups turned on for
> his services.  If your DNS is bad, or your firewall is silently
> dropping ident queries (rather than explicitly rejecting them), you'll
> see delays connecting to his site.

Normally, through a proxy like "squid" or "tinyproxy" there's no
problem. That's why it's so weird. Apparantly the proxy waits for
something but I don't know what.

-- 
___________________________________________________________________
It is better to remain silent and be thought a fool, than to speak
aloud and remove all doubt.

+------------------------------------------------------------------+
| Richard Lucassen, Utrecht                                        |
| Public key and email address:                                    |
| http://www.lucassen.org/mail-pubkey.html                         |
+------------------------------------------------------------------+