From owner-freebsd-security@FreeBSD.ORG Wed Jun 16 18:05:44 2004 Return-Path: Delivered-To: freebsd-security@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D72D316A4CE for ; Wed, 16 Jun 2004 18:05:44 +0000 (GMT) Received: from techno.sub.ru (webmail.sub.ru [213.247.139.22]) by mx1.FreeBSD.org (Postfix) with SMTP id 8403643D49 for ; Wed, 16 Jun 2004 18:05:43 +0000 (GMT) (envelope-from tarkhil@webmail.sub.ru) Received: (qmail 55506 invoked by uid 0); 16 Jun 2004 18:04:34 -0000 Received: from webmail.sub.ru (HELO tarkhil.over.ru) (213.247.139.22) by techno.sub.ru with SMTP; 16 Jun 2004 18:04:34 -0000 Date: Wed, 16 Jun 2004 22:05:33 +0400 From: Alex Povolotsky To: freebsd-security@freebsd.org Message-Id: <20040616220533.2ec0bc9c@tarkhil.over.ru> Organization: sub.ru X-Mailer: Sylpheed version 0.9.9claws (GTK+ 1.2.10; i386-portbld-freebsd4.8) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: nmap not scanning networks? X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Security issues [members-only posting] List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jun 2004 18:05:45 -0000 Hello! Attempt to scan a network with any method except plain ping results in an error: truss nmap -sT -p 21 '172.19.17.*' [...] 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(). Quick look at nmap's site didn't show me any clues. However, I've reproducted the problem under both 5.2.1 and 4.8 releases. Do I have all my boxes broken, or should I rebuild kernel with some options, or does nmap be known not to work on FreeBSD? -- Alex.