17.07.2013 Views

administrasi jaringan linux - Kambing UI - Universitas Indonesia

administrasi jaringan linux - Kambing UI - Universitas Indonesia

administrasi jaringan linux - Kambing UI - Universitas Indonesia

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Lampiran D. File squid.conf<br />

http_port 8080<br />

cache_mem 2 MB<br />

cache_swap_low 90<br />

cache_swap_high 95<br />

maximum_object_size 1024 KB<br />

minimum_object_size 0 KB<br />

cache_dir ufs /squid 70O 16 256<br />

cache_access_log /usr/local/squid/logs/access.log<br />

cache_log /usr/local/squid/logs/cache.log<br />

cache_store_log /usr/local/squid/logs/store.log<br />

mime_table /usr/local/squid/etc/mime.conf<br />

log_mime_hdrs off<br />

pid_filename /usr/local/squid/logs/squid.pid<br />

#reference_age 1 year<br />

#Defaults:<br />

acl all src 0.0.0.0/0.0.0.0<br />

acl manager proto cache_object<br />

acl localhost src 127.0.0.1/255.255.255.255<br />

acl localnet src 192.168.0.0/255.255.255.0<br />

acl SSL_ports port 443 563<br />

acl Safe_ports port 80 21 443 563 70 210 1025-65535<br />

acl Safe_ports port 280 # http-mgmt<br />

acl Safe_ports port 488 # gss-http<br />

acl Safe_ports port 591 # filemaker<br />

acl Safe_ports port 777 # multiling http<br />

acl CONNECT method CONNECT<br />

#Default configuration:<br />

http_access allow manager localhost<br />

http_access deny manager<br />

http_access deny !Safe_ports<br />

http_access deny CONNECT !SSL_ports<br />

http_access allow localnet<br />

http_access deny all<br />

cache_mgr squid@planet.tzo.com<br />

cache_effective_user squid<br />

cache_effective_group squid<br />

visible_hostname proxy.planet.tzo.com<br />

memory_pools off<br />

no_cache deny SSL_ports<br />

reference_age 6 hour<br />

41

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!