Bug 104486
| Summary: | Mozilla doesn't use IPv4 if IPv6 connect fails. | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 3 | Reporter: | David Woodhouse <dwmw2> |
| Component: | mozilla | Assignee: | Christopher Aillon <caillon> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Ben Levenson <benl> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.0 | CC: | harald, jorton, lwhatley |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | seamonkey-1.0.x | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2006-09-05 22:55:03 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
David Woodhouse
2003-09-16 09:54:20 UTC
Those are based on the exact same source code. I'll bet the problem is lower than Mozilla. Look at the kernel/glibc. There was a glibc update on my test box since the bug was reported.... now I can't reproduce. Harald, can you? This is reproducible in RHEL3. For a box where getaddrinfo for "www.heanet.ie" with AF_UNSPEC in the hints.ai_family returns two addresses in this order: inet6: family=10, flowinfo=0, addr=2001:770:18:2::79, port=0 inet4: family=2, addr=193.1.219.79, port=0 Mozilla is not trying both the addresses returned: it tries the IPv6 address, which fails since the box has no globally routable IPv6 address, then it gives up. glibc in FC1 has the same behaviour, and Mozilla fails there likewise. In later glibcs, getaddrinfo is smarter and returns the addresses in the other order for this config, so Mozilla happens to work: but the bug is here regardless; Moz should try all the returned addresses regardless of family and ordering. [root@emcee root]# rpm -q mozilla glibc mozilla-1.4-3.0.18 glibc-2.3.2-95.9 I saw the fix for this listed in the Firefox PR1 changelist: https://bugzilla.mozilla.org/show_bug.cgi?id=246193 one-liner patch at: https://bugzilla.mozilla.org/attachment.cgi?id=150825&action=view The browser in RHEL3 (now seamonkey) should not have this issue. |