LINUX.ORG.RU
ФорумAdmin

Squid 2.7 Stable 3: проблема с доступом на некоторые сайты


0

0

Столкнулся с проблемой доступа на сайты mail.ru, nix.ru и некоторые другие . Страница грузится, но очень долго и не полностью, кеш сквида пересоздавал, ОС Linux debian 5.0 lenny.

Конфиг squid (сокращен):

http_port 192.168.2.200:3128 transparent
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY
acl apache rep_header Server ^Apache
broken_vary_encoding allow apache
cache_mem 64 MB
cache_swap_low 90
cache_swap_high 95
cache_dir ufs /var/spool/squid 100 16 256
access_log /var/log/squid/access.log squid
cache_store_log /var/log/squid/store.log
hosts_file /etc/hosts
refresh_pattern ^ftp:        1440    20%    10080
refresh_pattern ^gopher:    1440    0%    1440
refresh_pattern .        0    20%    4320
acl trust src 192.168.2.9 
http_access allow trust
acl vip src 192.168.2.5 192.168.2.77
http_access allow vip
acl bad_sites url_regex -i "/etc/squid/bad_words.regex"
http_access deny bad_sites
acl tasko src 192.168.2.5-192.168.2.49 
http_access allow tasko
http_access allow tasko trusthosts
acl resepshen src 192.168.2.16-192.168.2.17 192.168.2.19 192.168.2.24
http_access allow resepshen
acl zapchasty src 192.168.2.13-192.168.2.15 192.168.2.18 192.168.2.25 192.168.2.32
http_access allow zapchasty
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        # https
...
acl Safe_ports port 901        # SWAT
acl purge method PURGE
acl CONNECT method CONNECT
http_access deny all
http_access allow manager localhost
http_access deny manager
http_access allow purge localhost
http_access deny purge
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost
http_access deny all
http_reply_access allow all
icp_access allow all
cache_effective_user proxy
cache_effective_group proxy
visible_hostname 192.168.2.200
logfile_rotate 4
delay_pools 4
delay_class 1 2
delay_access 1 allow vip 
delay_access 1 deny all
delay_class 2 2
delay_parameters 2 200000/200000 20000/20000
delay_access 2 allow tasko trust 
delay_access 2 deny all
delay_class 3 2
delay_parameters 3 100000/100000 10000/10000
delay_access 3 allow resepshen
delay_access 3 deny all
delay_class 4 2
delay_parameters 4 50000/50000 20000/20000
delay_access 4 allow zapchasty
delay_access 4 deny all
coredump_dir /var/spool/squid


Ответ на: комментарий от mky

Та же проблема возникла на домашнем компьютере Ubuntu. Это случилось после установки и настройки программ squid, dhcp3, vsftpd, bind9. Не могу понять, что явилось причиной.

Talib
() автор топика
Ответ на: комментарий от Talib

От чего проблема с доступом на некоторые сайты

Пробовал удалить Squid: sudo aptitude purge squid Сайты mail.ru, nix.ru, odnoklassniki.ru по прежнему не грузятся.

Talib
() автор топика

наверное:

проверить, нет ли упоминания о них в файле плохих слов /etc/squid/bad_words.regex

добавить группе, в которую входят чуваки с тормозящим однокласником, скорость

посмотреть iptables и shorewall на предмет явных и скрытых запретов

ЗЫ: как конфиг увидел, - чуть ностальгически не всплакнул.... ;)

stas_on
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.