Wireshark-bugs: [Wireshark-bugs] [Bug 6560] New: IPv6 frame containing routing header with 0 seg
Date: Thu, 10 Nov 2011 11:38:49 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6560

           Summary: IPv6 frame containing routing header with 0 segments
                    left calculates wrong UDP checksum
           Product: Wireshark
           Version: 1.6.3
          Platform: x86-64
        OS/Version: Mac OS X 10.6
            Status: NEW
          Severity: Major
          Priority: Low
         Component: Wireshark
        AssignedTo: bugzilla-admin@xxxxxxxxxxxxx
        ReportedBy: wireshark@xxxxxxxxxxxxxxxx


Build Information:
Version 1.6.3 (SVN Rev 39702 from /trunk-1.6)

Copyright 1998-2011 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.24.5, with GLib 2.29.8, with libpcap 1.0.0, with
libz 1.2.3, without POSIX capabilities, without libpcre, with SMI 0.4.8,
without
c-ares, without ADNS, with Lua 5.1, without Python, with GnuTLS 2.12.7, with
Gcrypt 1.4.6, with MIT Kerberos, with GeoIP, with PortAudio V19-devel (built
Sep
30 2011 11:17:29), without AirPcap.

Running on Mac OS 10.6.8 (Darwin 10.8.0), with libpcap version 1.0.0, with libz
1.2.3, GnuTLS 2.12.7, Gcrypt 1.4.6.

Built using gcc 4.2.1 (Apple Inc. build 5666) (dot 3).
--
An IPv6 frame with a routing header (Type-0 or Type-2) calculates the wrong
UDP/TCP checksum when segments left is 0.

When a routing header is present, the final L3 IP destination address used for
UDP/TCP checksum is the last element of the list UNLESS the segments left is 0.
  In this case, the destination address is in the L3 header.   See RFC 2460
(Page 17 of the 1998 standard has a good example
http://tools.ietf.org/html/rfc2460  ).

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