Subject: Re: How to set up NetBSD client of bootp
To: Tobias Weingartner <weingart@austin.brandonu.ca>
From: David Brownlee <D.K.Brownlee@city.ac.uk>
List: current-users
Date: 08/12/1995 10:06:20
On Fri, 11 Aug 1995, Tobias Weingartner wrote:
>
> Tobias writes:
>
> I don't know if this is valid. If you see a problem with this idea, please let
> >me know. Could we change the IP stack (I have not looked at the code in questio
> >n)
> >to behave in the following manner; If the interface address is INADDR_NONE, to
> >send packets on the ethernet with a from-address of INADDR_NONE. Also, the IP
> >stack should accept packets addressed to any IP address, as long as the HW
> >address either matches, or is the broadcast HW address.
>
> Never, ever, ever do this. Ever. Please.
> You're saying that a machine should accept any IP packet sent to its
> MAC address, regardless of destination.
>
> [ Reasons why this is a Bad Thing deleted ]
>
You would only need the stack to accept packets addresses to any
IP address if the interface they came in on had an IP address of
INADDR_NONE (this would allow multiple interfaces to be configured
ok).
Then again as Ronald Khoo said - none of this needs to be in the
kernel (keep out that bloat :). Using the bfp filter also means
the client is easily portable to any machine running bpf...
abs
D.K.Brownlee@city.ac.uk (MIME) +44 171 477 8186 {post,host}master (abs)
Network Analyst, UCS, City University, Northampton Square, London EC1V 0HB.
<<< Monochrome - Largest UK Internet BBS - telnet mono.city.ac.uk >>>