Export data byte from payload

asked 2019-12-05 16:41:50 +0000

drudenfuss gravatar image


i am not a computer expert. I am looking for a solution to export 10 byte from the payload and the detination mac adress from a frame. i have 6 million frames and each one is 1500 byte long. Is there a simple way to export the data i need?

edit retag flag offensive close merge delete


What do you expect the output to look like? How are the 10 bytes of payload defined, e.g. are they all tcp data or something else?

grahamb gravatar imagegrahamb ( 2019-12-05 16:52:22 +0000 )edit

The Frames are simple mac frames on layer 2 from a traffic generator. In each frame with a offset of 42 byte starts a hardware timestamp in 10 byte lengh. Ich just need this timestamp in a plain csv of other format to import in r studio. I tried ist with json export but failed at the size of +30GB.

drudenfuss gravatar imagedrudenfuss ( 2019-12-05 17:53:27 +0000 )edit

Can you share a capture file, on a public share such as Google Drive, DropBox etc. containing a couple of packets of this traffic and post a link to it back here?

grahamb gravatar imagegrahamb ( 2019-12-05 17:57:44 +0000 )edit

Sur I can. A sample of 10 frames: https://www.dropbox.com/s/jr5pmt0qp7m.... Timestamp would be set at the offset of 0x2A(42) in the outgoing packets

drudenfuss gravatar imagedrudenfuss ( 2019-12-06 07:47:14 +0000 )edit