Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dns_v4_first on
- reply_header_access Alternate-Protocol deny all
- reply_header_access Alt-Svc deny all
- refresh_all_ims on
- reload_into_ims on
- sslproxy_cert_error allow all
- sslproxy_flags DONT_VERIFY_PEER
- retry_on_error on
- connect_retries 3
- #debug_options 11,2 22,3
- cache_dir aufs /cache 670000 256 256
- cache_mem 2 MB
- cache_swap_high 95
- cache_swap_low 90
- cache_replacement_policy heap LFUDA
- memory_replacement_policy heap GDSF
- maximum_object_size 4096000 KB
- maximum_object_size_in_memory 0 KB
- request_body_max_size 0 KB
- cache_mgr cespun@gamil.com
- visible_hostname cespun
- strip_query_terms off
- via off
- forwarded_for off
- request_header_access X-Forwarded-For deny all
- request_header_access Proxy-Connection deny all
- request_header_access Connection deny all
- request_header_access Via deny all
- reply_header_access X-Forwarded-For deny all
- reply_header_access Proxy-Connection deny all
- reply_header_access Connection deny all
- reply_header_access Via deny all
- reply_header_access Server deny all
- reply_header_replace Server cespun-proxy
- coredump_dir /var/log/squid
- logfile_rotate 1
- max_filedescriptors 65536
- fqdncache_size 0
- ipcache_size 0
- ipcache_high 0
- ipcache_low 0
- http_port 3128
- http_port 3129 tproxy
- https_port 3127 tproxy ssl-bump generate-host-certificates=on cert=/etc/squid/ssl_cert/warnet.pem
- qos_flows local-hit=0x30
- acl localnet src all
- acl semuaport port 0-65535
- acl PURGE method PURGE
- acl step1 at_step SslBump1
- acl step2 at_step SslBump2
- acl step3 at_step SslBump3
- acl bypass ssl::server_name_regex -i "/etc/squid/bypass.txt"
- acl range206 req_header Range -i byte
- acl uabrowser browser -i regexp (iPhone|iPad)
- acl uabrowser browser -i regexp (BlackBerry|PlayBook)
- acl uabrowser browser -i regexp (Windows.*Phone|Trident|IEMobile)
- acl uabrowser browser -i regexp Android
- acl uabrowser browser -i regexp Linux
- acl yt-rewrite url_regex -i ^https?\:\/\/(www|gaming)\.youtube\.com\/(watch\?v|embed|v)[=%&?\/]
- acl yt-rewrite url_regex -i ^https?\:\/\/www\.youtube\.com$
- acl yt-rewrite url_regex -i ^https?\:\/\/www\.youtube\.com\/$
- acl youtube url_regex -i ^http.*(youtube|googlevideo|videoplayback|videogoodput)
- acl googlevideo url_regex -i ^http.*google.*video(playback|goodput).*
- acl mimehtml rep_mime_type -i mime-type html
- acl mimeplain rep_mime_type -i mime-type text
- acl urltomiss url_regex -i ^http.*(serverpatch|server_patch|server-patch|patchserver|patch_server|patch-server)
- acl urltomiss url_regex -i ^http.*googlevideo\.com\/video(playback|goodput).*source[\&\=\?\/]yt_live
- acl patchpartial url_regex -i ^http.*patch.*garena
- acl patchpartial url_regex -i ^http.*garena.*patch
- acl patchpartial url_regex -i ^http:\/\/.*google\.com\/.*chrome.*\/(.*.(exe))
- acl httptomiss http_status 302
- acl tostoreid url_regex -i ^http.*(youtube|googlevideo|videoplayback|videogoodput)
- acl tostoreid url_regex -i ^http.*(fbcdn|akamaihd)
- acl tostoreid url_regex -i ^http.*c2lo\.reverbnation\.com\/audio_player\/ec_stream_song\/.*\?
- acl tostoreid url_regex -i ^http.*\.c\.android\.clients\.google\.com\/market\/GetBinary\/GetBinary\/.*\/.*\?
- acl tostoreid url_regex -i ^http.*datafilehost.*\/get\.php.*file\=.*
- acl tostoreid url_regex -i ^http.*\.filehippo\.com\/.*\?
- acl tostoreid url_regex -i ^http.*\.4shared\.com\/.*\/.*\/.*\/dlink.*preview.mp3
- acl tostoreid url_regex -i ^http.*\.4shared\.com\/download\/.*\/.*\?tsid
- acl tostoreid url_regex -i ^http.*steam(powered|content).*\/(client|depot)\/.*\/(chunk|manifest)\/.*\?.*
- acl tostoreid url_regex -i ^http.*savefile\.co\:[0-9]{2,5}\/.*\/.*\.(mp4|flv|3gp)
- acl tostoreid url_regex -i ^http.*video\-http\.media\-imdb\.com\/.*\.mp4\?
- acl tostoreid url_regex -i ^http.*\.dl\.sourceforge\.net
- acl tostoreid url_regex -i ^http.*\youtubeinmp3\.com\/download\/get\/.*id\=.*t\=.*
- acl tostoreid url_regex -i ^http.*patch\.gemscool\.com\/lsaga.*\.iop.*\?.*
- acl tostoreid url_regex -i ^http.*googleusercontent\.com/docs/securesc\/.*
- acl tostoreid url_regex -i ^http.*mp4upload\.com\:[0-9]{2,5}\/.*\.[0-9a-zA-Z]{2,5}
- acl speedtest url_regex -i ^http.*([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}|speedtest|espeed|api\.ookla).*\/(speedtest\.swf|speedtest-long\.swf|latency\.txt|upload\.php|speedtest-config\.php|ipaddress\.php|random.*\.jpg)
- acl denyurl url_regex -i gvt1.com\/edgedl.*
- acl denyurl url_regex -i google\.com/edgedl.*
- acl denyurl url_regex -i ^http\:\/\/cache\.pack\.google\.com\/edgedl\/.*
- acl rangesteam url_regex -i ^http.*steam(powered|content).*\/(client|depot)\/.*\/(chunk|manifest)\/.*\?.*
- acl basejs url_regex -i ^http.*(youtube|ytimg)\.com\/.*\/player.*\/base\.js
- acl CONNECT method CONNECT
- acl getmethod method GET
- http_access deny denyurl
- http_access deny rangesteam range206
- deny_info https://s.ytimg.com/yts/swfbin/player-vflx0pAVB/watch_as3.swf basejs
- http_access deny basejs
- http_access allow localhost manager
- http_access deny manager
- http_access allow localhost purge
- http_access deny purge
- http_access allow localnet
- http_access allow localhost
- http_access allow semuaport
- http_access deny all
- access_log /var/log/squid/access.log !CONNECT
- range_offset_limit none range206 patchpartial
- range_offset_limit 128 KB range206 !patchpartial
- quick_abort_min 1 KB
- quick_abort_max 1 KB
- quick_abort_pct 95
- ssl_bump splice bypass
- ssl_bump peek step1 all
- ssl_bump bump all
- cache_peer 10.212.212.212 parent 8033 0 no-digest no-tproxy
- dead_peer_timeout 5 seconds
- cache_peer_access 10.212.212.212 allow speedtest
- cache_peer_access 10.212.212.212 deny all
- always_direct deny speedtest
- never_direct allow speedtest
- request_header_access Accept-Encoding deny yt-rewrite !uabrowser
- #yt_quality: tiny = 144px small = 240px medium = 360px large = 480px HD720 = Hd720px
- ecap_enable on
- loadable_modules /usr/local/lib/ecap_adapter_modifying.so
- ecap_service modif respmod_precache uri=ecap://dokter-squid.com/ecap yt_quality=medium no-html5=no
- #ecap_service modif respmod_precache uri=ecap://e-cap.org/ecap/services/sample/modifying victim="html5":true replacement="html5":false
- #ecap_service modif respmod_precache uri=ecap://e-cap.org/ecap/services/sample/modifying victim="enablejsapi" replacement="dash":"0","vq":"medium","enablejsapi"
- adaptation_access modif allow yt-rewrite !uabrowser
- adaptation_access modif deny all
- store_id_bypass off
- store_id_extras "%{Referer}>h"
- store_id_program /etc/squid/storeid.pl
- store_id_children 2000 startup=30 idle=1
- store_id_access allow tostoreid
- store_id_access deny all
- store_miss deny googlevideo httptomiss
- send_hit deny googlevideo httptomiss
- store_miss deny googlevideo mimeplain
- send_hit deny googlevideo mimeplain
- store_miss deny googlevideo mimehtml
- send_hit deny googlevideo mimehtml
- store_miss deny urltomiss
- send_hit deny urltomiss
- store_miss deny mimehtml
- send_hit deny mimehtml
- store_miss deny mimeplain
- send_hit deny mimeplain
- refresh_pattern -i ^https?\:\/\/squid\/(mp4upload|google\/video) 0 90% 432000 override-expire override-lastmod ignore-no-store ignore-must-revalidate ignore-private ignore-auth
- refresh_pattern -i .* 0 1% 1 override-expire override-lastmod ignore-no-store ignore-must-revalidate ignore-private ignore-auth
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement