Re: [squid-users] How to deny ftp in squid.conf file

2009-02-18 Thread Amos Jeffries

Indunil Jayasooriya wrote:

Hi,

Is there a way to block ftp access to some client ip addresses in
squid.conf file and the rest of users should be ble to access ftp
sites

Lets's assume I want to block ftp access to clients ips such as
192.168.1.2, 192.168.1.4, 192.168.1.10  and the rest should be able to
access ftp sites.

What about ACLs  like below ?

acl ftp proto FTP
acl noftpips src 192.168.1.2 192.168.1.4 192.168.1.10
http_access allow ! noftpips

Your ideas ?



http_access deny noftpips ftp

Amos
--
Please be using
  Current Stable Squid 2.7.STABLE6 or 3.0.STABLE13
  Current Beta Squid 3.1.0.5


[squid-users] How to deny ftp in squid.conf file

2009-02-18 Thread Indunil Jayasooriya
Hi,

Is there a way to block ftp access to some client ip addresses in
squid.conf file and the rest of users should be ble to access ftp
sites

Lets's assume I want to block ftp access to clients ips such as
192.168.1.2, 192.168.1.4, 192.168.1.10  and the rest should be able to
access ftp sites.

What about ACLs  like below ?

acl ftp proto FTP
acl noftpips src 192.168.1.2 192.168.1.4 192.168.1.10
http_access allow ! noftpips

Your ideas ?






--
Thank you
Indunil Jayasooriya