We are sending a SnmpAdminString in a SNMP trap. The SNMP-FRAMEWORK mib describes SnmpAdminString as "An octet string containing administrative information, preferably in human-readable form. To facilitate internationalization, this information is represented using the ISO/IEC IS 10646-1 character set, encoded as an octet string using the UTF-8 transformation format described in [RFC2279]. However, the string representation for this OctetString appears to not be using the UTF-8 character set. For example sending the string 'IQTV-ö05': asked 24 Jun '15, 08:49 ccrotty |
One Answer:
After a lot of searching in the source code, it appears that the snmp dissector in Wireshark doesn't make any use of the DISPLAY-HINT associated with the SnmpAdminString of "255t" that indicates a UTF-8 encoded string. Currently the snmp dissector treats all OCTET STRING values as ASCII. I think that libsmi (the library Wireshark uses for parsing Mibs) makes the DISPLAY-HINT available so it could be used, but I'm not certain as the docs don't really indicate much about that. You could raise a bug\enhancement item on the Wireshark Bugzilla to at least track this, if you do so please add a capture with an snmp packet showing the issue. answered 24 Jun '15, 15:09 grahamb ♦ edited 24 Jun '15, 15:09 |