From owner-freebsd-current Mon Feb 8 23:35:02 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA18894 for freebsd-current-outgoing; Mon, 8 Feb 1999 23:35:02 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from rucus.ru.ac.za (rucus.ru.ac.za [146.231.29.2]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id XAA18837 for ; Mon, 8 Feb 1999 23:34:54 -0800 (PST) (envelope-from geoff@rucus.ru.ac.za) Received: (qmail 19185 invoked by uid 268); 9 Feb 1999 09:34:59 -0000 Message-ID: <19990209093459.19184.qmail@rucus.ru.ac.za> Subject: Re: adding DHCP client to src/contrib/ In-Reply-To: <199902090718.XAA10270@kithrup.com> from Sean Eric Fagan at "Feb 8, 1999 11:18:39 pm" To: current@FreeBSD.ORG Date: Tue, 9 Feb 1999 09:34:59 +0000 (GMT) Reply-To: "Geoff Rehmet" From: "Geoff Rehmet" X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Sean Eric Fagan writes : > > 1. /dev/bpf0 is mode 400, root.wheel -- to read it, you need to break root. > 2. If you can break root, you can rebuild a kernel with BPF *anyway*. Not quite - bpf is potentially dangerous where a sysadmin is inexperienced. On a system with a generic kernel and no source on it, it may be fairly difficult to get a kernel with bpf onto the system. Where there is an experienced admin, this becomes less of an issue. I am not trying to stop DHCP being added to the tree. It may even be necessary to use bpf initially, but there must be a more elegant way - having a quick look around - it would be a good idea to look at the code which already exists in libstand (/usr/src/lib/libstand/bootp.c). I haven't had an exhaustive look through the code, but this should give the necessary material to work out another way of doing things. Geoff. -- Geoff Rehmet, The Internet Solution geoffr@is.co.za; geoff@rucus.ru.ac.za; csgr@freebsd.org tel: +27-83-292-5800 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message