Bohdan, I am not a developer, just a guy who tries to achieve similar goal as you.
I am writing you in private because I've been asking basically the same questions here on misc@ a few months ago, eg: [http://marc.info/?l=openbsd-misc&m=145219178028408&w=2] To cut the long story short, after almost 10 years of successfully using OpenBSD's PF for traffic shaping, I can't make it work anymore since ALTQ was thrown out and new queuing mechanism was introduced in 5.5. All the resources about current state of queuing in PF, including FAQ, manpages, and latest edition of "Book of PF" claim that what you (and I) need to achieve is done with a few simple lines, as it was in ALTQ days. It is not true. I came to conclusion that queuing in PF is broken, but there is no one who will fix it. As I said, prio does not respect queue bandwidth set by admin, it starts to discard packets with lowest prio only when physical interface gets saturated. In world of 1Gb NICs this is almost never. I managed to make queuing work with as expected with fixed bandwidth queues only (meaning set target, min and max values) for all queues (parents and children). If you manage to achieve your goal (throttling one kind of traffic to prioritize other kind of traffic), please let me know. Regards, -- Before enlightenment - chop wood, draw water. After enlightenment - chop wood, draw water. Marko Cupać https://www.mimar.rs/