From owner-freebsd-jail@FreeBSD.ORG Wed Oct 1 11:52:21 2008 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 87BDC1065686 for ; Wed, 1 Oct 2008 11:52:21 +0000 (UTC) (envelope-from sodynet1@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.228]) by mx1.freebsd.org (Postfix) with ESMTP id E03F68FC14 for ; Wed, 1 Oct 2008 11:52:20 +0000 (UTC) (envelope-from sodynet1@gmail.com) Received: by wx-out-0506.google.com with SMTP id s17so112599wxc.7 for ; Wed, 01 Oct 2008 04:52:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=8G2EKj/fPF72KqWypC+5e3Yh97I3QwG47dcvZuitoro=; b=wd9WUj542AohMZ7ygGOjKOzSoJup4UPWUFiATtWf37ZqrON3VrlDZJRfhktl2BHdgY e53qRBrustj2Cd7FrPBi91Sx15Og4pPxVH0J65s9mcHU1VY0TIMVL6CYZP01ruftD6nk dU7gugoeYxb+GzF0lr3yIKdLulNyiWeqPG9g8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=YzZn23cnU18UbdY28dnSA4E6boCBppXU7R0MbwazAANXfi5zLC4wMR4uv7BJzMsVak aamthZhpcw4rYhSW6aVazdpbSX5L2rDU++nr3xcI6AF1/swLyOjcBumtJ4wmEiusCR24 ceP2bctasHxE/SwAzOxX5SnfCvZ3EiQay+yT4= Received: by 10.151.12.4 with SMTP id p4mr11858910ybi.183.1222860062967; Wed, 01 Oct 2008 04:21:02 -0700 (PDT) Received: by 10.151.141.7 with HTTP; Wed, 1 Oct 2008 04:21:02 -0700 (PDT) Message-ID: Date: Wed, 1 Oct 2008 13:21:02 +0200 From: "Sami Halabi" To: freebsd-jail@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Multiple IPS - Freebsd 7.1 X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 11:52:21 -0000 hi everyone, I saw a lot of messages about this so here is it - i just patched it (took me a day but okay :) i just downloaded the latest src using this sup file - cvsup: http://www.royalshells.com/download/freebsd/stable-supfile # cvsup stable-supfile i applied the following patch (which i changed to get to work with the current src): http://www.royalshells.com/download/freebsd/bz_jail7-20080727-11-at146062-Fixed_By_Sody_1.10.08.diff to patch do: # cd /usr/src # patch -p6 < bz_jail7-20080727-11-at146062-Fixed_By_Sody_1.10.08.diff after done re-compile the kernel: # cp /usr/src/sys/netinet/in_pcb.h /usr/include/netinet/ # cp /usr/src/sys/sys/jail.h /usr/include/sys/ clean obj dir: ------------------- # rm -Rf /usr/obj/* compile jail and jls: ---------------------------- # cd /usr/src/usr.sbin/jail/ # make clean && make depend && make install # cd /usr/src/usr.sbin/jls/ # make clean && make depend && make install compile the kernel: ----------------------------- # cd /usr/src # make buildworld # make buildkernel KERNCONF=GENERIC # make installworld # make installkernel KERNCONF=GENERIC # mergemaster -U after reboot: # uname -a FreeBSD server.com 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Tue Sep 30 20:03:00 UTC 2008 root@34.loyalness.com:/usr/obj/usr/src/sys/GENERIC i386 # check the patch: # jail usage: jail [-hi] [-n jailname] [-J jid_file] [-s securelevel] [-l -u username | -U username] path hostname [ip[,..]] command ... # Enjoy. Sami