Re: [squid-users] ALlow FTP acces to specific set of IP's

From: Tejpal Amin <tejpal.amin_at_gmail.com>
Date: Wed, 16 Jun 2010 19:25:53 +0530

Hi Jeff
I have addedd teh following lines to my squid.conf
acl FTP_PORT port 21
acl src x.x.x.x/255.255.255.255
http_access allow CONNECT ftp_access ftp_acces
the followig is output in my access.log

CONNECT ftp.hp.com:21 HTTP/1.1" 200 72 TCP_MISS:DIRECT
10.202.2.221 - - [16/Jun/2010:18:49:28 +0530] "GET
ftp://ftp.hp.com/pub/softlib2/software1/sc-windows/p1328960757/v59771/cp012593.exe
HTTP/1.0" 403 2183 TCP_DENIED:NONE

Regards
Tej

On Wed, Jun 16, 2010 at 6:11 PM, Jeff Pang <jeffpang_at_aol.com> wrote:
> 2010/6/16 Tejpal Amin <tejpal.amin_at_gmail.com>:
>> Hi,
>>
>> I want to allow FTP access to only few set of IP's.
>>
>
> The direct FTP access can't get through via squid, unless you are
> accessing FTP over HTTP, if so you could setup ACLs for the limit.
>
>
> --
> Tech support agency in China
> http://duxieweb.com/
>
Received on Wed Jun 16 2010 - 13:56:00 MDT

This archive was generated by hypermail 2.2.0 : Mon Jun 21 2010 - 12:00:03 MDT