Re: [squid-users] Blocked Domains help :(

From: IBT <support_at_ibtho.com.au>
Date: Sat, 16 May 2009 00:19:12 -0700 (PDT)

I have added my config so that maybe someone with more experience can make
sure it ok

# NETWORK OPTIONS
http_port 8085
acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY

# OPTIONS WHICH AFFECT THE CACHE SIZE
cache_mem 32 MB
cache_swap_low 90
cache_swap_high 95
maximum_object_size 4096 KB

# LOGFILE PATHNAMES AND CACHE DIRECTORIES
cache_dir ufs c:/squid/var/cache 1000 16 256
access_log c:/squid/var/logs/access.log squid
cache_log c:/squid/var/logs/cache.log
cache_store_log c:/squid/var/logs/store.log
debug_options ALL,3

# OPTIONS FOR EXTERNAL SUPPORT PROGRAMS
allow_underscore on
dns_nameservers 192.168.2.3 192.168.2.1
auth_param ntlm program c:/squid/libexec/mswin_ntlm_auth.exe
auth_param ntlm children 5
external_acl_type NT_global_group %LOGIN
c:/squid/libexec/mswin_check_lm_group.exe -G -c

# ACCESS CONTROL VALUES
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 SSL_ports port 443
acl Safe_ports port 80 # http
acl Safe_ports port 87 # http required for Telstra Statistics website
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl our_networks src 192.168.0.0/16
acl java browser java/6
acl NoAuthDomains dstdomain "c:/squid/etc/domains/NoAuthDomains.txt"
http_access allow java
http_access allow NoAuthDomains our_networks Safe_ports
acl proxyfullaccess external NT_global_group proxyfullaccess
acl password proxy_auth REQUIRED
acl DeniedDomains dstdomain "c:/squid/etc/domains/DeniedDomains.txt"
acl CONNECT method CONNECT
acl FTP proto FTP
always_direct allow FTP
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access deny to_localhost
http_access deny DeniedDomains
http_access allow password our_networks proxyfullaccess
http_access allow password our_networks Safe_ports
http_access deny all

# MISCELLANEOUS
logfile_rotate 10
error_directory c:/squid/share/errors/English

-- 
View this message in context: http://www.nabble.com/Blocked-Domains-help-%3A%28-tp23571021p23571090.html
Sent from the Squid - Users mailing list archive at Nabble.com.
Received on Sat May 16 2009 - 07:19:17 MDT

This archive was generated by hypermail 2.2.0 : Sun May 17 2009 - 12:00:01 MDT