QoS: Bittorrent filter unreliable

Discussion in 'Tomato Firmware' started by haarp, Jan 30, 2010.

  1. haarp

    haarp LI Guru Member

    Hi there.

    I recently had a Bittorrent app running that has encryption enabled. This of course makes it difficult to spot Bt traffic. In my Tomato QoS, I have the source port and IPP2P filter for Bt traffic, but this only catches about 40% of Bittorrent traffic.
    Since I'm in possession of the client, I'm curious whether there's a way to mark traffic so Tomato can spot it, but not my ISP?

    There's a field called "DSCP value" in my client that I can assign to each packet. This seems like the perfect solution. But how do I make Tomato classify packets with a specific DSCP?
    The client is KTorrent on Linux.
  2. kardzzz

    kardzzz Addicted to LI Member

    have a look for the QoS setup by 'Toastman'. He released a version 1.23 build with QoS labels and has configure his setup so that all unidentified traffic goes into the default P2P level. Then all he does is channel other known ports into other buckets, i.e. 80 = www, 53 = Services, xx= Media and so on...
    It works pretty well but you may need to play around with the % spilts to adapt to your lifestyle. I'm a gamer so I needed to up some of the levels and move some ports for higher priority
  3. haarp

    haarp LI Guru Member

    Unknown traffic goes into "low" in my setup. I don't really want to change that :/
  4. Toastman

    Toastman Super Moderator Staff Member Member

    As kardzzz said, there are tried and tested ways to do things with Tomato QOS. The L7 filters often do not work well, or at all. You have no doubt found out by now that most SOHO routers with the magic button "limit P2P by ticking this box" don't actually work.

    good luck!
  5. haarp

    haarp LI Guru Member

    Thanks for your replies.
    Well, it probably would have helped if Tomato offered classification by DSCP value (which, as far as I understand, is intended for exactly that)
    But it looks like I'll have to switch off encryption and pray that my ISP won't throttle
  6. Toastman

    Toastman Super Moderator Staff Member Member

    Why not try to use the generally accepted methods for dealing with P2P? It works, it's easy enough to do, and it doesn't cost anything :biggrin:
  7. haarp

    haarp LI Guru Member

    You mean setting all traffic not matched by any other filter to the lowest class? As I said, I don't want that. Let's assume someone plays a new game. It'll automatically fall into the lowest class. Not good.
  8. DrCain

    DrCain Addicted to LI Member

    This is where you put bittorrent in a class below that class.
  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