On Wed, Aug 7, 2013 at 12:10 PM, Henning Brauer <lists-open...@bsws.de> wrote: > * Михаил Швецов <mishve...@rambler.ru> [2013-08-07 14:55]: >> How can i see that "set prio" works? > > it just does.
Sometimes it doesn't: http://www.openbsd.org/cgi-bin/cvsweb/src/sys/net/pf.c#rev1.862 I got into a habit of separating prioritization from filtering with a bunch of "match ... set prio ..." rules at the start of the ruleset. Seemed like a good idea at the time. I agree that some visualization of "set prio" operation is needed. Perhaps systat can show the number of packets assigned to each priority level for each interface over the last N seconds? I know that the design goal was to keep this as simple as possible, but some stats would be helpful in understanding what is happening and catching config errors.