Re: Packet shaping and Bittorrent



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
.



Relevant Pages

  • Re: FC5 Released!!
    ... disabling my firewall too... ... But the point of torrents was to speed up file transfers because of ... always get much faster speeds using ... maybe the correct ports are not opened on your system. ...
    (Fedora)
  • Re: FP2K - Upload problem: "Error 425 No data connection"
    ... I have recently connected to Broadband using a Router (which incorporates a ... Broadband modem) to network my three computers. ... Would it be the "hardware firewall" that is causing the Error 425? ... How is it that uploading via an FTP program is executed perfectly? ...
    (microsoft.public.frontpage.client)
  • Re: Beitostolen World Cup
    ... you weren't using bitTorrent. ... uploading by comcast. ... Comcast isn't fully admitting it and it appears ... I believe torrents are our best bet. ...
    (rec.skiing.nordic)
  • Re: Win 2003 SP1 and FTP
    ... but here not even windows cmd ftp works fine. ... - sending out mails and uploading newsgroup-posts take 2-3 attempts ... > im having the same problem after sp1 and am NOT using the firewall on the ...
    (microsoft.public.windows.server.networking)
  • Re: FP2K - Upload problem: "Error 425 No data connection"
    ... method of uploading a FP site with an FTP client. ... BtOpenworld dial-up customers with limited web space. ... > Would it be the "hardware firewall" that is causing the Error 425? ... the FTP client may be set to use passive mode. ...
    (microsoft.public.frontpage.client)