diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2008-05-07 06:23:31 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2008-05-07 06:23:31 +0000 |
commit | c46e8f1d56b2d9c7df393144da59b2b621bd1dca (patch) | |
tree | 9136e007f7b263a4f31557e6803910bbf6aa97c1 /regress/sbin/pfctl | |
parent | 986313dc2c034266863c05ef19727bed8f53e211 (diff) |
allow setting TOS with scrub; ok mcbride, claudio
Diffstat (limited to 'regress/sbin/pfctl')
-rw-r--r-- | regress/sbin/pfctl/pf15.in | 4 | ||||
-rw-r--r-- | regress/sbin/pfctl/pf15.ok | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/regress/sbin/pfctl/pf15.in b/regress/sbin/pfctl/pf15.in index dedb52bb00d..c2678c1cabf 100644 --- a/regress/sbin/pfctl/pf15.in +++ b/regress/sbin/pfctl/pf15.in @@ -12,3 +12,7 @@ scrub in from { lo0 10.1.1.1 } to any scrub in from { 10.0.0.1 lo0 } to any scrub in from !lo0 to any scrub in on !lo0 +scrub proto udp set-tos lowdelay +scrub out proto esp set-tos throughput +scrub out proto ah set-tos reliability +scrub out proto icmp set-tos 0x12 diff --git a/regress/sbin/pfctl/pf15.ok b/regress/sbin/pfctl/pf15.ok index 838e5c4e03a..70d9dcd7a52 100644 --- a/regress/sbin/pfctl/pf15.ok +++ b/regress/sbin/pfctl/pf15.ok @@ -25,3 +25,7 @@ scrub in inet from ! 127.0.0.1 to any fragment reassemble scrub in inet6 from ! ::1 to any fragment reassemble scrub in on lo0 inet6 from ! fe80::1 to any fragment reassemble scrub in on ! lo0 all fragment reassemble +scrub proto udp all set-tos 0x10 fragment reassemble +scrub out proto esp all set-tos 0x08 fragment reassemble +scrub out proto ah all set-tos 0x04 fragment reassemble +scrub out proto icmp all set-tos 0x12 fragment reassemble |