Search squid archive

Nagging problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Squid ACL does not seem to work properly. I have created a ACL for code
project and it does not seem to work. Can anyone help ?

Excerpts from squid.conf

############# SQUID DEFAULTS ############
http_port 8000
#hierarchy_stoplist cgi-bin ?
#acl QUERY urlpath_regex cgi-bin \?
#no_cache deny QUERY
cache_log /var/log/squid/cache.log
debug_options ALL,1 33,2
debug_options ALL,1

############ AUTHENTICATIONS ###########

auth_param basic program /usr/lib/squid/ncsa_auth
/etc/squid/data/valid-users
auth_param basic children 5
auth_param basic realm Accord-Soft Proxy-caching Web Server
auth_param basic credentialsttl 2 hour
auth_param basic casesensitive off

request_body_max_size 50 KB
refresh_pattern ^ftp:           1440    20%     10080
refresh_pattern ^gopher:        1440    0%      1440
refresh_pattern .               0       20%     4320

########### ACCESS CONTROLS ###########


#### Format for Access Controls ####
## <acl username proxy_auth user id>
## <acl usertime time 9:00 - 14:00>
## <acl userurl url_regex website>
## <http_access allow username usertime userurl>

acl password proxy_auth REQUIRED
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object

########## USER DEFINED ACLS ###########
#---------------------------------------

## Authenticating Users #######
#------------------------------
acl cdprjuser proxy_auth codeproject

#### ACL TIMINGS #######
#-----------------------
acl codeprj time 9:00-17:00

### ACL for Codeproj ######
#--------------------------
#acl cdprjuser url_regex "/etc/squid/data/codeprj-sites"
acl cdprjurl url_regex codeproject.com
acl cdprjurl url_regex msdn2.microsoft.com
acl cdprjurl url_regex msdn.microsoft.com
acl cdprjurl url_regex msdn.com
acl cdprjurl url_regex smartworks.us
acl cdprjurl url_regex installshield.com
acl cdprjurl url_regex asp.net
acl cdprjurl url_regex ajax.asp.net
acl cdprjurl url_regex rodrickbrown.com
acl cdprjurl url_regex csharp-station.com
acl cdprjurl url_regex csharpcomputing.com
acl cdprjurl url_regex albahari.com
acl cdprjurl url_regex c-sharpcorner.com
acl cdprjurl url_regex devsource.com
acl cdprjurl url_regex developerfusion.co.uk

http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports

### Access Goes Here #######
#---------------------------
http_access allow cdprjuser codeprj cdprjurl
.
.
.
http_access deny all

cache_mgr netadmin@xxxxxxxxxxxxxxx
visible_hostname squid.accord-soft.com




Any help would be appreciated.

Thanks

Regards

Jagdish








##############################################################################################################################################
The information transmitted is intended for the person or entity to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination, copying or other use of, or taking any action in reliance upon, this information by
persons or entities other than the intended recipient is prohibited. If you have received this in error, please contact the sender and delete
the material from your system. Accord Software & Systems Pvt. Ltd. (ACCORD) is not responsible for any changes made to the material other
than those made by ACCORD or for the effect of the changes on the meaning of the material.
##############################################################################################################################################

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux