[squid-users] Squid stable 18 and IWSS

2008-03-02 Thread Monah Baki

Hi all,

I am testing the following scenario

client --- IWSS (Redhat 4 ES) --- Squid (FreeBSD 6.3) --- Firewall  
(OpenBSD) --- Internet


IWSS has the squid as its upstream proxy, and everything works like a  
charm except FTP


When I try to access thru the browser a ftp site, I get the following  
error:


An FTP protocol error occurred while trying to retrieve the URL:  
ftp://[EMAIL PROTECTED]/


Squid sent the following FTP command:

NLST

and then received this reply

Use PORT or PASV first.

Your cache administrator is webmaster.



I have another test scenario using the same hardware as above

client --- Squid (FreeBSD 6.3 running dansguardian) --- Firewall  
(OpenBSD) --- Internet


I have no problem with FTP using this scenario.



Thank you




BSD Networking, Microsoft Notworking





Re: [squid-users] Squid stable 18 and IWSS

2008-03-02 Thread Navin Jathan
Hi Monah,

Try turning on Passive mode in the settings of your browser. That
should solve the problem.

There are two ways in which an FTP connection can be initiated. 1- the
port to use can be sent by the client 2- the client request the server
to send the port to connect on. Since you are behind a firewall,
method one would not work. You are thus forcing it to use method 2 by
turning passive mode on.

Hope this helps,
Navin J

On Sun, Mar 2, 2008 at 7:47 PM, Monah Baki [EMAIL PROTECTED] wrote:
 Hi all,

  I am testing the following scenario

  client --- IWSS (Redhat 4 ES) --- Squid (FreeBSD 6.3) --- Firewall
  (OpenBSD) --- Internet

  IWSS has the squid as its upstream proxy, and everything works like a
  charm except FTP

  When I try to access thru the browser a ftp site, I get the following
  error:

  An FTP protocol error occurred while trying to retrieve the URL:
  ftp://[EMAIL PROTECTED]/

  Squid sent the following FTP command:

  NLST

  and then received this reply

  Use PORT or PASV first.

  Your cache administrator is webmaster.



  I have another test scenario using the same hardware as above

  client --- Squid (FreeBSD 6.3 running dansguardian) --- Firewall
  (OpenBSD) --- Internet

  I have no problem with FTP using this scenario.



  Thank you




  BSD Networking, Microsoft Notworking