Wireshark-bugs: [Wireshark-bugs] [Bug 6775] New: Bug: out-of-order packets tagged as "Port numbe

Date: Fri, 27 Jan 2012 06:45:18 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6775

           Summary: Bug: out-of-order packets tagged as "Port numbers
                    reused"
           Product: Wireshark
           Version: 1.6.5
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Low
         Component: Wireshark
        AssignedTo: bugzilla-admin@xxxxxxxxxxxxx
        ReportedBy: elof@xxxxxxxxxxxxxx


Build Information:
Version 1.6.5 (SVN Rev 40429 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 (32-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, with
SMI
0.4.8, with c-ares 1.7.1, with Lua 5.1, without Python, with GnuTLS 2.10.3,
with
Gcrypt 1.4.6, with MIT Kerberos, with GeoIP, with PortAudio V19-devel (built
Jan
10 2012), with AirPcap.

Running on Windows XP Service Pack 3, build 2600, 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.10.3, 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.

--
I think there is a bug in Wireshark regarding the TCP Out of Order tag.

If the first packets in a TCP connection (the SYN and SYNACK) are received
out-of-order, they are not tagged as "Out-of-order segment", but incorrectly as
"Port numbers reused".

This is misleading. There are no reused ports, they are just received in the
wrong order.

Example:
Real traffic:
1 -> SYN
2 <- SYN ACK
3 -> ACK

For some reason, packets 1 and 2 were received by Wireshark out of order:
1 <- SYN ACK
2 -> SYN
3 -> ACK

In the Wireshark GUI (and in the Expert Info), packet #2 is tagged [TCP Port
numbers reused].


So either the out-of-order detection in Wireshark fail, or the "Port numbers
reused" detection outrank the out-of-order detection. In any case, the
resulting tag is misleading.

(See also the related bug #6774: out-of-order packets tagged as "ACKed lost
segment")

/Elof

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