[ASK] QoS Classification Functionality??

Discussion in 'Tomato Firmware' started by davipiero, Feb 22, 2009.

  1. davipiero

    davipiero Addicted to LI Member

    Hi, I'm new to Tomato.
    I've set the classification page as follow:

    Can it really work to move the user to lower class once they transferred file big enough that meets the rule?

    When will the user be back again to higher rules?

    Thank you... :)
  2. Planiwa

    Planiwa Network Guru Member

    [corrections invited]

    It is not the user that is classified, but the connection.
    A connection is the equivalent of a conversation.
    The concept of connection-tracking is fundamental to SPI (stateful packet inspection).
    One user may have from 1 to hundreds (perhaps >1000) concurrent connections.

    QoS applies the classification rules to each *outbound* packet.
    Transfer limits relate to *outbound* bytes for the connection.

    Thus, a particular file transfer will become re-classified as it grows.
    The same user's next file transfer will again class-down with time.

    During a download, the outgoing traffic (for the connection) is small.
    But when uploading, the limits are reached quickly.

    If you want to observe the effect of the rules, you can run this:

    iptables -t mangle -nvL QOSO

    one typical system:

    2 days, 7 hosts, 85,000 connections, 17,000,000 packets, 14GB

    another one:

    19 hours, 9 hosts, 40,000 connections, 5,400,000 packets, 3.5GB
  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