* Re: [Comm] Ограничение траффика
@ 2006-03-31 11:27 ` Dmitriy L. Kruglikov
2006-03-31 14:35 ` Aleksander N. Gorohovski
2006-03-31 11:36 ` Gennadiy Redko
` (3 subsequent siblings)
4 siblings, 1 reply; 12+ messages in thread
From: Dmitriy L. Kruglikov @ 2006-03-31 11:27 UTC (permalink / raw)
To: community
On Fri, 31 Mar 2006 15:11:42 +0400
Муратов Олег wrote:
> Добрый день.
> Скажите, есть ли готовое решение по ограничению суточного траффика?
> С уважением, Муратов О.В.
Я когда-то делал такое
http://www.rejik.ru/830/index.html
Может быть подойдет и вам ...
Хотя, это не идеал ...
Проще поставить, например, lightsquid, а потом зарплатой
регулировать ....
Так быстрее доходит :)
--
Best regards,
Dmitriy L. Kruglikov .--.
Dmitriy.Kruglikov@orionagro.com.ua |@_@ |
DKR6-RIPE |!_/ |
ICQ# 13047326 // \ \
XMPP:dkr6@jabber.ru (| | )
/'\_ _/`\
Powered by Linux \___)=(___/
-- Мысль --
Тысячу можем отыскать ученых, пока на одного натолкнемся мудреца.
-- Ф.Клингер
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Comm] Ограничение траффика
2006-03-31 11:27 ` [Comm] Ограничение траффика Dmitriy L. Kruglikov
@ 2006-03-31 14:35 ` Aleksander N. Gorohovski
2006-03-31 11:48 ` Шенцев Алексей Владимирович
2006-03-31 11:55 ` Andrey Rybak
0 siblings, 2 replies; 12+ messages in thread
From: Aleksander N. Gorohovski @ 2006-03-31 14:35 UTC (permalink / raw)
To: ALT Linux Community
On Fri, 31 Mar 2006 11:27:00 -0000, Dmitriy L. Kruglikov wrote:
> On Fri, 31 Mar 2006 15:11:42 +0400
> Муратов Олег wrote:
>
>> Добрый день.
>> Скажите, есть ли готовое решение по ограничению суточного траффика?
>> С уважением, Муратов О.В.
> Я когда-то делал такое
> http://www.rejik.ru/830/index.html
>
> Может быть подойдет и вам ...
>
> Хотя, это не идеал ...
А просто через iptables нет у кого средства?
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Comm] Ограничение траффика
2006-03-31 14:35 ` Aleksander N. Gorohovski
@ 2006-03-31 11:48 ` Шенцев Алексей Владимирович
2006-03-31 11:55 ` Andrey Rybak
1 sibling, 0 replies; 12+ messages in thread
From: Шенцев Алексей Владимирович @ 2006-03-31 11:48 UTC (permalink / raw)
To: ALT Linux Community
В сообщении от 31 марта 2006 18:35 Aleksander N. Gorohovski написал(a):
> А просто через iptables нет у кого средства?
По этому вопросу есть статьи на http://www.opennet.ru
--
С уважением, Шенцев Алексей Владимирович (AShen)
E-mail: ashen@nsrz.ru
ICQ: 271053845
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Comm] Ограничение траффика
2006-03-31 14:35 ` Aleksander N. Gorohovski
2006-03-31 11:48 ` Шенцев Алексей Владимирович
@ 2006-03-31 11:55 ` Andrey Rybak
2006-03-31 12:03 ` Dmytro O. Redchuk
1 sibling, 1 reply; 12+ messages in thread
From: Andrey Rybak @ 2006-03-31 11:55 UTC (permalink / raw)
To: ALT Linux Community
Aleksander N. Gorohovski пишет:
> On Fri, 31 Mar 2006 11:27:00 -0000, Dmitriy L. Kruglikov wrote:
>
>
>> On Fri, 31 Mar 2006 15:11:42 +0400
>> Муратов Олег wrote:
>>
>>
>>> Добрый день.
>>> Скажите, есть ли готовое решение по ограничению суточного траффика?
>>> С уважением, Муратов О.В.
>>>
>> Я когда-то делал такое
>> http://www.rejik.ru/830/index.html
>>
>> Может быть подойдет и вам ...
>>
>> Хотя, это не идеал ...
>>
>
> А просто через iptables нет у кого средства?
>
>
Есть
iptables -p tcp -m quota --quota 1073741824 (гигабайт тобишь) -j ACCEPT
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Comm] Ограничение траффика
2006-03-31 11:55 ` Andrey Rybak
@ 2006-03-31 12:03 ` Dmytro O. Redchuk
0 siblings, 0 replies; 12+ messages in thread
From: Dmytro O. Redchuk @ 2006-03-31 12:03 UTC (permalink / raw)
To: ALT Linux Community
On Fri, Mar 31, 2006 at 02:55:02PM +0300, Andrey Rybak wrote:
> Aleksander N. Gorohovski пишет:
> > On Fri, 31 Mar 2006 11:27:00 -0000, Dmitriy L. Kruglikov wrote:
> >
> >
> >> On Fri, 31 Mar 2006 15:11:42 +0400
> >> Муратов Олег wrote:
> >>
> >>
> >>> Добрый день.
> >>> Скажите, есть ли готовое решение по ограничению суточного траффика?
> >>> С уважением, Муратов О.В.
> >>>
> >> Я когда-то делал такое
> >> http://www.rejik.ru/830/index.html
> >>
> >> Может быть подойдет и вам ...
> >>
> >> Хотя, это не идеал ...
> >>
> >
> > А просто через iptables нет у кого средства?
> >
> >
> Есть
> iptables -p tcp -m quota --quota 1073741824 (гигабайт тобишь) -j ACCEPT
Угу.
И следующей строкой (для этого же клиента):
iptables -p tcp -j DOUBLEPRICE
--
_,-=._ /|_/|
`-.} `=._,.-=-._., @ @._,
`._ _,-. ) _,.-'
` G.m-"^m`m' Dmytro O. Redchuk
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Comm] Ограничение траффика
2006-03-31 11:27 ` [Comm] Ограничение траффика Dmitriy L. Kruglikov
@ 2006-03-31 11:36 ` Gennadiy Redko
2006-03-31 16:53 ` ABATAPA
2006-04-01 9:02 ` Alexey Borovskoy
2006-03-31 15:06 ` Michael Popov
` (2 subsequent siblings)
4 siblings, 2 replies; 12+ messages in thread
From: Gennadiy Redko @ 2006-03-31 11:36 UTC (permalink / raw)
To: omouratov, ALT Linux Community
Муратов Олег пишет:
> Добрый день.
>
>
>
> Скажите, есть ли готовое решение по ограничению суточного траффика?
>
>
>
> С уважением, Муратов О.В.
FreeRADIUS+pptp/ipsec/openvpn+FreeNIBS ?
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Comm] Ограничение траффика
2006-03-31 11:27 ` [Comm] Ограничение траффика Dmitriy L. Kruglikov
2006-03-31 11:36 ` Gennadiy Redko
@ 2006-03-31 15:06 ` Michael Popov
2006-04-02 12:02 ` Slava Dubrovskiy
2006-04-06 8:13 ` Anton Farygin
4 siblings, 0 replies; 12+ messages in thread
From: Michael Popov @ 2006-03-31 15:06 UTC (permalink / raw)
To: omouratov, ALT Linux Community
> Скажите, есть ли готовое решение по ограничению суточного траффика?
3proxy.
Много умеет, только конфиг немного заморочен.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Comm] Ограничение траффика
` (2 preceding siblings ...)
2006-03-31 15:06 ` Michael Popov
@ 2006-04-02 12:02 ` Slava Dubrovskiy
2006-04-03 4:49 ` Дворников Михаил
2006-04-06 8:13 ` Anton Farygin
4 siblings, 1 reply; 12+ messages in thread
From: Slava Dubrovskiy @ 2006-04-02 12:02 UTC (permalink / raw)
To: omouratov, ALT Linux Community
Муратов Олег пишет:
> Скажите, есть ли готовое решение по ограничению суточного траффика?
>
Попробовать установить и настроить SAMS (http://sams.irc.perm.ru). Почти
опакетил и возможно скоро появится в репозитарии (если будет работать
более-менее).
--
WBR,
Dubrovskiy Vyacheslav
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Comm] Ограничение траффика
2006-04-02 12:02 ` Slava Dubrovskiy
@ 2006-04-03 4:49 ` Дворников Михаил
0 siblings, 0 replies; 12+ messages in thread
From: Дворников Михаил @ 2006-04-03 4:49 UTC (permalink / raw)
To: slava, ALT Linux Community
Slava Dubrovskiy пишет:
> Муратов Олег пишет:
>
>> Скажите, есть ли готовое решение по ограничению суточного траффика?
>>
> Попробовать установить и настроить SAMS (http://sams.irc.perm.ru). Почти
> опакетил и возможно скоро появится в репозитарии (если будет работать
> более-менее).
>
"По мотивам" lightsquid написал программу:
- собирает статистику из лога squid (кто, сколько, что накачал);
- создает файл.acl из не превысивших норму загрузки ip;
- создает файл отчета по всем;
- создает файл отчета "ip-сайт-скачано" (по-желанию);
- service squid reload.
Все ходят в Inet через прозрачный прокси.
--
С уважением, Дворников Михаил.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Comm] Ограничение траффика
` (3 preceding siblings ...)
2006-04-02 12:02 ` Slava Dubrovskiy
@ 2006-04-06 8:13 ` Anton Farygin
4 siblings, 0 replies; 12+ messages in thread
From: Anton Farygin @ 2006-04-06 8:13 UTC (permalink / raw)
To: community
Муратов Олег wrote:
> Добрый день.
>
>
>
> Скажите, есть ли готовое решение по ограничению суточного траффика?
netams.
Работает практически out of box. Целая куча статей по его настройке.
Rgds,
Rider
^ permalink raw reply [flat|nested] 12+ messages in thread