nmap not scanning networks?

FreeBSD User FreeBSD at access.sanet.ge
Thu Jun 17 11:23:11 GMT 2004


OE> 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().

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

I had the same problem because my host IP address was inclusive in the
IP range. Make sure your host IP is not inclusive and see the result.

OE> -Oliver

OE> _______________________________________________
OE> freebsd-security at freebsd.org mailing list
OE> http://lists.freebsd.org/mailman/listinfo/freebsd-security
OE> To unsubscribe, send any mail to
OE> "freebsd-security-unsubscribe at freebsd.org"




-- 
Best regards,
 FreeBSD                            mailto:FreeBSD at access.sanet.ge



More information about the freebsd-security mailing list