snmp length bytes

Hi,

We have a voltage monitoring device with a tiny snmp server builtin. We cannot get the dude to probe the device via snmp. A closer look revealed that a simple small “snmp get” packet to the device from the dude was using a 2 byte length. For example, the entire snmp portion of the packet was 30hex bytes long, but the dude sent 3 bytes as the length: 82 00 30 instead of just a 30. Since our tiny snmp server cannot deal with a packet with a length that would span 2 bytes, our device ignores it. Below is a packet dump of the entire “snmp get” packet from the dude.


0000 00 e0 7d f1 12 98 00 08 54 33 88 58 08 00 45 00 ..}… T3.X..E.
0010 00 50 f9 ea 00 00 80 11 5e 43 5a 00 03 02 40 fb .P… ^CZ…@.
0020 44 72 06 cf 00 a1 00 3c 87 80 30 82 00 30 02 01 Dr…< ..0..0..
0030 00 04 06 70 75 62 6c 69 63 a0 82 00 21 02 02 3d …publi c…!..=
0040 2f 02 01 00 02 01 00 30 82 00 13 30 82 00 0f 06 /…0 …0…
0050 0b 2b 06 01 04 01 81 a9 75 01 01 01 05 00 .+… u…

Mikrotik dudes, can anything be done about this? Maybe a checkbox for embedded servers that cannot deal with large packets?

Any feedback would be appreciated.

Thanks