On Thu, 26 Apr 2018 at 11:03:55 +0200, Pavel Šimerda wrote: > It looks easy but in practice it proves by no means trivial to have a proper > IPv4/IPv6 client behavior implemented. I have done many experiments with > that and the situation in open source (or any other) software including the > core components is not satisfactory at all.
If you have a plan for improving the situation, please open bugs or feature requests on the relevant upstream projects (glibc, Avahi and/or nss-mdns). Distro maintainers' priority is to avoid introducing regressions for existing software. I don't intend to make downstream changes in nss-mdns that cause it to regress for existing software, even if that existing software is not implemented in the ideal way. > I'm convinced that the way to go is to always connect in ~100 ms if there is > either IPv4 or IPv6 available to connect (i.e. do not enforce protocol > precedence when one of the protocol is slower than that) Of course, but nss-mdns does not control application behaviour. If an existing application correctly asks for AF_UNSPEC, great; but if it wrongly resolves one protocol and then the other, nss-mdns is not in a position to fix that. > I would be honored if you contacted me directly and we could chat a little > bit rather than have an online e-mail discussion. Sorry, I do not have enough time available for nss-mdns maintenance to spend it on private real-time conversations. smcv