Add shared IPv4 range to allowed list of local IP addresses
Categories
(Core :: Networking: HTTP, enhancement, P3)
Tracking
()
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:
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.
Assignee | ||
Comment 1•5 years ago
•
|
||
Note that other code for webrtc already has it:
When the range get added, the following test should also be extended:
https://searchfox.org/mozilla-central/source/netwerk/test/unit/test_hostnameIsLocalIPAddress.js
Updated•5 years ago
|
Assignee | ||
Comment 2•5 years ago
|
||
Assignee | ||
Comment 3•5 years ago
|
||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Updated•5 years ago
|
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
Comment 5•5 years ago
|
||
bugherder |
Assignee | ||
Comment 6•5 years ago
|
||
Just verified with a recent build from mozilla-central, and it works great now with web-platform tests.
Description
•