From mboxrd@z Thu Jan 1 00:00:00 1970 From: Georgi Alexandrov Subject: Re: [LARTC] shareaza Date: Sun, 11 Dec 2005 19:14:11 +0200 Message-ID: <439C5E63.1060209@gmail.com> References: <20051211144541.GA4079@ncrfgs3.ncrfgs> <439C462F.6050308@gmail.com> <20051211170044.GA4257@ncrfgs3.ncrfgs> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20051211170044.GA4257@ncrfgs3.ncrfgs> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-bounces@lists.netfilter.org Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; charset="us-ascii"; format="flowed" To: netfilter@lists.netfilter.org ncrfgs wrote: >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. > > Perhaps you need something like l7-filter.sf.net ? Georgi Alexandrov