[Bug 192014] getaddrinfo(3) broken in jail on loopback
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Dec 11 06:17:40 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192014
Hajimu UMEMOTO <ume at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|New |In Progress
Assignee|freebsd-bugs at FreeBSD.org |ume at FreeBSD.org
--- Comment #10 from Hajimu UMEMOTO <ume at FreeBSD.org> ---
Created attachment 164104
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=164104&action=edit
Ignore just 127.0.0.1 instead of the whole loopback address range.
Yes, it is expected behavior from the spec of AI_ADDRCONFIG. Since it was not
implemented correctly, your setup used to be working by chance.
Ignoring the loopback address is necessary to make AI_ADDRCONFIG usable.
However, the loopback address except for 127.0.0.1 isn't used in a usual setup.
Though it breaks a spec to be exact, there may be room for modifying
getaddrinfo(3) to ignore just 127.0.0.1 instead of the whole loopback address
range.
Does the attached patch work for you?
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list