Hi all, I split a pcap in 3 small pcap files and then I merged back altogether. I was supposing that the merged one is equal to initial file, but I found many differences. Could someone explain to me why? Thanks
asked 03 Oct ‘13, 06:17 Ric79 edited 03 Oct ‘13, 06:18 |
One Answer:
editcap will not save the listed packets by default. You need to use the "-r" flag to save frames 1-300 to a new file like this:
answered 03 Oct '13, 07:22 SYN-bit ♦♦ Thanks.. after adding a "-r" flag to editcap, the process works nicely! Is there a way to use editcap also for extracting just ONE frame? (03 Oct '13, 23:19) Ric79 1 Maybe try "editcap -r test_initial.pcap test.pcap 1-1"? :-) (03 Oct '13, 23:24) Jasper ♦♦ Or just use "1":
(04 Oct ‘13, 00:14) SYN-bit ♦♦ @Jasper … your solution is nice also for n-th frame, not just for the first one
(04 Oct ‘13, 01:58) Ric79 |
Can you post the initial pcap anywhere folks could have a look? What’s the capinfos report on the initial and merged pcaps?
@grahamb You can use a generic test_initial.pcap file…