LINUX.ORG.RU

Сообщения Raven85

 

Squid ограничивает скорость

Форум — General

Добрый день, Профессионалы! Помогите разобраться со Squid-ом. Пользователи в интернете сидят через прокси Squid (на Debian). Устанавливал его не я, поэтому не все моменты его работы мне очевидны, пытаюсь разобраться.

Проблема в следующем: когда работаем через прокси и пытаемся что-то выложить на Гугл диск или Яндекс диск, скорость выгрузки файла очень маленькая, мизерная просто. Файл размером 200 Мб может выкладываться больше часа. Стоит отключить прокси (выйти в инет минуя прокси) как проблема пропадает, выгрузка файлов на облачные хранилища идет с адекватной скоростью.

Не могу понять что именно в Squid ограничивает скорость именно на сайты дисков Яндек и Гугл.

Если я, к примеру, через прокси буду тестить скорость канала, то скорость адекватна.

Ниже настройки Squid:

auth_param negotiate program /usr/lib/squid3/negotiate_kerberos_auth -s HTTP/proxy.domen.local@domen.local 
auth_param negotiate children 10
auth_param negotiate keep_alive on
external_acl_type memberof ttl=3600 ipv4 %LOGIN /usr/lib/squid3/ext_ldap_group_acl -R -b "DC=domen,DC=local" -f "(&(objectclass=user)(sAMAccountName=%v)(memberOf=cn=%a,ou=groups,ou=user,dc=domen,dc=local))" -D mail@domen.local -K -W /etc/squid3/ldap dc.domen.local
acl ldap_full external memberof inet_user_full
acl ldap_limited external memberof inet_user_limited
#acl ldap_shares_social external ldap inet_shares_social
acl ldap_social external memberof inet_user_social
acl ldap_video external memberof inet_user_video
acl ldap_social_vk external memberof inet_user_social_vk
acl ldap_social_vk_cloud_pr external memberof inet_user_social_vk_cloud_pr
acl ldap_cloud external memberof inet_user_cloud
acl blacklist url_regex -i "/etc/squid3/acls/blacklist"
acl mail url_regex -i "/etc/squid3/acls/mail.acl"
acl video url_regex -i "/etc/squid3/acls/video.acl"
acl social url_regex -i "/etc/squid3/acls/social.acl"
acl social_vk url_regex -i "/etc/squid3/acls/social_vk.acl"
acl cloud url_regex -i "/etc/squid3/acls/cloud.acl"
acl cloud_pr url_regex -i "/etc/squid3/acls/cloud_pr.acl"
acl shares url_regex -i "/etc/squid3/acls/shares.acl"

acl SSL_ports port 443
acl Safe_ports port 80		# http
acl Safe_ports port 21		# ftp
acl Safe_ports port 443		# https
acl Safe_ports port 70		# gopher
acl Safe_ports port 210		# wais
acl Safe_ports port 1025-65535	# unregistered ports
acl Safe_ports port 280		# http-mgmt
acl Safe_ports port 488		# gss-http
acl Safe_ports port 591		# filemaker
acl Safe_ports port 777		# multiling http
acl CONNECT method CONNECT
http_access allow ldap_full
http_access allow ldap_limited !video !social !shares !mail !cloud
http_access allow ldap_video !social !shares !mail !cloud
http_access allow ldap_social !video !shares !mail !cloud
http_access allow ldap_social_vk !video !shares !mail !cloud !social_vk
http_access allow ldap_social_vk_cloud_pr !video !shares !mail !cloud_pr !social_vk
http_access allow ldap_cloud !video !shares !mail !social

http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access deny all
http_port 3128 
coredump_dir /var/spool/squid3
refresh_pattern ^ftp:		1440	20%	10080
refresh_pattern ^gopher:	1440	0%	1440
refresh_pattern -i (/cgi-bin/|\?) 0	0%	0
refresh_pattern .		0	20%	4320
visible_hostname proxy 
dns_v4_first on 

Всем заранее благодарен за помощь!

 ,

Raven85
()

RSS подписка на новые темы