0

i am using wireshark Version 1.6.4. i have following questions regarding the stream numbers in wireshark :

1) why is it that tcp streams use numbers while udp streams don't ? (when i do "follow tcp stream" it shows say "tcp.stream eq 2" but it is not the same when i do "follow udp streams)

2) i go to conversations and i want to save some selected flows (tcp or udp or both) in a separate pcap file. i thought of using some filter like (tcp.stream eq 4 || tcp.stream eq 2 || udp.stream eq 1) if i want to save 2 tcp flows for these two streams and one udp flow in a separate pcap file. Now the issue with this approach is that conversation window doesn't show up the stream no's & further udp streams don't have the stream no. Also i need to go to conversation window first to see which tcp flows to save (say i want to save some flows having maximum bytes exchange) and then select that flow to see its stream number and so on for other flows as well. This is very inconvenient and time consuming. Is there some better way to do this.

any help will be greatly appreciated. thanks a lot.

4

1 回答 1

3

2 对话窗口
- 右键单击​​ tcp 或 udp 流并选择“准备过滤器”| “选择” | “A <-> B”
可以在过滤器工具栏中
看到显示过滤器 - 右键单击​​另一个 tcp 或 udp 流并选择“准备为过滤器” | “...或已选择” | “A <-> B”
- 右键单击​​最后一个 tcp 或 udp 流并选择“应用为过滤器” | “...或已选择” | "A <-> B"

接下来,您可以将这 3 个流保存在单独的捕获文件中。

于 2012-04-11T18:17:58.000 回答