From: "Mateusz Matusiak" <mateusz-matusiak@wp.pl>
To: lartc@vger.kernel.org
Subject: [LARTC] bittorrent traffic...
Date: Wed, 19 Sep 2007 15:06:14 +0000 [thread overview]
Message-ID: <46f13ae6ae977@wp.pl> (raw)
Hi,
Thanks for the reply.
Mohan Sundaram wrote :
> mark in iptables and use tc to classify using mark.
Mark like this ?
iptables -A INPUT -m layer7 --l7proto bittorrent -j MARK --set-mark 3
and then..
tc filter add dev eth0 protocol ip parent 1:0 1 handle 3 fw flowid 1:10
and lets say we have a flowid 1:3 declared to use at 60kbit ceil 60kbit
Is that proper ?
If so then it doesn't want to work for me.
I can see that layer7 marks the packets but still I can't control the
amount of them... I get a transfer of 100kbit and more...
With Kind Regards
Matt
----------------------------------------------------
Graczu komputerowy, wybierz najlepsze gry roku! G³osuj i wygrywaj!
Patroni medialni: Wirtualna Polska, 4fun.tv, Radiostacja
Imperatory7: http://klik.wp.pl/?adr=http%3A%2F%2Fimperatory.wp.pl&sid0
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
next reply other threads:[~2007-09-19 15:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-19 15:06 Mateusz Matusiak [this message]
2007-09-22 11:46 ` [LARTC] bittorrent traffic Daniel
2007-09-23 3:34 ` Mateusz Matusiak
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=46f13ae6ae977@wp.pl \
--to=mateusz-matusiak@wp.pl \
--cc=lartc@vger.kernel.org \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox