C Board  

Go Back   C Board > Platform Specific Boards > Linux Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 03-03-2006, 10:18 AM   #1
Registered User
 
Join Date: Mar 2006
Posts: 8
Help Needed with project

Basically I need help with this procedure.

"A binary file needs to be decoded, I know the file contains an Ethereal capture of an ICMP packet. I therefore know all the encapsulation layers and need to decode the binary frame into something like a Text representation for analysis."

If anyone can understand this and point me in the right direction, then I would be very grateful, cheers.
adgav is offline   Reply With Quote
Old 03-03-2006, 12:13 PM   #2
Me
 
-=SoKrA=-'s Avatar
 
Join Date: Oct 2002
Location: Europe
Posts: 448
Look up how Ethereal stores packets in the logs (it's probably standard PCAP format). It will contain an ICMP packet (ping is the most known one). Look up the fields.
Then, you just need to parse those fields and output whatever information they give you.
__________________
SoKrA-BTS "Judge not the program I made, but the one I've yet to code"
I say what I say, I mean what I mean.
IDE: emacs + make + gcc and proud of it.
-=SoKrA=- is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
can not create Visual C++ Smart Device project George2 Tech Board 0 11-26-2006 06:20 AM
help needed regarding my project mitto123 C Programming 2 02-02-2006 01:04 AM
C++ needed for game project using Ogre engine. joha Projects and Job Recruitment 0 11-14-2005 08:41 AM
Please, suggest a project …. Dragon227Slayer Tech Board 1 06-12-2004 10:48 AM
c++ OOP project ideas newbie17 C++ Programming 4 02-25-2002 12:40 PM


All times are GMT -6. The time now is 06:48 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22