Ethereal-dev: Re: [ethereal-dev] packet-snmp.c and libsmi

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <gharris@xxxxxxxxxxxx>
Date: Tue, 27 Jun 2000 23:43:22 -0700
On Mon, Jun 26, 2000 at 12:49:20PM +0200, Juergen Schoenwaelder wrote:
> >>>>> Jochen Friedrich writes:
> 
> Jochen> Unfortunately, when doing network traces, you don't know in
> Jochen> advance which MIBs you need. What would be needed is an OID to
> Jochen> MIB kind of resolver.
> 
> Well, this resolver still only knows a subset of all MIBs on earth.

It would probably be sufficient if it knew about the MIBs in directories
under "/usr/local/mibs" or "/usr/local/share/mibs".

There might have to be a program that would search for MIB files therein
and builds an index to use in the resolver; that program would be run
after all the MIBs were installed, and could be run later if the user
adds more MIB files.

> BTW, we have played with the idea to build a libsmi server so that
> applications can actually connect to that server in order to access
> MIB information.

Presumably the MIB-reader could contact the libsmi server if the
resolver doesn't find the MIB in the index.