Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #268129
| Path | csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod |
|---|---|
| From | "Jonathan Dowland" <jmtd@debian.org> |
| Newsgroups | linux.debian.user |
| Subject | Re: Commandline client to lookup MAC vendor |
| Date | Thu, 07 Mar 2024 10:40:01 +0100 |
| Message-ID | <Ifioh-eZTo-1@gated-at.bofh.it> (permalink) |
| References | <IfhVf-eZKn-7@gated-at.bofh.it> |
| X-Original-To | <debian-user@lists.debian.org> |
| X-Mailbox-Line | From debian-user-request@lists.debian.org Thu Mar 7 09:38:07 2024 |
| Old-Return-Path | <jmtd@debian.org> |
| X-Amavis-Spam-Status | No, score=-7.81 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, BODY_8BITS=1.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, LDO_WHITELIST=-5, RCVD_IN_DNSWL_MED=-2.3, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no |
| X-Policyd-Weight | using cached result; rate: -3.5 |
| MIME-Version | 1.0 |
| Content-Transfer-Encoding | quoted-printable |
| Content-Type | text/plain; charset=UTF-8 |
| X-Mailer | aerc 0.17.0-66-g8543aec8f12c |
| X-Mailing-List | <debian-user@lists.debian.org> archive/latest/810061 |
| List-ID | <debian-user.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-user/> |
| List-Archive | https://lists.debian.org/msgid-search/CZNF102GIV7K.1GQT6CPISC6AA@debian.org |
| Approved | robomod@news.nic.it |
| Lines | 33 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Thu, 07 Mar 2024 09:37:45 +0000 |
| X-Original-Message-ID | <CZNF102GIV7K.1GQT6CPISC6AA@debian.org> |
| X-Original-References | <f72a85c22ba98f18a036981ef6776e2b2c91572c.camel@h5.or.at> |
| Xref | csiph.com linux.debian.user:268129 |
Show key headers only | View raw
On Thu Mar 7, 2024 at 8:50 AM GMT, Ralph Aichinger wrote:
> Several packages in Debian can somehow (either by embedding it or
> querying it from some common database) display the MAC Vendor
> information of network adapters (derived from hardware addresses).
>
> One example is nmap, that displays the device vendor when scanning.
>
> Is there some commandline tool doing this directly in Debian? I know
> that there are websites that offer this as a service, but sometimes a
> CLI is more convenient.
>
> Alternatively, and if this information is stored in some shared
> databases, can this be queried e.g. from a Pyhton script? If so, how?
The nmap-common package ships the DB that nmap queries in a plain text
format: /usr/share/nmap/nmap-mac-prefixes
Example
$ ip link show wlp0s20f3 | grep ether
link/ether 90:09:df:ba:0c:cf brd ff:ff:ff:ff:ff:ff
$ grep -i ^9009df /usr/share/nmap/nmap-mac-prefixes
9009DF Intel Corporate
HTH,
--
Please do not CC me for listmail.
👱🏻 Jonathan Dowland
✎ jmtd@debian.org
🔗 https://jmtd.net
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Commandline client to lookup MAC vendor Ralph Aichinger <ra@h5.or.at> - 2024-03-07 10:10 +0100
Re: Commandline client to lookup MAC vendor "Jonathan Dowland" <jmtd@debian.org> - 2024-03-07 10:40 +0100
Re: Commandline client to lookup MAC vendor Thomas Pircher <thp.debian@p5r.uk> - 2024-03-07 11:00 +0100
Re: Commandline client to lookup MAC vendor Ralph Aichinger <ra@h5.or.at> - 2024-03-07 11:30 +0100
Re: Commandline client to lookup MAC vendor Thomas Pircher <thp.debian@p5r.uk> - 2024-03-07 16:10 +0100
Re: Commandline client to lookup MAC vendor Lee <ler762@gmail.com> - 2024-03-07 18:50 +0100
Re: Commandline client to lookup MAC vendor Thomas Pircher <thp.debian@p5r.uk> - 2024-03-07 22:30 +0100
Re: Commandline client to lookup MAC vendor Jeffrey Walton <noloader@gmail.com> - 2024-03-08 01:40 +0100
csiph-web