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
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}'