Ethereal-dev: Re: [Ethereal-dev] [PATCH] Make Net-SNMP Optional for VC++ Build

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

From: Ulf Lamping <ulf.lamping@xxxxxx>
Date: Sat, 05 Jun 2004 11:46:47 +0200
Ronnie Sahlberg wrote:

I say we just kill off UCD|NET-SNMP completely.
The only thing we use them for is to translate a OID into a name.
No big deal.

If people miss them enough people will write replacement code. If not, then
no one cares about it.
Hmmm, not everyone who might miss it, is *able* to write replacement code!

If it comes down to it we can hack up something small to do this translation
ourself based on a flat database file.
Say   we add temporarily a small text file with one entry per line :
oid    name

Not too much code to write to read this file when ethereal starts and store
it in some table.

Not as easy as copying in a MIB from somewhere else and make ethereal aware
of the new OIDs   but
99% of users  probably only care about the same 20-30 mibs anyway.  We
prepopulate that db file with
the oids from those mibs and see what happens.
Would it be hard to make a conversion tool that fill in the mib data coming from outside into that db file?

As I'm using SNMP very rarely, I might not be the right person to ask this for.

If we want to remove this functionality for the reasons described earlier, we should ask the users mailing list about this too.

Regards, ULFL