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

Per User Bandwidth Control

Discussion in 'Tomato Firmware' started by pharma, Oct 17, 2006.

  1. pharma

    pharma Network Guru Member

    Came across this and might help some people ...
    Dellsweig said

  2. wycf

    wycf Network Guru Member

  3. der_Kief

    der_Kief Super Moderator Staff Member Member

    Thats a really nice proggi....

    Especially i like the function to reduce the max number of connections per ip/mac. But also set down/upload for each ip/mac to specified speed is a nice extension to the QoS rules of tomato.

  4. der_Kief

    der_Kief Super Moderator Staff Member Member

    New version v0.20 is out
  5. lwf-

    lwf- Network Guru Member

    Thanks, that app could be useful in some situations. :)
  6. linuxservers

    linuxservers Guest

    My brand new WRT54GL is working excelent with tomato 0.09!!

    Hi everybody,
    I have one question, I have tried to do

    nvram set script_fire="
    nvram commit

    but after that when I do nvram get script_fire there arent anything there..??
    How can I manually add rules to the firewall script, without use WEB management...?

    sorry for my english....:biggrin:
  7. BeHappy

    BeHappy Network Guru Member

    It should work. Try checking the ip rules with command all after where you made modifications (INPUT, -t nat, -t mangle); iptables -vL
  8. der_Kief

    der_Kief Super Moderator Staff Member Member

    New version v0.21 is out

    - cosmetic changes in GUI
    - few small fixes in generated script
    - fixed - manipulation with TTL Values
    - added possibility to secure network against illegal connection sharing (ex. client using router, option sets TTL of incoming packets to 1)
    - added possibility to shape traffic using MAC address
    WARNING - download shaping using MAC can be only static. This means that you have to set DL Rate and DL Ceil to the same values.
    If you use different Rate and Ceil (Ceil > Rate) then user will never achieve DL Ceil.
    This behavior depends only on used firmware on router and it isn't a script fault.

    - added advanced script manipulation options (Advanced Options - button under user list)
    * added possibility to generate only selected parts of the script (DL, UL, Connlimit, TTL) in any configuration
    * added possibility to change interface of generated script
    * you can on/off script optimization (useful when you test script in console)
    * added possibility to generate commentary in script
    * you can on/off use of SFQ strategy (only Tomato firmware, when off it decreases script size by 10%)
    * added again possibility to secure network against IP/MAC changing and illegal connections
  9. MadPriest

    MadPriest LI Guru Member

    10x, guys! :thumbup:
  10. u3gyxap

    u3gyxap Network Guru Member

    That tool that makes lifes easier. Thank you.
  11. purephase

    purephase Network Guru Member

    This is really cool. Thanks for the link. I've been struggling with VOIP QoS issues so hopefully this is the missing link to providing a dedicated amount of upstream and downstream bandwidth to the VOIP router.
  12. purephase

    purephase Network Guru Member

    Also, limiting connections on specific users is a great idea as well. I'm tired of my BT machine flooding the router with connections. Hopefully this will resolve that issue.
  13. digitalgeek

    digitalgeek Network Guru Member

    I'm not sure I understand... I am using the stock Tomato QOS... infact I didn't change the original Tomato QOS examples. I do a lot of BT, and none of my wifi clients (or wired clients) suffer in bandwidth. I have never had a web page delay or not load since I started using Tomato and QOS. one other thing I have always done is limit the BT upstream.
  14. rcordorica

    rcordorica Network Guru Member

    same here, I use QOS and force the lowest priority on P2P connections. My default priority is lowest too. For the upload I have 2% - 50%, assuming that about half the upload packets will be dropped to conserve bandwidth when needed. (if i understand how QOS works)

    Also, overclocking my router made a huge difference in page loads (shortens the lag on loading each image/link), from 200MHz to 250MHz for my WRT54GL 1.1.

    it would be cool if bandwidth caps could be built into the tomato QOS. I guess it's a different method of proportioning bandwidth.
  15. der_Kief

    der_Kief Super Moderator Staff Member Member

    New version v1.00 is out

    - because I'm lazy i've changed project file format one more time (probably last time) ;)
    - minor changes in GUI and code
    - fixed few issues
    - general cleanup
    - added possibility to shape traffic by port
    - added possibility to shape traffic by port range
    - added possibility to shape traffic using Layer 7 filter (except Tofu 13c)
    This function shouldn't interrupt QoS work. If you have problems with L7 send me info (mail -> Page About)
    - added possibility to shape traffic for every rule/user in choosen directions (DL & UL, only DL, only UL)
    - added automatic wizard for sharing connection between users or services

  16. gimpel

    gimpel LI Guru Member

    Uh, and how do I use that?

    Linux on the router, Linux/Mac on the clients.. and an .exe file.
    Humm.. let's see if WINE can do with it... it can.. cool!

    Nevermind then :)
  17. bigjohns

    bigjohns Network Guru Member

    If you use this, does this disable all ability to use the GUI filters?
  18. der_Kief

    der_Kief Super Moderator Staff Member Member

    No, the QoS rules are still activ. This is what robsonn (creator of Script gen.) said about that:
    Here you find more information about script generator !

  19. der_Kief

    der_Kief Super Moderator Staff Member Member

    New version 1.01 is out


    - added German language to the GUI (thx to cHarOn)

  20. mikester

    mikester Network Guru Member

    Hi der_Keif,

    I have a couple of questions.

    1) if QOS is off then traffic shaping still works?
    2) if I have 3 users, 1 with unlimited access and the other 2 with limits, I only need to add the two users MAC/IP to the list?
  21. roadkill

    roadkill Super Moderator Staff Member Member

    I think since this is a much sought after feature it's a good idea to add Bandwidth Limiting to the GUI...
  22. der_Kief

    der_Kief Super Moderator Staff Member Member

    Hi mikester,
    1) Yes it still works without QoS (Script shape traffic on LAN and WLAN.QoS is shaping outgoing traffic on WAN)
    2) Yes, but when your unlimited machine is taking all the bandwidth your limited machines doesn't get any bandwidth (because no bw is available).So better is to put all three machines to the list.

  23. mikester

    mikester Network Guru Member

    That's the idea - I suffer from superuseritus

    I'm not the one needing QOS to regulate my behaviour ;-)
  24. hanz85

    hanz85 Addicted to LI Member

    nice tool
    thx for share

Share This Page