This is our old Q&A Site. Please post any new questions and answers at

Hi there, I captured a correct sequence with wireshark V1.12.3 starting with a SYN:

22 23.886574000s 50000 TCP 60 1027→50000 [SYN] Seq=0 Win=1446 Len=0 MSS=1446 Everything is fine. But when I save this File an reopen it, so the same line is being displayed as:

22 23.886574000s 50000 TCP 60 [TCP Port numbers reused] 1027→50000 [SYN] Seq=4294967260 Win=1446 Len=0 MSS=1446

with an other sequence number and the Frame is marked as possible erroneous (TCP Port numbers reused).
What can be the cause of this and how to avoid it? Regards Steffen

asked 14 Jan '15, 00:04

ClownFerdinand's gravatar image

accept rate: 0%

I can reproduce the issue when opening the capture file in Wireshark 1.12.1. The ISN is 0 (absolute value), so it seems the TCP dissector can not properly handle the case of an ISN of 0. Could you file this as a bug on (referring to this question)?

permanent link

answered 14 Jan '15, 01:47

SYN-bit's gravatar image

SYN-bit ♦♦
accept rate: 20%

Thanks. The corresponding bug-number is: Bug 10854

(14 Jan '15, 01:58) ClownFerdinand

[TCP Port number reused] is diagnosed when you have a SYN packet with the same IP:Port combination for client and server as a previous conversation. The new SYN has a different sequence number, otherwise it would be considered a retransmission of the previous SYN.

See packet-tcp.c:

    /* If this is a SYN packet, then check if its seq-nr is different
     * from the base_seq of the retrieved conversation. If this is the
     * case, create a new conversation with the same addresses and ports
     * and set the TA_PORTS_REUSED flag. If the seq-nr is the same as
     * the base_seq, then do nothing so it will be marked as a retrans-
     * mission later.
permanent link

answered 14 Jan '15, 00:13

Jasper's gravatar image

Jasper ♦♦
accept rate: 18%

This is not the problem. The second line is not a second SYN. Its is the same SYN as in the first line. 1. I captured the sequence: --> copy to first line 2. I save the sequence in a file 3. I opened the file saved in step 2 --> copy to second line

(14 Jan '15, 00:21) ClownFerdinand

Okay, looks like there are two problems. Wireshark should not save/load anything different than it was captured, and second, it should not mark something as port number reused if it isn't.

Can you provide a sample capture? Upload to and post the link if you can.

(14 Jan '15, 00:24) Jasper ♦♦

Here you are: SYN-Capture

On this page, the explanation of the frame is o.k. No "TCP Port numbers reused" issue. But open this file in the wireshark V1.12.3. Than the issue will happen.

Thanx in advance


(14 Jan '15, 01:19) ClownFerdinand
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 14 Jan '15, 00:04

question was seen: 13,713 times

last updated: 14 Jan '15, 02:44

p​o​w​e​r​e​d by O​S​Q​A