Uninett / nav

Network Administration Visualized
GNU General Public License v3.0
192 stars 39 forks source link

Nice to have: vendor-lookup for mac-addresses #1483

Open hmpf opened 7 years ago

hmpf commented 7 years ago

Since different vendors have different ranges for their mac-addresses it'd be nice to get the vendor from the mac-address.

Feature breakdown

lunkwill42 commented 7 years ago

A very good compiled list to source for this would be https://code.wireshark.org/review/gitweb?p=wireshark.git;a=blob_plain;f=manuf

olesnhansen commented 6 years ago

I would like to see the OUI (https://en.wikipedia.org/wiki/Organizationally_unique_identifier) in NAV -> Machine Tracker-> IP Search/MAC Search. If NAV could update daily from http://standards.ieee.org/regauth/oui/oui.txt and have an option display the info in the GUI we would have some idea of the type of equipment behind the address/port.

renrom commented 5 years ago

Is this still actual? i would like this also.

lunkwill42 commented 5 years ago

Sure, @renrom. We haven't closed it, because it's a good idea. But we haven't been able to prioritize it thus far.

I guess this would require:

  1. A new PostgreSQL table to store the OUI data.
  2. A script to download the current list and insert/update the PostgreSQL table.
  3. Changes to the Machine tracker MAC search form and result table, with an auxiliary lookup in the new table.

And potentially:

  1. A new API endpoint to look up vendors from the PostgreSQL table, so this can be reused elsewhere.
renrom commented 4 years ago

Or a constructed URL to this site? https://macvendors.com/api It should be nice to have a link somewhere if you lookup a client device IP/Mac Address to this url https://api.macvendors.com/

lunkwill42 commented 4 years ago

Or a constructed URL to this site? https://macvendors.com/api It should be nice to have a link somewhere if you lookup a client device IP/Mac Address to this url https://api.macvendors.com/

That would have to be a very explicit and manually invoked link per displayed MAC-address. Automatically dumping a bunch of potentially private data into a 3rd party website won't be everyone's cup of tea...