Ethereal-users: [Ethereal-users] binary capture

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Servando Garcia <servando@xxxxxxx>
Date: Thu, 6 Oct 2005 22:37:09 -0500
I am sorry to have to ask the same question again. I'll be as clear as possible this time to ensure that this does not happen again. I am in a computer networking class. We are using ethereal to capture TCP packets off the school network. My job is to take a capture session and decode the session just like ethereal does. Point of fact to ensure that my program is correct, I am to compare my output to that of ethereal. In the display of ethereal the frame number is displayed, time , source, ............ I have to write a program to display the same output. My instructor told us in class to save the capture session in binary format then just convert binary to ascii. I have used the save option under the file menu and saved file type as libpcap. This does not save the file in binary format, when I use emacs/ textedit to view this file it is anything but binary. i still have plenty of time to do this project, now. I just don't want to get caught behind.

So after all that I guess I need to know how to save in binary or some other format that I can convert to ascii so as to create a display similar to that of ethereal.

As always thanks in advance


Servando Garcia