From owner-freebsd-questions@FreeBSD.ORG Fri Sep 23 21:31:10 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 10612106566B for ; Fri, 23 Sep 2011 21:31:10 +0000 (UTC) (envelope-from mnorwick@centurytel.net) Received: from mail961c35.nsolutionszone.com (mail961c35.nsolutionszone.com [209.235.152.151]) by mx1.freebsd.org (Postfix) with ESMTP id B5D7D8FC13 for ; Fri, 23 Sep 2011 21:31:09 +0000 (UTC) X-Authenticated-User: mnorwick.centurytel.net Received: from bucksnort.norwickhouse.net (174-124-9-3.dyn.centurytel.net [174.124.9.3]) (authenticated bits=0) by mail961c35.nsolutionszone.com (8.13.6/8.13.1) with ESMTP id p8NLV6eF008823 for ; Fri, 23 Sep 2011 21:31:08 GMT Message-ID: <4E7CFA99.9000801@centurytel.net> Date: Fri, 23 Sep 2011 16:31:05 -0500 From: "Michael D. Norwick" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:6.0) Gecko/20110829 Thunderbird/6.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4E7BEA42.4020004@a1poweruser.com> In-Reply-To: <4E7BEA42.4020004@a1poweruser.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-CSC: 0 X-CHA: v=1.1 cv=5evdw4iMqN/JdwfqWffyRdC2utGnej+UzE5jqTExdn8= c=1 sm=1 a=_tW4y8GFV1YA:10 a=wL4D9ItRqiQA:10 a=3WPTVEtZbjMA:10 a=8nJEP1OIZ-IA:10 a=sN1ymm187tx0Nq4bb7dXQQ==:17 a=op-6SNy7TgowlLct-iUA:9 a=wPNLvfGTeEIA:10 a=sN1ymm187tx0Nq4bb7dXQQ==:117 Subject: Trying to build Nessus 4 from ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Sep 2011 21:31:10 -0000 Good Day Trying to build /usr/ports/security/nessus on FreeBSD 9-beta2 with ports updated via - portsnap fetch update - completed 09/22/2011. The result from #>make; ===> Applying FreeBSD patches for nessus-libraries-2.2.9_1 ===> nessus-libraries-2.2.9_1 depends on executable: bison - found ===> nessus-libraries-2.2.9_1 depends on package: libtool>=2.4 - found ===> Configuring for nessus-libraries-2.2.9_1 ******************************************************** * W a r n i n g * * * * Nessus needs Berkeley Packet Filter (bpf). * * To use nessus, your kernel must be rebuilt with bpf, * * and make bpf devices on /dev directory. * * * * Be sure to build as many bpf devices as you need. * * For more info on this read files/README.BPF * ******************************************************** *** Error code 1 Stop in /usr/ports/security/nessus-libraries. *** Error code 1 Stop in /usr/ports/security/nessus-libnasl. *** Error code 1 Stop in /usr/ports/security/nessus. From an earlier post on freebsd-questions I added; # Historically X depended on this, but version 4.3.0 doesn't seem to anymore #link ttyv0 vga # Commonly used by many ports #link acd0 cdrom # Allow a user in the wheel group to query the smb0 device #perm smb0 0660 # Allow members of group operator to cat things to the speaker #own speaker root:operator #perm speaker 0660 own bpf0 root:bpf perm bpf0 0640 own bpf1 root:bpf perm bpf1 0640 own bpf2 root:bpf perm bpf2 0640 own bpf3 root:bpf perm bpf3 0640 own bpf4 root:bpf perm bpf4 0640 to /etc/devfs.conf. But I still get; crw-r----- 1 root bpf 0, 11 Sep 22 21:14 bpf lrwxr-xr-x 1 root wheel 3 Sep 22 21:14 bpf0 -> bpf crw-rw-rw- 1 root wheel 0, 49 Sep 22 21:14 bpsm0 in /dev after rebooting. Do I require a statement in rc.conf or loader.conf to activate more bpf devices? Am I editing the right file the wrong way? The proper handbook chapter escapes me right now. Previous to trying to build nessus from ports I built a new kernel with - device bpf enabled. Thank You, Michael