Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Feb 2016 12:19:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-amd64@FreeBSD.org
Subject:   [Bug 207459] ipfw rule using dscp cs4 results in be/cs0
Message-ID:  <bug-207459-6@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207459

            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@FreeBSD.org
          Reporter: swhite@gov.za
                CC: freebsd-amd64@FreeBSD.org
                CC: freebsd-amd64@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.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-207459-6>