با سلام خدمت اساتید گرامی اسکوئید
یه کانفیگ اسکوئید یکی از دوستان واسمون انجام داده
از دوستان خواهش میکنم یه نظری به این کانفیگ بندازن
اگر مشکی داره راهنمایی کنید تا خودمون تکمیلش کنیم
قبلا از همه سپاسگذاریم.
# $Id: root.2008.darklove.squid
# squid.conf - Squid Object Cache configuration file
# Host: DarkLove
# Description: Squid Cache
################################################## ################
http_port 3128 transparent
icp_port 3130
################################################## ################
hierarchy_stoplist cgi-bin
hierarchy_stoplist ?
acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY
################################################## ################
cache_mem 24 MB
cache_swap_low 90
cache_swap_high 95
################################################## ################
maximum_object_size 16 MB
minimum_object_size 0 KB
################################################## ################
cache_dir ufs /var/spool/squid 60000 16 32
coredump_dir /var/spool/squid
################################################## ################
# useragent_log /var/log/squid/user.log
# referer_log none
cache_store_log none
cache_log none
################### Refresh ####################
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
################################################## ################
request_header_max_size 8 KB
negative_ttl 5 minutes
positive_dns_ttl 40 seconds
negative_dns_ttl 30 seconds
client_lifetime 14 hours
pconn_timeout 30 seconds
connect_timeout 2 minutes
read_timeout 15 minutes
request_timeout 30 seconds
read_timeout 15 minutes
request_timeout 30 seconds
shutdown_lifetime 10 seconds
client_lifetime 14 hours
################################################## ################
ipcache_size 20480
ipcache_low 96
ipcache_high 98
################################################## ################
debug_options ALL,1 98,2
################################################## ################
cachemgr_passwd peyman all
cache_mgr Metal_S2004@Yahoo.Com
cache_effective_user squid
cache_effective_group squid
visible_hostname CacheServer
################################################## ################
emulate_httpd_log off
memory_pools off
log_fqdn off
forwarded_for on
logfile_rotate 4
################################################## ################
acl nimda1 urlpath_regex -i \.elm$
acl nimda2 urlpath_regex -i root.exe
acl nimda3 urlpath_regex -i cmd.exe
acl nimda4 urlpath_regex -i ^http://.*www
acl nimda5 urlpath_regex -i readme.exe
acl nimda6 urlpath_regex -i default.id
acl nimda7 urlpath_regex -i :25
#################################################
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1
acl local src 217.219.**.0/24
acl local src 192.168.**.0/24
acl SSL_ports port 443 563
acl Safe_ports port 80 20 21 443 70 210 8080 280 488 591 777 901 1024-65535
acl purge method PURGE
acl CONNECT method CONNECT
#################################################
http_access deny nimda1
http_access deny nimda2
http_access deny nimda1
http_access deny nimda2
http_access deny nimda3
http_access deny nimda4
http_access deny nimda5
http_access deny nimda6
http_access deny nimda7
#################################################
http_access allow manager localhost
http_access allow manager local
http_access deny manager
http_access allow purge localhost
http_access allow purge local
http_access deny purge
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost
http_access allow local
http_access deny all
icp_access allow all
http_reply_access allow all
reply_body_max_size 0 allow all
#################################################
snmp_port 3401
acl snmppublic snmp_community public
snmp_access allow snmppublic localhost
snmp_access deny all
snmp_incoming_address 0.0.0.0
snmp_outgoing_address 255.255.255.255
موضوعات مشابه:
- نمونه فایل مستند سازی برای روتر و سوییچ سیسکو رو کسی می تونه در اختیار من بذاره ؟
- اساتید من چطور میتونم روی آیزا سرور یا TMG سرورم یک اکانت وی ... ان set کنم تا تمامی پرسنلم بتونند
- تولید پسووردهای اتوماتیک برای کاربران اکتیودایرکتوری
- هزینه پشتیبانی اتوماسیون اداری