Wireshark-bugs: [Wireshark-bugs] [Bug 3112] New: CDP Checksum Calculation Incorrect
Date: Thu, 11 Dec 2008 17:43:28 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3112

           Summary: CDP Checksum Calculation Incorrect
           Product: Wireshark
           Version: 1.0.5
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Minor
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: wireshark@xxxxxxxxxxxxxxxxxxxxx


Created an attachment (id=2551)
 --> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=2551)
Example of CDP checksum error

Build Information:
wireshark 1.0.5 (SVN Rev 26954)

Copyright 1998-2008 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 with GTK+ 2.12.8, with GLib 2.14.6, with WinPcap (version unknown),
with libz 1.2.3, without POSIX capabilities, with libpcre 7.0, with SMI 0.4.8,
with ADNS, with Lua 5.1, with GnuTLS 2.3.8, with Gcrypt 1.4.1, with MIT
Kerberos, with PortAudio V19-devel, with AirPcap.

Running on Windows XP Service Pack 3, build 2600, with WinPcap version 4.0.2
(packet.dll version 4.0.0.1040), based on libpcap version 0.9.5, without
AirPcap.

Built using Microsoft Visual C++ 6.0 build 8804
--
Wireshark calculates CDP checksums incorrectly for odd length packets. Packets
with an even number of bytes are calculated correctly, but odd length packets
show an incorrect checksum. This was verified on a Cisco Catalyst 2950 running
IOS 12.1(22)EA12.

There is an example capture attached to this bug from this same switch that
shows two packets and the error. The first packet is with an even length, and
the second is with an odd length. The change in length was accomplished simply
by changing the name of the switch to add an extra character.


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