* Dag-Erling Smørgrav

> AI_ADDRCONFIG is useless in all but a tiny minority of cases.  Most
> *nix systems today are on IPv4-only networks but have autoconfigured
> link-local IPv6 addresses on all interfaces.

That might be the case in general, but not in the specific case we're
discussing. Quoting Dan Geist:

> root@cacti:/var/log# cat /proc/sys/net/ipv6/conf/all/disable_ipv6
> 1

> root@cacti:/var/log# ip -6 addr
> <null>

> Is this intentional behavior, or do I need to dig into the code to
> figure out why it's adding v6 sources to the list ***without an active
> v6 network stack***?

(Emphasis mine.) In summary I think the conditions for AI_ADDRCONFIG
actually being useful is met here.

While you're right it might not be useful where the interfaces are
auto-configured with link-local addresses, I don't think it does any
harm there either (it's more like a no-op), so I think it would make
sense to add it in any case.

(For what it's worth I tried to get improve the usefulness of
AI_ADDRCONFIG a long time ago, but that didn't go anywhere:
https://sourceware.org/bugzilla/show_bug.cgi?id=12377)

Tore
_______________________________________________
pool mailing list
[email protected]
http://lists.ntp.org/listinfo/pool

Reply via email to