Re: sendmail vs ipv6 broken after upgrade to 9.1

看板FB_stable作者時間12年前 (2013/04/27 13:02), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串22/22 (看更多)
Hi, >>>>> On Thu, 10 Jan 2013 00:23:01 +0000 >>>>> Ben Morrow <ben@morrow.me.uk> said: ben> ip6addrctl does more than just order v4 vs v6: it also sorts the v6 ben> addresses, in a way which can be quite important. IMHO both the v6 ben> addresses returned from getipnodebyname and the addresses returned from ben> gethostbyname2(AF_INET6) ought to be sorted according to ip6addrctl, ben> even if getipnodebyname special-cases the v4-mapped addresses to appear ben> last. Okay, it seems reasonable. I've just committed to obey ip6addrctl only for IPv6 address: http://svnweb.freebsd.org/changeset/base/245256 As for gethostbyname2, it doesn't obey ip6addrctl in the first place, and it is hard to obey ip6addrctl. So, I leave it as is. ben> Well, if important applications like Sendmail are still using it it's ben> probably important it works consistently with the rest of the system's ben> IPv6 support. I'd rather see it removed, or reimplemented as a wrapper ben> around getaddrinfo, than left in a broken state. I don't think our getipnodebyname is broken. We tried to implement getipnodebyname with getaddrinfo backend without success in years past. As the result, implementation of getipnodebyname has become like now. Sincerely, -- Hajimu UMEMOTO ume@mahoroba.org ume@{,jp.}FreeBSD.org http://www.mahoroba.org/~ume/ _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
文章代碼(AID): #1HUrlxX6 (FB_stable)
討論串 (同標題文章)
文章代碼(AID): #1HUrlxX6 (FB_stable)