this is my squid conf file.
#############################################
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive off
acl allowed_sites dstdomain "/etc/squid3/Allowed_Sites.txt"
acl blocked_ip src "/etc/squid3/Blocked_Ip.txt"
acl allowed_ip dst "/etc/squid3/Allowed_Ip.txt"
acl allcomputers src 192.168.1.0/255.255.255.0
acl allcomputers src 192.168.2.0/255.255.255.0
acl all_others dst 0.0.0.0/0.0.0.0
acl localnet src 10.0.0.0/8 # RFC1918 possible internal network
acl localnet src 172.16.0.0/12 # RFC1918 possible internal network
acl localnet src 192.168.0.0/16 # RFC1918 possible internal network
acl all src all
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost manager
http_access deny manager
http_access allow localhost
http_access deny all
http_port 3128
http_port 80 vhost
hierarchy_stoplist cgi-bin ?
access_log /var/log/squid3/access.log squid
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern (Release|Package(.gz)*)$ 0 20% 2880
refresh_pattern \.js$ 1440 0% 4320
refresh_pattern \.(PNG|png)$ 1440 0% 4320
refresh_pattern . 0 20% 4320
acl shoutcast rep_header X-HTTP09-First-Line ^ICY\s[0-9]
upgrade_http0.9 deny shoutcast
acl apache rep_header Server ^Apache
broken_vary_encoding allow apache
extension_methods REPORT MERGE MKACTIVITY CHECKOUT
hosts_file /etc/hosts
coredump_dir /var/spool/squid3
###################################################
On Wed, Aug 3, 2016 at 10:23 PM, Harsha S Aryan <harsha.s.aryan@xxxxxxxxx> wrote:
------------ Forwarded message ----------
From: Harsha S Aryan <harsha.s.aryan@xxxxxxxxx>
Date: Wed, Aug 3, 2016 at 10:22 PM
Subject: All website getting Blocked
To: squid-users@xxxxxxxxxxxxxxxxxxxxxHi,All website getting Blockedusing squid3ubuntu 14.04Squid Cache: Version 3.3.8conf fileauth_param basic children 5auth_param basic realm Squid proxy-caching web serverauth_param basic credentialsttl 2 hoursauth_param basic casesensitive offacl allowed_sites dstdomain "/etc/squid3/Allowed_Sites.txt"acl blocked_ip src "/etc/squid3/Blocked_Ip.txt"acl allowed_ip dst "/etc/squid3/Allowed_Ip.txt"acl allcomputers src 192.168.1.0/255.255.255.0acl allcomputers src 192.168.2.0/255.255.255.0acl all_others dst 0.0.0.0/0.0.0.0acl localnet src 10.0.0.0/8 # RFC1918 possible internal networkacl localnet src 172.16.0.0/12 # RFC1918 possible internal networkacl localnet src 192.168.0.0/16 # RFC1918 possible internal networkacl all src allacl localhost src 127.0.0.1/32acl 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 CONNECThttp_access deny !Safe_portshttp_access deny CONNECT !SSL_portshttp_access allow localhost managerhttp_access deny managerhttp_access allow localhosthttp_access deny allhttp_port 3128http_port 80 vhosthierarchy_stoplist cgi-bin ?access_log /var/log/squid3/access.log squidrefresh_pattern ^ftp: 1440 20% 10080refresh_pattern ^gopher: 1440 0% 1440refresh_pattern -i (/cgi-bin/|\?) 0 0% 0refresh_pattern (Release|Package(.gz)*)$ 0 20% 2880refresh_pattern \.js$ 1440 0% 4320refresh_pattern \.(PNG|png)$ 1440 0% 4320refresh_pattern . 0 20% 4320acl shoutcast rep_header X-HTTP09-First-Line ^ICY\s[0-9]upgrade_http0.9 deny shoutcastacl apache rep_header Server ^Apachebroken_vary_encoding allow apacheextension_methods REPORT MERGE MKACTIVITY CHECKOUThosts_file /etc/hostscoredump_dir /var/spool/squid3Please let me know if anything is missing--Rehards,HarshaRehards,Harsha
Rehards,
Harsha
_______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users