Hello!

I have the following problem:

Filesharing users eat the whole available bandwidth and they use
lots of connections at the same time. The result is an overloaded
gateway. Locking ports doesn't help, because they do port-hopping.


My goal:

I want to create a queue which limits the bandwidth for P2P protocols
to 1MBit/s. Everything else (i.e. WWW, E-Mail, VPN) is outside this queue.


The rough solution:

Creating the queue is documented in pf.conf(5) manpage very well, so
this is not a problem. The P2P traffic can be identified this way:
- The source IP from one client is always the same
- The client establishes lots of connections to many destination IP adresses


Where I need help:

I need to create the PF rules in pf.conf which identifies the P2P traffic
and tags it. But I don't know how to do that.
Redirecting the tagged P2P traffic into a queue is not a problem for me
then.


Thank you in advance!

-- 
Greetings,

Christoph

Lust, ein paar Euro nebenbei zu verdienen? Ohne Kosten, ohne Risiko!
Satte Provisionen f|r GMX Partner: http://www.gmx.net/de/go/partner

Reply via email to