Date: Tue, 5 Jun 2007 15:00:34 +1000 From: "Paul Fraser" <pfraser@gmail.com> To: "David N" <davidn04@gmail.com>, "FreeBSD-Questions Mailing List" <freebsd-questions@freebsd.org> Subject: Re: isc-dhcp3-server in a jail? Message-ID: <f82eafcc0706042200t26204fb7s3e6a882d6f5e61b0@mail.gmail.com> In-Reply-To: <4d7dd86f0706041940w21dfb3f9xaf19d629a75ad023@mail.gmail.com> References: <f82eafcc0706030547q54ef5bekb3408e5e734668fc@mail.gmail.com> <20070604113945.GA15154@schottelius.org> <f82eafcc0706041519y76cd77edtcc0b4a9f4744710d@mail.gmail.com> <4d7dd86f0706041940w21dfb3f9xaf19d629a75ad023@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 6/5/07, David N <davidn04@gmail.com> wrote: > To get isc-dhcpd in a jail you need to give the jail access to /dev/bpf0 > > so you have to edit /etc/defaults/devfs.rules > add to the end the unhide rules for bpf eg. > [devfsrules_unhide_bpf=5] > add path bpf0 unhide > > [devfsrules_dhcp_jail=6] > add include $devfsrules_hide_all > add include $devfsrules_unhide_basic > add include $devfsrules_unhide_login > add include $devfsrules_unhide_bpf > > then in your /etc/rc.conf add > jail_<jailname>_defs_ruleset="devfsrules_dhcp_jail" > > and restart the jail. Thank you very much David, that's done the trick! I much prefer having dhcpd sitting in a jail along with a few other network services. Cheers, P. -- Regards, Paul Fraser http://furyc0de.net/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f82eafcc0706042200t26204fb7s3e6a882d6f5e61b0>