Date: Thu, 9 Oct 2003 20:51:01 +0200 (CEST) From: Udo Schweigert <udo.schweigert@siemens.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/57813: maintainer-update of security/nessus-* and security/nessus-*-devel Message-ID: <200310091851.h99Ip1EL087200@alaska.cert.siemens.de> Resent-Message-ID: <200310091900.h99J0Wrq095596@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 57813 >Category: ports >Synopsis: maintainer-update of security/nessus-* and security/nessus-*-devel >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Thu Oct 09 12:00:32 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Udo Schweigert >Release: FreeBSD 4.9-STABLE i386 >Organization: >Environment: >Description: Maintainer-update of the security/nessus-* and the security/nessus-*-devel ports: - Fix the README.BPF >How-To-Repeat: >Fix: diff -ru /usr/ports/security/nessus-libraries/files/README.BPF nessus-libraries/files/README.BPF --- /usr/ports/security/nessus-libraries/files/README.BPF Sat Apr 19 22:40:12 2003 +++ nessus-libraries/files/README.BPF Thu Oct 9 20:43:17 2003 @@ -1,22 +1,13 @@ -Nessus uses the pcap library, which uses the -berkeley packet filter (bpf) to do its job. +Nessus uses the pcap library, which uses the berkeley packet filter (bpf) +to do its job. Since Nessus used multiple processes, several pcap-aware plugins will need to access the the bpf at the same time. -This means that you need to recompile your kernel with the -following option : +This means that you need to recompile your kernel with the following option: -For FreeBSD 5.x: -pseudo-device bpfilter +pseudo-device bpf -For FreeBSD 4.x: -pseudo-device bpfilter NUM - -Where 'NUM' is the number of bpf you want -- it should be equal to -the 'max hosts number' option you enter in nessusd x the -'max plugins' option. - If for instance you want to have 10 nessusd running at the same time, each running 5 plugins in parallel, you should create 50 (10 * 5) bpfs (as nessusd is extremely lightweight, you can expect to have this amount @@ -26,18 +17,11 @@ 100 of them. Once your kernel has been rebuilt, get root, cd to /dev -and do : - - i=0; while [ $i -lt 100]; - do - ./MAKEDEV bpf$i - let i=$i+1 - done +and do: -On FreeBSD, you can directly do : ./MAKEDEV bpf+100 -(For FreeBSD 5.x this is not needed since the devfs creates devices when needed) +For FreeBSD 5.x this is not needed since the devfs creates devices when needed. If you can not recompile your kernel, you can try to run the configure script with the option --enable-bpf-sharing. In this case, nessusd will diff -ru /usr/ports/security/nessus-libraries-devel/files/README.BPF nessus-libraries-devel/files/README.BPF --- /usr/ports/security/nessus-libraries-devel/files/README.BPF Sat Apr 19 22:37:39 2003 +++ nessus-libraries-devel/files/README.BPF Thu Oct 9 20:43:23 2003 @@ -1,22 +1,13 @@ -Nessus uses the pcap library, which uses the -berkeley packet filter (bpf) to do its job. +Nessus uses the pcap library, which uses the berkeley packet filter (bpf) +to do its job. Since Nessus used multiple processes, several pcap-aware plugins will need to access the the bpf at the same time. -This means that you need to recompile your kernel with the -following option : +This means that you need to recompile your kernel with the following option: -For FreeBSD 5.x: -pseudo-device bpfilter +pseudo-device bpf -For FreeBSD 4.x: -pseudo-device bpfilter NUM - -Where 'NUM' is the number of bpf you want -- it should be equal to -the 'max hosts number' option you enter in nessusd x the -'max plugins' option. - If for instance you want to have 10 nessusd running at the same time, each running 5 plugins in parallel, you should create 50 (10 * 5) bpfs (as nessusd is extremely lightweight, you can expect to have this amount @@ -26,18 +17,11 @@ 100 of them. Once your kernel has been rebuilt, get root, cd to /dev -and do : - - i=0; while [ $i -lt 100]; - do - ./MAKEDEV bpf$i - let i=$i+1 - done +and do: -On FreeBSD, you can directly do : ./MAKEDEV bpf+100 -(For FreeBSD 5.x this is not needed since the devfs creates devices when needed) +For FreeBSD 5.x this is not needed since the devfs creates devices when needed. If you can not recompile your kernel, you can try to run the configure script with the option --enable-bpf-sharing. In this case, nessusd will >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200310091851.h99Ip1EL087200>