Index | Thread | Search

From:
"Theo de Raadt" <deraadt@openbsd.org>
Subject:
Re: Diff: Minor Improvement to Sentence
To:
tech@openbsd.org
Date:
Thu, 08 Aug 2024 11:10:47 -0600

Download raw body.

Thread
Jason McIntyre <jmc@kerhand.co.uk> wrote:

> yes, i get that. this way, you are pushing first that this is only for
> hosts with condition. for those hosts it does operation.

hosts?

these daemons only act upon INTERFACES with that condition.

if no interfaces have the condition, the daemon does nothing, but that's
reductionist.

> but i don;t know why you;d want to emphasize it that way round. the
> whole nuts of it is that it's a way for clients to autoconfigure their
> ip stuff. isn;t that the first thing you need to know? then how you go
> about it, or for which devices it might be relevant.

you are throwing around "hosts", "client" and confusing things a lot.

It works like this:

    for (all interfaces) {
    	try the discovery protocol
	if (we learn something) {
	    change the interface
	   tell resolvd
	}
    }

Leading to this for both daemons:

    For all interfaces with the AUTOCONF flag set, the daemon attempts
    learning using a discovery protocol.
    If information is found it places an address onto the interface and
    provides DNS information to resolvd(8)

I don't see any need for describing the operation backwards.