All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Mateusz Matusiak" <mateusz-matusiak@wp.pl>
To: lartc@vger.kernel.org
Subject: [LARTC] bittorrent traffic...
Date: Sun, 23 Sep 2007 03:34:57 +0000	[thread overview]
Message-ID: <46f5dee159e2d@wp.pl> (raw)
In-Reply-To: <46f13ae6ae977@wp.pl>

Hi,


Daniel wrote :

with your example above you must use flowid 1:3 at tc filter line.



So it should look like this :

iptables -A INPUT -m layer7 --l7proto bittorrent -j MARK --set-mark 3
tc filter add dev eth0 protocol ip parent 1:0 handle 3 fw flowid 1:3


are you sure that it will be the proper one ?
Will I need to declare the 1:3 flowid somewhere or will that be ok ?
As in this example as above I'm not controlling the speed of download by 
any factor (where to I speficy the kbit I want to give it?)




--regards
Matt

----------------------------------------------------
Ju¿ 6 pa¼dziernika w Warszawie P¦ w Karate Tradycyjnym, 
tu zwyciêstwo samo w sobie nie jest celem ostatecznym... 
Zobacz wiêcej -> http://klik.wp.pl/?adr=http%3A%2F%2Fadv.reklama.wp.pl%2Fas%2Fpskarate.html&sid2


_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

      parent reply	other threads:[~2007-09-23  3:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-19 15:06 [LARTC] bittorrent traffic Mateusz Matusiak
2007-09-22 11:46 ` Daniel
2007-09-23  3:34 ` Mateusz Matusiak [this message]

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=46f5dee159e2d@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.