On Thu, Mar 04, 2010 at 01:11:22AM +0200, Claudiu Pruna wrote:
> Hello,
>
> I was wondering is there any chance that in the future (close or far)
> OpenBSD shall be able to modify (preferred from pf) the DSCP field ?
>
Did you read pf.conf(5)?
tos <string> | <number>
This rule applies to packets with the specified TOS bits set.
string may be one of critical, inetcontrol, lowdelay, netcontrol,
throughput, reliability, or one of the DiffServ Code Points: ef,
af11 ... af43, cs0 ... cs7; number may be either a hex or decimal
number.
For example, the following rules are identical:
pass all tos lowdelay
pass all tos 0x10
pass all tos 16
IIRC this was already available in 4.6.
--
:wq Claudio