Страница 1 из 1

ICQ+SQUID

Добавлено: 2010-03-13 21:55:53
Pendalf
Люди добрые, раскройте мне глаза на решение проблемы.
Есть прокси-сервер Squid+ncsa. Все замечательно работает, раздает интернет на десяток машин... Но есть одна проблема... Все время выкидывает, у всех поголовно, ICQ, независимо от того какой у них клиент стоит и через какой у них порт настроено 443/5190. Примерно раз в 10-15 минут, пока сервис аси вообще не пошлет нафиг за превышение количества подключений)))

Вот так вот:
FreeBSD 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sat Nov 8 00:50:15 OMST 2008 root@:/usr/obj/usr/src/sys/minkernel i386

squid.conf:(squid-2.7.6_1)
visible_hostname PENDALF
http_port 192.168.1.254:3128

cache_dir ufs /squid/cache 3000 16 256
minimum_object_size 0 KB
maximum_object_size 8000 KB
url_rewrite_program /usr/local/rejik/redirector /usr/local/rejik/redirector.conf

refresh_pattern \.bz2$ 43200 100% 43200 override-lastmod override-expire ignore-reload ignore-no-cache
refresh_pattern \.exe$ 43200 100% 43200 override-lastmod override-expire ignore-reload ignore-no-cache
refresh_pattern \.gif$ 43200 100% 43200 override-lastmod override-expire ignore-reload ignore-no-cache
refresh_pattern \.gz$ 43200 100% 43200 override-lastmod override-expire ignore-reload ignore-no-cache
refresh_pattern \.ico$ 43200 100% 43200 override-lastmod override-expire ignore-reload ignore-no-cache
refresh_pattern \.jpg$ 43200 100% 43200 override-lastmod override-expire ignore-reload ignore-no-cache
refresh_pattern \.mid$ 43200 100% 43200 override-lastmod override-expire ignore-reload ignore-no-cache
#refresh_pattern \.mp3$ 43200 100% 43200 override-lastmod override-expire ignore-reload ignore-no-cache
refresh_pattern \.pdf$ 43200 100% 43200 override-lastmod override-expire ignore-reload ignore-no-cache
refresh_pattern \.swf$ 43200 100% 43200 override-lastmod override-expire ignore-reload ignore-no-cache
refresh_pattern \.tar$ 43200 100% 43200 override-lastmod override-expire ignore-reload ignore-no-cache
refresh_pattern \.tgz$ 43200 100% 43200 override-lastmod override-expire ignore-reload ignore-no-cache
refresh_pattern \.zip$ 43200 100% 43200 override-lastmod override-expire ignore-reload ignore-no-cache
refresh_pattern http://ad\. 43200 100% 43200 override-lastmod override-expire ignore-reload ignore-no-cache
refresh_pattern http://ads\. 43200 100% 43200 override-lastmod override-expire ignore-reload ignore-no-cache
refresh_pattern http://adv\. 43200 100% 43200 override-lastmod override-expire ignore-reload ignore-no-cache
refresh_pattern http://click\. 43200 100% 43200 override-lastmod override-expire ignore-reload ignore-no-cache
refresh_pattern http://count\. 43200 100% 43200 override-lastmod override-expire ignore-reload ignore-no-cache
refresh_pattern http://counter\. 43200 100% 43200 override-lastmod override-expire ignore-reload ignore-no-cache
refresh_pattern http://engine\. 43200 100% 43200 override-lastmod override-expire ignore-reload ignore-no-cache
refresh_pattern http://img\.readme\.ru 43200 100% 43200 override-lastmod override-expire ignore-reload ignore-no-cache
refresh_pattern http://userpic\.livejournal\.com 43200 100% 43200 override-lastmod override-expire ignore-reload ignore-no-cache
refresh_pattern \.ru/bf-analyze 43200 100% 43200 override-lastmod override-expire ignore-reload ignore-no-cache
refresh_pattern \.ru/bf-si 43200 100% 43200 override-lastmod override-expire ignore-reload ignore-no-cache
refresh_pattern /advs/ 43200 100% 43200 override-lastmod override-expire ignore-reload ignore-no-cache
refresh_pattern /banners/ 43200 100% 43200 override-lastmod override-expire ignore-reload ignore-no-cache
refresh_pattern /cgi-bin/iframe/ 43200 100% 43200 override-lastmod override-expire ignore-reload ignore-no-cache
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 80% 14400

access_log /squid/logs/access.log
cache_log /squid/logs/cache.log
pid_filename /squid/logs/squid.pid
coredump_dir /squid/cache
#cache_store_log /squid/logs/store.log
cache_store_log none
error_directory /usr/local/etc/squid/errors/Russian-koi8-r

acl Safe_ports port 443 563 #for ICQ
acl CONNECT method CONNECT #for ICQ
acl SSL_ports port 443 563 #for ICQ
acl all src 0.0.0.0/0.0.0.0
log_mime_hdrs on

auth_param basic program /usr/local/libexec/squid/ncsa_auth /usr/local/etc/squid/passwd
auth_param basic children 8
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive on

acl users proxy_auth REQUIRED
http_access allow users
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access deny all

Re: ICQ+SQUID

Добавлено: 2010-03-16 17:29:15
Pendalf
Ну кто нибудь), неужели ни у кого не было что нить похожего?

Re: ICQ+SQUID

Добавлено: 2010-03-16 21:24:08
Pendalf
Добавление. В тот момент когда выключается ася, выключается вообще весь интернет. потом включается.
Я этого не замечал, так как не часто пользуюсь интернетом где это происходит.