On Mon, May 17, 2004 at 02:36:20PM +0200, Skarbet wrote:
> i'm using squid2.4stable7 and trying to stop user from
> downloading large file and access some server.this is
> my ACL:
>
> #My Access List
> acl limit_conn src 192.168.1.0/24
> acl 6conn maxconn 6
> acl post method post
> acl exe urlpath_regex -i \.exe$
> acl local src 192.168.1.0/24
> acl download dstdomain .download.com
> acl telecharger dstdomain .telecharger.com
> acl multimedia urlpath_regex -i \.mp3$ \.mpg$ \.mpeg$
> \.rm$ \.avi$ \.asf$ \.wma$ \.wav$ \.wmv$ \.ogg$
> \.midi$ \.mov$ \.movie$
> acl application urlpath_regex -i \.zip$ \.rar$ \.gz$
> \.tgz$ \.bz2$ \.msi$ \.bin$ \.tar$ \.com$
> #END My Access List
>
> #My Rules
> http_access allow local
> http_access deny 6conn limit_conn
> http_access deny download
> http_access deny telecharger
> http_access deny exe !post
> http_access deny multimedia
> http_access deny application
> #END MY RULES
>
> but this does not work !!!!!!!!!!!!!!!!!!! can u show
> me what's wrong ?
Are you sure you first allow all local IPs through and then want to restrict
them? Or are your clients on different networks than 192.168.1.0/24?
Christoph
-- ~ ~ ".signature" [Modified] 3 lines --100%-- 3,41 AllReceived on Mon May 17 2004 - 07:18:35 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Jun 01 2004 - 12:00:01 MDT