Ho trovato alcuni strumenti che sembrano aggiornare il database del fornitore di indirizzi MAC OUI sul mio sistema, come get-oui, airodump-ng-oui-update o update-oui :
update-oui(8)                          OUI                         update-oui(8)
NAME
       update-oui - download new version of the OUI and IAB lists
SYNOPSIS
       update-oui
DESCRIPTION
       update-oui  fetches  the  current  version  of the OUI and IAB lists from
       http://standards.ieee.org/regauth/oui/index.shtml and installs it, if the
       installed versions is older than 5 days.
       This utility requires curl, wget or libwww-perl to be installed.
OPTIONS
       -q     Be quiet. Do not output messages.
       -f     Force the update, even if the file is newer than 5 days.
FILES
       /usr/share/misc/
              Directory holding symbolic links to oui.txt and iab.txt
 Ma se cerco IP sulla mia rete:
[email protected]:~$ sudo netdiscover -i eth1
 92 Captured ARP Req/Rep packets, from 12 hosts.   Total size: 5520
 _____________________________________________________________________________
   IP            At MAC Address      Count  Len   MAC Vendor
 -----------------------------------------------------------------------------
 192.168.4.31    bc:f1:f2:12:b4:93    60    3600   Unknown vendor
 192.168.4.24    f0:db:e2:de:11:80    02    120   Unknown vendor
 192.168.4.242   00:1d:7e:9c:6e:fc    05    300   Cisco-Linksys, LLC
 192.168.4.243   00:1c:10:64:63:ac    05    300   Cisco-Linksys, LLC
 192.168.4.244   00:1c:10:64:5f:94    05    300   Cisco-Linksys, LLC
 192.168.4.1     d8:61:94:e5:0b:1d    05    300   Unknown vendor
 192.168.4.246   00:1a:70:2f:ab:4b    04    240   Cisco-Linksys, LLC
 192.168.4.10    84:11:9e:2b:1c:d6    01    060   Unknown vendor
 192.168.4.11    ec:1f:72:5d:42:d0    02    120   Unknown vendor
 192.168.4.245   00:1a:70:2f:aa:63    01    060   Cisco-Linksys, LLC
 192.168.4.248   00:1a:70:2f:aa:d1    01    060   Cisco-Linksys, LLC
 192.168.4.251   44:d9:e7:0a:0b:98    01    060   Unknown vendor
 
 Finché ci sono alcuni MAC segnalati come Unknown vendor , vorrei cercare le sue informazioni in qualsiasi database OUI.
 Qual è la corretta riga di comando modo per eseguire questa ricerca ?
 Forse qualcosa come:
oui-info 44:d9:e7
 Nota:so che usando il browser web posso cercare su Google le prime 3 coppie di MAC, ma vorrei un metodo da riga di comando, quindi potrei scriverlo o usarlo tramite accesso remoto (SSH).
Risposta accettata:
Non credo ci sia uno strumento automatizzato per fare quello che chiedi, ma si può fare lavorando direttamente sui file oui.txt.
Innanzitutto identifica il file scaricato, ad esempio:
[email protected]:~# locate oui.txt
/var/lib/ieee-data/oui.txt
 
 quindi cerca la stringa che ti interessa. Devi rimuovere : oppure inserisci un - :
[email protected]:~# grep -i "44d9e7" /var/lib/ieee-data/oui.txt
44D9E7     (base 16)        Ubiquiti Networks, Inc.