Operating System - HP-UX
1819801 Members
3037 Online
109607 Solutions
New Discussion юеВ

data extraction from ethernet frame

 
hl_3
New Member

data extraction from ethernet frame

Hello,

I'm using ethereal on HP-UX to record ehernet data on a network. Unfortunately , I didn't manage to extract the data part fom the frame.
When I try to save the content of my record in a binary file, all the frame is saved, including the ethernet header.
Is there a way , using another tools for example to get only the data part of the ethernet frame saved into a binary.

regards
3 REPLIES 3
RAC_1
Honored Contributor

Re: data extraction from ethernet frame

What exactly you are trying to do?? IF you are looking at particular port, ip adress to watch, you can use hp-ux commands - nettl, netfmt. These two have got a nice interface - nettladm.

Read the man pages of them.

Anil
There is no substitute to HARDWORK

Re: data extraction from ethernet frame

Hi,

Have a look to this link :

http://www.ethereal.com/docs/dfref/

You can apply many filters ...

Regards.
hl_3
New Member

Re: data extraction from ethernet frame

Hello,

In fact, using the proper filter , i manage to capture the UDP ethernet frames i'm interested in.
Now I would to save on the data contained in those frames into a binary file.
I've got a tool which decodes this data. The problem is that when I save my capture, I save as well all the ethernet header of the frame ( contanining protocole, destinator, sender .... etc ). Then my tools is enable to decode anything.
Of course , it is possible to modify the tool to extract the data part in the frame, but I would prefer to get a clean recording of the data.

regards