Documente Academic
Documente Profesional
Documente Cultură
##################################################
# SQUID.CONF #
# arend #
# arendscrpio@gmail.com | Published by : arend #
##################################################
acl all src all
acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8
acl localnet src 192.168.0.0/16
acl Safe_ports port 80 21 43 70 210 280 488 591 777 9339 5050 1935 7070 4899 102-
65535
acl SSL_ports port 443
acl CONNECT method CONNECT
# NETWORK OPTIONS
# —————————————————————————–
http_port 3128 transparent
icp_port 3130
# OPTIONS
# —————————————————————————–
dead_peer_timeout 10 seconds
hierarchy_stoplist cgi-bin ?
peer_connect_timeout 120 seconds
# MEMORY CACHE
#—————————————————————————–
cache_mem 32 MB
maximum_object_size_in_memory 80 KB
memory_replacement_policy lru
# LOGFILE OPTIONS
# —————————————————————————–
# access_log c:/squid/var/logs/access.log squid
# logfile_daemon c:/squid/libexec/logfile-daemon.exe
# cache_log c:/squid/var/logs/cache.log
# cache_store_log c:/squid/var/logs/store.log
mime_table c:/squid/etc/mime.conf
pid_filename c:/squid/var/logs/squid.pid
debug_options ALL,1
ftp_user Squid@
ftp_list_width 32
ftp_passive on
ftp_sanitycheck on
##
quick_abort_min 0 KB
quick_abort_max 0 KB
quick_abort_pct 99
negative_ttl 5 minutes
positive_dns_ttl 24 hours
# HTTP OPTIONS
# —————————————————————————–
# TIMEOUTS
# —————————————————————————–
read_timeout 15 minutes
request_timeout 5 minutes
persistent_request_timeout 2 minutes
client_lifetime 1 day
# ADMINISTRATIVE PARAMETERS
# —————————————————————————–
cache_mgr dxzstudioz
# cache_effective_user nobody
visible_hostname cache.localhost.net
# PERSISTENT CONNECTION
# —————————————————————————–
client_persistent_connections on
server_persistent_connections on
# INTERNAL ICON
# —————————————————————————–
# icon_directory c:/squid/share/icons
# global_internal_static on
# short_icon_urls off
# DNS OPTIONS
# —————————————————————————–
check_hostnames off
allow_underscore on
dns_nameservers 222.124.204.34 203.130.196.155 203.130.196.5
hosts_file %SystemRoot%\system32\drivers\etc\hosts
fqdncache_size 1024
# MISCELLANEOUS
# —————————————————————————–
memory_pools on
memory_pools_limit 8 MB
reload_into_ims on
coredump_dir c:/squid/var/cache