ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] IP шейпинг
@ 2005-05-15 16:54 Dmitry (Mothlike) Marochko
  2005-05-15 20:00 ` [Comm] " Dmitry (Mothlike) Marochko
  0 siblings, 1 reply; 9+ messages in thread
From: Dmitry (Mothlike) Marochko @ 2005-05-15 16:54 UTC (permalink / raw)
  To: ALT Linux Community

[-- 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 --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2005-05-17 16:36 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-15 16:54 [Comm] IP шейпинг Dmitry (Mothlike) Marochko
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

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