Wednesday, May 16, 2007

my squid.conf for squidNT (ver 2.6 stable)

http_port 8080
cache_mem 64 MB
cache_swap_low 98
cache_swap_high 99
maximum_object_size 1024 MB
maximum_object_size_in_memory 7999 KB
ipcache_size 163780
ipcache_low 98
ipcache_high 99
cache_replacement_policy heap LFUDA
memory_replacement_policy heap GDSF
cache_dir ufs C:\cache 10240 16 256
cache_access_log none
cache_log none
cache_store_log none
emulate_httpd_log off
mime_table C:\Squid/etc/mime.conf
pid_filename C:\Squid/log/squid.pid
log_fqdn off
ftp_user Squid@
ftp_passive on
ftp_sanitycheck on
dns_nameservers 202.188.0.133 202.188.1.5 192.168.0.1
diskd_program C:\Squid/libexec/diskd.exe
unlinkd_program C:\Squid/libexec/unlinkd.exe
request_header_max_size 20 KB
request_body_max_size 0 KB
refresh_pattern ftp: 1440 60% 10080
refresh_pattern gopher: 1440 60% 1440
refresh_pattern -i . 0 89% 129600000 override-lastmod reload-into-ims
refresh_pattern -i \.gif 999 99% 129600000 ignore-reload reload-into-ims
refresh_pattern -i \.jpg 999 99% 129600000 ignore-reload reload-into-ims
refresh_pattern -i \.tif 999 99% 129600000 ignore-reload reload-into-ims
refresh_pattern -i \.png 999 99% 129600000 ignore-reload reload-into-ims
refresh_pattern -i \.jpeg 999 99% 129600000 ignore-reload reload-into-ims
refresh_pattern -i \.bmp 999 99% 129600000 ignore-reload reload-into-ims
refresh_pattern ^ftp: 4320 98% 129600 override-lastmod reload-into-ims
quick_abort_min 0 KB
quick_abort_max 0 KB
quick_abort_pct 100%
negative_ttl 1 minutes
positive_dns_ttl 24 hours
negative_dns_ttl 1 minutes
range_offset_limit -1 KB
half_closed_clients off
shutdown_lifetime 10 seconds
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 Safe_ports port 5050 # yahoo msger
acl Safe_ports port 5100 # yahoo msger webcam 5101
acl Safe_ports port 5101 # yahoo
acl Safe_ports port 5000-5010 # yahoo
acl CONNECT method CONNECT
acl MYLAN src 127.0.0.1-127.0.0.1/255.255.255.255
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
acl our_networks src 192.168.0.0/255.255.255.0
http_access allow our_networks
http_access allow localhost
http_access deny all
http_reply_access allow all
icp_access allow MYLAN
icp_access allow all
reply_body_max_size 0 allow all
cache_mgr fingerpoppin@gmail.com
cache_effective_user proxy
cache_effective_group proxy
visible_hostname OctopusNT
dns_testnames google.com
logfile_rotate 3
memory_pools off
memory_pools_limit 0
log_icp_queries off
cachemgr_passwd none
store_avg_object_size 1024 KB
store_objects_per_bucket 100
client_db off
netdb_low 900
netdb_high 1000
netdb_ping_period 5 minutes
buffered_logs off
reload_into_ims on
header_access Accept-Encoding deny all
icon_directory C:\Squid/share/icons
offline_mode off
nonhierarchical_direct off
prefer_direct off
coredump_dir C:\Squid/cache
ignore_unknown_nameservers off
client_persistent_connections on
server_persistent_connections on
pipeline_prefetch on
ie_refresh on
vary_ignore_expire on

2 comments:

Anonymous said...

pak biar bisa tranparent proxy gimana ya

Anonymous said...

[B]NZBsRus.com[/B]
Escape Slow Downloads Using NZB Downloads You Can Quickly Search Movies, PC Games, MP3 Albums, Software & Download Them @ Alarming Speeds

[URL=http://www.nzbsrus.com][B]NZB[/B][/URL]