Wireshark-bugs: [Wireshark-bugs] [Bug 7045] New: DNS OPT resource record future used flags are d

Date: Sun, 8 Apr 2012 09:40:55 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7045

           Summary: DNS OPT resource record future used flags are
                    displayed wrong
           Product: Wireshark
           Version: 1.6.6
          Platform: x86-64
        OS/Version: Windows 7
            Status: NEW
          Severity: Minor
          Priority: Low
         Component: Wireshark
        AssignedTo: bugzilla-admin@xxxxxxxxxxxxx
        ReportedBy: boaz.brickner@xxxxxxxxx


Created attachment 8179
  --> https://bugs.wireshark.org/bugzilla/attachment.cgi?id=8179
Example for DNS OPT with future use bits. Second answer record.

Build Information:
Version 1.6.6 (SVN Rev 41803 from /trunk-1.6)

Copyright 1998-2012 Gerald Combs <gerald@xxxxxxxxxxxxx> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled (64-bit) with GTK+ 2.22.1, with GLib 2.26.1, with WinPcap (version
unknown), with libz 1.2.5, without POSIX capabilities, without libpcre, without
SMI, with c-ares 1.7.1, with Lua 5.1, without Python, with GnuTLS 2.12.18, with
Gcrypt 1.4.6, without Kerberos, with GeoIP, with PortAudio V19-devel (built Mar
27 2012), with AirPcap.

Running on 64-bit Windows 7 Service Pack 1, build 7601, with WinPcap version
4.1.2 (packet.dll version 4.1.0.2001), based on libpcap version 1.0 branch
1_0_rel0b (20091008), GnuTLS 2.12.18, Gcrypt 1.4.6, without AirPcap.

Built using Microsoft Visual C++ 9.0 build 21022

Wireshark is Open Source Software released under the GNU General Public
License.

Check the man page and http://www.wireshark.org for more information.
--
Discovered while developing Pcap.Net (http://pcapdot.net).

It seems that the "Z" attribute isn't parsed correctly in DNS OPT resource
record.
For example, in the attached pcap, the second Answer resource record is an OPT
record with "Z" field 0x8000.
However, bits 1-15 (reserved) are parsed as 0x1a, instead of 0x0 and I don't
know where did this value come from.

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.