On Tue, Dec 31, 2002 at 03:38:47PM +0530, Nazeer wrote: > We Motorola have Ethereal. I need to anayse the logs which are in text > format, how can i use ethereal to view the packets. text file is > basically the phone logs... Is there any way to convert my text file > into .cap format?
That depends on the text format. *Some* text formats that contain ASCII text giving hex values for the bytes in a packet can be converted to libpcap format (the native Ethereal capture file format) with the "text2pcap" utility that comes with Ethereal. See the "text2pcap" documentation. For other capture file formats, you would have to write your own code to convert them.
