Peer-to-Peer (P2P) Throttling

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 18:27, 24 September 2012 (edit)
JNavas (Talk | contribs)
m (tweak)
← Previous diff
Revision as of 18:52, 24 September 2012 (edit) (undo)
JNavas (Talk | contribs)
(Quality of Service (QoS) - add images and introduction)
Next diff →
Line 18: Line 18:
== Quality of Service (QoS) == == Quality of Service (QoS) ==
-'''TO BE PROVIDED'''+[[Image:P2P Bulk.png|thumb|right|P2P Bulk]][[Image:P2PTCP.PNG|thumb|left|P2PTCP]][[Image:P2PUDP.PNG|thumb|left|P2PUDP]]Most standard network protocols use ports below 1024, whereas peer-to-peer protocols normally use ports above 1023, so giving lower priority to traffic above port 1023 will tend to throttle peer-to-peer traffic without adverse affect on standard protocols.
- +
== Administration == == Administration ==
'''TO BE PROVIDED''' '''TO BE PROVIDED'''

Revision as of 18:52, 24 September 2012

THIS ARTICLE IS A WORK-IN-PROGRESS. CHECK BACK FOR MORE COMPLETE INFORMATION.

How to throttle peer-to-peer file sharing in DD-WRT so as to provide fairer allocation of network capacity for all users of a shared Internet connection. Tested with Build 14929.

Contents

Introduction

When configuring a router for shared access to the Internet, users of peer-to-peer file sharing applications like BitTorrent and eMule can seriously degrade performance for other users, particularly on asymmetric connections like cable and DSL. (This is because saturation of the slower uplink can greatly slow the normally much faster downlink.) To ensure fairer allocation of network capacity for all users, it may be desirable to throttle (degrade) peer-to-peer file sharing. (It's difficult if not impossible to block it completely.)

Access Restrictions
Access Restrictions
Enter the following settings in the DD-WRT Web GUI, click Apply Settings, and then Reboot Router. (It's a good idea to set a strong password to prevent unauthorized access to the DD-WRT Web Gui, and to save the configuration settings once desired results have been achieved.)


Access Restrictions

On the Access Restrictions page of the Web GUI, check the box for "Catch All P2P Protocols". While this can be defeated fairly easily by determined users (e.g., with protocol obfuscation/encryption, VPN tunneling, etc.), it's still worth doing.


Universal Plug and Play (UPnP)

UPnP
UPnP
Universal Plug and Play is used by peer-to-peer file sharing applications to map incoming ports in order to permit incoming file sharing connections, and it has no value for most other typical Internet uses, so disabling it thus degrades the performance of peer-to-peer file sharing without adverse affects to most other users. In addition, it can be a security risk, so it's a good idea to disable it for that reason as well.


Quality of Service (QoS)

P2P Bulk
P2P Bulk
P2PTCP
P2PTCP
P2PUDP
P2PUDP
Most standard network protocols use ports below 1024, whereas peer-to-peer protocols normally use ports above 1023, so giving lower priority to traffic above port 1023 will tend to throttle peer-to-peer traffic without adverse affect on standard protocols.

Administration

TO BE PROVIDED