look at the source of text2pcap or check out the libpcap
documentation (www.tcpdump.org)
On 03.03.2006, at 13:36, Hashmat Khan wrote:
Hi,
Its not a normal text file, it has lot of other things
other than the IP packet. So I can write a program to
extract these IP packets from the text file and then
write onto a pcap file. That is the reason I need to
know the pcap file format.
thanks,
hashmat
--- Jaap Keuter <jaap.keuter@xxxxxxxxx> wrote:
Hi,
Give text2pcap a try first. it does all that.
Thanx,
Jaap
On Fri, 3 Mar 2006, Hashmat Khan wrote:
Hi all,
I want to generate ethereal pcap file from some
text
file which has IP packets. I want to konw the
ethereal
file format.
Can anybody please send me this format?
thanks
hashmat
Input => a text file having IP packets.
Output => ethereal pcap file which can be opened
in ethereal
___________________________________________________________
Yahoo! Photos – NEW, now offering a quality print
service from just 8p a photo
http://uk.photos.yahoo.com
_______________________________________________
Ethereal-users mailing list
Ethereal-users@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-users
_______________________________________________
Ethereal-users mailing list
Ethereal-users@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-users
___________________________________________________________
Win a BlackBerry device from O2 with Yahoo!. Enter now. http://
www.yahoo.co.uk/blackberry
_______________________________________________
Ethereal-users mailing list
Ethereal-users@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-users
Andreas Fink
Fink Consulting GmbH
---------------------------------------------------------------
Tel: +41-61-6666332 Fax: +41-61-6666331 Mobile: +41-79-2457333
Address: Clarastrasse 3, 4058 Basel, Switzerland
E-Mail: afink@xxxxxxxxxxxxxxxxxx
Homepage: http://www.finkconsulting.com
---------------------------------------------------------------
ICQ: 101946485 MSN: msn1@xxxxxx AIM: smsrelay Skype: andreasfink
Yahoo: finkconsulting SMS: +41792457333
PGP9: 0714 DF2B A189 A760 6201 5CBD D040 3E71 4DAF 68BB