Ethereal-dev: Re: [Ethereal-dev] manuf file munging

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

From: Guy Harris <guy@xxxxxxxxxx>
Date: Thu, 31 Oct 2002 14:24:08 -0800
On Thu, Oct 31, 2002 at 11:52:11AM -0800, Chris Waters wrote:
> The manufacturer names in the manuf file are often not all that helpful. For
> example, any Linksys equipment shows up with an address like: The_93:45:34
> since their name is "The Linksys Group".
> 
> Is the purpose of the manuf.tmpl file to provide replacement names for those
> addresses that don't have good names?

Yes, although it might also be interesting to have it used to provide a
manufacturer name even for addresses that *do* have good names, e.g.

	Ethernet II, Src: foo, Dst: bar
	   Destination: XX:XX:XX:XX:XX:XX (bar) (Foundry)
	   Source: YY:YY:YY:YY:YY:YY (foo) (Redback)

or something such as that.  If we do that, some steps in the cleanup:

> * Replace any spaces with underscores.
> * Truncate all names to a reasonable length, say 10 characters.
> * Remove any leading "The ".

(and presumably removing trailing tokens as well) would be done in the
code to format protocol tree entries for MAC addresses, rather than in
the code to make the manuf file.  (The rest:

> * Convert to consistent case.
> * Remove any punctuation.

would also clean up the long manufacturer name, so those would be done
in make-manuf.)