Re: Packet shaping and Bittorrent
- From: Steve Horsley <steve.horsley@xxxxxxxxx>
- Date: Fri, 02 Dec 2005 18:22:50 +0000
Kevin wrote:
Hi I am a Debian box that acts as a file server and bittorrent client behind a firewall. What I would like to do is limit the uploading of torrents so that other services (SSH, HTTP etc) arent affected.
I have followed this tutorial: http://gentoo-wiki.com/HOWTO_Packet_Shaping. I can do the tc qdisc stuff fine, however I dont seem to be able to mark the packets correctly.
Bittorrent is supposed to use accept requests for data on ports 6881 to 6889 (or sometimes 6881 to 6999). However the way that I understand it is that I can push data out to the other person rather than them pulling it. This gets around issues if one person has a firewall.
Now the problem with this is that linux will choose any port over 1024 for this pushing of data, how so can I classify it as torrent traffic?
You are right - with that scattering of port numbers, you have no chance. Can I suggest that you try the Azureus client? It has a fine set of options, including limiting both upload and download throughput limits which can be changed on the fly.
Steve .
- References:
- Packet shaping and Bittorrent
- From: Kevin
- Packet shaping and Bittorrent
- Prev by Date: Re: Using bind on linux as dns cache for windows
- Next by Date: Re: Traffic shapping filtering on the Ethenet Type number
- Previous by thread: Packet shaping and Bittorrent
- Next by thread: Re: Packet shaping and Bittorrent
- Index(es):
Relevant Pages
|