Nmap Development mailing list archives

Re: "Illegal character(s) in hostname" problem


From: Brandon Enright <bmenrigh () ucsd edu>
Date: Thu, 2 Apr 2009 15:51:11 +0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 2 Apr 2009 18:35:16 +0300 or thereabouts Henri Salo
<henri () nerv fi> wrote:

On Thu, Apr 02, 2009 at 04:48:29PM +0200, Daniel Roethlisberger wrote:
Henri Salo <henri () nerv fi> 2009-04-02:
I have seen this before. Has there been any patches against this?
Do you know why it happens?

fgeek@foo:~$ /usr/bin/nmap -P0 -sV 208.53.138.195

Starting Nmap 4.85BETA7 ( http://nmap.org ) at 2009-04-02 17:12
EEST Illegal character(s) in hostname -- replacing with '*'
<snip>

That IP address has an illegal PTR record in reverse DNS.
It points to the DNS root node (".").

...snip...

Ok. Thank you. Why does Nmap even check the hostname since I was
using IP-address?

---
Henri Salo


Nmap perform a reverse-lookup on all IPs you scan unless you use the
"-n" option.  Most people prefer to see a hostname over an IP in their
scan results.

Brandon

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (GNU/Linux)

iEYEARECAAYFAknU3vYACgkQqaGPzAsl94KSRQCcCW63K024QtjAbs0tFpLqFNPy
rssAnAgkH0232vOO8DKoBKraCxoLSQJU
=sVmX
-----END PGP SIGNATURE-----

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org


Current thread: