Ethereal-users: [Ethereal-users] SNMP octet-strings with non-text data not displayed properly (v
Hi,
I've just installed 0.10.0 - and "enjoyed" the new GUI (good work!).
We often trace SNMP packets and have seen that "OCTET STRINGS" that contains non-readable data (array of bytes) not are displayed proberly (not only in 0.10.0).
It also generates warnings like:
(ethereal.exe:2040): Gdk-WARNING **: gdk_text_size: gdk_nmbstowchar_ts failed
I don't remember whether it should be fixed in net-snmp or in the dissector (probably the later). I have not yet joined the development team but please see the example at the end of this mail.
Also I noticed that OID indices sometimes are displayed in a strange way (near EOL):
Object identifier 1: 1.3.6.1.2.1.10.94.1.1.14.1.14.500001 (ADSL-LINE-MIB::adslAtucChanConfInterleaveMaxTxRate.'.') <= what does "'.'" mean?
Object identifier 3: 1.3.6.1.2.1.10.94.1.1.2.1.2.500001 (ADSL-LINE-MIB::adslAtucInvVendorID.500001) <= OK
Also a few ideas to the wish-list (it is soon Christmas;-):
- It could be nice with a default Ethereal file extension when saving traces (at least on Windows). I have seen people use "*.cap, *.eth, *.log, *.unameit". We decided to stick to "*.cap" and told "BillG" to associated this extension with Ethereal.
- I very often use "Print to File" in order to use "grep like" selective view in an external editor (Codewright). It could be nice if the default output filename was the dir/name of the capturefile but with extension ".txt" and/or if a outfilename history picklist was impl. Personally I could also use "Print to clipboard" to avoid creating a file if I just want to make selective views or if I need to copy somthing from one or more frames to an email or a document.
BR
/Mads
Here is an example (also attached):
====================================
Simple Network Management Protocol
Version: 2C (1)
Community: public
PDU type: RESPONSE (2)
Request Id: 0x000014df
Error Status: NO ERROR (0)
Error Index: 0
Object identifier 1: 1.3.6.1.2.1.10.94.1.1.14.1.14.500001 (...)
Value: Gauge32: 512000 bps
Object identifier 2: 1.3.6.1.2.1.10.94.1.1.14.1.15.500001 (...)
Value: INTEGER: 20 milli-seconds
Object identifier 3: 1.3.6.1.2.1.10.94.1.1.2.1.2.500001 (...)
--> Value: STRING: µ
Object identifier 4: 1.3.6.1.2.1.10.94.1.1.3.1.2.500001 (...)
Value: STRING:
Object identifier 5: 1.3.6.1.2.1.10.94.1.1.2.1.3.500001 (...)
Value: STRING:
Object identifier 6: 1.3.6.1.2.1.10.94.1.1.3.1.3.500001 (...)
Value: STRING:
Object identifier 7: 1.3.6.1.2.1.10.94.1.1.2.1.1.500001 (...)
--> Value: STRING: A
Object identifier 8: 1.3.6.1.2.1.10.94.1.1.3.1.1.500001 (...)
Value: STRING:
Attachment:
snmp_octetstring_fail.cap
Description: Binary data