I am trying to configure my packet filter to put ssh traffic into a specific queue for bulk and interactive traffic. This works great for ipv4 with filter rule like:
However a similar rule for ipv6:
doesn't work. It seems the packet filter ignores the ipv6 traffic class byte in the ip header.
Even if I use a rule like:
It seems the packet filter cannot ever match that line. I am using FreeBSD 11. Does anyone know how I can create a rule for ipv6 packets with a traffic class of 0x10
Code:
pass on $ext_if proto tcp from any to any port 22 queue (qwanstd, qwanhigh)
Code:
pass on $ext_if inet6 proto tcp from any to any port 22 no state queue (qwanstd, qwanhigh)
Even if I use a rule like:
Code:
pass quick on $ext_if inet6 proto tcp from any to any port 22 tos 0x10 no state queue (qwanhigh, qwanhigh)