ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Dmitry (Mothlike) Marochko" <mothlike@gmail.com>
To: ALT Linux Community <community@altlinux.ru>
Subject: [Comm] IP шейпинг
Date: Sun, 15 May 2005 20:54:58 +0400
Message-ID: <42877EE2.7070508@gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 697 bytes --]

Экспериментировал сегодня с htb, но ничего не добился. Что я делаю
неправильно?

tc qdisc add dev ppp0 root handle 1: htb
tc class add dev ppp0 parent 1: classid 1:1 htb rate 56kbit ceil 56kbit
tc class add dev ppp0 parent 1:1 classid 1:10 htb rate 1kbit ceil 1kbit
tc filter add dev ppp0 parent 1: protocol ip prio 3 handle 10 fw classid
1:10
iptables -v -t mangle -A FORWARD -p tcp -j MARK --set-mark 10

По идее, этот скрипт должен ограничивать все tcp соединения до 1 кбита в
секунду, т.е. чтобы они еле работали. Однако на моем модеме разницы в
скорости закачки страниц не заметно, хоть плачь :) Что общественность
думает по этому поводу?

-- 
With best wishes,
Dmitry Marochko aka Mothlike


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]

             reply	other threads:[~2005-05-15 16:54 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-15 16:54 Dmitry (Mothlike) Marochko [this message]
2005-05-15 20:00 ` [Comm] " Dmitry (Mothlike) Marochko
2005-05-16  3:22   ` max
2005-05-16 17:21     ` Dmitry (Mothlike) Marochko
2005-05-17  8:27       ` Michael Shigorin
2005-05-17 16:25         ` Dmitry (Mothlike) Marochko
2005-05-17 16:36           ` Maxim Tyurin
2005-05-16 12:36   ` Alexey S. Kuznetsov
2005-05-16  3:36     ` Mike Lykov

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=42877EE2.7070508@gmail.com \
    --to=mothlike@gmail.com \
    --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