Wireshark-bugs: [Wireshark-bugs] [Bug 6232] New: No error for UDP/IPv6 packet with zero checksum

Date: Wed, 10 Aug 2011 08:33:53 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6232

           Summary: No error for UDP/IPv6 packet with zero checksum
           Product: Wireshark
           Version: 1.6.0
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Low
         Component: Wireshark
        AssignedTo: bugzilla-admin@xxxxxxxxxxxxx
        ReportedBy: gunya@xxxxxxxxxxxx


Created an attachment (id=6813)
 --> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=6813)
UDP/IPv6 with zero checksum

Build Information:
wireshark 1.7.0 (SVN Rev 38445 from /trunk)

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 (32-bit) with GTK+ 2.20.1, with Cairo 1.8.10, with Pango 1.28.3, with
GLib 2.24.2, with libpcap 0.9.5, with libz 1.2.3.4, without POSIX capabilities,
with threads support, without libpcre, without SMI, without c-ares, without
ADNS, with Lua 5.1, with Python 2.6.6, with GnuTLS 2.8.6, with Gcrypt 1.4.5,
with MIT Kerberos, without GeoIP, without PortAudio, without AirPcap.

Running on Linux 2.6.38-bpo.2-686, with locale en_US.UTF-8, with libpcap
version
0.9.5, with libz 1.2.3.4, GnuTLS 2.8.6, Gcrypt 1.4.5.

Built using gcc 4.4.5.

--
I believe that if we analyze the packet UDP/IPv6, which in UDP header checksum
field is set to zero, but follow RFC 2460 must indicate that the packet is not
correct. At the moment, for these packages, they say that it does not have a
checksum, which I think is not correct.

RFC2460 page 27
  .....
      o  Unlike IPv4, when UDP packets are originated by an IPv6 node,
         the UDP checksum is not optional.  That is, whenever
         originating a UDP packet, an IPv6 node must compute a UDP
         checksum over the packet and the pseudo-header, and, if that
         computation yields a result of zero, it must be changed to hex
         FFFF for placement in the UDP header.  IPv6 receivers must
         discard UDP packets containing a zero checksum, and should log
         the error.
  ....

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