Re: [squid-users] ftp download query

From: Robert Collins <robertc@dont-contact.us>
Date: Fri, 03 Oct 2003 16:53:27 +1000

On Fri, 2003-10-03 at 16:39, Raja R wrote:
> Hi all,
> i am using squid 2.5 stable 4 and i have a query..
> i am using reply_body_max option to limit the download size to 5 mb,
> for http, it works fine..
> for ftp , when the it is in url style, squid blocks downloading the file > 5
> mb
> for example..
> ftp://ftp.redhat.com/pub/redhat/linux/9/en/os/i386/RedHat/RPMS/anaconda-imag
> es-9.0-3.noarch.rpm
>
> but when i open the ftp site and say "copy to folder" for the file and try
> storing it in my pc, squid does not stop it...
>
> for example
>
> open ftp://ftp.redhat.com/pub/redhat/linux/9/en/os/i386/RedHat/RPMS and try
> copying the anaconda file, squid does not stop....
>
>
> any pointers on how to tackle this and block that also ?

Squid can't alter requests made using the FTP protocol: you'll need to
block FTP at the firewall, and force all FTP access to be via HTTP
requests to the squid proxy.

Rob

-- 
GPG key available at: <http://members.aardvark.net.au/lifeless/keys.txt>.

Received on Fri Oct 03 2003 - 00:53:55 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:20:17 MST