squid+auth+speed

Обсуждение настройки и работы сервисов, резервирования, сетевых настроек и вопросов безопасности ОС для молодых и начинающих системных администраторов.

Модераторы: SLEDopit, Модераторы разделов

Brabashka
Сообщения: 84

squid+auth+speed

Сообщение Brabashka »

Здравствуйте.

You can combine username/password access-lists and speed-limits. You can, for example. allow users that have not logged into the cache access to the Internet, but at a much slower speed than users who have logged in. Users that are logged in get access to dedicated bandwidth, but are charged for their downloads.
прочел здесь
Как это сделать?
Спасибо сказали:
Аватара пользователя
danger08
Сообщения: 715
ОС: Linux (CentOS, Ubuntu)

Re: squid+auth+speed

Сообщение danger08 »

Brabashka писал(а):
17.05.2009 20:30
You can combine username/password access-lists and speed-limits. You can, for example. allow users that have not logged into the cache access to the Internet, but at a much slower speed than users who have logged in. Users that are logged in get access to dedicated bandwidth, but are charged for their downloads.
прочел здесь
Как это сделать?

А подзаголовок видели? Using Delay Pools in Real Life.
Соответственно, смотрим выше: Delay Classes.
Блогосайт - http://www.fateyev.com
Спасибо сказали:
Brabashka
Сообщения: 84

Re: squid+auth+speed

Сообщение Brabashka »

Сделал так.

acl authuser proxy_auth user1 user2
acl some_time time ...
...
http_access allow authuser
...
delay_access <number> allow authuser some_time
delay_access deny all

Как сделать для "юзеров которые не логинились на кеш" (that have not logged into the cach)?
при запуске эксплорера логин ведь спрашивает.

squid 3.0 stable10
Спасибо сказали: