From owner-freebsd-questions@FreeBSD.ORG Sun Sep 25 15:08:18 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 F0E7A106564A for ; Sun, 25 Sep 2011 15:08:17 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from smtp.fagskolen.gjovik.no (smtp.fagskolen.gjovik.no [IPv6:2001:700:1100:1:200:ff:fe00:b]) by mx1.freebsd.org (Postfix) with ESMTP id 66C2F8FC14 for ; Sun, 25 Sep 2011 15:08:17 +0000 (UTC) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.14.4/8.14.4) with ESMTP id p8PF88TX010762 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 25 Sep 2011 17:08:08 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.14.4/8.14.4/Submit) with ESMTP id p8PF88ZN010759; Sun, 25 Sep 2011 17:08:08 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Sun, 25 Sep 2011 17:08:08 +0200 (CEST) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: Andrei Brezan In-Reply-To: <4E7E4A9D.70901@gmail.com> Message-ID: References: <4E7BEA42.4020004@a1poweruser.com> <4E7CFA99.9000801@centurytel.net> <4E7E4A9D.70901@gmail.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) Organization: =?ISO-8859-1?Q?Fagskolen_i_Gj=F8vik?= OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="2055831798-1116354187-1316963288=:6659" X-Spam-Status: No, score=-1.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_20 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on mail.fig.ol.no Cc: freebsd-questions@freebsd.org Subject: Re: 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: Sun, 25 Sep 2011 15:08:18 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --2055831798-1116354187-1316963288=:6659 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT On Sat, 24 Sep 2011 23:24+0200, Andrei Brezan wrote: > On 23/09/2011 23:31, Michael D. Norwick wrote: > > 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 Sorry for leaping in, but I think you should change bpf0 to bpf only. See below. > > 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 Looking at this listing, bpf0 is a symlink to bpf, thus /etc/devfs.conf should manage /dev/bpf and not /dev/bpf0. > > 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 > > I would suggest to get the package from tenable.com and install it via > pkg_add. That's how it worked for me but on FreeBSD 8.2-stable. Might worth a > shot. > > Regards, Trond. -- ---------------------------------------------------------------------- Trond Endrestøl | Trond.Endrestol@fagskolen.gjovik.no ACM, NAS, NUUG, SAGE, USENIX | FreeBSD 8.2-STABLE & Alpine 2.00 --2055831798-1116354187-1316963288=:6659--