Ethereal-dev: Re: [ethereal-dev] Clear warnings patch.

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

From: Jochen Friedrich <jochen@xxxxxxxx>
Date: Sun, 24 Oct 1999 23:11:17 +0200 (CEST)
Hi Guy,

> (I'd hoped to be able to eliminate the dependency on external SNMP
> libraries, but I didn't find any GPLed code to read MIB files and turn
> numerical object IDs into more human-readable OIDs; I have code that'll
> parse SNMP packets without using an external SNMP library, constructed
> by assaulting the GXSNMP code with a chainsaw, but it dumps the OIDs as
> long sequences of numbers with "."s between them, no words.

We (gxsnmp) have good experiences with libsmi
(http://www.ibr.cs.tu-bs.de/projects/libsmi/) for this. Unlike the UCD
parser, this parser groks all valid MIB files (even the strange RMON2 file
with the protocol type macros). You would need an options dialog to
pre-load the MIBs you need, though. Unfortunately, libsmi is likely to
dump core on bad MIB files, but the suppied set of (partly fixed!) MIBs
works very well :)

Cheers,
Jochen