ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: [Wireshark-dev] Controling the display of OIDs

From: Alex Lindberg <alindber@xxxxxxxxx>
Date: Fri, 5 Dec 2008 21:22:28 -0800 (PST)
I am working on a custom dissector, part of which includes OID information of the data included in the packet.  I have added the necessary OID sub-arcs into the dissector, however the output shows only the last decoded name.  Here is the current output:

object: 2.16.840.1.123456.4.7.1.2 (dummyorg.4.7.1.2)

What I would like is the output to include the names of all of the arcs known in the OID string.  As an example:

object: 2.16.840.1.123456.4.7.1.2 (joint-iso-itu-t.country.usa.org.dummyorg.4.7.1.2)

How would this be controlled?

Also, I have looked web wide for a database of assigned Organization's OIDs for arc 2, joint-iso-itu-t, that I can download.  I know that in the US, they are assigned by ANSI, but I can't find a public dataset.  For SNMP, the enterprise numbers are available in many places (and assigned by IANA).  (SNMP uses root branch 1, iso).  Does anyone have a reference site that has a public domain listing?

Thanks for your help with this.

Alex Lindberg