squid.conf

Squid_1

http_port 3128 8080
icp_port 3130

hierarchy_stoplist cgi-bin ? % = + asp jsp php exe  phtml xml jhtml cgi pl dll
acl QUERYWWN urlpath_regex -i swf\? jpg\? gif\? Compose\? ad\? html\? fpl\?
acl QUERY urlpath_regex cgi-bin \?
#no_cache allow QUERYWWN
no_cache deny QUERY
cache_mem 6 MB
cache_swap_low 75
cache_swap_high 95
maximum_object_size 128 MB
minimum_object_size 0 KB
maximum_object_size_in_memory 32 KB
ipcache_size 8192
ipcache_low 95
ipcache_high 99
fqdncache_size 8192
query_icmp on
redirect_program /usr/local/adzap/scripts/wrapzap
redirect_program /usr/local/squirm/bin/squirm

redirect_children 20
pipeline_prefetch on

cache_effective_user nobody
cache_effective_group nogroup

cache_replacement_policy heap LFUDA
memory_replacement_policy heap GDSF
forwarded_for off

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 purge method PURGE
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 yahoo urlpath_regex yahoo
acl trading urlpath_regex trading
acl detik urlpath_regex detik

acl WIFI src 10.10.20.0/255.255.255.0
acl WARNET src 192.168.10.0/255.255.255.0
acl as_iix dst_as 4434 4622 4761 4787 4795 4800 4821 4832 4833 4855 7713 9251 9326 9340 9341 9448 9462 9875 9905 10137 10217 10220 10530 11919 17440 17451 17658 17671 17727 17826 17885 17910 17922 17988 17996 18004 18052 18059 18153 18156 18189 18347 18364 18393 18394 23691


http_access allow manager
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow purge
http_access deny purge
#http_access allow https
http_access allow WIFI
http_access allow WARNET
http_access allow localhost
http_access deny all

icp_access allow WIFI
icp_access allow WARNET
icp_access deny all

always_direct allow yahoo
always_direct allow trading
always_direct allow detik
always_direct deny all

cache_dir diskd /cache1 4500 64 384 Q1=64 Q2=72
cache_dir diskd /cache2 4500 64 384 Q1=64 Q2=72
cache_dir diskd /cache3 4500 64 384 Q1=64 Q2=72
cache_dir diskd /cache4 4500 64 384 Q1=64 Q2=72
cache_dir diskd /cache5 4500 64 384 Q1=64 Q2=72
cache_dir diskd /cache6 4500 64 384 Q1=64 Q2=72

store_dir_select_algorithm least-load
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
pid_filename /var/log/squid/squid.pid
cache_store_log none

#########################################
########External Functions###############
#########################################
ftp_user squid@sarkem.net
ftp_passive on
ftp_sanitycheck on
dns_nameservers 202.155.0.10 202.155.0.15 202.155.0.20

httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
half_closed_clients off

log_fqdn off
always_direct deny all
never_direct allow yahoo

refresh_pattern ^ftp:// 1440 20% 10080
refresh_pattern ^gopher:// 1440 0% 1440
refresh_pattern /cgi-bin/ 60 70% 120
refresh_pattern . 0 20% 4320

icp_hit_stale on
range_offset_limit 4096 KB
visible_hostname djakarta.javamedia.net.id
quick_abort_min 16 KB
quick_abort_max 128 KB
quick_abort_pct 85

#quick_abort_min 0
#quick_abort_max 0
#quick_abort_pct 98

dns_retransmit_interval 5 seconds
dns_timeout 5 minutes

negative_ttl 5 minutes
positive_dns_ttl 6 hours
negative_dns_ttl 5 minutes
cache_mgr admin@sarkem.net
ie_refresh on

############################################
###########  DELAY POOLS  ##################
############################################
#This is the most important part for shaping incoming traffic with Squid
#For detailed description see squid.conf file or docs at http://www.squid-cache.org

#We don’t want to limit downloads on our local network.

###acl magic_words1 url_regex -i 192.168

#We want to limit downloads of these type of files
#Put this all in one line

acl magic_words2 url_regex -i ftp .exe .mp3 .vqf .tar.gz .gz .rpm .zip .rar .avi .mpeg .mpe .mpg .qt .ram .rm .iso .raw .wav .mov .cab .swf .rhz .dat .hlp

#We don’t block .html, .gif, .jpg and similar files, because they
#generally don’t consume much bandwidth

#We want to limit bandwidth during the day, and allow
#full bandwidth during the night
#Caution! with the acl below your downloads are likely to break
#at 23:59. Read the FAQ in this bandwidth if you want to avoid it.

#acl day time 09:00-23:59

#We have two different delay_pools
#View Squid documentation to get familiar
#with delay_pools and delay_class.

#delay_pools 2

###########################################
##########First delay pool#################
###########################################

#We don’t want to delay our local traffic.
#There are three pool classes; here we will deal only with the second.
#First delay class (1) of second type (2).

#delay_class 1 2

#-1/-1 mean that there are no limits.

###delay_parameters 1 -1/-1 -1/-1

#delay_parameters 1 1000/64000 #semua network mendapat bandwidth sama di pool no 1. Sebesar 1 kbytes/sec (8 kbits/sec), dengan burstable file 64 kb.
#delay_parameters 1 32000/32000 1000/64000 #squid akan memakai bandwidth maksimum (32000*8) 256kbits dari semua bandwidth.
##delay_parameters 1 32000/32000 8000/8000 1000/64000 #setiap network akan dipaksa maksimum sebesar (8000*8) 64 kbits/sec

#magic_words1: 192.168 we have set before

#delay_access 1 allow magic_words1
#delay_access 1 allow day
#delay_access 1 deny !day

##############################
incoming_icp_average 3
incoming_http_average 2
incoming_dns_average 3
min_icp_poll_cnt 8
min_dns_poll_cnt 6
min_http_poll_cnt 6
#############################

#######################################################################
#######################################################################
#################      Second delay pool.   ###########################
#######################################################################

#we want to delay downloading files mentioned in magic_words2.
#Second delay class (2) of second type (2).

#delay_class 2 2

#The numbers here are values in bytes;
#we must remember that Squid doesn’t consider start/stop bits
#5000/150000 are values for the whole network
#5000/120000 are values for the single IP
#after downloaded files exceed about 150000 bytes,
#(or even twice or three times as much)
#they will continue to download at about 5000 bytes/s

#delay_parameters 2 5000/150000 5000/120000

#We have set day to 09:00-23:59 before.

#delay_access 2 allow day
#delay_access 2 deny !day
#delay_access 2 allow magic_words2

###################################################
##########  Tuning Squid Cache ####################
###################################################
wais_relay_host localhost
wais_relay_port 8000

request_header_max_size 10 KB
#request_body_max_size 1 MB
request_body_max_size 0 MB

range_offset_limit 17 MB
#connect_timeout 120 seconds
connect_timeout 180 seconds

read_timeout 10 minutes
#siteselect_timeout 4 seconds
request_timeout 30 seconds
pconn_timeout 180 seconds
peer_connect_timeout 60 seconds
persistent_request_timeout 1 minute
client_lifetime 1000 minutes
half_closed_clients off
reload_into_ims on
acl iix dst 202.0.0.0/8 203.0.0.0/8 # by pass IIX
always_direct allow iix
always_direct deny all 
offline_mode on

http_port 80 202.155.2.153
acl port80 port 80
http_access allow port80
always_direct allow all

shutdown_lifetime 10 seconds
memory_pools off

#acl blocksites dstdomain sex.com
#acl blocksites dstdomain .lalatx.com
#acl blocksites dstdomain .uh-oh.com
#acl blocksites dstdomain .playboy.com
#http_access deny blocksites

#acl blockdomains dstdomain "/etc/squid/blacklist/antidomain"
#http_access deny blockdomains
#acl deniedsites url_regex "/etc/squid/blacklist/antiurl"
#http_access deny deniedsites



32 Comments so far

  1.   gustOmO on April 2nd, 2008

    kang, delay pool itu deket deket ama swimming pool ya?

  2.   elosmomiado on October 11th, 2008

    Hello. :) Watched attentively by big sisters Maud and Leah the newest member of the Norwegian royal family has been captured in homely shots used by proud parents Princess Martha Louise of Norway and her husband Ari Behn to introduce her to the world.
    Bye.

  3.   AdulBandul on October 22nd, 2008

    Hi there!
    My first post at this great blog!
    I wanna show u my dayly updated blog: Amateur Topless Teen
    Have a nice day!
    BB!

    P.S. if you don’t want to see this message please write me to no.ads08@gmail.com with subject “NO ADS” and URL of your forum
    Thank you for cooperation!

  4.   BiilYBonnYU on November 12th, 2008

    Excellent blog! Interesting article and very informative! I will necessarily subscribe for this blog. http://movie-cool.com/map.html

  5.   Penis Enlargement on November 15th, 2008

    Penis Enlargement Pills, How to Suck Cock, Sex Secrets, Woman Masturbation, Penis Techniques, Sexual Performance, Sex Instructons & Positions. Visit: http://www.sinepenis.com

  6.   Webmaster on November 15th, 2008

    Этот блог заслуживает похвалы. Обязательно напишу про него на закрытом форуме вебмастеров. Думаю, вебмастера согласятся со мной. Кстати вы можете присоединиться к сообществу вебмастеров, закрытый форум вебмасетров.

  7.   Penis Enlargement Pills on November 22nd, 2008

    Penis Enlargement Pills, How to Suck Cock, Sex Secrets, Woman Masturbation, Penis Techniques, Sexual Performance, Sex Instructons & Positions… Visit: http://www.sinepenis.com

  8.   penis enlargement on December 27th, 2008

    Penis enlargement, natural penis enlargement, male enhancement, erectile dysfunction, premature ejaculation, erections, male enhancement, penus enlargement and penile enlargement products review for big penis size. http://www.penis4enlargement.com

  9.   VentyVixtuppy on December 27th, 2008

    Hey! I love your page ;) If you r looking for Paid Surveys this is the place for u.
    Start advancing your paychecks on http://tinyurl.com/8eysyc

  10.   penis enlargement on January 3rd, 2009

    penis enlargement for enlarge penis size in girth and length to improve sexual pleasure by using penis enlargement products that works best to enlarge penis. http://www.naturalherbalz.com

  11.   penis enlargement on January 3rd, 2009

    penis enlargement methods,
    penis enlargement techniques, penis enlargement guides
    and penis enlargement reviews on best penis enlargement
    products for penis enlarging in girth and length.
    http://www.linkedin.com/in/peniseenlargement

  12.   Penis enlargement pills on January 9th, 2009

    Natural Herbalz Online Natural Herbal Health Care Products Store providing all natural herbal products reviews on men’s and women’s health, skin and beauty products, sexual and general health, weight loss and diet for better health and better life style. http://www.naturalherbalproduct.com/penis-enlargement-pills.html

  13.   Natural Penis Enlargement on January 20th, 2009

    American largest online natural herbal health care products reviews and medicines for all kind of health care treatments and solutions for men’s and women’s health, skin care and hair care, general health and sexual health, weight loss and diet from http://www.naturalherbalproduct.com

  14.   penis enlargement on January 22nd, 2009

    Penis enlargement Pills, Vigrx, Magna Rx, prosolution pills and devices like sizegenetics and penis extender available at http://www.penisenlargementv.com

  15.   Male Enhancement pills on February 16th, 2009

    100% Penis Enlargement is possible by Pills like VigRX Plus , Magna RX , Natural Gain Plus , Prosolution Pills And Devices Like SizeGenetics & Proxtender are only available at http://www.theherbalproducts.com

  16.   penis enlargement pills on February 17th, 2009

    Penis enlargement pills are safe way to enlarge penis size. Penis enhancement pills have always been sold as novelty items for some time. How they managed to make their way into the mainstream is beyond my understanding. It is true that these pills may increase a man’s sex drive, they tend to contain a combination of herbs with aphrodisiac properties. http://www.naturalherbalz.com

  17.   Vigrx plus on March 16th, 2009

    VigRX Plus™ has been clinically proven to be an extremely effective and successful penis enlargement pill. With more than 90% of individuals reporting a significant increase in the length and the girth of their penis after 3 months, VigRX Plus™ has an incredible success ratio.

  18.   penis enlargement on March 22nd, 2009

    At home penis enlargement methods seem to be a topic that has taken on a life of its own, almost to water cooler type gossip status. The reasons for this are several, starting with the taboo nature of it all, mixed more prominently with the fact that male enhancement is a very real issue for most men. The health and research involved in the methods are more accessible than ever, and because of this it is wise to peek inside to that world for those wanting a larger penis.

  19.   weight loss product on March 27th, 2009

    lose weight feel great. Lose those extra pounds to look the perfect bikini shape this summer. got no day time? Adjust it in your beauty sleep time. try the all new line of weight loss products to give u the shape u always wanted.

    http://www.weightlossproductz.com

  20.   penis enlargement on April 12th, 2009

    Penis enlargement pills work slightly differently depending on the active ingredients. There are several penis enlargement pills that contain different ingredients. Some of them contain herbal ingredients, while some contain ingredients formulated by scientists and doctors who are trying to come up with solutions for erectile dysfunction.

  21.   male enhancement on May 8th, 2009

    The male enhancement industry has become big business lately, with all kinds of pills, supplements, and products geared towards male enhancement of sexual performance and size.

    Where the natural male enhancement industry used to be comprised of things like exercises or gadgetry, it has now become more scientific by using herbal formulas that are comprised of some of the ancient remedies that have been used in different cultures.

  22.   penis enlargement on May 17th, 2009

    There are many penis enlargement devices available on the market today, and all of them claim to enhance a man’s penis by up to three inches. However, there are three important questions that a man should find the answers to before making a purchase. First of all, how does the penis enlargement process work? Second, when can the first results be seen? And third, is it a safe way to enhance your penis?

  23.   Penis Enlargement on May 17th, 2009

    I am Very thank full the owner of this blog. Becouse of this blog is very imformative for me.. And I ask u some thiing You make more this type blog where we can get more knowledge. and any one tell me how can I find this type blog. http://www.penisenlargementz.com

  24.   Penis Enlargement Pills on June 3rd, 2009

    Vimax, Vigrx Plus, and Prosolution may be up best penis enlargement pills available, and can increase the size of the penis between 3-4 inches with as little as 2 weeks. http://www.pill-penisenlargement.com

  25.   johnstevens on June 22nd, 2009

    п»ї
    Good stuff Thank you

  26.   penis enlargement on June 25th, 2009

    Discover the best penis enlargement products, that reviews by best penis enlargement consumer review result to get the best penis enlargement products that really works. get the real penis enlargement truth at http://www.penis4enlargement.com

  27.   CocoChanels on June 30th, 2009

    Who knows where to download XRumer 5.0 Palladium?
    Help, please. All recommend this program to effectively advertise on the Internet, this is the best program!

  28.   penis enlargement on July 10th, 2009

    Penis Size Enlargement (All-Natural Sexual Enhancement Products) all-natural herbal male enhancement pills increase penis size and sex drive. Does penis enlargement pills really work? Permanent penis enlargement through penis pills. There are many penis enlargement methods on the market today. Choosing the best product seems to be the most difficult of all. There are penis exercises, penis devices, penis patches and penis pills at http://www.male-sexual-styles.com

  29. Penis Size Enlargement (All-Natural Sexual Health Products) all-natural herbal male enhancement pills increase penis size and sex drive. Does penis enlargement pills really work? Permanent penis enlargement through penis pills. Choosing the best product seems to be the most difficult of all. There are penis exercises, penis devices, penis patches and top rated penis enlargement pills at http://www.male-sexual-styles.com

  30.   Penis Enlargement on July 28th, 2009

    Penis size always concern to men’s every where in every culture. In most cultures a large penis is considered the sign of virility, stamina and power. An average penis size is 5.2-6 inches. In this age of modern science various penis enlargement techniques offer penis enlargement for men. Natural Penis Enlargement

  31.   Penis Enlargement on July 30th, 2009

    Enlarge Your Penis: We selected for you the better and most powerful products to Enlarge Penis Available on the Market!!!

  32.   Penis Enlargement on August 12th, 2009

    Nice blog. I got lot of information, I feel this type of blog have to increase more and more. for further information about me check this website, Its give you lof of information about Penis enlargement, Breast enlargement, sexual enhancement, Weight loss and skin care. http://www.herbalonlinestore.com

Leave a Reply