Wireshark

  • Riverbed Technology
  • WinPcap
the world's foremost network protocol analyzer
  • Wireshark
    • About
    • Download
    • Blog
  • Get Help
    • Ask a Question
    • FAQs
    • Documentation
    • Mailing Lists
    • Online Tools
    • Wiki
    • Bug Tracker
  • Develop
    • Get Involved
    • Developer's Guide
    • Browse the Code
    • Latest Builds

Wireshark-dev: Re: [Wireshark-dev] SNMP: libsmi state and how to add MIB files to the distribution?

Date Index Thread Index Other Months All Mailing Lists
Date Prev Date Next Thread Prev Thread Next


From: Wes Hardaker <wjhns36@xxxxxxxxxxxxx>
Date: Wed, 05 Sep 2007 14:06:54 -0700

>>>>> "LEO" == Luis EG Ontanon <luis.ontanon@xxxxxxxxx> writes:

LEO> I guess it is but after some time looking in net-snmp includes I found
LEO> not an API way to do so.

get_node() is what you were looking for, but...

(and the rest is struct tree walking when necessary)

>> Common MIB syntax, by the way, which is understood by many operators is
>> IF-MIB::ifIndex == 3

LEO> Field names cannot take ':'. If I try to change this the dfilter
LEO> scanner could do weird things) so the filter name uses '.' instead (as
LEO> all other filter fileds). In the display of the protocol tree the
LEO> fields use "::".

Ah.  Then I'd require the MIB name to always be first (though you could
define a special MIB name of "ANY" to allow for smart searching like
ANY.ifIndex == 3 if you are using a MIB loaded that lets you request a
node name from anywhere in the tree structure like Net-SNMP does; I
don't remember if libsmi allows this or not).
-- 
"In the bathtub of history the truth is harder to hold than the soap,
 and much more difficult to find."  -- Terry Pratchett

  • References:
    • [Wireshark-dev] SNMP: libsmi state and how to add MIB files to the distribution?
      • From: Ulf Lamping
    • Re: [Wireshark-dev] SNMP: libsmi state and how to add MIB files to the distribution?
      • From: Luis EG Ontanon
    • Re: [Wireshark-dev] SNMP: libsmi state and how to add MIB files to the distribution?
      • From: Wes Hardaker
    • Re: [Wireshark-dev] SNMP: libsmi state and how to add MIB files to the distribution?
      • From: Luis EG Ontanon
    • Re: [Wireshark-dev] SNMP: libsmi state and how to add MIB files to the distribution?
      • From: Wes Hardaker
    • Re: [Wireshark-dev] SNMP: libsmi state and how to add MIB files to the distribution?
      • From: Luis EG Ontanon
  • Prev by Date: Re: [Wireshark-dev] SNMP: libsmi state and how to add MIB files to the distribution?
  • Next by Date: Re: [Wireshark-dev] [Wireshark-users] Unable to compile static build of TShark on Fedora 7
  • Previous by thread: Re: [Wireshark-dev] SNMP: libsmi state and how to add MIB files to the distribution?
  • Next by thread: [Wireshark-dev] review_for_checkin requested: [Bug 1076] RTP analysis' jitter values are thrown off by RTP events
  • Index(es):
    • Date
    • Thread

Wireshark and the "fin" logo are registered trademarks of the Wireshark Foundation