This is our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

which function in which file displays the object name part in the wireshark?

asked 17 Jan '12, 03:29

Premini%20Francis's gravatar image

Premini Francis
1222
accept rate: 0%

Your question is very unclear; could you specify some more details? What object name? Where in Wirehshark is it displayed? What protocol are you talking about, and is it a protocol at all?

(17 Jan '12, 03:32) Jasper ♦♦

The object name that is displayed in packet details of the SNMP protocol.

(17 Jan '12, 05:31) Premini Francis

When it comes to SNMP object names are (mostly?) gotten from the loaded MIBS with the aid of LIBSMI. Some OID names are also added from the code register_ber_oid_dissector_handle() which in turn cals oid_add_from_string() ASN1 based dissectors may also add OID names. If you explain the purpose of your questions it might be easier to help you.

(17 Jan '12, 09:47) Anders ♦

Am working on compressed OIDs. Am able to decode the compressed OIDs. But the packet details shows:

variable-bindings: 2 items

1.3.6.1.2.1.2: value (null)

   object Name: 1.3.6.1.2.1.2 (iso.3.6.1.2.1.2)

   value (Null)

1.3.6.1.2.1.2.2.1: value (null)

   object Name: 2.46.2.2.1 (joint-iso-itu-t.46.2.2.1)

   value (Null)

Now, I want to change the line,

  object Name: 2.46.2.2.1 (joint-iso-itu-t.46.2.2.1)

to

  object Name: 1.3.6.1.2.1.2.2.1 (iso.3.6.1.2.1.2.2.1)
(18 Jan '12, 03:56) Premini Francis
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×34
×3

question asked: 17 Jan '12, 03:29

question was seen: 1,792 times

last updated: 18 Jan '12, 06:31

p​o​w​e​r​e​d by O​S​Q​A