Search squid archive

Acl for blocking sites not working - what can i DO?

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

 



Hi all I've got 2.6 stable running on OpenSuse 10.2I can't seem to get the squid to use the internal acls to block sites/domains.. how can this be achived?



Squid.conf
#Recommended minimum configuration:acl all src 0.0.0.0/0.0.0.0acl manager proto cache_objectacl localhost src 127.0.0.1/255.255.255.255acl to_localhost dst 127.0.0.0/8acl SSL_ports port 443acl Safe_ports port 80		# httpacl Safe_ports port 21		# ftpacl Safe_ports port 443		# httpsacl Safe_ports port 70		# gopheracl Safe_ports port 210		# waisacl Safe_ports port 1025-65535	# unregistered portsacl Safe_ports port 280		# http-mgmtacl Safe_ports port 488		# gss-httpacl Safe_ports port 591		# filemakeracl Safe_ports port 777		# multiling httpacl CONNECT method CONNECTacl lcl src 192.168.0.0/16acl NTLMUsers proxy_auth REQUIREDacl blocksites urlpath_regex “/etc/squid/blocks.sites.acl”
#Recommended minimum configuration:## Only allow cachemgr access from localhosthttp_access allow manager localhosthttp_access deny manager# Deny requests to unknown portshttp_access deny !Safe_ports# Deny CONNECT to other than SSL portshttp_access deny CONNECT !SSL_ports## We strongly recommend the following be uncommented to protect innocent# web applications running on the proxy server who think the only# one who can access services on "localhost" is a local user#http_access deny to_localhost## INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS
# Example rule allowing access from your local networks. Adapt# to list your (internal) IP networks from where browsing should# be allowed#acl our_networks src 192.168.1.0/24 192.168.2.0/24#http_access allow our_networkshttp_access allow localhosthttp_access deny blocksiteshttp_access allow lcl NTLMUsers
# And finally deny all other access to this proxyhttp_access deny all

In the DENY_INFO SECTION******deny_info ERR_BLOCKED_SITES blocksites


						 	  		Abd-Ur-Razzaq Al-Haddad IT Analyst 	 	 		  9 Queen Street London W1J 5PE 
Tel: +44 (0)207 659 6620 	     	Fax: +44 (0)207 659 6621 	Direct: +44 (0)207 659 6632 	     	Mob: +44 (0)7738 787881 	abdur.alhaddad@xxxxxxxxxxxxxxxx    	



The information contained in this email or any of its attachments may be privileged or confidential and is intended for the exclusive use of the addressee. Any unauthorised use may be unlawful. If you received this email by mistake, please advise the sender immediately by using the reply facility in your email software and delete the email from your system.
Carron Energy Limited.  Registered Office 9 Queen Street, London W1J 5PE. Incorporated in England and Wales with company number 5150453
______________________________________________________________________This email has been scanned by the MessageLabs Email Security System.For more information please visit http://www.messagelabs.com/email ______________________________________________________________________

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

  Powered by Linux