Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jan 2000 14:23:48 -0500 (EST)
From:      "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com>
To:        hate00@hotmail.com (jimmy martin)
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Nmap...
Message-ID:  <200001061923.OAA20333@cc942873-a.ewndsr1.nj.home.com>
In-Reply-To: <20000106181458.50638.qmail@hotmail.com> from jimmy martin at "Jan 6, 2000 06:14:58 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001061923.OAA20333>