Printer FriendlyEmail Article Link

How to decode custom binary/raw data identify the header information using Spirent TestCenter?

Answer

 

Detail Description:
The following raw stream data that received from the real time decoder and unable to figure out the headers 
 
0000   00 00 00 31 30 2e 39 38 2e 33 2e 31 32 0a 00 00 ...10.98.3.12...
0010   00 0a 00 00 00 00 00 00 00 01 00 00 00 00 00 00 ................
0020   00 e8 c5 8c 3f 69 0d 00 00 08 00 00 00 00 00 00 ....?i..........
0030   00 88 00 00 00 55 55 55 55 55 55 55 d5 00 10 94 .....UUUUUUU....
0040   00 00 03 00 10 94 00 00 02 88 b5 41 41 41 41 41 ...........AAAAA
0050   41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 AAAAAAAAAAAAAAAA
0060   41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 AAAAAAAAAAAAAAAA
0070   41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 AAAAAAAAAAAAAAAA
0080   41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 AAAAAAAAAAAAAAAA
0090   41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 AAAAAAAAAAAAAAAA
00a0   41 41 41 41 41 ff 2f 4b 1b b7 28 be 95 46 b1 82 AAAAA./K..(..F..
00b0   17 cd fb 70 bb cf ef 68 86 08 92 d0 b2 00 00 00 ...p...h........
00c0   00 00 00 00 00 01 00 00 00 0a 00 00 00 31 30 2e .............10.
00d0   39 38 2e 33 2e 31 32 0a 00 00 00 0a 00 00 00 01 98.3.12.........
00e0   00 00 00 01 00 00 00 00 00 00 00 e8 8f 27 7b 69 .............'{i
00f0   0d 00 00 08 00 00 00 00 00 00 00 88 00 00 00 55 ...............U
0100   55 55 55 55 55 55 d5 00 10 94 00 00 03 00 10 94 UUUUUU..........
0110   00 00 02 88 b5 41 41 41 41 41 41 41 41 41 41 41 .....AAAAAAAAAAA
0120   41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 AAAAAAAAAAAAAAAA
0130   41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 AAAAAAAAAAAAAAAA
0140   41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 AAAAAAAAAAAAAAAA
0150   41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 AAAAAAAAAAAAAAAA
0160   41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 fe AAAAAAAAAAAAAAA.
0170   ed 35 29 76                                                                        .5)v
 
How to decode the (above sample or similar) raw data and identify the Headers?
 
1.       Clean the Raw data and take the only the middle data portions and save
As shown below
00000031302e39382e332e31320a0000000a000000000000000100000000000000e8c58c3f690d000008000000000000008800000055555555555555d
500109400000300109400000288b54141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414
14141414141414141414141414141414141414141414141414141414141414141414141414141414141414141ff2f4b1bb728be9546b18217cdfb70bbcf
ef68860892d0b20000000000000000010000000a00000031302e39382e332e31320a0000000a000000010000000100000000000000e88f277b690d000
008000000000000008800000055555555555555d500109400000300109400000288b5414141414141414141414141414141414141414141414141414
141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414
141414141feed352976
 
2.       Open Spirent Test Center Application
3.       Reserve a port with diagnostic loopback
4.       Add a Raw Streamblock and
Under “General”
a.       Set the Frame Size to “Auto”
b.      Uncheck “Include Signature Field”
Under “Frame”
c.       Click on “Create new Frame”
d.      Select “Allow Invalid Packets” on top right corner
e.      Check “None” on Data Link layer
f.        Check “None” Upper Layer Protocols
g.       Select “Custom” PDU under “Basic” Category
h.      Click Ok
       
i.         Expand the Customer header and Cut and Paste the “Raw data” from step 1 to the
j.        Click OK
      
5.       Set the Duration Mode to “Bursts” and Set the “Burst(s) to 1 (under Duration Mode)
       
6.       Apply the configuration
7.       Start the Capture
8.       Start the Traffic
9.       Stop the Capture and View
10.   The Wireshark capture will show the Header Brake down as shown below
       
Attachments
Attachment

Attachment


Product : Spirent TestCenter,General Navigation,L2-3,PGA