* [LARTC] bittorrent traffic...
@ 2007-09-19 15:06 Mateusz Matusiak
2007-09-22 11:46 ` Daniel
2007-09-23 3:34 ` Mateusz Matusiak
0 siblings, 2 replies; 3+ messages in thread
From: Mateusz Matusiak @ 2007-09-19 15:06 UTC (permalink / raw)
To: lartc
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
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [LARTC] bittorrent traffic... 2007-09-19 15:06 [LARTC] bittorrent traffic Mateusz Matusiak @ 2007-09-22 11:46 ` Daniel 2007-09-23 3:34 ` Mateusz Matusiak 1 sibling, 0 replies; 3+ messages in thread From: Daniel @ 2007-09-22 11:46 UTC (permalink / raw) To: lartc On Wednesday 19 September 2007 23:06, Mateusz Matusiak wrote: > 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 ? with your example above you must use flowid 1:3 at tc filter line. Regards, Daniel PadiNet Makassar _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc ^ permalink raw reply [flat|nested] 3+ messages in thread
* [LARTC] bittorrent traffic... 2007-09-19 15:06 [LARTC] bittorrent traffic Mateusz Matusiak 2007-09-22 11:46 ` Daniel @ 2007-09-23 3:34 ` Mateusz Matusiak 1 sibling, 0 replies; 3+ messages in thread From: Mateusz Matusiak @ 2007-09-23 3:34 UTC (permalink / raw) To: lartc 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 ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-09-23 3:34 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2007-09-19 15:06 [LARTC] bittorrent traffic Mateusz Matusiak 2007-09-22 11:46 ` Daniel 2007-09-23 3:34 ` Mateusz Matusiak
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.