Package: nmap Version: 5.21-1 Severity: normal Still,
nmap do not behave in correct way in some cases. Consider scanning link-local address. In such case connect, but be done on socket binded to specific interface, consider this # ping6 -n fe80::202:a5ff:fe16:f2b9 -c 1 connect: Invalid argument # # ping6 -n fe80::202:a5ff:fe16:f2b9 -c 1 -I eth1 PING fe80::202:a5ff:fe16:f2b9(fe80::202:a5ff:fe16:f2b9) from fe80::216:6fff:feba:e060 eth1: 56 data bytes 64 bytes from fe80::202:a5ff:fe16:f2b9: icmp_seq=1 ttl=64 time=1.48 ms --- fe80::202:a5ff:fe16:f2b9 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 1.485/1.485/1.485/0.000 ms # So lets be specific also in nmap by -e eth1: # nmap -n -6 -e eth1 fe80::202:a5ff:fe16:f2b9 Starting Nmap 5.21 ( http://nmap.org ) at 2011-02-08 16:46 CET Strange error from connect (22):Invalid argument Note: Host seems down. If it is really up, but blocking our ping probes, try -PN Nmap done: 1 IP address (0 hosts up) scanned in 0.10 seconds # Oh, really? # nmap -n -6 -e eth1 fe80::202:a5ff:fe16:f2b9 -PN Starting Nmap 5.21 ( http://nmap.org ) at 2011-02-08 16:46 CET Strange error from connect (22):Invalid argument Nmap scan report for fe80::202:a5ff:fe16:f2b9 Host is up. All 1000 scanned ports on fe80::202:a5ff:fe16:f2b9 are filtered Nmap done: 1 IP address (1 host up) scanned in 0.14 seconds # It looks that it do not bind correctly. -- System Information: Debian Release: 6.0 APT prefers stable APT policy: (500, 'stable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core) Locale: LANG=pl_PL.utf8, LC_CTYPE=pl_PL.utf8 (charmap=UTF-8) (ignored: LC_ALL set to pl_PL.utf8) Shell: /bin/sh linked to /bin/dash Versions of packages nmap depends on: ii libc6 2.11.2-11 Embedded GNU C Library: Shared lib ii libgcc1 1:4.5.1-5 GCC support library ii liblua5.1-0 5.1.4-5 Simple, extensible, embeddable pro ii libpcap0.8 1.1.1-2 system interface for user-level pa ii libpcre3 8.02-1.1 Perl 5 Compatible Regular Expressi ii libssl0.9.8 0.9.8o-4 SSL shared libraries ii libstdc++6 4.5.1-5 The GNU Standard C++ Library v3 nmap recommends no packages. nmap suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org