From owner-freebsd-questions Thu Jan 6 11:19:24 2000 Delivered-To: freebsd-questions@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id 6538D15614 for ; Thu, 6 Jan 2000 11:19:20 -0800 (PST) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.9.3) id OAA20333; Thu, 6 Jan 2000 14:23:48 -0500 (EST) (envelope-from cjc) From: "Crist J. Clark" Message-Id: <200001061923.OAA20333@cc942873-a.ewndsr1.nj.home.com> Subject: Re: Nmap... In-Reply-To: <20000106181458.50638.qmail@hotmail.com> from jimmy martin at "Jan 6, 2000 06:14:58 pm" To: hate00@hotmail.com (jimmy martin) Date: Thu, 6 Jan 2000 14:23:48 -0500 (EST) Cc: freebsd-questions@FreeBSD.ORG Reply-To: cjclark@home.com X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG jimmy martin wrote, > Im having a little trouble with NMAP. > > Bash-2.03#nmap -O 127.0.0.1 > > Starting nmap V. 2.3BETA12 by Fyodor (fydor@dhp.com, www.insecure.org/nmap/) > pcap_open_live: /dev/bpf1: No such file or directory > If you are on Linux and getting Scoket type not supported, ry modprobe > af_packet or recompile your kernel with SOCK_PACKET enabled. If you are on > bsd and getting device not configured, you need to recompile your kernel > with Berkeley Packet Filter support. > QUITTING! > > So I checked my kernel to make sure bpf was there and... > > # The 'bpfilter' pseudo-device enable the Berkeley Packet Filter. > # Be aware of the administrative consequences of enabling this! > # The number of devices determines the maximum number of > # simultaneous BPF clients programs runnable. > pseudo-device bpfilter 1 #Berkeley packet filter > > So it appears to be there. Any Ideas why my nmap wont work? Try, # cd /dev # ls bpf* Do you see anything? If not, # ./MAKEDEV bpf0 That said, for some reason, nmap seems to be trying to open /dev/bpf1. You can just make that one, # ./MAKEDEV bpf1 But I am not sure if it will work with that kernel config for one BPF device. -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message