Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jun 2004 21:01:35 +0200
From:      Oliver Eikemeier <eikemeier@fillmore-labs.com>
To:        Chuck Swiger <cswiger@mac.com>
Cc:        freebsd-security@freebsd.org
Subject:   Re: nmap not scanning networks?
Message-ID:  <9671B9BE-BFC7-11D8-9250-00039312D914@fillmore-labs.com>
In-Reply-To: <40D093CE.6020603@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Chuck Swiger wrote:

> Alex Povolotsky wrote:
>> Attempt to scan a network with any method except plain ping results in 
>> an error:
>> truss nmap -sT -p 21 '172.19.17.*'
>
> I can confirm the problem, anyway, although I'm not sure it's germane 
> to freebsd-security.  :-)
>
>> [...]
>> sendto(0x4,0x8094200,0,0x0,{ AF_INET 172.19.17.0:0 },0x10) ERR#49 
>> 'Can't assign requested address'
>> [...]
>> What's strange that man on send(2) doesn't state that EADDRNOTAVAIL 
>> can ever be returned from sendto().

Have you checked the firewall rules and routing tables on your machines?
Do you have the same problems with non-private IP ranges?

-Oliver



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9671B9BE-BFC7-11D8-9250-00039312D914>