50587 - D 26:09.05 (squid-1) -f /usr/local/etc/squid/squid.conf (squid)
## Automatic generated configuration for Squid.# Do not edit this file manually.## Setup transparent mode listeners on loopback interfaceshttp_port 127.0.0.1:3128 intercept ssl-bump cert=/var/squid/ssl/ca.pem dynamic_cert_mem_cache_size=10MB generate-host-certificates=onhttp_port [::1]:3128 intercept ssl-bump cert=/var/squid/ssl/ca.pem dynamic_cert_mem_cache_size=10MB generate-host-certificates=onhttps_port 127.0.0.1:3129 intercept ssl-bump cert=/var/squid/ssl/ca.pem dynamic_cert_mem_cache_size=10MB generate-host-certificates=onhttps_port [::1]:3129 intercept ssl-bump cert=/var/squid/ssl/ca.pem dynamic_cert_mem_cache_size=10MB generate-host-certificates=on# Setup regular listeners configurationhttp_port 192.168.50.3:3128 ssl-bump cert=/var/squid/ssl/ca.pem dynamic_cert_mem_cache_size=10MB generate-host-certificates=onhttp_port 192.168.50.2:3128 ssl-bump cert=/var/squid/ssl/ca.pem dynamic_cert_mem_cache_size=10MB generate-host-certificates=on# setup ssl re-certsslcrtd_program /usr/local/libexec/squid/ssl_crtd -s /var/squid/ssl_crtd -M 12MBsslcrtd_children 10sslproxy_cipher HIGH:MEDIUM:!RC4:!aNULL:!eNULL:!LOW:!3DES:!MD5:!EXP:!PSK:!SRP:!DSSsslproxy_options NO_TLSv1# setup ssl bump acl'sacl bump_step1 at_step SslBump1acl bump_step2 at_step SslBump2acl bump_step3 at_step SslBump3acl bump_nobumpsites ssl::server_name "/usr/local/etc/squid/nobumpsites.acl"# configure bumpssl_bump peek bump_step1 allssl_bump peek bump_step1 allssl_bump peek bump_step2 bump_nobumpsitesssl_bump splice bump_step3 bump_nobumpsitesssl_bump stare bump_step2ssl_bump bump bump_step3sslproxy_cert_error deny allacl ftp proto FTPhttp_access allow ftp# Setup ftp proxy# Rules allowing access from your local networks.# Generated list of (internal) IP networks from where browsing# should be allowed. (Allow interface subnets).acl localnet src 192.168.50.0/24 # Possible internal network (interfaces v4)# Default allow for local-link and private networksacl localnet src fc00::/7 # RFC 4193 local private network rangeacl localnet src fe80::/10 # RFC 4291 link-local (directly plugged) machines# ACL lists# ACL - Allow Subnets - User defined (subnets)acl subnets src 192.168.50.0/24acl subnets src 192.168.150.0/24acl subnets src 192.168.55.0/24acl subnets src 10.0.8.0/24acl subnets src 127.0.0.1# ACL - Remote fetched Blacklist (remoteblacklist)# ACL - Block browser/user-agent - User defined (browser)# ACL - SSL ports, default are configured in config.xml# Configured SSL ports (if defaults are not listed, then they have been removed from the configuration!):acl SSL_ports port 443 # httpsacl SSL_ports port 444 # https# Default Safe ports are now defined in config.xml# Configured Safe ports (if defaults are not listed, then they have been removed from the configuration!):# ACL - Safe_portsacl 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 CONNECT# ICAP SETTINGS# enable icapicap_enable onicap_default_options_ttl 60# send user information to the icap serveradaptation_send_client_ip onadaptation_send_username officap_client_username_encode officap_client_username_header X-Username# previewicap_preview_enable onicap_preview_size 1024# add the serversicap_service response_mod respmod_precache icap://[::1]:1344/avscanicap_service request_mod reqmod_precache icap://[::1]:1344/avscan# Pre-auth pluginsinclude /usr/local/etc/squid/pre-auth/*.conf# Authentication Settings# Deny requests to certain unsafe portsadaptation_access response_mod deny !Safe_ports adaptation_access request_mod deny !Safe_ports http_access deny !Safe_ports # Deny CONNECT to other than secure SSL portsadaptation_access response_mod deny CONNECT !SSL_ports adaptation_access request_mod deny CONNECT !SSL_ports http_access deny CONNECT !SSL_ports # Only allow cachemgr access from localhostadaptation_access response_mod allow localhost manageradaptation_access request_mod allow localhost manageradaptation_access response_mod deny manageradaptation_access request_mod deny managerhttp_access allow localhost managerhttp_access deny manager# 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 useradaptation_access response_mod deny to_localhostadaptation_access request_mod deny to_localhosthttp_access deny to_localhost# Auth pluginsinclude /usr/local/etc/squid/auth/*.conf## Access Permission configuration:## Deny request from unauthorized clients## ACL - localnet - default these include ranges from selected interfaces (Allow local subnets)adaptation_access response_mod allow localnetadaptation_access request_mod allow localnethttp_access allow localnet# ACL - localhostadaptation_access response_mod allow localhostadaptation_access request_mod allow localhosthttp_access allow localhost# ACL list (Allow) subnetsadaptation_access response_mod allow subnetsadaptation_access request_mod allow subnetshttp_access allow subnets# Deny all other access to this proxyadaptation_access response_mod deny alladaptation_access request_mod deny allhttp_access deny all# Post-auth pluginsinclude /usr/local/etc/squid/post-auth/*.conf# Caching settingscache_mem 256 MBcache_dir ufs /var/squid/cache 100 16 256# Leave coredumps in the first cache dircoredump_dir /var/squid/cache## Add any of your own refresh_pattern entries above these.#refresh_pattern ^ftp: 1440 20% 10080refresh_pattern ^gopher: 1440 0% 1440refresh_pattern -i (/cgi-bin/|\?) 0 0% 0refresh_pattern . 0 20% 4320# Squid Options# dns_v4_first reverses the order of preference to make Squid contact dual-stack websites over IPv4 firstdns_v4_first onaccess_log syslog:local4.info # Disable cache store logcache_store_log none# URI hanlding with Whitespaces (default=strip)uri_whitespace strip# X-Forwarded header handling (default=on)forwarded_for on# Disable squid logfile rotate to use system defaultslogfile_rotate 0# Define visible hostnamevisible_hostname cerber.chao5.int# Define visible emailcache_mgr root@chao5.int