| Summary: | busybox fails to connect to IPv6-and-V4 targets from v6-only hosts | ||
|---|---|---|---|
| Product: | Busybox | Reporter: | luisapsilva <luis.apsilva1901> |
| Component: | Networking | Assignee: | unassigned |
| Status: | NEW --- | ||
| Severity: | normal | CC: | busybox-cvs |
| Priority: | P5 | ||
| Version: | 1.23.x | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
|
Description
luisapsilva
2017-12-21 17:17:10 UTC
(In reply to luisapsilva from comment #0) > 1 - Configure a Linux box with only IPv6 addressing. > ... > The call to getaddrinfo (routine str2sockaddr() in libbb/xconnect.c) returns both IPv6 and IPv4 address in that oerder. The resolver returning IPv4 addresses for a pure IPv6 box would cause problems all over the place, not only in bbox. Configure resolver not to do that. Perhaps /etc/resolv.conf "options inet6". If resolver can't be configured this way, try running DNS cache service locally, configure it to only return IPv6, and point resolver to 127.0.0.1. |