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 Victor |
One Answer:
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. answered 31 Mar '14, 03:41 Jasper ♦♦ |
thanx for answer Jasper
Hi Jasper, is there a way to get the stream index number if we provide packet number to tshark?
yes, like this, e.g. for file "test.pcapng" and frame number 100:
tshark -r "test.pcapng" -Y "frame.number==100" -Tfields -e tcp.stream