[Bug 207459] ipfw rule using dscp cs4 results in be/cs0
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Feb 24 12:19:38 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207459
Bug ID: 207459
Summary: ipfw rule using dscp cs4 results in be/cs0
Product: Base System
Version: 10.2-RELEASE
Hardware: amd64
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: kern
Assignee: freebsd-bugs at FreeBSD.org
Reporter: swhite at gov.za
CC: freebsd-amd64 at FreeBSD.org
CC: freebsd-amd64 at FreeBSD.org
Using dscp cs4 in any rule results in the test being for dscp be:
# ipfw add 10000 pipe 1 in dscp cs4 recv igb0
10000 pipe 1 ip from any to any in dscp be recv igb0
#
but this:
# ipfw add 10000 pipe 1 in dscp cs2 recv igb0
10000 pipe 1 ip from any to any in dscp cs2 recv igb0
#
...appears to be fine. Pretty much anything else works other than cs4 which
gets interpreted as be (0x0).
The same applies when using simple rules like 'count'.
cs4, 32, 0x20, all give the same result.
# ipfw add 10000 count in dscp 0x20
10000 count ip from any to any in dscp be
#
# ipfw -aT list 10000
10000 3456945 2202370996 1456315172 count ip from any to any in dscp be
#
This is seen in 9.3-R, 9.3-Rp33, 10.2-Rp8.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-amd64
mailing list