Хожу постоянно на http://rpm.pbone.net
Проблема в том, что регулярно, но по непонятно причине сквид начинает резать траф, через какое-то время сжаливается и снова разрешает ходить.
Сообщение об ошибке:
Код: Выделить всё
ERROR
The requested URL could not be retrieved
While trying to retrieve the URL: http://rpm.pbone.net/
The following error was encountered:
Connection to 85.14.85.4 Failed
The system returned:
(61) Connection refused
The remote host or network may be down. Please try the request again.
Your cache administrator is admin@hyde.
Generated Fri, 08 Dec 2006 19:56:21 GMT by hyde (squid/2.6.STABLE5)
Запись в логах сквида:
Код: Выделить всё
1165608105.037 527 192.168.193.11 TCP_MISS/503 1390 GET http://rpm.pbone.net/ - DIRECT/85.14.85.4 text/html
1165608105.584 511 192.168.193.11 TCP_REFRESH_HIT/200 491 GET http://rpm.pbone.net/favicon.ico - DIRECT/85.14.85.4 image/gif
1165608113.563 7412 192.168.193.11 TCP_MISS/503 1390 GET http://rpm.pbone.net/ - DIRECT/85.14.85.4 text/html
Вывод "squid -v"
Код: Выделить всё
Squid Cache: Version 2.6.STABLE5
configure options: '--bindir=/usr/local/sbin' '--sbindir=/usr/local/sbin' '--datadir=/usr/local/etc/squid' '--libexecdir=/usr/local/libexec/squid' '--localstatedir=/usr/local/squid' '--sysconfdir=/usr/local/etc/squid' '--enable-removal-policies=lru heap' '--disable-linux-netfilter' '--disable-linux-tproxy' '--disable-epoll' '--enable-auth=basic ntlm digest' '--enable-basic-auth-helpers=NCSA PAM MSNT SMB YP' '--enable-digest-auth-helpers=password' '--enable-external-acl-helpers=ip_user session unix_group wbinfo_group' '--enable-ntlm-auth-helpers=SMB' '--enable-storeio=ufs diskd null' '--enable-delay-pools' '--enable-snmp' '--enable-ssl' '--with-openssl=/usr' '--enable-icmp' '--enable-referer-log' '--enable-useragent-log' '--enable-arp-acl' '--enable-pf-transparent' '--enable-ipf-transparent' '--enable-kqueue' '--enable-err-languages=Azerbaijani Bulgarian Catalan Czech Danish Dutch English Estonian Finnish French German Greek Hebrew Hungarian Italian Japanese Korean Lithuanian Polish Portuguese Romanian Russian-1251 Russian-koi8-r Serbian Simplify_Chinese Slovak Spanish Swedish Traditional_Chinese Turkish' '--enable-default-err-language=English' '--prefix=/usr/local' 'i386-portbld-freebsd6.0' 'LDFLAGS= -rpath=/usr/lib:/usr/local/lib -L/usr/local/lib' 'CFLAGS=-O2 -fno-strict-aliasing -pipe -I/usr/include' 'CPPFLAGS=' 'host_alias=i386-portbld-freebsd6.0' 'build_alias=i386-portbld-freebsd6.0' 'target_alias=i386-portbld-freebsd6.0' 'CC=cc'
Конфа:
Код: Выделить всё
http_port 3128 transparent
icp_port 0
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 32 MB
maximum_object_size 8092 KB
maximum_object_size_in_memory 512 KB
cache_dir ufs /usr/local/squid/cache 2048 64 256
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log /var/log/squid/store.log
cache_mgr admin@hyde
visible_hostname hyde
tcp_outgoing_address 111.111.111.111
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
redirect_program /usr/local/etc/squid/redirector.pl
redirect_children 10
acl all src 0.0.0.0/0.0.0.0
acl allowed_sites dstdomain "/usr/local/etc/squid/access/allowed_sites.conf"
#acl limited_IP src "/usr/local/etc/squid/access/limited_IP.conf"
acl localhost src 127.0.0.0/8
acl our_networks src 192.168.193.0/24
acl denied_sites dstdomain "/usr/local/etc/squid/access/denied_ext.conf"
http_access deny denied_sites
http_access allow allowed_sites
#http_access deny limited_IP
http_access allow our_networks
http_access allow localhost
http_access deny all
#httpd_accel_host virtual
#httpd_accel_port 80
#httpd_accel_with_proxy on
#httpd_accel_uses_host_header on
coredump_dir /usr/local/squid/cache
pid_filename /usr/local/squid/logs/squid.pid
=========
Может быть кто-то сталкивался с подобным поведением? Был-бы очень благодарен за помощь.
Спасибо.