All pastes #562219 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-06-12 18:46 UTC
rendered paste body

#	WELCOME TO SQUID 2.6.STABLE13
#	----------------------------
#
#	This is the default Squid configuration file. You may wish
#	to look at the Squid home page (http://www.squid-cache.org/)
#	for the FAQ and other documentation.
#
#	The default Squid config file shows what the defaults for
#	various options happen to be.  If you don't need to change the
#	default, you shouldn't uncomment the line.  Doing so may cause
#	run-time problems.  In some cases "none" refers to no default
#	setting at all, while in other cases it refers to a valid
#	option - the comments for that keyword indicate if this is the
#	case.
#


# CONFIGURAÇÃO DE INTERNET VIRIATO CONTABILIDADE LTDA.

http_port 3128
#Default:
# client_lifetime 1 day
#Default:
# half_closed_clients on
#Default:
# pconn_timeout 120 seconds
#Default:
# ident_timeout 10 seconds
#Default:
# shutdown_lifetime 30 seconds
#Examples:
#acl myexample dst_as 1241
#acl password proxy_auth REQUIRED
#acl fileupload req_mime_type -i ^multipart/form-data$
#acl javascript rep_mime_type -i ^application/x-javascript$
#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 SSL_ports port 443 563 1834 1863  4242
acl Safe_ports port 80          # http
acl Safe_ports port 21          # ftp
acl Safe_ports port 443 563     # https, snews
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
#Default:
# http_access deny all
# Only allow cachemgr access from localhost
http_access allow manager localhost
http_access deny manager
# Deny requests to unknown ports
http_access deny !Safe_ports
# Deny CONNECT to other than SSL ports
http_access deny CONNECT !SSL_ports
#http_access deny to_localhost
# be allowed
acl our_networks src 10.0.0.0/8 #Libera a rede para navegar
http_access allow our_networks

# And finally deny all other access to this proxy
http_access allow localhost
http_access deny all

#
#Default:
# http_reply_access allow all
#
#
# and finally allow by default
http_reply_access allow all
#Default:
# icp_access deny all
#
#Allow ICP queries from everyone
icp_access allow all
#Default setting:
# miss_access allow all
#Default:
# none
#Default:
# ident_lookup_access deny all
#Default:
# none
#       based on the username or sourceaddress of the user making
#       the request.
#
#       tcp_outgoing_address ipaddr [[!]aclname] ...
#
#       Example where requests from 10.0.0.0/8 will be forwareded
#       with source address 10.1.0.1, 10.0.2.0/8 forwarded with
#       source address 10.1.0.2 and the rest will be forwarded with
visible_hostname squid
# announce_host tracker.ircache.net
# announce_port 3131
#Default:
# httpd_accel_port 80
#Default:
#
#Default:
# httpd_accel_with_proxy off
#Default:
# httpd_accel_uses_host_header off
#Default:
# dns_testnames netscape.com internic.net nlanr.net microsoft.com
#logfile_rotate 0
#Default:
# logfile_rotate 0
#Example:
# append_domain .yourdomain.com
#Default:
# none
#Default:
# tcp_recv_bufsize 0 bytes
coredump_dir /var/spool/squid