This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Merging Different media type PCAP files

0

Can I merge or concatanate a wireless PCAP capture file with a wired PCAP capture file?

asked 14 Sep '12, 09:15

MSshark's gravatar image

MSshark
1111
accept rate: 0%


One Answer:

0

No that's not possible as mergecap will print this error message:

mergecap -w out.cap http.cap wlan.pcap
mergecap: Can't open or create out.cap: Files from that network type can't be saved in that format

You can force a new encapsulation type with -T (e.g. ether), but then Wireshark cannot dissect the included wireless frames.

Regards
Kurt

answered 14 Sep '12, 12:53

Kurt%20Knochner's gravatar image

Kurt Knochner ♦
24.8k1039237
accept rate: 15%

...and if you try to use -F to force the output file to be a pcap-ng file, the resulting file won't be readable, due to bugs.

(14 Sep '12, 14:37) Guy Harris ♦♦