Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 600632 - sys-libs/glibc: Please add a patch reverting 8479f23aa1d5e to fix IPv6 link-scope address getaddrinfo()
Summary: sys-libs/glibc: Please add a patch reverting 8479f23aa1d5e to fix IPv6 link-s...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Toolchain Maintainers
URL: https://sourceware.org/bugzilla/show_...
Whiteboard:
Keywords:
Depends on:
Blocks: glibc-2.25
  Show dependency tree
 
Reported: 2016-11-23 22:38 UTC by Michał Górny
Modified: 2023-03-22 03:16 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-11-23 22:38:46 UTC
Long story short, the fix to spurious DNS queries [1] causes breakage for link-local address lookup [2]. While the correct solution would be to extend NSS to support getaddrinfo-like interface, I don't think it'll happen in a reasonable time.

Therefore, it may be a better idea to revert the fix to [1] in Gentoo patchset. This will cause a regression resulting in AF_INET/AF_INET6 getaddrinfo() lookups getting all A/AAAA addresses but that's a minor problem compared to returning AAAA link-local addresses without scope identifier (esp. considering they'll usually end up in the same packet).

[1]:https://sourceware.org/bugzilla/show_bug.cgi?id=14505
[2]:https://sourceware.org/bugzilla/show_bug.cgi?id=16826
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2017-08-29 21:01:37 UTC
Revert pushed in our 2.25 and 2.26 vendor branch
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2017-09-12 16:28:04 UTC
The patch is in 2.25-r5