My Community Dashboard

  • Downstream rules do not work?

    Hi,

    I have been playing with qos on 7.2 and cannot get this to work as I would expect.
    I am trying simple test where I would limit the speed to an IP address goin up and down but it seems like going down it does not work.
    Is this by design? Am I missing something?
    With following configuration I would expect my up and down speed from 192.168.1.156 be at 100% up and down but it is 50% down and 100% up.

    QOS_ENABLE="on"
    QOS_UPSTREAM="eth0:auto"
    QOS_DOWNSTREAM="eth0:auto"
    QOS_UPSTREAM_BWRES="*:15:15:14:14:14:14:14"
    QOS_DOWNSTREAM_BWRES="*:15:15:14:14:14:14:14"
    QOS_UPSTREAM_BWLIMIT="*:15:15:14:100:14:14:50:14"
    QOS_DOWNSTREAM_BWLIMIT="*:15:15:14:100:14:14:50:14"
    # IPv4
    QOS_PRIOMARK4="\
    All_ICMP_Down|*|1|1|0|icmp|-|-|-|- \
    All_ICMP_Up|*|1|0|0|icmp|-|-|-|- \
    DNS|*|1|0|0|udp|-|-|-|53 \
    test_down|*|1|1|3|-|-|-|192.1.199.156|- \
    testup|*|1|0|3|-|192.1.199.156|-|-|- \
    "
    # TODO: IPv6
    QOS_PRIOMARK6="\
    "
    QOS_PRIOMARK4_CUSTOM="\
    TCP_ACK_Up|*|1|0|1|-p tcp -m length --length :64
    TCP_ACK_Down|*|1|1|1|-p tcp -m length --length :64
    "
    # TODO: IPv6
    QOS_PRIOMARK6_CUSTOM="\
    "
    QOS_ENGINE="/usr/clearos/apps/qos/deploy/libqos.lua"