PDA

Показать полную графическую версию : Снова Squid и pools - не работает


Anatoliy2004
13-03-2008, 18:09
Всем привет. Вот конфиг сквида почемуто при запуске ругается на пулы. В чем проблема не могу понять.Подскажите что сдесь не так:
http_port 8080
ftp_user anonymous@
ftp_list_width 32
ftp_passive on
ftp_sanitycheck on
dns_nameservers 195.5.29.2
cache_dir ufs /var/spool/squid/cache 200 16 256
access_log /usr/local/squid/logs/access.log squid
cache_log /usr/local/squid/logs/cache.log
cache_store_log /usr/local/squid/logs/store.log
acl admin src 192.168.10.1/255.255.255.255
acl all src 0.0.0.0/0.0.0.0
acl localnet src 192.168.10.0/255.255.255.0 #╠╧╦┴╠╪╬┴╤ ╙┼╘╪
#acl external src *.*.*.*/255.255.255.255 # IP ─╠╤ ╫┘╚╧─┴ ╫ щ╬╘┼╥╬┼╘
acl localhost src 127.0.0.1/255.255.255.255
# ї╦┴┌┘╫┴┼═ ╬┼╧┬╚╧─╔═┘┼ ╨╥┴╫╔╠╪╬┘┼ ╨╧╥╘┘
acl Safe_ports port 21 # ftp
acl Safe_ports port 22 # ssh
acl Safe_ports port 80 # http
acl Safe_ports port 8080 #http
acl CONNECT method CONNECT
# ї╦┴┌┘╫┴┼═ ╨╥┴╫┴╫ ─╧╙╘╒╨┴
http_access allow admin
http_access allow localnet
#http_access allow external
http_access allow localhost

delay_pools 3
delay_class 1 2
delay_class 2 3
delay_class 3 2

delay_access 1 allow localhost
delay_access 1 deny all
delay_parameters 1 -1/-1 -1/-1

delay_access 2 allow admin
delay_access 2 deny all
delay_parameters 2 80000/80000 80000/80000 40000/40000

delay_access 2 allow localnet
delay_access 3 deny all
delay_parameters 3 6000/6000 -1/-1

BuGfiX
13-03-2008, 18:46
Как именно ругается ?

Anatoliy2004
13-03-2008, 18:52
xt то там
рекогнайзед

вроде

BuGfiX
13-03-2008, 20:50
А поточнее?:-)

WhitePangolin
14-03-2008, 08:05
Не уверен что это критично, но по моему Squid читает правила по порядку, быть может delay_parameters нужно указывать до delay_access?

Anatoliy2004
14-03-2008, 10:20
Не уверен что это критично »
критично так как не запускается сквид




© OSzone.net 2001-2012