From: "Dmytro O. Redchuk" <dor@ldc.net>
To: community@altlinux.ru
Subject: Re: [Comm] Ограничение трафика для определенной службы
Date: Wed, 16 Mar 2005 14:00:55 +0200
Message-ID: <20050316120055.GC5447@ldc.net> (raw)
In-Reply-To: <42381BF1.2010303@og.brother-ttc.ru>
On Wed, Mar 16, 2005 at 02:43:45PM +0300, georg l k. wrote:
> Есть локальная сеть, внутри которой установлен почтовый сервер. Сеть
> разделена от внешнего мира роутером (ALT Linux Master 2.4, kernel
> 2.4.26, iptebles 1.2.11). Время от времени почтовый сервер, имея большое
> количество писем на прием и отправку, занимает весь внешний канал.
> Подскажите, каким образом можно ограничить "почтовый" трафик, скажем 70%
> от общей пропускной способности нашего внешнего канала. Решение
> интересно именно со стороны роутера, а не со стороны почтового сервера,
> так как есть мысли в будущем ограничить и другие сервисы, например
> веб-сервер. Может, кто поделиться практическим опытом реализации
> подобного ограничения.
Всё зависит от настроения.
Самое простое для несложных конфигураций (десяток сервисов/адресов) --
/etc/rc.d/init.d/cbq. Нужно будет потратить время на "вчитаться и
попробовать", но немного.
Посложнее -- вчитаться в документацию на htb, попробовать самому написать
пару конфигураций (скриптов). Результат может быть приятнее в том смысле,
что понятнее станет природа вещей. Легче потом будет "притачивать" разные
"рюшики" в виде и без вида.
(Собственно, lartc.org)
((Я вот, наверное, скоро решусь предложить свою рисовалку))
--
_,-=._ /|_/|
`-.} `=._,.-=-._., @ @._,
`._ _,-. ) _,.-'
` G.m-"^m`m' Dmytro O. Redchuk
next prev parent reply other threads:[~2005-03-16 12:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-16 11:43 georg l k.
2005-03-16 12:00 ` Dmytro O. Redchuk [this message]
2005-03-16 13:38 ` georg l k.
2005-03-16 13:57 ` Dmytro O. Redchuk
2005-03-16 17:00 ` Re[2]: " Alexey S. Kuznetsov
2005-03-16 17:02 ` Re[3]: " Alexey S. Kuznetsov
2005-03-16 14:57 ` georg l k.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050316120055.GC5447@ldc.net \
--to=dor@ldc.net \
--cc=community@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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