Re: [squid-users] max_user_ip doesn't work

From: Aqil <aq1l@dont-contact.us>
Date: Sun, 20 Jul 2003 08:08:02 +0200 (CEST)

 --- Henrik Nordstrom <hno@squid-cache.org> a écrit :
> Where is this rule located in relation to your other
> http_access
> rules?

I think it is "before" allowable htp_access. Here is
my squid.conf again :

acl myusers proxy_auth REQUIRED
acl allclients src 10.0.0.0/8

acl 6CONN maxconn 6
http_access deny 6CONN allclients

deny_info ERR_KEBANYAKAN_KONEKSI 6CONN
http_access deny 6CONN allclients

acl multiple max_user_ip -s 1
deny_info ERR_MULTIPLE multiple
http_access deny multiple

#bad URL
acl bad_things urlpath_regex -i \.mp3$ \.wma$ \.avi$
\.mpg$ \.mpeg$ \.swf$ \.asf$ \.rm$ \.ram$

#http_access deny bad_things
deny_info ERR_BAD_EXTENSIONS bad_things
http_access deny bad_things

#Recommended minimum configuration:
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8

acl allowed_hosts src 10.130.6.0/255.255.255.0

acl CONNECT method CONNECT

http_access allow manager localhost
http_access deny manager

http_access deny !Safe_ports

http_access deny CONNECT !SSL_ports

#-------------here is my http_access-------------
http_access allow myusers allclients
http_access deny all

TIA & regards,
aqil

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com
Received on Sun Jul 20 2003 - 00:08:12 MDT

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