Welcome to the p2pshaper sourceforge page


Donate to this project

News

p2pshaper 1.4 release

18/10/2004

p2pshaper 1.4 is a linux QoS script to ensure good latency and fairness on a network connection overloaded by filesharing applications. It also includes generic optimizations to improve fairness. This release includes numerous improvements since the 1.3 test release. Check the full changelog hele.

Introduction

In short p2pshaper is a set of scripts for the Linux OS, that is used to administer bandwidth on a network overloaded by massive p2p traffic.

Normally, the amount of peer-to-peer traffic on such networks, will make it impossible to surf, not to mention doing interactive traffic (ssh). The normal action is to shut down p2p traffic totally, and set up the net, so that Internet connection is only possible through a proxy. This breaks many useful programs. And not all p2p traffic is evil. Normally, one would mark packets coming to a specific port (emule ports) to be of a lower priority than packets to other ports. This used to be a good solution. But now, there exist a huge number of p2p clients, eact with different port ranges, and also, some programs are able to change the ports. Normally the Internet newsgroup port should have a high priority. But binary newsgroups are sometimes used for massive downloads, which will use up all bandwidth. Better packet markers are needed.

p2pshaper currently exists in two versions p2pshaper v1 and p2pshaper v2. They both works in different ways, so v2 is not "better" than v1. Which one you use depends on what kind of functonality you want.

p2pshaper versions

Download p2pshaper

Files are available from the sourceforge project page
>here<. You can also download the latest files using cvs. Here is the way to do it.
$ cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/p2pshaper login

[When prompted for a password, just press ENTER]

# For version 1
$ cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/p2pshaper co p2pshaper

# For version 2
$ cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/p2pshaper co p2pshaper_v2
NOTE: The p2pshaper CVS does not always contain reliable code. Dont use it anywhere important.