Hi everybody,

I wanted to share with you my custom script for SQM. It is essentialy a 2 queue system (regular/priority traffic + background) with builtin priotization for common interactice protocols (HTTP, DNS, FTP, etc...) and diffserv priotization on both ingress and egress.

If a diffserv is present on the packet then the queue is selected according to it, otherwise service priotization takes place.

This allows marking at the client level for egress which I have been using extensively (ie some of my servers are doing large downloads over HTTP and they should not be using the priority queue).

One additional particularity is that iptables is not used, for better or worse. I was just feeling more confident using TC only.

Link: https://raw.github.com/zcecc22/qos-nxt/master/nxt.qos

As a sidenote, I would like to point out that I am using pppoe on ceroWRT and there is currently no way in LUCI to select "pppoe-ge00" as SQM interface. I forced it manually in the config file, with luci displaying "@ge00"

As usual, feedback welcome :)

BR,
Vincent