Re: Connection reset by peer

From: Vesselin Atanasov <[email protected]>
Date: Sat, 22 May 1999 19:06:44 +0000 (UTC)

Hello.

On Sat, 22 May 1999, Henrik Nordstrom wrote:

> I have a workaround to Squid FTP which tries to detect servers failing
> on PASV (buggy FTP servers, or firewalls not understanding PASV or the
> implications of it's use). It works for file transfers at least (I think
> it still fails on file listings). Patch file is available from my squid
> page <http://hem.passagen.se/hno/squid/>
Thank you for the info. I'll try your patch.

> Disabling Squids use of PASV requires a single line change in src/ftp.c
>
> Change
> ftpState->flags.pasv_supported = 1
> to
> ftpState->flags.pasv_supported = 0
Yes, that works, but I mean something different - first try normal mode,
Then if normal mode fails, passive. However autodetecting buggy passive
mode is even better.

vesselin atanasov

---------------------------------------------------------------------
We are Pentium of Borg. Division is futile. You will be approximated.
Received on Sat May 22 1999 - 09:59:08 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:46:23 MST