* [Comm] Управление трафиком при помощи HTB
@ 2008-02-25 11:16 Dmitriy Kruglikov
2008-02-26 11:42 ` Владимир Гусев
2008-02-28 13:19 ` Vitaly Ostanin
0 siblings, 2 replies; 4+ messages in thread
From: Dmitriy Kruglikov @ 2008-02-25 11:16 UTC (permalink / raw)
To: ALT Linux Community general discussions
Доброго времени суток, уважаемые.
Прошу помощи зала...
Имеем небольшой пограничный маршрутизатор, через который локалка ходит в Инет.
Iptables+NAT решают задачу великолепно.
Необходимо ограничить скорость In/Out для каждого определенного адреса
в локалке или на основании марки пакетов, например.
Такой себе маленький домашний провайдер :)
Пытаюсь использовать iproute-htb и не получается ...
Скорость из Инета к пользователю получилось порезать, а от
пользователя в Инет не получается ...
При старте /etc/init.d/htb start
получаю на экране следующий текст несколько раз:
find: warning: you have specified the -maxdepth option after a
non-option argument -type, but options are not positional (-maxdepth
affects tests specified before it as well as those specified after
it). Please specify options before other arguments.
Настройки из /etc/sysconfig/htb и всякие выхлопы команд приведу по запросу.
А может быть есть более простые и удобные инструменты ?
--
Best regards,
Dmitriy L. Kruglikov
Dmitriy.Kruglikov_at_gmail_dot_com
DKR6-RIPE
DKR6-UANIC
XMPP: Dmitriy.Kruglikov_at_gmail_dot_com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Comm] Управление трафиком при помощи HTB
2008-02-25 11:16 [Comm] Управление трафиком при помощи HTB Dmitriy Kruglikov
@ 2008-02-26 11:42 ` Владимир Гусев
2008-02-26 13:43 ` Dmitriy Kruglikov
2008-02-28 13:19 ` Vitaly Ostanin
1 sibling, 1 reply; 4+ messages in thread
From: Владимир Гусев @ 2008-02-26 11:42 UTC (permalink / raw)
To: community
> [..]
> Пытаюсь использовать iproute-htb и не получается ...
> Скорость из Инета к пользователю получилось порезать, а от
> пользователя в Инет не получается ...
> [..]
Делал я давно ограничение полосы пропукания для исходящего smtp (25
порт) на основе htb, для всех, но это было года 3-4 назад, уж не
вспомню.. Помню лишь, что там конфиг простой, но муторный.. Но реально
заработало .. После чего я не трогал - работает исправно и ладно..
> А может быть есть более простые и удобные инструменты ?
А может входящую полосу пропускания ограничивать при помощи squid, я
делал так.. после 10 мб входящего трафика для определенных
пользователей или групп полоса сужалась.. и они обязательно
вспоминали обо мне.. :-)
--
С уважением,
Владимир Гусев
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Comm] Управление трафиком при помощи HTB
2008-02-26 11:42 ` Владимир Гусев
@ 2008-02-26 13:43 ` Dmitriy Kruglikov
0 siblings, 0 replies; 4+ messages in thread
From: Dmitriy Kruglikov @ 2008-02-26 13:43 UTC (permalink / raw)
To: ALT Linux Community general discussions
26.02.08, Владимир Гусев написал(а):
> Помню лишь, что там конфиг простой, но муторный..
Вот за что люблю общаться с вами, Владимир, так это за элегантность
формулировок ;)
Стало быть так ...
Скриптом я все поднял и работает (ценой неимоверных умственных перенапрягов)...
А вот через htb.init и файлы в /etc/sysconfig/htb не получается нифигашечки ...
А там имена файлов определяют будущую структуру правил...
То, что в примере - малопригодно ...
Читал-читал, но не угадал ни одной буквы ...
;)
--
Best regards,
Dmitriy L. Kruglikov
Dmitriy.Kruglikov_at_gmail_dot_com
DKR6-RIPE
DKR6-UANIC
XMPP: Dmitriy.Kruglikov_at_gmail_dot_com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Comm] Управление трафиком при помощи HTB
2008-02-25 11:16 [Comm] Управление трафиком при помощи HTB Dmitriy Kruglikov
2008-02-26 11:42 ` Владимир Гусев
@ 2008-02-28 13:19 ` Vitaly Ostanin
1 sibling, 0 replies; 4+ messages in thread
From: Vitaly Ostanin @ 2008-02-28 13:19 UTC (permalink / raw)
To: ALT Linux Community general discussions
[-- Attachment #1: Type: text/plain, Size: 257 bytes --]
Dmitriy Kruglikov пишет:
<skipped/>
> А может быть есть более простые и удобные инструменты ?
http://www.radlinux.org/docs/static/ru/ncsh_usecases.html#id2524041
--
Regards, Vyt
mailto: vyt@altlinux.org
JID: vitaly.ostanin@gmail.com
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-02-28 13:19 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-25 11:16 [Comm] Управление трафиком при помощи HTB Dmitriy Kruglikov
2008-02-26 11:42 ` Владимир Гусев
2008-02-26 13:43 ` Dmitriy Kruglikov
2008-02-28 13:19 ` Vitaly Ostanin
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git