* [Comm] настройка и работа с iproute-htb @ 2005-09-07 10:55 Владимир Гусев 2005-09-07 11:04 ` Dmytro O. Redchuk 0 siblings, 1 reply; 11+ messages in thread From: Владимир Гусев @ 2005-09-07 10:55 UTC (permalink / raw) To: AltLinux Community Здравствуйте! В последнее время на канале ADSL назрела необходимость как-то ограничивать исходящий трафик (в частности SMTP), чтобы не забивать общий канал.. В связи с этим порылся в архивах community и нашел упоминание о iproute-htb. Но ни мануала, ни хоть какого-нибудь readme в /usr/share/doc я не нашел.. есть только несколько образцов файлов, их назначение мне мне хоть и почти понятно, но не ясно, как это все должно работать, где что и править, как это будет сосуществовать с iptables+Squid (в котором включены пулы на ограничение по скорости входящего трафика у ряда "граждан".. Поиск Google по слову iproute-htb практически не дал нормальных результатов.. Я не имею представления, ни как это работает, ни как это настроить.. Кто-нибудь поможет? -- С уважением, Владимир Гусев ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Comm] настройка и работа с iproute-htb 2005-09-07 10:55 [Comm] настройка и работа с iproute-htb Владимир Гусев @ 2005-09-07 11:04 ` Dmytro O. Redchuk 2005-09-07 11:11 ` Владимир Гусев 2005-09-07 11:17 ` Владимир Гусев 0 siblings, 2 replies; 11+ messages in thread From: Dmytro O. Redchuk @ 2005-09-07 11:04 UTC (permalink / raw) To: AltLinux Community On Wed, Sep 07, 2005 at 02:55:19PM +0400, Владимир Гусев wrote: > Здравствуйте! > > В последнее время на канале ADSL назрела необходимость как-то ограничивать > исходящий трафик (в частности SMTP), чтобы не забивать общий канал.. > В связи с этим порылся в архивах community и нашел упоминание о > iproute-htb. > Но ни мануала, ни хоть какого-нибудь readme в /usr/share/doc я не нашел.. > есть только несколько образцов файлов, их назначение мне мне хоть и почти > понятно, но не ясно, как это все должно работать, где что и править, как > это будет сосуществовать с iptables+Squid (в котором включены пулы на > ограничение по скорости входящего трафика у ряда "граждан".. > Поиск Google по слову iproute-htb практически не дал нормальных > результатов.. Я не имею представления, ни как это работает, ни как это > настроить.. > Кто-нибудь поможет? Поиск по "htb home" сразу даёт http://luxik.cdi.cz/~devik/qos/htb/ -- там есть User Manual, почитайте его вначале. Много всего есть на lartc.org -- где-то были ссылки на русский перевод. И спрашивайте :-) (Бытует мнение, что проще взять cbq-init или что-то вроде... Не знаю, не знаю... :-) > > -- > С уважением, Владимир Гусев -- _,-=._ /|_/| `-.} `=._,.-=-._., @ @._, `._ _,-. ) _,.-' ` G.m-"^m`m' Dmytro O. Redchuk ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Comm] настройка и работа с iproute-htb 2005-09-07 11:04 ` Dmytro O. Redchuk @ 2005-09-07 11:11 ` Владимир Гусев 2005-09-07 11:17 ` Владимир Гусев 1 sibling, 0 replies; 11+ messages in thread From: Владимир Гусев @ 2005-09-07 11:11 UTC (permalink / raw) To: ALT Linux Community >> В последнее время на канале ADSL назрела необходимость как-то >> ограничивать >> исходящий трафик (в частности SMTP), чтобы не забивать общий канал.. >> В связи с этим порылся в архивах community и нашел упоминание о >> iproute-htb. >> Но ни мануала, ни хоть какого-нибудь readme в /usr/share/doc я не >> нашел.. >> есть только несколько образцов файлов, их назначение мне мне хоть и >> почти >> понятно, но не ясно, как это все должно работать, где что и править, как >> это будет сосуществовать с iptables+Squid (в котором включены пулы на >> ограничение по скорости входящего трафика у ряда "граждан".. >> Поиск Google по слову iproute-htb практически не дал нормальных >> результатов.. Я не имею представления, ни как это работает, ни как это >> настроить.. >> Кто-нибудь поможет? > Поиск по "htb home" сразу даёт http://luxik.cdi.cz/~devik/qos/htb/ -- там > есть User Manual, почитайте его вначале. > Много всего есть на lartc.org -- где-то были ссылки на русский перевод. > И спрашивайте :-) Спасибо, сейчас взгляну и, если что, буду спрашивать дальше. -- С уважением, Владимир Гусев ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Comm] настройка и работа с iproute-htb 2005-09-07 11:04 ` Dmytro O. Redchuk 2005-09-07 11:11 ` Владимир Гусев @ 2005-09-07 11:17 ` Владимир Гусев 2005-09-07 11:28 ` Dmytro O. Redchuk 2005-09-07 11:56 ` Re[2]: " Andrey A. Yefremov 1 sibling, 2 replies; 11+ messages in thread From: Владимир Гусев @ 2005-09-07 11:17 UTC (permalink / raw) To: ALT Linux Community >> В последнее время на канале ADSL назрела необходимость как-то >> ограничивать >> исходящий трафик (в частности SMTP), чтобы не забивать общий канал.. >> В связи с этим порылся в архивах community и нашел упоминание о >> iproute-htb. >> Но ни мануала, ни хоть какого-нибудь readme в /usr/share/doc я не >> нашел.. >> есть только несколько образцов файлов, их назначение мне мне хоть и >> почти >> понятно, но не ясно, как это все должно работать, где что и править, как >> это будет сосуществовать с iptables+Squid (в котором включены пулы на >> ограничение по скорости входящего трафика у ряда "граждан".. > Поиск по "htb home" сразу даёт http://luxik.cdi.cz/~devik/qos/htb/ -- там > есть User Manual, почитайте его вначале. > Много всего есть на lartc.org -- где-то были ссылки на русский перевод. > И спрашивайте :-) Эх.. ничего я не понял.. Может проще будет алгоритм для "тупых" вроде меня - как использовать iproute-htb, описание содержимого файлов-образцов и что где подправить, куда положить..? А уж потом я постепенно вникну в материал.. мозги уже не те.. -- С уважением, Владимир Гусев ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Comm] настройка и работа с iproute-htb 2005-09-07 11:17 ` Владимир Гусев @ 2005-09-07 11:28 ` Dmytro O. Redchuk 2005-09-07 11:43 ` Владимир Гусев 2005-09-07 11:56 ` Re[2]: " Andrey A. Yefremov 1 sibling, 1 reply; 11+ messages in thread From: Dmytro O. Redchuk @ 2005-09-07 11:28 UTC (permalink / raw) To: ALT Linux Community On Wed, Sep 07, 2005 at 03:17:54PM +0400, Владимир Гусев wrote: > >>В последнее время на канале ADSL назрела необходимость как-то > >>ограничивать > >>исходящий трафик (в частности SMTP), чтобы не забивать общий канал.. > >>В связи с этим порылся в архивах community и нашел упоминание о > >>iproute-htb. > >>Но ни мануала, ни хоть какого-нибудь readme в /usr/share/doc я не > >>нашел.. > >>есть только несколько образцов файлов, их назначение мне мне хоть и > >>почти > >>понятно, но не ясно, как это все должно работать, где что и править, как > >>это будет сосуществовать с iptables+Squid (в котором включены пулы на > >>ограничение по скорости входящего трафика у ряда "граждан".. > >Поиск по "htb home" сразу даёт http://luxik.cdi.cz/~devik/qos/htb/ -- там > >есть User Manual, почитайте его вначале. > >Много всего есть на lartc.org -- где-то были ссылки на русский перевод. > >И спрашивайте :-) > > Эх.. ничего я не понял.. Может проще будет алгоритм для "тупых" вроде меня > - как использовать iproute-htb, описание содержимого файлов-образцов и что > где подправить, куда положить..? А уж потом я постепенно вникну в > материал.. мозги уже не те.. Хм... шшас.. (rpm -ql iproute-htb view /usr/share/doc/iproute-htb-0.8.4/eth0-2.root view /usr/share/doc/iproute-htb-0.8.4/eth0-2\:30.dfl ...) Похоже, что просто скопируйте eth0-2.root, eth0-2:30.dfl и eth0-2:20.smtp в каталог /etc/sysconfig/htb -- заменив (!) при этом eth0 на имя вашего внешнего интерфейса, пройдитесь по файлам и измените числа на требуемые... И пробуйте service htb start, наверное... Не знаю, я это впервые вижу :-) Видимо, я это имел в виду, когды писал про cbq-init... > > > > -- > С уважением, Владимир Гусев -- _,-=._ /|_/| `-.} `=._,.-=-._., @ @._, `._ _,-. ) _,.-' ` G.m-"^m`m' Dmytro O. Redchuk ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Comm] настройка и работа с iproute-htb 2005-09-07 11:28 ` Dmytro O. Redchuk @ 2005-09-07 11:43 ` Владимир Гусев 0 siblings, 0 replies; 11+ messages in thread From: Владимир Гусев @ 2005-09-07 11:43 UTC (permalink / raw) To: ALT Linux Community >>> Поиск по "htb home" сразу даёт http://luxik.cdi.cz/~devik/qos/htb/ -- >> там >>> есть User Manual, почитайте его вначале. >>> Много всего есть на lartc.org -- где-то были ссылки на русский перевод. >>> И спрашивайте :-) >> Эх.. ничего я не понял.. Может проще будет алгоритм для "тупых" вроде >> меня >> - как использовать iproute-htb, описание содержимого файлов-образцов и >> что >> где подправить, куда положить..? А уж потом я постепенно вникну в >> материал.. мозги уже не те.. > Хм... шшас.. > (rpm -ql iproute-htb > view /usr/share/doc/iproute-htb-0.8.4/eth0-2.root > view /usr/share/doc/iproute-htb-0.8.4/eth0-2\:30.dfl > ...) > Похоже, что просто скопируйте eth0-2.root, eth0-2:30.dfl и eth0-2:20.smtp > в каталог /etc/sysconfig/htb -- заменив (!) при этом eth0 на имя вашего > внешнего интерфейса, пройдитесь по файлам и измените числа на > требуемые... > И пробуйте service htb start, наверное... А как насчет RATE, CEIL, BURST, LEAF и RULE ? BURST - это скорее всего по сколько "на нос", а вот что из RATE и CEIL общая толщина исходящего канала? И что будет если я воспользуюсь только одним файлом для smtp, или root тоже нужен? -- С уважением, Владимир Гусев ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re[2]: [Comm] настройка и работа с iproute-htb 2005-09-07 11:17 ` Владимир Гусев 2005-09-07 11:28 ` Dmytro O. Redchuk @ 2005-09-07 11:56 ` Andrey A. Yefremov 2005-09-07 12:04 ` Владимир Гусев 1 sibling, 1 reply; 11+ messages in thread From: Andrey A. Yefremov @ 2005-09-07 11:56 UTC (permalink / raw) To: ALT Linux Community Здравствуйте, Владимир. Вы писали 7 сентября 2005 г., 14:17:54: >> Поиск по "htb home" сразу даёт >> http://luxik.cdi.cz/~devik/qos/htb/ -- там >> есть User Manual, почитайте его вначале. >> Много всего есть на lartc.org -- где-то были ссылки на русский перевод. >> И спрашивайте :-) > Эх.. ничего я не понял.. Может проще будет алгоритм для "тупых" вроде меня > - как использовать iproute-htb, описание содержимого файлов-образцов и что > где подправить, куда положить..? А уж потом я постепенно вникну в > материал.. мозги уже не те.. После установки пакета дружно идем в /etc/rc.d/init.d/htb и читаем сам скрипт htb. Там в заголовке отличный мануал. -- С уважением, Andrey A. Yefremov mailto:alt@techno.dn.ua ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Re[2]: [Comm] настройка и работа с iproute-htb 2005-09-07 11:56 ` Re[2]: " Andrey A. Yefremov @ 2005-09-07 12:04 ` Владимир Гусев 2005-09-07 12:42 ` Владимир Гусев 0 siblings, 1 reply; 11+ messages in thread From: Владимир Гусев @ 2005-09-07 12:04 UTC (permalink / raw) To: Andrey A. Yefremov, ALT Linux Community >>> Поиск по "htb home" сразу даёт >>> http://luxik.cdi.cz/~devik/qos/htb/ -- там >>> есть User Manual, почитайте его вначале. >>> Много всего есть на lartc.org -- где-то были ссылки на русский перевод. >>> И спрашивайте :-) >> Эх.. ничего я не понял.. Может проще будет алгоритм для "тупых" вроде >> меня - как использовать iproute-htb, описание содержимого >> файлов-образцов и что где подправить, куда положить..? А уж потом я >> постепенно вникну в >> материал.. мозги уже не те.. > После установки пакета дружно идем в /etc/rc.d/init.d/htb и читаем сам > скрипт htb. Там в заголовке отличный мануал. Сейчас посмотрю.. -- С уважением, Владимир Гусев ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Re[2]: [Comm] настройка и работа с iproute-htb 2005-09-07 12:04 ` Владимир Гусев @ 2005-09-07 12:42 ` Владимир Гусев 2005-09-07 23:38 ` Re[4]: " Alexey S. Kuznetsov 0 siblings, 1 reply; 11+ messages in thread From: Владимир Гусев @ 2005-09-07 12:42 UTC (permalink / raw) To: ALT Linux Community >>>> Поиск по "htb home" сразу даёт >>>> http://luxik.cdi.cz/~devik/qos/htb/ -- там >>>> есть User Manual, почитайте его вначале. >>>> Много всего есть на lartc.org -- где-то были ссылки на русский >>>> перевод. >>>> И спрашивайте :-) >>> Эх.. ничего я не понял.. Может проще будет алгоритм для "тупых" вроде >>> меня - как использовать iproute-htb, описание содержимого >>> файлов-образцов и что где подправить, куда положить..? А уж потом я >>> постепенно вникну в >>> материал.. мозги уже не те.. >> После установки пакета дружно идем в /etc/rc.d/init.d/htb и читаем сам >> скрипт htb. Там в заголовке отличный мануал. > Сейчас посмотрю.. Мда... Это в какой-то степени похоже на все эти пулы в сквиде... Когда я их настраивал, то делал это как во сне - ну не доходило до меня, как это работает.. путался в номерах и классах пулов... Потом содрал и подправил готовую конфигурацию - проверил - работает ограничение скорости после n кб у нужных групп. Вышел после этого покурить - и вдруг все стало понятным. Зашел обратно и картина ясная, по-новому взглянул на конфиг, и смысл понятен стал.. А на следующий день, придя на работу, я снова все напрочь забыл :(... НО, работает пока и ладно.. Так и тут с htb, снова классы и прочее.. И снова туман.. -- С уважением, Владимир Гусев ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re[4]: [Comm] настройка и работа с iproute-htb 2005-09-07 12:42 ` Владимир Гусев @ 2005-09-07 23:38 ` Alexey S. Kuznetsov 2005-09-07 13:52 ` Владимир Гусев 0 siblings, 1 reply; 11+ messages in thread From: Alexey S. Kuznetsov @ 2005-09-07 23:38 UTC (permalink / raw) To: ALT Linux Community Hello! Нееее...тебе нужно понять вообще концепцию ограничения трафика....тебе прямая дорога на www.lartc.org сначала...там есть отличная дока http://lartc.org/howto/ Прочитай её и тебе многое станет понятно. Wednesday, September 7, 2005, 5:42:37 AM, you wrote: >>>>> Поиск по "htb home" сразу даёт >>>>> http://luxik.cdi.cz/~devik/qos/htb/ -- там >>>>> есть User Manual, почитайте его вначале. >>>>> Много всего есть на lartc.org -- где-то были ссылки на русский >>>>> перевод. >>>>> И спрашивайте :-) >>>> Эх.. ничего я не понял.. Может проще будет алгоритм для "тупых" вроде >>>> меня - как использовать iproute-htb, описание содержимого >>>> файлов-образцов и что где подправить, куда положить..? А уж потом я >>>> постепенно вникну в >>>> материал.. мозги уже не те.. >>> После установки пакета дружно идем в /etc/rc.d/init.d/htb и читаем сам >>> скрипт htb. Там в заголовке отличный мануал. >> Сейчас посмотрю.. > Мда... Это в какой-то степени похоже на все эти пулы в сквиде... Когда я > их настраивал, то делал это как во сне - ну не доходило до меня, как это > работает.. путался в номерах и классах пулов... Потом содрал и подправил > готовую конфигурацию - проверил - работает ограничение скорости после n кб > у нужных групп. Вышел после этого покурить - и вдруг все стало понятным. > Зашел обратно и картина ясная, по-новому взглянул на конфиг, и смысл > понятен стал.. > А на следующий день, придя на работу, я снова все напрочь забыл :(... НО, > работает пока и ладно.. > Так и тут с htb, снова классы и прочее.. И снова туман.. -- Sincerely, Alexey S. Kuznetsov AK2351-RIPE ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Re[4]: [Comm] настройка и работа с iproute-htb 2005-09-07 23:38 ` Re[4]: " Alexey S. Kuznetsov @ 2005-09-07 13:52 ` Владимир Гусев 0 siblings, 0 replies; 11+ messages in thread From: Владимир Гусев @ 2005-09-07 13:52 UTC (permalink / raw) To: ALT Linux Community >>>>>> Поиск по "htb home" сразу даёт >>>>>> http://luxik.cdi.cz/~devik/qos/htb/ -- там >>>>>> есть User Manual, почитайте его вначале. >>>>>> Много всего есть на lartc.org -- где-то были ссылки на русский >>>>>> перевод. >>>>>> И спрашивайте :-) >>>>> Эх.. ничего я не понял.. Может проще будет алгоритм для "тупых" вроде >>>>> меня - как использовать iproute-htb, описание содержимого >>>>> файлов-образцов и что где подправить, куда положить..? А уж потом я >>>>> постепенно вникну в >>>>> материал.. мозги уже не те.. >>>> После установки пакета дружно идем в /etc/rc.d/init.d/htb и читаем сам >>>> скрипт htb. Там в заголовке отличный мануал. >> Мда... Это в какой-то степени похоже на все эти пулы в сквиде... Когда я >> их настраивал, то делал это как во сне - ну не доходило до меня, как это >> работает.. путался в номерах и классах пулов... Потом содрал и подправил >> готовую конфигурацию - проверил - работает ограничение скорости после n >> кб >> у нужных групп. Вышел после этого покурить - и вдруг все стало понятным. >> Зашел обратно и картина ясная, по-новому взглянул на конфиг, и смысл >> понятен стал.. >> А на следующий день, придя на работу, я снова все напрочь забыл :(... >> НО, >> работает пока и ладно.. >> Так и тут с htb, снова классы и прочее.. И снова туман.. > Нееее...тебе нужно понять вообще концепцию ограничения трафика....тебе > прямая дорога на www.lartc.org сначала...там есть отличная дока > http://lartc.org/howto/ > Прочитай её и тебе многое станет понятно. ...:) Вот он распечатанный передо мной, как и распечатка из файла htb... Читаю... Пока просветление не нашло.. -- С уважением, Владимир Гусев ^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2005-09-07 23:38 UTC | newest] Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2005-09-07 10:55 [Comm] настройка и работа с iproute-htb Владимир Гусев 2005-09-07 11:04 ` Dmytro O. Redchuk 2005-09-07 11:11 ` Владимир Гусев 2005-09-07 11:17 ` Владимир Гусев 2005-09-07 11:28 ` Dmytro O. Redchuk 2005-09-07 11:43 ` Владимир Гусев 2005-09-07 11:56 ` Re[2]: " Andrey A. Yefremov 2005-09-07 12:04 ` Владимир Гусев 2005-09-07 12:42 ` Владимир Гусев 2005-09-07 23:38 ` Re[4]: " Alexey S. Kuznetsov 2005-09-07 13:52 ` Владимир Гусев
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