On 4/05/2012 9:58 p.m., Hugo Deprez wrote:
Hello, I am running Debian Squeeze with squid 3.1.6-1.2+squeeze2 with the command line it works : $ftp ftp.free.fr Connected to ftp.proxad.net. 220 Welcome to ProXad FTP server Name (ftp.free.fr:hugo.deprez): anonymous 331 Please specify the password. Password: 230 Login successful. Remote system type is UNIX. Using binary mode to transfer files. ftp> ls 200 PORT command successful. Consider using PASV. 150 Here comes the directory listing. lrwxrwxrwx 1 ftp ftp 28 Jun 14 2011 MPlayer -> mirrors/mplayerhq.hu/MPlayer drwxr-xr-x 2 ftp ftp 4096 May 07 2008 awstats drwx------ 2 ftp ftp 16384 Mar 08 2006 lost+found drwxr-xr-x 3 ftp ftp 4096 Jan 04 11:44 mirrors drwxr-xr-x 2 ftp ftp 4096 Dec 24 2008 nzb drwxr-xr-x 10 ftp ftp 4096 Nov 23 2009 pub drwxr-xr-x 2 ftp ftp 81920 May 03 22:30 stats drwxr-xr-x 2 ftp ftp 4096 May 04 09:35 tmp 226 Directory send OK. I do have this error for all ftp server I try with ftp.mozilla.org Any idea ?
Please try the squid3 package form Wheezy/Testing repositories. 3.1.6 has quite a few problems.
The FTP client you are using seems to be doing IPv4-only PORT commands silently in the background. Squid uses protocol-neutral EPSV/EPRT first, and the older 3.1 have a few issues in that area.
Amos