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

I have a question about Stream index... it is calculated by some mathematical formula or some other ways? or its related to source port and destination port?

asked 31 Mar '14, 02:20

Petrusca%20Victor's gravatar image

Petrusca Victor
accept rate: 0%

It is counted by conversation, which is based on TCP and UDP socket pairs. So each socket pair (consisting of IP_1:Port_1 - IP_2:Port_2) is a conversation, with TCP and UDP being calculated separately.

The first conversation has stream index 0, the second has stream index 1, and so on.

permanent link

answered 31 Mar '14, 03:41

Jasper's gravatar image

Jasper ♦♦
accept rate: 18%

thanx for answer Jasper

(31 Mar '14, 06:51) Petrusca Victor

Hi Jasper, is there a way to get the stream index number if we provide packet number to tshark?

(25 Apr '16, 12:36) WSharkUser

yes, like this, e.g. for file "test.pcapng" and frame number 100:

tshark -r "test.pcapng" -Y "frame.number==100" -Tfields -e

(25 Apr '16, 12:45) Jasper ♦♦
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: 31 Mar '14, 02:20

question was seen: 12,250 times

last updated: 25 Apr '16, 12:45

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