{{define "title"}}Split pcap{{end}} {{define "toolbar-info"}}Split a pcap file by packet count or file size{{end}} {{define "content"}} {{with .Data}} {{if .Error}}
The parts are downloaded together as a zip. Packets are copied unchanged, and each part keeps the original file header.
editcap -F pcap
1 MB = 1,000,000 bytes. A packet bigger than the size limit gets a file to itself. At most {{.MaxParts}} output files. If the capture ends with a truncated packet, that packet is dropped.