punya Bro ImeR (CCPB-Kaskus.us style)
mohon ijin untuk copas Bro
squid.conf
###########################################
# HIGH PERFORMANCE SQUID
# ApisTECH IT Development
# Config date : 6 Mei 2008
###########################################
# NETWORK OPTIONS
# —————————————————————————–
http_port 8080
# PARENT/SIBLING CACHE OPTIONS
# —————————————————————————–
# cache_peer 202.134.0.135 parent 8080 3130 proxy-only no-query no-digest no-netdb-exchange
# OPTIONS WHICH AFFECT THE NEIGHBOR SELECTION ALGORITHM
# —————————————————————————–
hierarchy_stoplist cgi-bin ? .js .jsp .g .do .php .asp .cgi localhost
acl QUERY urlpath_regex cgi-bin \? .js .jsp .g .do .php .asp .cgi localhost
# OPTIONS WHICH AFFECT THE CACHE SIZE
# —————————————————————————–
cache_mem 16 MB
cache_swap_low 98
cache_swap_high 99
maximum_object_size 128 MB
maximum_object_size_in_memory 64 KB
ipcache_size 4098
ipcache_low 98
ipcache_high 99
fqdncache_size 4098
# LOGFILE PATHNAMES AND CACHE DIRECTORIES
# —————————————————————————–
cache_dir aufs /cache 30000 16 256
cache_access_log /dev/null
cache_log /dev/null
cache_store_log none
log_ip_on_direct off
log_icp_queries off
buffered_logs off
# OPTIONS FOR EXTERNAL SUPPORT PROGRAMS
# —————————————————————————–
redirect_program /etc/squid/adzap/scripts/squid_redirect
ftp_passive on
ftp_sanitycheck on
negative_ttl 1 minute
# OPTIONS FOR TUNING THE CACHE
# —————————————————————————–
refresh_pattern ^ftp: 10080 95% 241920 reload-into-ims override-lastmod
refresh_pattern . 180 95% 120960 reload-into-ims override-lastmod
refresh_pattern -i \.(jp?g|gif|swf|flv|png|?bm?|ti?f)$ 10080 95% 43200 ignore-reload override-expire override-lastmod
quick_abort_min 0
quick_abort_max 0
quick_abort_pct 98
# TIMEOUTS
# —————————————————————————–
half_closed_clients off
shutdown_lifetime 10 second
# ACCESS CONTROLS
# —————————————————————————–
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
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
acl ApisTECH src 192.168.2.0/255.255.255.224
acl magic_words1 url_regex -i 192.168.
acl magic_words2 url_regex -i “/etc/squid/download.acl”
acl lambat url_regex -i “/etc/squid/lambat.acl”
acl blocked url_regex -i “/etc/squid/blocked.acl”
acl nocache url_regex -i “/etc/squid/nocache.acl”
acl time time 09:00-21:00
no_cache deny QUERY blocked nocache
http_access deny blocked
http_access allow ApisTECH
http_access allow manager localhost
http_access allow localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access deny all
http_reply_access allow all
icp_access allow all
reply_body_max_size 0 allow all
# ADMINISTRATIVE PARAMETERS
# —————————————————————————–
cache_mgr ApisTECH
cache_effective_user squid
cache_effective_group squid
visible_hostname secured.apistech.co.id
# HTTPD-ACCELERATOR OPTIONS
# —————————————————————————–
httpd_accel_port 80 2222
httpd_accel_single_host off
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
httpd_accel_host virtual
httpd_accel_no_pmtu_disc on
# ANONYMOUS OPTIONS
# —————————————————————————–
header_access From deny all
header_access Server deny all
header_access Link deny all
header_access Accept-Encoding deny all
header_access X-Forwarded-For deny all
header_access Via deny all
# MISCELLANEOUS
# —————————————————————————–
logfile_rotate 3
memory_pools off
forwarded_for off
cachemgr_passwd ****** all
reload_into_ims on
coredump_dir /cache
pipeline_prefetch on
ie_refresh on
vary_ignore_expire on
# DELAY POOL PARAMETERS (all require DELAY_POOLS compilation option)
# —————————————————————————–
delay_pools 3
delay_access 1 allow magic_words1
delay_access 1 deny all
delay_access 2 allow magic_words2 time
delay_access 2 deny all
delay_access 3 allow lambat time
delay_access 3 deny all
delay_class 1 2
delay_class 2 2
delay_class 3 2
delay_parameters 1 -1/-1 -1/-1
delay_parameters 2 -1/-1 20000/50000
delay_parameters 3 -1/-1 20000/50000
# -=EoF=-
download.acl
\.exe$
\.cab$
\.msi$
\.mpa$
\.mpe$
\.mp2$
\.mp3$
\.mp4$
\.mpg$
\.mpeg$
\.tar.gz$
\.gz$
\.tar.bz2$
\.tgz$
\.iso$
\.rpm$
\.zip$
\.rar$
\.7z$
\.bin$
\.avi$
\.rm$
\.rmvb$
\.wav$
\.mov$
\.dat$
\.wma$
\.wmv$
\.ogg$
\.ogm$
\.m1v$
\.wax$
\.asx$
\.wpl$
\.wmx$
\.dvr-ms$
\.snd$
\.m2v$
\.m2p$
\.div$
\.divx$
\.mod$
\.vob$
\.deb$
\.flv$
\.pdf$
\.fla$
\.swf$
\.part$
\.3gp$
lambat.acl
.download.com
.youtube.com
.hqtube.com
.porntube.com
.redtube.com
.google.com
.yahoo.com
.evilshare.com
.livedepot.net
.bestsharing.com
.4shared.com
.rapidshare.com
.rapidshare.de
.megaupload.com
.megashare.com
.easy-share.com
.mediafire.com
.xneeds.com
.multiply.com
.esnips.com
proxy
.kaktuz.com
.llnwd.net
.layartancap.com
.slide.com
attachment
download
.indowebster.com
.ziddu.com
.photobucket.com
.imageshack.us
.tinypic.com
.megarotic.com
thx to Bro ImeR
always be A great Teacher
One Comment
perintah ini diketik dmn yah?
maaf aku br nyoba clark conect.
makasih yah..