Wireshark

  • Riverbed Technology
  • WinPcap
the world's foremost network protocol analyzer
  • Wireshark
    • About
    • Download
    • Blog
  • Get Help
    • Ask a Question
    • FAQs
    • Documentation
    • Mailing Lists
    • Online Tools
    • Wiki
    • Bug Tracker
  • Develop
    • Get Involved
    • Developer's Guide
    • Browse the Code
    • Latest Builds

Wireshark-bugs: [Wireshark-bugs] [Bug 1136] New: TCP checksum validation

Date Index Thread Index Other Months All Mailing Lists
Date Prev Date Next Thread Prev Thread Next


From: bugzilla-daemon@xxxxxxxxxxxxx
Date: Sun, 1 Oct 2006 09:56:07 +0000 (GMT)

http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1136

           Summary: TCP checksum validation
           Product: Wireshark
           Version: 0.99.3
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Minor
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: nishikawa.shun@xxxxxxxxxxxxxx


Build Information:
--
--
Rireshark/Ethreal cannot checkout TCP checksum error.

When correct TCP checksum is 0x0000, and sender miss-caluculated
checksum as 0xffff, Wireshark show this packet as Checksum [correct].

In fact, TCP packet never has checksum=0xffff.
(In case UDP, if computed_cksum==0 then udp set cksum to 0xffff,
and cksum field zero means cksum disabled)

IMHO, epan/dissectors/packet-tcp.c should check `if (th_sum == 0xffff)' at
first.
Can somebody correct this. (I don't know about other protocol)


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

  • Follow-Ups:
    • [Wireshark-bugs] [Bug 1136] TCP checksum validation
      • From: bugzilla-daemon
    • [Wireshark-bugs] [Bug 1136] TCP checksum validation
      • From: bugzilla-daemon
    • [Wireshark-bugs] [Bug 1136] TCP checksum validation
      • From: bugzilla-daemon
    • [Wireshark-bugs] [Bug 1136] TCP checksum validation
      • From: bugzilla-daemon
  • Next by Date: [Wireshark-bugs] [Bug 1137] New: Wireshark will not start
  • Next by thread: [Wireshark-bugs] [Bug 1136] TCP checksum validation
  • Index(es):
    • Date
    • Thread

Wireshark and the "fin" logo are registered trademarks of the Wireshark Foundation