请问wireshark的Follow Tcp stream功能原理是?那个stream index怎么计算出来的?

timke212004 2011-12-15 12:47:48
如题。
我个人的考虑是,follow tcp stream是依靠tcp数据包的32位序号得出来stream index,然后依据这个进行follow,但是具体怎么来的,却想不通,数据进行转换,可是还是不知所以然,求高手指点。
...全文
12962 8 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
ruanben 2014-06-30
  • 打赏
  • 举报
回复
2#,Statistics/Conversations/TCP Statistics/Conversations/endpoints/tcp 可以看到这些索引号对应的数据流 这些 是什么意思???怎么看??
风一样的逗比 2014-04-12
  • 打赏
  • 举报
回复
请问楼主现在知道什么原理了吗?我最近也在研究这个,有点想不明白
smiletolife2 2012-11-06
  • 打赏
  • 举报
回复
#2楼的解释很好
timke212004 2011-12-28
  • 打赏
  • 举报
回复
#2楼的解释很好,“对ip A port A和ip B port B的对应,加上src/dst的转换”,部分正确。对于udp来说没有问题,但是对于tcp而言,还要参考tcp报文的序号。再次感谢二位!
qintel 2011-12-22
  • 打赏
  • 举报
回复
#2楼解释更合理,就是对ip A port A和ip B port B的对应,加上src/dst的转换。
qintel 2011-12-22
  • 打赏
  • 举报
回复
the stream index is an internal Wireshark mapping to: [IP address A, TCP port A, IP address B, TCP port B]

All the packets for the same tcp.stream value should have the same values for these fields (though the src/dest will be switched for A->B and B->A packets)

see the Statistics/Conversations/TCP tab in Wireshark to show a summary of these streams

http://stackoverflow.com/questions/6076897/follow-tcp-stream-where-does-field-stream-index-come-from

Statistics/Conversations/TCP
Statistics/Conversations/endpoints/tcp
可以看到这些索引号对应的数据流
qintel 2011-12-22
  • 打赏
  • 举报
回复
没那么复杂,可能是根据src.ip src.port dst.ip dst.port,生成一个索引号,累加.

9,513

社区成员

发帖
与我相关
我的任务
社区描述
Windows专区 安全技术/病毒
社区管理员
  • 安全技术/病毒社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧