use text2pcap tool for converting plain ascii text to pcap format. read
text2pcap.c for further detail. in this case u need to convert ur .txt into
plain ascii then u can use text2pcap tool.
or else u can directly make changes in wiretap so that it understand new
capture format. by writing read & seek_read functions.
----- Original Message -----
From: <Kai.Kang@xxxxxxxxx>
To: <ethereal-dev@xxxxxxxxxxxx>
Sent: 2006 May 30 1:06 PM
Subject: [Ethereal-dev] Convert to ethereal format
Hi! All
New guy again, I am processing with some SipMessageLog.txt files(human
readable), and willing to convert them into .pcap format therefore they
can be read by ethereal. Have any one tried this before? How could that
be done by perl script? I have related modules Net::Pcap and
Net::PcapUtils installed.
Many thanks in advance!
Br,
Kai Kang
_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev
_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev