RE: [squid-users] ftp w/ FileZilla and squid

From: Pham Mai Quan <pmquan@dont-contact.us>
Date: Thu, 13 May 2004 14:19:26 +0700

 

Did u see default squid.conf ??

acl Safe_ports port 21
http_access deny !Safe_ports
http_access deny CONNECT

This will be allow all connection through squid to port 21 (FTP Request)

-----Original Message-----
From: Yedidia Klein [mailto:yedidia@jct.ac.il]
Sent: Thursday, May 13, 2004 2:08 PM
To: squid-users@squid-cache.org
Subject: [squid-users] ftp w/ FileZilla and squid

Hello,

here is my way to use squid for proxy'ing ftp connections:
most of the users use ftp only for downloading files in anonymous login and
this work fine w/ browsers.
some users need specific access to some sites for upload, they use FileZilla
configured to use HTTP1.1 proxy (that is my squid) in passive mode.
for these sites my squid conf is the following: (SSL_ports is configured as
in default)

--snip--
acl lycos_ftp dst 212.78.204.231/32

http_access allow CONNECT lycos_ftp
http_access deny CONNECT !SSL_ports
--snap--

In this way I'm allowing connect (that could be used for other protocol that
I don't want) only to this specific site.

I there a better way to deal w/ it ? (note that I don't want to install a
ftp proxy like frox) Is this way unsecure in any way ?

thanks

--Yedidia
Received on Thu May 13 2004 - 01:19:23 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Jun 01 2004 - 12:00:01 MDT