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

Hi I research DDoS attack solution. but, i can't find how to see the pair flow number in the wireshark. pair flow means below example

host 1 --> src( dst( host 2 --> src( dst(

host1 and host2 are pair

pair flow number is very important element for DDoS detection. pleases help me.

asked 05 Apr '15, 20:45

Soong's gravatar image

accept rate: 0%

There is no built-in function in Wireshark to do that. You can use tshark and some scripting to find the pair flows.

tshark -nr input.pcap -T fields -e ip.src -e ip.dst -e ip.proto -e tcp.port -e udp.port -E separator=, -E header=y > output.txt

Then parse the output to find the pair flows that match your definition.

BTW: I added the IP protocol (ip.proto) and the ports, because the following paper includes the identical protocol as part of the "pair-flow" definition. If you don't need them, remove the options or ignore them in your script.


permanent link

answered 06 Apr '15, 03:16

Kurt%20Knochner's gravatar image

Kurt Knochner ♦
accept rate: 15%

edited 06 Apr '15, 03:18

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: 05 Apr '15, 20:45

question was seen: 1,310 times

last updated: 06 Apr '15, 03:18

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