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: Jochen Friedrich <jochen@xxxxxxxx>
Date: Fri, 23 Jun 2000 18:10:10 +0200 (CEST)
Hi Juergen,

> I hacked ethereal so that it uses libsmi to access MIB data in order
> to do some additional validation and pretty printing. Looking at the
> current code needed to access the CMU or the UCD MIB parser, I got the
> feeling that libsmi instead would make things much simpler. In addition,
> ethereal gets complete control on how to print varbind information.

Nice to see you here :-)

When adding SNMPv3 and SMUX to ethereal, i also patched it up to use
libsmi instead of UCD SNMP. However, there have been 2 yet unresolved
concerns (quoting Guy Harris):

1. (this was due to the API change between libsmi 0.1 and 0.2):

Is the API (and the ABI!) likely to change in an incompatible fashion in
a future release?  If so, that could cause this problem to show up
again.

2. 

...except that it takes significantly *more* time with libsmi than with
UCD SNMP; perhaps that's just because there are fewer MIBs that come
with UCD SNMP, but, on my 450 MHz PII/128MB memory machine, it takes
several seconds longer for an Ethereal linked against libsmi to start up
than it takes for an Ethereal linked against UCD SNMP to start up (even
after all the pages of the executable and the MIB files are cached in
memory after having run both programs once).

Any comments on this concerns from your side?

Cheers,
Jochen