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

Problem trying to convert a text file to a pcap file

0

I'm running into the same problem, except my file contains actual packet content. I'm capturing data directly from a device and getting data, but the target file is empty after the conversion. Any ideas? I can supply more info if needed.

asked 22 Aug '16, 15:20

azbird's gravatar image

azbird
6112
accept rate: 0%

converted to question 22 Aug '16, 18:20

Guy%20Harris's gravatar image

Guy Harris ♦♦
17.4k335196

So by "actual packet content" do you mean "a bunch of hex numbers giving the raw bytes in the packet"? The text format that Wireshark's "import" function, and its text2pcap command, handle is described in the text2pcap man page; is it in a format like that?

(22 Aug '16, 18:22) Guy Harris ♦♦