Closed Bug 1570104 Opened 5 years ago Closed 5 years ago

Add shared IPv4 range to allowed list of local IP addresses

Categories

(Core :: Networking: HTTP, enhancement, P3)

enhancement

Tracking

()

VERIFIED FIXED
mozilla70
Tracking Status
firefox70 --- verified

People

(Reporter: whimboo, Assigned: whimboo)

References

Details

(Whiteboard: [necko-triaged])

Attachments

(1 file)

With bug 853423 a set of IP ranges were added which are allowed for network connections when the MOZ_DISABLE_NONLOCAL_CONNECTIONS environment variable is set:

https://searchfox.org/mozilla-central/rev/38c88cbf4be87dfa0636d15a5d3599a8ea0d1a72/netwerk/dns/DNS.cpp#188-191

Sadly it misses the range for Shared IPv4 addresses as specified in the RFC 6598. Here an excerpt from chapter 7:

7.  IANA Considerations

   IANA has recorded the allocation of an IPv4 /10 for use as Shared
   Address Space.

   The Shared Address Space address range is 100.64.0.0/10.

The reason why I'm asking for an addition is because currently the co-location I'm working from, and from where I have to run the web-platform-tests hand out local IP addresses of 100.91.x.y, and as such Firefox crashes when I run tests with MOZ_DISABLE_NONLOCAL_CONNECTIONS enabled.

Priority: -- → P3
Whiteboard: [necko-triaged]
Attachment #9082190 - Attachment description: Bug 1570104 - Add shared IPv4 range (RFC 6598) to allowed list of local IP addresses. → Bug 1570104 - Add shared IPv4 range from RFC 6598 (100.64/10) to allowed list of local IP addresses. r=dragana
Assignee: nobody → hskupin
Status: NEW → ASSIGNED
Attachment #9082190 - Attachment description: Bug 1570104 - Add shared IPv4 range from RFC 6598 (100.64/10) to allowed list of local IP addresses. r=dragana → Bug 1570104 - Add shared IPv4 range from RFC 6598 (100.64/10) to allowed list of IP addresses for testing. r=dragana
Pushed by hskupin@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/af2d7d7a6b23
Add shared IPv4 range from RFC 6598 (100.64/10) to allowed list of IP addresses for testing. r=dragana
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70

Just verified with a recent build from mozilla-central, and it works great now with web-platform tests.

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: