Hi Thelma and others,

On Fri Feb 10 2017, 18:34:34 CET wrote the...@sys-concept.com:
> When I scan my local network:
> nmap  -sn 10.10.0.0/24
> 
> It prints all the devices connected to it but sometimes it prints the
> device "name" and sometimes it doesn't eg:
> 
> Nmap scan report for iaxy (10.0.0.108)
> Host is up (-0.095s latency).
> MAC Address: 00:0F:D3:00:30:DD (Digium)
> 
> Nmap scan report for 10.10.0.3
> Host is up (0.00017s latency).
> MAC Address: 54:7F:54:76:61:0D (Ingenico)
> 
> "...for "name" + IP"
> "...for + IP
> 
> Where is it taking the "name" from?
> It would like to assign a label "name" to all devices.
> --
> Thelma

I’d say that the name "iaxy" is a via DNS (reverse) resolved hostname; maybe
there is a DNS server running (or there are entries in /etc/hosts) or it’s just
zeroconf/bonjour[1], which runs nowadays virtually everywhere.

The other part looks to me as vendors names nmap got from the MAC addresses
which first parts are vendor specific.

A quick search[2] gave me these two results (beside some other ones) who seem
to confirm my thoughts:

http://superuser.com/questions/702309/how-to-get-device-name-from-scan-like-nmap-on-linux
http://stackoverflow.com/questions/27817412/why-nmap-sometimes-does-not-show-device-name

[1] https://en.wikipedia.org/wiki/Zero-configuration_networking
[2] https://duckduckgo.com/?q=nmap+device+names&t=ffab&ia=qa

Hope that helps you :)

PS: What exactly does '-sn' (or is it just a typo)? My nmap doesn't complain
when I use it, but the manpage only knows about '-sN' here
(net-analyzer/nmap-7.40).

-- 
Nils Freydank
GnuPG-Key: 0x44594171807206CF @ hkp://keys.gnupg.net
               fpr: AA2D 5CC0 0457 297F 6164  3911 4459 4171 8072 06CF

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to