1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Tomato QoS: uTorrent not downloading/uploading

Discussion in 'Tomato Firmware' started by rebel.yell, Oct 31, 2010.

  1. rebel.yell

    rebel.yell Networkin' Nut Member

    hi!
    I set up Tomato 1.28 w/ Toastman tutorial (last config available) but I encountered in one problem: uTorrent cannot acquire seeds and peers on newest added .torrent files.
    Cannot communicate with Tracker?
    Anyway Dowloads and Uploads Rates are near 0.

    DHT disabled on torrent clients.
    I have a 6.5 Mbit line.

    My cfg screenshots:
    Conntrack/Netfilter
    Basic Settings and In/Out Rates
    Classification
    Graphs (2 computers connected, 2 utorrents clients, 1 Starcraft2 client -> this is the High Traffic)

    Where is my mistake(s)?
    Default Class: D according Toastman's tut.
    E Class is not used.
     
  2. Toastman

    Toastman Super Moderator Staff Member Member

    Can't really see where the problem is! I would guess it may be to do with ports not being opened - is UPnP/NAT-PMP working? One other comment - you have put an upload threshold of 256k+ on your FTP etc. file transfer class rules, but until the 256k point is reached the connections will actually be in D class (default), and will speed up a little when it is reached. Is that what you intended?
     
  3. srouquette

    srouquette Network Guru Member

    Forward the port to your uTorrent or use UPNP.
    I also recommend you create a rule for this port in Classification.
     
  4. rebel.yell

    rebel.yell Networkin' Nut Member

    hi guys,
    UPnP/NAT-PMP are enabled. They surely work with no QoS. (I used Tomato as "normal" router with no QoS until today)

    Today I made the classification for QoS so I can download when my brother plays.
    But nothing works :(

    Actual Situation:
    1. mine machine (win xp): eMule running.
    2. brother's machine (win 7): SC2 (game) and uTorrent running.

    Ports for P2P software are open: screenshot
    ( eMule does not work with upnp and I have to open manually ports but I always had this issue, also with netgear routers. If anyone know why... It's an annoying issue )

    eMule on my machine:
    It works (upload @ 34 KB/s) BUT when it is up, my brother cannot play!
    Tons of lag ingame :(

    uTorrent on my brother's machine:
    it has been working without connections for a couple of hours.

    Just a bit confused. It seems all ok.
    Details are also ok: eMule connections from my machine are all Class D.

    sorry for my english. I hope you are able to read this :(
     
  5. srouquette

    srouquette Network Guru Member

    Did you try to watch the graph when your brother was playing SC2 ?
    Did eMule fall into class D ?
    If you want to play, you should also increase Inbound for "High" to something like 20-80%.
    Check the graph and details if everything falls into the right classes.
     
  6. rebel.yell

    rebel.yell Networkin' Nut Member

    Inbound gap for "High" increased, thanks.
    I removed transfer cap limit (50kB) from game ports.
    I notice that classification does not work well: a lot of teorically classified ports falls into "Unclassified".

    for example: some connections on destination port 993 falls into "class A" (right) and "unclassified" (wrong).
    it also occured on SC2 ports: some 1119 and 6113 are "High", other in "Class D" and also "unclassified".
    SCREENSHOT (green underlines --> probably ok, red underlines --> wrong?)
    Tomorrow I'll do more and better tests.
    Thanks for your support.

    (eMule seems to fall in class D but need more tests)
     
  7. Toastman

    Toastman Super Moderator Staff Member Member

    Remember that many incoming P2P connections from remote machines are to ports which have already been closed by your P2P client and will show as unclassified.

    Emule's UPnP is broken. Use another emule lookalike - there are a lot of them which have had the UPnP fixed by the modder. Or just forward the port as it's your machine and you know what the port is.

    Some P2P will always "bleed" into other classes because of using the same ports. Usually this doesn't happen enough to wreck things but you should be aware that it can and will happen from time to time. Also skypeout L7 filter is notoriously bad at letting through P2P - so try not to use it.

    I think you're getting there!
     
  8. Azuse

    Azuse LI Guru Member

    It's nice to see someone getting the steam ports correct :) Just remember an server you use regularly that does not use the default ports will have to be added.

    Steam voice chat is UDP 3478 btw.

    As for p2p, well, utorrent > emule frankly, however p2p is just a pain. utorrent refreshes its port every 20min, however DHT should keep it open regardless of the time-out setting but reducing the cleaning threshold to 0 is a good idea on a small lan for when a client closes.

    This brings me to point 3. You have neither inactive rule or secure mod boxes in the upnp screen shot. What tomato build are you using?
     
  9. rebel.yell

    rebel.yell Networkin' Nut Member

    First of all, eMule works good with tomato.
    Removing cap on SC2 ports has partially resolved the problem:
    SC2 gets "high class" and it's playable with eMule on! Now eMule gets "Class D". It seems stable. I hope.
    Now, the only problem is uTorrent.

    Ok. I did not understand at 100% the mechanism but tomato has been classifing correctly all the traffic for two days. The problem probably was the 50kB transfer cap on SC2 ports. I think SC2 uses 1119 and 6113 also for map downloading and other "huge" transfers. It's only an hiphothesys, of course.
    Thanks! I'll search a good mod.
    Yep, I thought about this cross-classing. A control, like a source port selector, embedded into the software would be useful :p Am I wrong?

    :D
    sorry, I don't understand this sentence :(
    Added, thanks ;)
    I use eMule for rare documents/book/videos. Need it ;)
    So I have to put DHT on, or what setting I have to change? I've little problems on english comprehension :D

    I'm using original tomato 1.28.
     
  10. rebel.yell

    rebel.yell Networkin' Nut Member

    ah, for emule and upnp:
    the official version (not modded) do not add "framework upnp" exception to windows firewall (windows xp) so it fails.
    Adding this exception (in the most cases it's already on the list!) emule and upnp work!
     
  11. Toastman

    Toastman Super Moderator Staff Member Member

    So, you are using two firewalls. Part of the problem. Anyway, I think you now have a pretty good idea of how to use the QOS system!
     
  12. rebel.yell

    rebel.yell Networkin' Nut Member

    a little more than past days :D
    thanks for the help.
    utorrent problem is magnet link related. Do not know why, I'm doing some efforts to understand what happens with magnet.
    Also utorrent downloads seems very slow. But QoS is fully functional.
    I've emule and torrent open (for testing purposes) and my brother can play without lags ;)
     

Share This Page