From owner-freebsd-questions@FreeBSD.ORG Wed Aug 7 14:45:12 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 9DC83FBC for ; Wed, 7 Aug 2013 14:45:12 +0000 (UTC) (envelope-from kpielorz_lst@tdx.co.uk) Received: from mail.tdx.com (mail.tdx.com [62.13.128.18]) by mx1.freebsd.org (Postfix) with ESMTP id 642DC2094 for ; Wed, 7 Aug 2013 14:45:11 +0000 (UTC) Received: from Mail-PC.tdx.co.uk (storm.tdx.co.uk [62.13.130.251]) (authenticated bits=0) by mail.tdx.com (8.14.3/8.14.3/) with ESMTP id r77EjA0O003171 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 7 Aug 2013 15:45:10 +0100 (BST) Date: Wed, 07 Aug 2013 15:45:12 +0100 From: Karl Pielorz To: Arthur Chance Subject: Re: Static Jail ID's (JID's) for use with IPFW? Message-ID: In-Reply-To: <52022E40.8050007@qeng-ho.org> References: <6AEEAD32A5BF3013464C98A1@Mail-PC.tdx.co.uk> <52022E40.8050007@qeng-ho.org> X-Mailer: Mulberry/4.0.8 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Aug 2013 14:45:12 -0000 --On 07 August 2013 12:23 +0100 Arthur Chance wrote: > I don't think the old /etc/rc.conf way of handling jails lets you do it, > but the latest version of jail(8) introduced /etc/jail.conf and you > should be able to add "jid = ;" parameters in there. Thanks - I'll check that out... > I've no idea what will happen if your choice conflicts with an > automatically generated jid, so you'll either have to make sure all jails > have fixed jids, or choose a suitably high range for fixed ones and hope > you never generate too many unfixed jids. I'll be making them all static - just to avoid that problem ;) Cheers, -Karl