2010/4/29 mu'ammal hamidy <[email protected]>: > tolong dong squid saya kok tcp_miss terus, padahal udah 4 bln jalan > squid ini di mesin ubuntu 8.04 HH > ram 1gb, procesor xeon > > berikut settingan squid saya > mohon bantuannya > terimakasih > ==== > http_port 192.168.10.1:3128 transparent > icp_port 0 > udp_incoming_address 0.0.0.0 > udp_outgoing_address 255.255.255.255 > icp_query_timeout 0 > hierarchy_stoplist cgi-bin ? > acl QUERY urlpath_regex cgi-bin \? > redirect_program /usr/bin/adzapper.wrapper > no_cache deny QUERY > cache_mem 128 MB > cache_swap_low 80% > cache_swap_high 85% > maximum_object_size 50 MB > minimum_object_size 4 KB > maximum_object_size_in_memory 500 KB > cache_dir ufs /var/spool/squid 10000 16 256 > access_log /var/log/squid/access.log squid > cache_log /var/log/squid/cache.log > cache_store_log /var/log/squid/store.log > emulate_httpd_log off > log_ip_on_direct on > client_netmask 255.255.255.255 > refresh_pattern -i > \.(css|htm|html|rm|txt|zip|mpeg|mpg|gz|bz2|com|exe|gif|ico|jpg|png|flv|swf|mp3|mp4|svg|pdf|html)$ > 604800 0% 604800 override-expire override-lastmod reload-into-ims > ignore-no-cache ignore-private ignore-auth > 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 localnet src 192.168.10.2-20/255.255.255.255 > acl porn url_regex "/etc/squid/acl/pornurl.txt" > acl noporn url_regex "/etc/squid/acl/noporn.txt" > acl keywordblok url_regex -i "/etc/squid/acl/porn.txt" > acl ip-porn dst "/etc/squid/acl/ip-porn.txt" > acl SSL_ports port 443 > acl Safe_ports port 80 # http > acl Safe_ports port 21 # ftp > acl Safe_ports port 443 # https > 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 > http_access allow CONNECT SSL_ports > http_access allow manager localhost > http_access allow noporn all > http_access deny porn all > http_access deny ip-porn all > http_access deny keywordblok all > http_access deny manager > http_access deny !Safe_ports > http_access deny to_localhost > http_access allow localnet > http_access allow localhost > http_access deny all > http_reply_access allow all > cache_mgr [email protected] > visible_hostname ubuntu.komandan.net.id > ==== > > -- > ---- LIfE gOoD ---- > > -- > FAQ milis di http://wiki.linux.or.id/FAQ_milis_tanya-jawab > Unsubscribe: kirim email ke [email protected] > Arsip dan info milis selengkapnya di http://linux.or.id/milis > >
kalo gak salah "http_port 192.168.10.1:3128 transparent" itu diganti "http_port 3128 transparent" klo boleh tau aturan IP Tablenya gimana...??? -- FAQ milis di http://wiki.linux.or.id/FAQ_milis_tanya-jawab Unsubscribe: kirim email ke [email protected] Arsip dan info milis selengkapnya di http://linux.or.id/milis
