Thread: Help Needed with project

  1. #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.

  2. #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.

Popular pages Recent additions subscribe to a feed

Similar Threads

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