On Sun, Jul 23, 2006 at 11:00:05PM +0200, Maxim Bourmistrov wrote: > Missed "tos"-rule in man page.
do you mean in pf.conf(5) (as opposed to pfctl(8)) ? > Any reason why? maybe no reason other than nobody sent a diff? <shrug>. maybe this one doesn't suck completely?: -- jared [ openbsd 3.9-current GENERIC ( jun 22 ) // i386 ] Index: pf.conf.5 =================================================================== RCS file: /cvs/src/share/man/man5/pf.conf.5,v retrieving revision 1.350 diff -u -u -r1.350 pf.conf.5 --- pf.conf.5 9 Jul 2006 11:00:17 -0000 1.350 +++ pf.conf.5 24 Jul 2006 03:31:11 -0000 @@ -1512,6 +1512,26 @@ .Ar icmp6-type .Pc must match. +.It Xo Ar tos Aq Ar string +.No \*(Ba Aq Ar number +.Xc +This rule applies to packets with the specified +.Em TOS +bits set. +.Em TOS +may be +given as one of +.Ar lowdelay , +.Ar throughput , +.Ar reliability , +or as either hex or decimal. +.Pp +For example, the following rules are identical: +.Bd -literal -offset indent +pass all tos lowdelay +pass all tos 0x10 +pass all tos 16 +.Ed .It Ar allow-opts By default, packets which contain IP options are blocked. When @@ -1575,7 +1595,7 @@ .Xc Packets matching this rule will be assigned to the specified queue. If two queues are given, packets which have a -.Em tos +.Em TOS of .Em lowdelay and TCP ACKs with no data payload will be assigned to the second one.