Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 902 Bytes

traffic_stat_timeseries.md

File metadata and controls

37 lines (25 loc) · 902 Bytes

Obtaining per-flow traffic statistics for timeseries analysis

Install necessary software:

sudo apt-get install argus-client

To generate the traffic dataset (.pcap) run the following commands from two different terminals

wget https://your-favorite-software
sudo tcpdump -w your-favorite-software.pcap

Convert the pcap into argus format

argus -r your-favorite-software.pcap -w your-favorite-software.argus

Use RABins to generate timeseries from argus:

rabins -m saddr daddr sport dport proto -M hard time 10s -r your-favorite-software.argus

To remove any flows that you are not interested in, you can use sed

rabins -m saddr daddr sport dport proto -M hard time 10s -r your-favorite-software.argus |sed '2,${/man/d}'

rabins-demo.png