From owner-freebsd-current Mon Feb 8 23:13:30 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA17190 for freebsd-current-outgoing; Mon, 8 Feb 1999 23:13:30 -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 XAA17184 for ; Mon, 8 Feb 1999 23:13:24 -0800 (PST) (envelope-from geoff@rucus.ru.ac.za) Received: (qmail 18609 invoked by uid 268); 9 Feb 1999 09:13:30 -0000 Message-ID: <19990209091330.18608.qmail@rucus.ru.ac.za> Subject: Re: adding DHCP client to src/contrib/ In-Reply-To: <199902090639.WAA08295@kithrup.com> from Sean Eric Fagan at "Feb 8, 1999 10:39:29 pm" To: current@FreeBSD.ORG Date: Tue, 9 Feb 1999 09:13:30 +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 : > There's really no other way to do it: you need the ability to grab packets > that come from an unidentified machine, which doesn't have an IP address. You > could write some other method of doing this -- and then put it into every > single ethernet (et al) device driver -- or you could just use BPF, which > really isn't all that large. Bootpd doesn't require bpf in order to work. Incoming requests all have the IP number 0.0.0.0. The issue, as I understand it, is to get a reply from an unknown server (who has an IP address), while you have no IP address. I would still be very reticent to see BPF in a generic kernel because of the security implications. Remember that the DHCP client is listening for a datagram which has its own layer 2 address as the destination address. - No need for promiscuous mode. The only problem is that the client doesn't know its own IP number. I would really not like DHCP to require FreeBSD being shipped with bpf enabled. 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