help needed setting up qos for bittorrent

Discussion in 'Tomato Firmware' started by mal0, Feb 7, 2007.

  1. mal0

    mal0 Guest

    hi there,
    i need some help setting up the qos rules in tomato 1.03.0943.
    i don't want to give bittorent much traffic, so i set it up for class E. but neither setting an ipp2p filter nor a layer7 filter helps limiting bandwidth.
    azureus is always uploading with the speed set within azureus.
    also, in the qos connections graph, some connections have lowest priority and some have class E.
    lowest is the class i set unclassified connections to.
    but i want to have bt connections only in class E, not somewhere else.

    any help would be appreciated.
  2. azeari

    azeari LI Guru Member

    well ipp2p and layer7 mentions that bittorrent traffic is underclassified, meaning alot of bittorrent connections will escape classification due to it being difficult to catch.

    My suggestion here is to set unclassified(bulk) traffic as lowest as u already had, and classify other traffic such as http, ftp, skype, or whatever else u need to a higher pirority as needed
  3. mikester

    mikester Network Guru Member

    Under "Access Restriction" you can create a filter to block all IPP2P traffic with time of day. Also try keyword blocking and block all "HTTP Requests" containg the words "announce", "tracker" and "torrent".
  4. der_Kief

    der_Kief Super Moderator Staff Member Member

    Hi mal0,

    try to disable 'Protocol Encryption' on your Azureus client. If this is enabled QoS (IPP2P/L7) has no change to classify the traffic. I have a seperate P2P machine and classify this machine by IP.

  5. njeske

    njeske Network Guru Member

    i only use bit torrent on one machine, and i just set a QOS rule for the port i'm using. sseems to work for me.
  6. larsrya8

    larsrya8 LI Guru Member

    This is what I do as well. Port matching is much faster than L7 anyway.
  7. roadkill

    roadkill Super Moderator Staff Member Member

    port matching is much better...and you get to keep Protocol Encryption to avoid ISP throttling
  8. njeske

    njeske Network Guru Member

    both those reasons are why i use port matching instead of L7.
  9. neutralman

    neutralman Network Guru Member

    one more - very useful trick

    you have BIND TO LOCAL PORT option in Azureus

    you can bind all traffic to single outgoing port, so you can setup QOS class E just for that specific port, works great in my network

    utorrent client have this option as well, under advanced settings

    make sure you check this out, otherwise, torrent will use random ports, and is hard to catch it, even with layer7/ipp2p filter, since a lot of clients use protocol encryption

    it doesn't matter if they use protocol encryption, if you shape traffic by outgoing port - where all torrent traffic goes with BIND TO LOCAL PORT option

    hope this will help other people too
  10. pharma

    pharma Network Guru Member

    That's exactly what I do, and find it pretty effective and getting excellent performance. Jon also hints at this in the Tomato readme.htm:

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice