Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
* [LARTC] P2P
@ 2005-03-11 20:09 Hugo Martinez
  2005-03-11 20:35 ` hiphin
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Hugo Martinez @ 2005-03-11 20:09 UTC (permalink / raw)
  To: lartc

Im getting into tc. How can I control P2P (peer to peer) traffic???
which filters??? any ideas???
Hugonik
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [LARTC] P2P
  2005-03-11 20:09 [LARTC] P2P Hugo Martinez
@ 2005-03-11 20:35 ` hiphin
  2005-03-11 20:49 ` erwan le doeuff
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: hiphin @ 2005-03-11 20:35 UTC (permalink / raw)
  To: lartc

http://www.ipp2p.org/

if you find something better, let me know, I need to block that 

----- Original Message ----- 
From: "Hugo Martinez" <hugonik@gmail.com>
To: <lartc@mailman.ds9a.nl>
Sent: Friday, March 11, 2005 9:09 PM
Subject: [LARTC] P2P


> Im getting into tc. How can I control P2P (peer to peer) traffic???
> which filters??? any ideas???
> Hugonik
> _______________________________________________
> LARTC mailing list
> LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
>

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [LARTC] P2P
  2005-03-11 20:09 [LARTC] P2P Hugo Martinez
  2005-03-11 20:35 ` hiphin
@ 2005-03-11 20:49 ` erwan le doeuff
  2005-03-11 22:42 ` hiphin
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: erwan le doeuff @ 2005-03-11 20:49 UTC (permalink / raw)
  To: lartc

Yes, there are different ways, but it will depends primarily on what
p2p software is used.
There is a lot of different ports used (by default) :
http://www.farrokhi.net/blog/archives/000233.html
And you can limit (hard way) the servers on which each peer to peers
client connect at the initialisation....but it don't works with client
without "server mode" (ex: Kademelia).
And for my advice..the best way....prioritize all your important
flows...and p2p will go through the default class or a better solution
with a sniffer and protocol analysis who mark packets.


Good luck Hugo



Erwan Le Doeuff
************************************************************
Project Manager of rcc project QoS HTB Power tool
http://www.rcc-project.net
************************************************************


On Fri, 11 Mar 2005 15:09:58 -0500, Hugo Martinez <hugonik@gmail.com> wrote:
> Im getting into tc. How can I control P2P (peer to peer) traffic???
> which filters??? any ideas???
> Hugonik
> _______________________________________________
> LARTC mailing list
> LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
>
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [LARTC] P2P
  2005-03-11 20:09 [LARTC] P2P Hugo Martinez
  2005-03-11 20:35 ` hiphin
  2005-03-11 20:49 ` erwan le doeuff
@ 2005-03-11 22:42 ` hiphin
  2005-03-11 23:04 ` Pablo Solé
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: hiphin @ 2005-03-11 22:42 UTC (permalink / raw)
  To: lartc

Hi, erwan ...

since November 26, 2003, kazaa and others P2P software has evolved, ...not 
soo shure that simple rules will stop them?
is p2p sowtvare today totaly port independed, ... ?

----- Original Message ----- 
From: "erwan le doeuff" <erwan.ledoeuff@gmail.com>
To: "Hugo Martinez" <hugonik@gmail.com>
Cc: <lartc@mailman.ds9a.nl>
Sent: Friday, March 11, 2005 9:49 PM
Subject: Re: [LARTC] P2P


> Yes, there are different ways, but it will depends primarily on what
> p2p software is used.
> There is a lot of different ports used (by default) :
> http://www.farrokhi.net/blog/archives/000233.html
> And you can limit (hard way) the servers on which each peer to peers
> client connect at the initialisation....but it don't works with client
> without "server mode" (ex: Kademelia).
> And for my advice..the best way....prioritize all your important
> flows...and p2p will go through the default class or a better solution
> with a sniffer and protocol analysis who mark packets.
>
>
> Good luck Hugo
>
>
>
> Erwan Le Doeuff
> ************************************************************
> Project Manager of rcc project QoS HTB Power tool
> http://www.rcc-project.net
> ************************************************************
>
>
> On Fri, 11 Mar 2005 15:09:58 -0500, Hugo Martinez <hugonik@gmail.com> 
> wrote:
>> Im getting into tc. How can I control P2P (peer to peer) traffic???
>> which filters??? any ideas???
>> Hugonik
>> _______________________________________________
>> LARTC mailing list
>> LARTC@mailman.ds9a.nl
>> http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
>>
> _______________________________________________
> LARTC mailing list
> LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
> 


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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [LARTC] P2P
  2005-03-11 20:09 [LARTC] P2P Hugo Martinez
                   ` (2 preceding siblings ...)
  2005-03-11 22:42 ` hiphin
@ 2005-03-11 23:04 ` Pablo Solé
  2005-03-12  1:50 ` Paul Hampson
  2005-03-12 12:21 ` Leandro Travaglia
  5 siblings, 0 replies; 7+ messages in thread
From: Pablo Solé @ 2005-03-11 23:04 UTC (permalink / raw)
  To: lartc

mmm, it's mostly port indep., i use l7-filter (l7-filter.sourceforge.net)
for p2p filtering and it's working great for me.

cheers.

pablo.

----- Original Message ----- 
From: "hiphin" <hiphin@cat-net.co.yu>
To: <lartc@mailman.ds9a.nl>
Sent: Friday, March 11, 2005 7:42 PM
Subject: Re: [LARTC] P2P


> Hi, erwan ...
>
> since November 26, 2003, kazaa and others P2P software has evolved, ...not 
> soo shure that simple rules will stop them?
> is p2p sowtvare today totaly port independed, ... ?
>
> ----- Original Message ----- 
> From: "erwan le doeuff" <erwan.ledoeuff@gmail.com>
> To: "Hugo Martinez" <hugonik@gmail.com>
> Cc: <lartc@mailman.ds9a.nl>
> Sent: Friday, March 11, 2005 9:49 PM
> Subject: Re: [LARTC] P2P
>
>
>> Yes, there are different ways, but it will depends primarily on what
>> p2p software is used.
>> There is a lot of different ports used (by default) :
>> http://www.farrokhi.net/blog/archives/000233.html
>> And you can limit (hard way) the servers on which each peer to peers
>> client connect at the initialisation....but it don't works with client
>> without "server mode" (ex: Kademelia).
>> And for my advice..the best way....prioritize all your important
>> flows...and p2p will go through the default class or a better solution
>> with a sniffer and protocol analysis who mark packets.
>>
>>
>> Good luck Hugo
>>
>>
>>
>> Erwan Le Doeuff
>> ************************************************************
>> Project Manager of rcc project QoS HTB Power tool
>> http://www.rcc-project.net
>> ************************************************************
>>
>>
>> On Fri, 11 Mar 2005 15:09:58 -0500, Hugo Martinez <hugonik@gmail.com> 
>> wrote:
>>> Im getting into tc. How can I control P2P (peer to peer) traffic???
>>> which filters??? any ideas???
>>> Hugonik
>>> _______________________________________________
>>> LARTC mailing list
>>> LARTC@mailman.ds9a.nl
>>> http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
>>>
>> _______________________________________________
>> LARTC mailing list
>> LARTC@mailman.ds9a.nl
>> http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
>>
>
>
> _______________________________________________
> LARTC mailing list
> LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
>
> 

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [LARTC] P2P
  2005-03-11 20:09 [LARTC] P2P Hugo Martinez
                   ` (3 preceding siblings ...)
  2005-03-11 23:04 ` Pablo Solé
@ 2005-03-12  1:50 ` Paul Hampson
  2005-03-12 12:21 ` Leandro Travaglia
  5 siblings, 0 replies; 7+ messages in thread
From: Paul Hampson @ 2005-03-12  1:50 UTC (permalink / raw)
  To: lartc

On Fri, Mar 11, 2005 at 03:09:58PM -0500, Hugo Martinez wrote:
> Im getting into tc. How can I control P2P (peer to peer) traffic???
> which filters??? any ideas???

I ended up with a combination of ipp2p and l7-filter, since they each
seemed to pick up stuff the other missed. I used them to jump to
connmark, and protected them in front with a connmark check so they
didn't waste time checking connections I already knew were P2P.

And then anything with connmark went to an IMQ, which I was able to
rate-shape depending on time of day.

I however found that I ran out of memory, and had to turn down the aging
of the conntrack list, on the theory that P2P traffic doesn't spend a
lot of time completely idle, being more inclined to short-lived but
active connections.

I did this on Debian Sarge, and it required kernel rebuilding, _and_ a
rebuild of the iptables package. I can post up the patches I used, if
you like. I haven't updated it in a fair while, so there's a reasonable
chance it's an older version of either ipp2p or l7-filter, or the IMQ
patch.

-- 
Paul "TBBle" Hampson, on an alternate email client.
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [LARTC] P2P
  2005-03-11 20:09 [LARTC] P2P Hugo Martinez
                   ` (4 preceding siblings ...)
  2005-03-12  1:50 ` Paul Hampson
@ 2005-03-12 12:21 ` Leandro Travaglia
  5 siblings, 0 replies; 7+ messages in thread
From: Leandro Travaglia @ 2005-03-12 12:21 UTC (permalink / raw)
  To: lartc


Well, i'm using IPP2P to identify P2P packets and FAIRNAT to shape 
them... and it's working great. My box is a Slackware 10.1.

http://www.metamorpher.de/fairnat/
http://www.ipp2p.org

Have a nice shapping...


Regards,


             LEANDRO TRAVAGLIA






On Fri, 11 Mar 2005 15:09:58 -0500, Hugo Martinez <hugonik@gmail.com> 
wrote:
Im getting into tc. How can I control P2P (peer to peer) traffic???
which filters??? any ideas???
Hugonik
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-03-12 12:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-11 20:09 [LARTC] P2P Hugo Martinez
2005-03-11 20:35 ` hiphin
2005-03-11 20:49 ` erwan le doeuff
2005-03-11 22:42 ` hiphin
2005-03-11 23:04 ` Pablo Solé
2005-03-12  1:50 ` Paul Hampson
2005-03-12 12:21 ` Leandro Travaglia

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox