Nmap Development mailing list archives

Ncat 6.25: An address incompatible...


From: David Millis <tvtronix () yahoo com>
Date: Sun, 21 Jul 2013 06:45:49 -0700 (PDT)

When listening, ncat doesn't fall back on IPv4 when IPv6 isn't available.

# ncat -l -p 1234
Ncat: socket: An address incompatible with the requested protocol was used.  QUITTING.

# ncat -lvvn -p 1234
Ncat: Version 6.25 ( http://nmap.org/ncat )
Ncat: Failed to resolve default IPv6 address: No such host is known. . QUITTING.


To work around this, one can force IPv4, or explicitly listen on an IPv4 address.

# ncat -lvvn -4 -p 1234
Ncat: Version 6.25 ( http://nmap.org/ncat )
Ncat: Listening on 0.0.0.0:1234

# ncat -lvvn 0.0.0.0 1234
Ncat: Version 6.25 ( http://nmap.org/ncat )
Ncat: Listening on 0.0.0.0:1234


According to the following article, IPv6 is neither installed, nor enabled, on WinXP SP2 (but it can be).
http://ipv6int.net/systems/windows_xp-ipv6.html


David

_______________________________________________
Sent through the dev mailing list
http://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/


Current thread: