From owner-freebsd-questions@FreeBSD.ORG Fri Jun 20 13:10:51 2008 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 E9F511065674 for ; Fri, 20 Jun 2008 13:10:51 +0000 (UTC) (envelope-from freebsd@violetlan.net) Received: from mail.violetlan.net (mail.violetlan.net [80.81.242.7]) by mx1.freebsd.org (Postfix) with ESMTP id B09CA8FC1D for ; Fri, 20 Jun 2008 13:10:51 +0000 (UTC) (envelope-from freebsd@violetlan.net) Received: from mail.violetlan.net (mail.violetlan.net [10.0.100.111]) by mail.violetlan.net (Postfix) with ESMTP id 49DF21143B for ; Fri, 20 Jun 2008 14:12:24 +0100 (BST) Received: from www.violetlan.net (mbali.violetlan.net [10.0.100.150]) by mail.violetlan.net (Postfix) with ESMTP id 117A61143A for ; Fri, 20 Jun 2008 14:12:24 +0100 (BST) Received: from 217.41.34.61 (SquirrelMail authenticated user freebsd@violetlan.net) by www.violetlan.net with HTTP; Fri, 20 Jun 2008 14:11:08 +0100 (BST) Message-ID: <52204.217.41.34.61.1213967468.squirrel@www.violetlan.net> Date: Fri, 20 Jun 2008 14:11:08 +0100 (BST) From: "Reinhold" To: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.5.1 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV using ClamSMTP Subject: running nessus from inside of a jail 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, 20 Jun 2008 13:10:52 -0000 Hi I've created a jail where only nessus lives in, the jail is working very nicely but nessus keeps on crashing. Here is what I see from the nessus.core file (gdb) core nessusd.core Core was generated by `nessusd'. Program terminated with signal 4, Illegal instruction. #0 0x280da85b in ?? () this is how I'm using nessus to scan the hosts nessus -q -x -V -c /root/work/nessusrc -T html localhost 1241 root password /root/work/work_temp/nessus_targets /usr/local/www/apache22/data/results/nessus/2008-06-20/target_subnet.html When I run nessus from the host system it works but from inside the jail it cure dumps all the time. here is my jail sysctl info sysctl -a |grep jail security.jail.jailed: 1 security.jail.mount_allowed: 0 security.jail.chflags_allowed: 0 security.jail.allow_raw_sockets: 1 security.jail.enforce_statfs: 2 security.jail.sysvipc_allowed: 0 security.jail.socket_unixiproute_only: 1 security.jail.set_hostname_allowed: 1 I had to change security.jail.allow_raw_sockets to one to get nmap to work. Any help will be appreciated. Thanks Reinhold