On Sun, Dec 11, 2005 at 05:30:55PM +0200, Georgi Alexandrov wrote: > > If B uploads a file to C through gnutella everything works > > like a charm since packets look just like this: > > > > 192.168.0.2:6346 > xxx.xxx.xxx.xxx:yyyyy > > > > With tc I filter packets whose source port is 6346 and > > everything is fine. > > You can classify the traffic from B going out trough ppp0 with > netfilter/iptables like this: What you wrote is indeed very similar to what I use right now except for the fact that I'm classifying according to the source port, too. The side effect of your configuration is that all of the traffic from B though ppp0 is shaped. The configuration you've suggested is interesting but I'd like to limit the shareaza traffic only. Is there any way to do that? How can I keep track of the traffic generated by shareaza only? Thanks in advance. Best regards. -- Value your freedom, or you will lose it, teaches history. ``Don't bother us with politics,'' respond those who don't want to learn. -- Richard M. Stallman http://www.gnu.org/philosophy/linux-gnu-freedom.html
Attachment:
pgp605Xhn8SLe.pgp
Description: PGP signature
_______________________________________________ LARTC mailing list LARTC@xxxxxxxxxxxxxxx http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc