Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Dec 2015 06:17:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 192014] getaddrinfo(3) broken in jail on loopback
Message-ID:  <bug-192014-8-wqNy1YEf3m@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-192014-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-192014-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192014

Hajimu UMEMOTO <ume@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |In Progress
           Assignee|freebsd-bugs@FreeBSD.org    |ume@FreeBSD.org

--- Comment #10 from Hajimu UMEMOTO <ume@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-192014-8-wqNy1YEf3m>