RSS

Squid-2.7.STABLE5

22 Jan

# Isi File /etc/squid/squid.conf

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 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16

# acl publicnet src

acl SSL_ports port 443 563 873

acl Safe_ports port 21 70 80 81 210 280 443 488 591 777 631 873 901 1025-65535

acl CONNECT method CONNECT

acl comnet-ip dst 202.150.128.0/19

acl comnet-domain dstdomain .comnet.net.id

http_access allow manager localhost

http_access deny manager

http_access deny !Safe_ports

http_access deny CONNECT !SSL_ports

http_access allow localnet

# http_access allow publicnet

http_access deny all

icp_access allow localhost

icp_access allow localnet

# icp_access allow publicnet

icp_access deny all

miss_access allow localhost

miss_access allow localnet

# miss_access allow publicnet

miss_access deny all

http_port 3128 transparent

# tcp_outgoing_address

cache_mem 6 MB

maximum_object_size_in_memory 8 KB

cache_replacement_policy heap LFUDA

memory_replacement_policy heap GDSF

# cache_dir aufs /var/spool/squid 100 16 256

maximum_object_size 16 MB

cache_swap_low 97

cache_swap_high 99

access_log /var/log/squid/access.log squid

cache_log /var/log/squid/cache.log

cache_store_log none

logfile_rotate 0

pid_filename /var/run/squid.pid

buffered_logs on

cache deny comnet-ip

cache deny comnet-domain

refresh_pattern -i .(jpe|jpeg|png|bmp|tiff|ico|jpg|tif|gif|swf|mar|xpi)$ 100000 500% 99000000 reload-into-ims override-lastmod override-expire

refresh_pattern ^gopher: 1440 90% 1440

refresh_pattern ^ftp: 10080 95% 241920 reload-into-ims override-lastmod override-expire ignore-no-cache

refresh_pattern -i (/cgi-bin/|?) 0 0% 0

refresh_pattern . 0 60% 8640

acl apache rep_header Server ^Apache

broken_vary_encoding allow apache

ie_refresh on

vary_ignore_expire on

server_http11 on

shutdown_lifetime 10 seconds

cache_mgr noc@comnet.net.id

cache_effective_user proxy

cache_effective_group proxy

httpd_suppress_version_string on

visible_hostname changeable.template.comnet.net.id

httpd_accel_no_pmtu_disc on

# delay_pools 1

# delay_class 1 1

# delay_parameters 1 128000/128000

# delay_access 1 allow localnet

# delay_access 1 allow publicnet

# delay_access 1 allow comnet-ip

# delay_access 1 allow comnet-domain

# delay_access 1 deny all

delay_initial_bucket_level 70

max_filedescriptors 262144

ipcache_size 16384

ipcache_low 97

ipcache_high 99

fqdncache_size 16384

memory_pools off

reload_into_ims on

coredump_dir /var/spool/squid

pipeline_prefetch on

 
Tinggalkan komentar

Ditulis oleh pada Januari 22, 2009 in belajar.. belajar..

 

Tag:

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s

 
%d blogger menyukai ini: