From owner-freebsd-jail@freebsd.org Tue May 31 14:56:57 2016 Return-Path: Delivered-To: freebsd-jail@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C89E5B55D98 for ; Tue, 31 May 2016 14:56:57 +0000 (UTC) (envelope-from juanperiz@yahoo.com.ar) Received: from nm34-vm9.bullet.mail.gq1.yahoo.com (nm34-vm9.bullet.mail.gq1.yahoo.com [98.136.216.138]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 986021F3A for ; Tue, 31 May 2016 14:56:57 +0000 (UTC) (envelope-from juanperiz@yahoo.com.ar) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com.ar; s=s2048; t=1464706611; bh=ROvrW432Q7g5nAvgAok+vsAdpVQVAu9OOimlvCUj9I8=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:From:Subject; b=TPzebd/5Mx/4e4aovvmb7/AztntrlAzvYSv3NEQUuWKlM/N1oEGd1eaUpPf8cmL8fblCM+VwoPPzanbS3cH5pXz5W9bDjq7gzGQjcjxFxXLuiV2vgkkfafrZda2VRaxwr2KzwknrUeQ/qnzHaSqFV6Z3zAbxC3qmHv/fzyEwJ4+YO+0alUwdiNrIN4HDjN+f3+6hRPJHKCXbpSKLHGmpWgcsjvXBX/DxZboFLIR4NpmbB4IRkUu72xZ4ixm2T2sKR6hkjraU561Ao0dMIHaZXZLTXlYs4Ps02lu3f3r7rrAFL8umABvI0J//W31qFRunjI4pWK4v6oZDZvcbtR+eNQ== Received: from [127.0.0.1] by nm34.bullet.mail.gq1.yahoo.com with NNFMP; 31 May 2016 14:56:51 -0000 Received: from [98.137.12.188] by nm34.bullet.mail.gq1.yahoo.com with NNFMP; 31 May 2016 14:53:56 -0000 Received: from [98.137.12.195] by tm9.bullet.mail.gq1.yahoo.com with NNFMP; 31 May 2016 14:53:56 -0000 Received: from [127.0.0.1] by omp1003.mail.gq1.yahoo.com with NNFMP; 31 May 2016 14:53:56 -0000 X-Yahoo-Newman-Property: ymail-4 X-Yahoo-Newman-Id: 561416.29980.bm@omp1003.mail.gq1.yahoo.com X-YMail-OSG: niFhgUgVM1mSo8w1tFubQBEq3EGh5sros5_UQYS4zZdzHOSpb3BRCrl2gNmnWQ1 TXxseA3Qp.xxWQ5oQwWwvtqpkBeDj4yGJ3yvFSV9nKDhG.Mj4FNPVMfrL6m0c7k.YyPmBuIhSM.s kuvD6ZKT.VXLhBlAbcICr.ybMx_vgX1MwG5iyI2thWFWbYgSt1CSiKoR_hrVfwYtEGrmqDPPfJ0y FiIqnbIVsWRMqHrVUuEtRUTYtQI4XrenclM7yCgkDaU70HGt9Q0YkwlTUI.PDgUo2j4_9C79YIiR PRJRXbsltKMQZ3DxI7DGEERqanedJKCsPn4NyKrZxe_eYqdts3wOUFBmiirLSCI4NQZfjR2cVfPg sCh7acW4Rlieq0vgIlsthdV9596ohz_QOcvZnkq3VF2nME8ve.bdiXWYSAvhPsirfxd0N1HpemTV yiFZ06.dNaV6H7U0AUieLhvl0ff1kiendWsco_IsRplGhRMtIYXxjqFTCnIDV54ij6MdsaVf7ehI hgB5ByRHsEaISs6IHWPyPJp2ojw-- Received: from jws10738.mail.gq1.yahoo.com by sendmailws139.mail.gq1.yahoo.com; Tue, 31 May 2016 14:53:56 +0000; 1464706436.059 Date: Tue, 31 May 2016 14:53:54 +0000 (UTC) From: =?UTF-8?Q?Sebasti=C3=A1n_Maruca?= Reply-To: =?UTF-8?Q?Sebasti=C3=A1n_Maruca?= To: Lars Engels , Ernie Luzar Cc: "freebsd-jail@freebsd.org" , =?UTF-8?Q?Sebasti=C3=A1n_Maruca?= Message-ID: <1044161792.2386277.1464706434032.JavaMail.yahoo@mail.yahoo.com> In-Reply-To: <20160531063930.GE15808@e-new.0x20.net> References: <366569840.1294540.1464534933908.JavaMail.yahoo.ref@mail.yahoo.com> <366569840.1294540.1464534933908.JavaMail.yahoo@mail.yahoo.com> <574C42DA.6030101@gmail.com> <20160531063930.GE15808@e-new.0x20.net> Subject: Re: deploy multiple vnets with VIMAGE/VNET + Production Ready? MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 May 2016 14:56:57 -0000 Yeah, guess I'll have to wait till they release the brand-new iocage [iocage is being rewritten in a different language] >>> sysutils/iocage also supports VIMAGE Well, I can give a try to 10.3 Current and see if iocage do the trick... >>> You seem to forget that there have been fixes already in HEAD: http://freshbsd.org/search?branch=HEAD&project=freebsd&q=vimage+OR+vnet But as I said, some kind of API/framework to deal with "virtual isolated" PF(4) anchor files as a way of getting multi-tenant feature of OPNSense... From owner-freebsd-jail@freebsd.org Wed Jun 1 16:07:39 2016 Return-Path: Delivered-To: freebsd-jail@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E95E9B6132D for ; Wed, 1 Jun 2016 16:07:39 +0000 (UTC) (envelope-from marquis@roble.com) Received: from mx5.roble.com (mx5.roble.com [206.40.34.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx5.roble.com", Issuer "mx5.roble.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id E19481703 for ; Wed, 1 Jun 2016 16:07:39 +0000 (UTC) (envelope-from marquis@roble.com) Date: Wed, 1 Jun 2016 09:07:33 -0700 (PDT) From: Roger Marquis To: freebsd-jail@freebsd.org Subject: Re: deploy multiple vnets with VIMAGE/VNET + Production Ready? MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.22 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 Jun 2016 16:07:40 -0000 Ernie Luzar wrote: > the kernel to included vimage. Enabling pf or ipf firewalls cause the > host to crash. ipfw firewall does not cause a crash but has next to no > real life usage on vimage. Considering we have had ipfw/vimage/netgraph jails for several years I'd be interested in your data sources. > When stopping vimage jails there is a problem with memory loss. Have you tested this, on a recent release? > You need a high proficiency in coding netgraph which > is used to tie the hosts network to each vimage jail. This certainly used to be true and IMO has been a significant barrier to netgraph usage but the scripts in head/share/examples/jails/ are at least helpful. > Needs a public network with multiple static ip address & registered domain > names even to test it. How are you implementing vimage that needs a registered domain name? > There are a few write ups about how to configure vet/vimage jails, but > their out of date. IE: 8.x & 9.x releases which are at EOL [end of life, > unsupported]. Vimage gets little attention. Unfortunately the mapping of non-vimage localhost interfaces to the primary external interface isn't noted nearly enough either. These are weaknesses in bsd jails, the latter a non-trivial security issue on many non-vimage systems considering daemons like sendmail are installed and listening on "localhost" by default. > Going down this road will make the shop totally dependent on you and your > ability. A mega size pay bump is in your future. The shop will be fubar-ed > if you die or get hurt requiring a hospital stay and long recovery. Potentially true of any Unix or Linux application in my experience. Have you tried vimage with epair/if_bridge instead of netgraph? It's considerably simpler though the documentation is almost as conflicting and insufficient. Roger