M
M
Malamut2014-01-23 11:38:44
SNMP
Malamut, 2014-01-23 11:38:44

How to decode SNMP response?

There is a PBI DCH-4000P receiver. It, in principle, is controlled by SNMP, the only problem is that it got to the point that it found out the OIDs I needed, but could not understand the data format. The required OIDs are stored in a HEX-String, for example:
iso.3.6.1.4.1.1070.3.2.4.1.3.0 = Hex-STRING: 40 F2 25 00 24 FD 00 00 F0 E8 40 0A 54 72 69 63
6F 6C 6F 72 54 56 A2 0F 69 78 01 08 35 01 08 36
01 08 37 01 08 38 01 4A 2E 00 1B FF FF 6A 31 09
03 00 23 7C 22 80 00 00 01 11 22 33 44 01 FE 0 0 0 2
B 00 D2 E2 14 00 00 F5 7D
10 35 25 25 02 1E 00 A1 99 69 78 01 69 7D 01 69
82 01 69 87 01 69 D2 01 69 91 01 69 96 01 69 A0
01 69 0 AA 01 69 8C 01 03 98 01
03 95 01 79 4A 01 79 2C 01 61 B2 01 62 02 01 79
36 01 61 F8 01 03 96 01 69 B4 01 61 C6 01 61 DA
01 61 D0 01 79 54 01 03 8E 01 69 F0 01 03 87 01
03 99 01 03 89 01 03 91 01 1 08 5E
01 69 DC 01 03 97 01 00 03 01 79 72 01 61 EE
01 00 3B 01 69 E6 01 03 88 01 79 68 01 79 40 01
61 BC 01 61 E4 01 79 22 01 03 8B 01 0 03
8C 00 01 FF FF F0 0D 43 0B 01 17 28 00
03 60 CE 02 75 00 03 00 05 FF FF F0 0D 43 0B 01
18 04 00 03 60 CE 02 75 00 03 00 07 FF FF F0
01 02 43 0B 03 60 CE 02 75 00 03 00 09 FF
FF F0 0D 43 0B 01 18 80 00 03 60 C1 02 75 00 03
00 0B FF FF F0 0D 43 0B 01 19 20 00 03 60 C6 02 F0 0 FF0
03 0D 43 0B 01 20 54 00 03
60 E6 02 75 00 03 00 15 FF FF F0 0D 43 0B 01 21
11 00 03 60 D6 02 75 00 03 00 17 FF FF F0 0D 43 0B
01 21 49 00 03 60 C6 02 75 00 03 FF 0
43 0B 01 21 90 00 03 60 C1 02 00 00 03 00
1B FF FF F0 0D 43 0B 01 22 26 00 03 60 C1 02 75
00 03 00 1F FF FF F0 0D 43 0B 01 23 03 0
C1 0 02 03 00 22 FF FF F0 0D 43 0B 01 23 60
00 03 60 E6 02 75 00 03 00 CB FF FF F0 0D 43 0B
01 17 66 00 03 60 C6 02 75 00 03 00 D5 FF FF F0
0B 0B 43 00 03 60 C6 02 75 00 03 00 D9
FF FF F0 0D 43 0B 01 20 33 00 03 60 C6 02 75 00
03 00 ED FF FF F0 0D 43 0B 01 24 18 00 03E 60 C6
02 75 03 02
Is there any way to determine what is encoded here? At least in what direction to dig, maybe there are some standard formats for transferring complex data structures to a HEX String via SNMP?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
@
@ntkt, 2014-01-23
_

Not exactly a standard, but ASN.1 BER is encountered (considering that SNMP itself is described in ASN.1 notation, so is its MIB). But your payload, unfortunately, is not ASN.1 -- it's not parsed.
Reverse the standard control program - HDMS (well, or the firmware of the device, if it's completely boring, there is uC / OS-II under Altera Cyclone / Nios 2, at first glance). HDMS is written in Java, the SNMP OIDs you are looking for (including the one you specified) will be easy to find.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question