From owner-freebsd-hackers@FreeBSD.ORG Mon Jul 5 21:27:09 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5E20F16A4CE for ; Mon, 5 Jul 2004 21:27:09 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C04343D46 for ; Mon, 5 Jul 2004 21:27:09 +0000 (GMT) (envelope-from csjp@freebsd.org) Received: from freefall.freebsd.org (csjp@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i65LR9rp071114 for ; Mon, 5 Jul 2004 21:27:09 GMT (envelope-from csjp@freebsd.org) Received: (from csjp@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i65LR9sM071113 for hackers@FreeBSD.org; Mon, 5 Jul 2004 21:27:09 GMT (envelope-from csjp@freebsd.org) X-Authentication-Warning: freefall.freebsd.org: csjp set sender to csjp@freebsd.org using -f Date: Mon, 5 Jul 2004 21:27:09 +0000 From: "Christian S.J. Peron" To: hackers@freebsd.org Message-ID: <20040705212709.GA70873@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: [patch] attach ipfw rules to jails X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jul 2004 21:27:09 -0000 I have written support for attaching ipfw rules to jails. I am looking for some testers/feedback. http://people.freebsd.org/~csjp/ip_fw_jail.diff NOTES: o Apply the patch o cd /usr/src && make includes o rebuild your kernel (or just the ipfw module) o rebuild the ipfw userspace utility; Syntax: ipfw add count ip from any to any jail 1 "jail" takes a numeric argument, a jail ID. For those of you who dont know, jail IDs can be retrieved using the jls(8) utility. Input would be greatly appriciated. Thanks! -- Christian S.J. Peron csjp@FreeBSD.ORG FreeBSD Committer