From owner-freebsd-hackers Mon Dec 10 8:43: 6 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from swan.prod.itd.earthlink.net (swan.mail.pas.earthlink.net [207.217.120.123]) by hub.freebsd.org (Postfix) with ESMTP id 9D6AE37B405 for ; Mon, 10 Dec 2001 08:42:57 -0800 (PST) Received: from pool0187.cvx22-bradley.dialup.earthlink.net ([209.179.198.187] helo=mindspring.com) by swan.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16DTVy-0002F0-00; Mon, 10 Dec 2001 08:42:50 -0800 Message-ID: <3C14E611.16F58D60@mindspring.com> Date: Mon, 10 Dec 2001 08:42:57 -0800 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Evan Sarmiento Cc: freebsd-hackers@freebsd.org Subject: Re: jail.c patch References: <200112101447.fBAElrY25522@csa.bu.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Evan Sarmiento wrote: > > Hello, > > I've been reading this thread. I made the augustments to the > patch so that it first checks if it is an IP address, if it is not, > it then tries to see if it is a hostname. If neither are true > it exits with an error. > > Hope this is what you're looking for, Cool! This is perfect! It won't mess up any existing scripts, and it will let people go by name, if they want! Actually, now it's tempting to rewrite acouple of scripts to take basename of argv[0], and call jail with that... -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message