I am stuck as in how to identify the different connections(flows) in trace file.
Asked
Active
Viewed 207 times
-2
-
This Q is very under-specified. Please read http://stackoverflow.com/tour , http://stackoverflow.com/help/how-to-ask , http://stackoverflow.com/help/dont-ask , and http://stackoverflow.com/help/mcve before posting more questions here. Good luck. – shellter Oct 16 '16 at 18:23
1 Answers
1
The following is the format in which the trace file is being created
event
time
Source node
Destination node
Packet type
Packet size
flags
fid
Source address
Dest. address
Seq. number
Packet id
If you take a look at the frame format of a trace file, the 8th column is the flow id which you can extract using an awk
file.
Read more on awk
file and how you can isolate or count sent and received packets along with flow id. Once you have that just divide the two.