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

QoS question re: iptables command

Discussion in 'DD-WRT Firmware' started by _Shorty, May 11, 2005.

  1. _Shorty

    _Shorty Network Guru Member

    IIRC, DD-WRT has its roots in the Alchemy source code, so perhaps someone here might be able to answer this. I've created a custom L7 pattern and have gotten to the point where I just need to know which integers to mark packets with in order to get them treated as Bulk, Standard, Express, Premium. I've got this command, which I believe will accomplish what I want, but I just need to know which integers to use for the various QoS levels. Thanks for any help.

    iptables -t mangle -A POSTROUTING -m layer7 --l7dir /tmp --l7proto cstrike -j MARK --set-mark 3
  2. rtau

    rtau Network Guru Member

    Just a wild guess:
    Premium -> 10
    Express -> 20
    Standard -> 30
    Buk -> 40 (quite sure, from what I've seen in ip_conntrack)
  3. _Shorty

    _Shorty Network Guru Member

    yeah, I received an answer from someone elsewhere, those are correct. Thanks.

Share This Page