Wireshark packet result display as ASCII after 4.x version
Hi Wireshark experts
I use SNMP walk for capture some mac address and find after 4.x version some mac address will auto display as ASCII but before 4.x it display normal. Is there some code change ?
Can you show a snippet of text of what you refer to?
if i use 3.x wireshark open the SNMP output for mac is as 38 7c 76 4a 21 20 if use 4.x will display as ASCII output 8|vJ!
What does the MIB define as syntax for this object? Probably OCTET STRING.
Then this is probably a consequence of issue 16900
What is the OID (mib variable) you're looking at?
Not Mib checking only OID output result display is different
Well, this is _exactly_ the comment raised in the review of MR 533, so it took only 2 years for this to pop up. Now we're back a changing it again to show both hex and ascii.
Object Name: 1.3.6.1.2.1.2.2.1.6.1 (IF-MIB::ifPhysAddress.1)
displays fine in 4.0.2 when looking at the b6300a.cap sample capture.There has been a lot of work in recent versions in UTF-8 string display. If there is an issue then need to be able to recreate it before it can be fixed.
But these happen to have non ASCII values in their OCTET STRING, which causes the translation to ASCII to bail out. In the given example all six octets happen to be valid ASCII values, leading them to replace the hex values.