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

I am writing a dissector of a non-stateless protocol atop TCP. Suppose that there are multiple TCP streams with the same addr1/port1 and addr2/port2 pair, and that I want to assign each one a separate conversation, how to distinguish them within my dissecting context?

Any guidance will be appreciated. Thanks.

asked 27 Sep '15, 19:22

Peng%20Zheng's gravatar image

Peng Zheng
accept rate: 0%

I guess you can use the index. It's counted up for each new conversation using the same 5-tuple.

See also

permanent link

answered 27 Sep '15, 19:24

Jasper's gravatar image

Jasper ♦♦
accept rate: 18%

"assign each one a separate conversation", TCP already does it (create conversation) for me, so all I have to do is to check whether a per conversation data for my own protocol exists, if not, just create one and add it to the conversation. Right?

(28 Sep '15, 02:21) Peng Zheng
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: 27 Sep '15, 19:22

question was seen: 1,254 times

last updated: 28 Sep '15, 02:22

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