tcpsplit

Break a packet trace into multiple sub-traces by connection

brewmacoslinux
Try with needOr install directly
Source

About

Break a packet trace into some number of sub-traces

Commands

tcpsplit

Examples

Split a pcap file into separate traces by TCP connection$ tcpsplit -i input.pcap -o output
Split pcap file and save each connection to numbered files$ tcpsplit -i capture.pcap -o /tmp/split
Display help and available options$ tcpsplit -h