From: | Nils Freydank <nils.freydank@××××××.de> | ||
---|---|---|---|
To: | gentoo-user@l.g.o | ||
Subject: | Re: [gentoo-user] nmap - device name. | ||
Date: | Sat, 11 Feb 2017 21:11:02 | ||
Message-Id: | 2119516.8G3TuVFOjt@pygoscelis | ||
In Reply to: | [gentoo-user] nmap - device name. by thelma@sys-concept.com |
1 | Hi Thelma and others, |
2 | |
3 | On Fri Feb 10 2017, 18:34:34 CET wrote thelma@×××××××××××.com: |
4 | > When I scan my local network: |
5 | > nmap -sn 10.10.0.0/24 |
6 | > |
7 | > It prints all the devices connected to it but sometimes it prints the |
8 | > device "name" and sometimes it doesn't eg: |
9 | > |
10 | > Nmap scan report for iaxy (10.0.0.108) |
11 | > Host is up (-0.095s latency). |
12 | > MAC Address: 00:0F:D3:00:30:DD (Digium) |
13 | > |
14 | > Nmap scan report for 10.10.0.3 |
15 | > Host is up (0.00017s latency). |
16 | > MAC Address: 54:7F:54:76:61:0D (Ingenico) |
17 | > |
18 | > "...for "name" + IP" |
19 | > "...for + IP |
20 | > |
21 | > Where is it taking the "name" from? |
22 | > It would like to assign a label "name" to all devices. |
23 | > -- |
24 | > Thelma |
25 | |
26 | I’d say that the name "iaxy" is a via DNS (reverse) resolved hostname; maybe |
27 | there is a DNS server running (or there are entries in /etc/hosts) or it’s just |
28 | zeroconf/bonjour[1], which runs nowadays virtually everywhere. |
29 | |
30 | The other part looks to me as vendors names nmap got from the MAC addresses |
31 | which first parts are vendor specific. |
32 | |
33 | A quick search[2] gave me these two results (beside some other ones) who seem |
34 | to confirm my thoughts: |
35 | |
36 | http://superuser.com/questions/702309/how-to-get-device-name-from-scan-like-nmap-on-linux |
37 | http://stackoverflow.com/questions/27817412/why-nmap-sometimes-does-not-show-device-name |
38 | |
39 | [1] https://en.wikipedia.org/wiki/Zero-configuration_networking |
40 | [2] https://duckduckgo.com/?q=nmap+device+names&t=ffab&ia=qa |
41 | |
42 | Hope that helps you :) |
43 | |
44 | PS: What exactly does '-sn' (or is it just a typo)? My nmap doesn't complain |
45 | when I use it, but the manpage only knows about '-sN' here |
46 | (net-analyzer/nmap-7.40). |
47 | |
48 | -- |
49 | Nils Freydank |
50 | GnuPG-Key: 0x44594171807206CF @ hkp://keys.gnupg.net |
51 | fpr: AA2D 5CC0 0457 297F 6164 3911 4459 4171 8072 06CF |
File name | MIME type |
---|---|
signature.asc | application/pgp-signature |
Subject | Author |
---|---|
Re: [gentoo-user] nmap - device name. | thelma@×××××××××××.com |