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

Welcome To SNBForums

SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.

If you'd like to post a question, simply register and have at it!

While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!

I just want to de-prioritize Usenet in QoS.

Discussion in 'Asuswrt-Merlin' started by ctyt, Apr 23, 2018.

  1. ctyt

    ctyt New Around Here

    Joined:
    Dec 13, 2017
    Messages:
    3
    I have the RT-AC68U with Merlin's 384.4. All I want to do is make Usenet binary downloads the lowest priority. They all go through port 563 using SSL. Everything else, I want to leave alone. I'm currently using "Adaptive QoS" with the "File Transferring" category on the bottom, but I'm not sure Usenet is within that category.Since I'm using SSL, I'm not sure the protocol would be identified even if it were within that category. Any help is appreciated.
     
  2. Please support SNBForums! Just click on this link before you buy something from Amazon and we'll get a small commission on anything you buy. Thanks!
  3. skeal

    skeal Very Senior Member

    Joined:
    Apr 30, 2016
    Messages:
    1,389
    Try asking for help here. https://www.snbforums.com/threads/r...ements-custom-rules-and-inner-workings.36836/
    This has helped a lot of people.
     
  4. FreshJR

    FreshJR Very Senior Member

    Joined:
    Oct 8, 2016
    Messages:
    694
    What is it identified as in "App Analysis"?

    You can either redirect it (if it is identified as something), or make a custom rule using the script linked above to filter by ports/servers used.

    You can even stick it in "Defaults" which have lower priority than "File Downloads"
     
  5. modemboy

    modemboy Occasional Visitor

    Joined:
    Feb 6, 2018
    Messages:
    16
    Reset the QoS stats, start up a usenet DL and then watch the stats, should be easy to see which category it goes into, then drop that to the bottom of priority.
    Or yeah, read up on JR's goodness and categorize it however you want.
     
  6. gffmac

    gffmac Regular Contributor

    Joined:
    Jan 23, 2015
    Messages:
    87
    Just checked and usenet goes through voip and instant messaging for me.
     
  7. FreshJR

    FreshJR Very Senior Member

    Joined:
    Oct 8, 2016
    Messages:
    694
    The "name" under App Analysis is required if you want to do a redirection for an existing identified app.

    Otherwise use ports (since you control the port definition, this option might be more stable, since it would be immune to QOS database changes by Asus/TrendMicro)
     
    gffmac likes this.
  8. gffmac

    gffmac Regular Contributor

    Joined:
    Jan 23, 2015
    Messages:
    87
    Its showing as NNTP traffic in APP analysis.
     
  9. FreshJR

    FreshJR Very Senior Member

    Joined:
    Oct 8, 2016
    Messages:
    694
    nntp is mark 0x80050004 0xc03fffff

    Edit: fixed mark typo
     
    Last edited: May 30, 2018
  10. gffmac

    gffmac Regular Contributor

    Joined:
    Jan 23, 2015
    Messages:
    87
    Thanks Fresh, how would I move this into the file transfer category?

    I tried the following but still classified the same:

    ${tc} filter add dev br0 protocol all prio $1 u32 match mark 0x80050004 0xc03f0000 flowid ${Downloads} #Newsgroups
     
    Last edited: May 30, 2018
  11. FreshJR

    FreshJR Very Senior Member

    Joined:
    Oct 8, 2016
    Messages:
    694
    0xc03f0000 should be 0xc03fffff

    My mistake
     
    gffmac likes this.
  12. gffmac

    gffmac Regular Contributor

    Joined:
    Jan 23, 2015
    Messages:
    87
    Just wanted to say it works perfect now thanks!
     
  13. dazzler916

    dazzler916 New Around Here

    Joined:
    Aug 4, 2014
    Messages:
    3
    I'm trying to do the same with no luck!

    I have this line in my FreshJR_QOS file on the router :
    realtc filter add dev br0 protocol all prio $1 u32 match mark 0x80050004 0xc03fffff flowid ${Downloads} #Newsgroups

    And it is under the last Gaming 3/3 rule

    NNTP is still classified as VOIP, and when i check the classification :

    /jffs/scripts/FreshJR_QOS -appdb "nntp"
    NNTP
    Cat: VoIP
    Mark: 0x80050004 0xc03fffff
    Prio: 7

    Any ideas??
     
  14. FreshJR

    FreshJR Very Senior Member

    Joined:
    Oct 8, 2016
    Messages:
    694
    Do you have teamviewer.

    I am a little stumped as that should work.
     
  15. dazzler916

    dazzler916 New Around Here

    Joined:
    Aug 4, 2014
    Messages:
    3
    Thanks for the quick response.

    I don't have teamviewer, but here is some more info.
    SW Version : Merlin v 384.5
    Router model : AC68U

    I've uploaded the full FreshJR_QOS_Fast-v1 file here, and when i changed it i disabled QoS in the GUI, then ran through as if it was a new install.
    Still have NNTP classified as VoIP:
    upload_2018-6-14_17-21-17.png
     

    Attached Files:

  16. FreshJR

    FreshJR Very Senior Member

    Joined:
    Oct 8, 2016
    Messages:
    694
    Appdb will always show the origimal location.

    Where is traffic actually going.
     
  17. dazzler916

    dazzler916 New Around Here

    Joined:
    Aug 4, 2014
    Messages:
    3
    Ahh, that explains it!
    I've just started an NNTP transfer, and it looks like its going into the "file Transferring" class, hooray!

    Thanks again.
     
  18. GreyBaron

    GreyBaron New Around Here

    Joined:
    Yesterday
    Messages:
    2
    Does anyone know why NNTP upload still gets prioritized as VOIP? i have
    realtc filter add dev eth0 protocol all prio $1 u32 match mark 0x80050004 0xc03fffff flowid ${Downloads} #Newsgroups
    in my upload rules under the 2 gaming options?
     
  19. FreshJR

    FreshJR Very Senior Member

    Joined:
    Oct 8, 2016
    Messages:
    694
    eth0 is the upload interface
    0x8 is a download mark.

    You can’t mix and match

    Eg.
    download — br0 — 0x8 marks
    upload — eth0 — 0x4 marks

    Download rules have to be in the downloads portion of the script.
    Upload rules have to be in the upload portion of the script.
    Iptable rules have to be in the iptable section on the fast version.

    Pay close attention to the difference between upload and download rules and also their positioning.
     
  20. GreyBaron

    GreyBaron New Around Here

    Joined:
    Yesterday
    Messages:
    2
    ah, got it working now, thank you for your help and all your hard work!
     
Please support SNBForums! Just click on this link before you buy something from Amazon and we'll get a small commission on anything you buy. Thanks!