Port 65535 can no longer be unblocked
Categories
(Core :: Networking, defect, P3)
Tracking
()
People
(Reporter: ke5trel, Assigned: longsonr)
References
(Regression)
Details
(Keywords: good-first-bug, regression, Whiteboard: [necko-triaged])
Attachments
(1 file)
STR:
- Create preference string
network.security.ports.banned.override = "65535"
- Visit
localhost:65535
.
Expected:
"Unable to connect"
Actual:
"This address is restricted"
Port 65535 is a valid port number and it should be possible to unblock it.
Regression window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=6e0b8e5132681674e06cab2a94727a3e9e012f2a&tochange=774f4e003006bd1f211b1848cccbb00d89fe64d1
Regressed by Bug 1698503.
I am experiencing this in ESR 78.10.0
I have tried it individually and with range "1-65535"
Confirmed 78 is also affected.
Comment 3•4 years ago
|
||
Right. I the disallow check shouldn't be greater-than-or-equals uint16-max, but only "greater than".
https://searchfox.org/mozilla-central/source/netwerk/base/nsIOService.cpp#1412-1415
I suppose this could be a good first bug.
Updated•4 years ago
|
Assignee | ||
Comment 5•4 years ago
|
||
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Assignee | ||
Comment 6•4 years ago
|
||
Assignee | ||
Comment 7•4 years ago
|
||
I tried creating a test but I'm not sure I'm running it. It seems to be an xpcshell test but I can't find it in the logs.
I tried removing the fix and running the same tests but they all still pass (or maybe they aren't even being run).
So is the test being run in comment 6 and if so why does it always pass?
Updated•4 years ago
|
Comment 9•4 years ago
|
||
There's a r+ patch which didn't land and no activity in this bug for 2 weeks.
:longsonr, could you have a look please?
For more information, please visit auto_nag documentation.
Updated•4 years ago
|
Comment 10•4 years ago
|
||
Comment 11•4 years ago
|
||
bugherder |
Updated•4 years ago
|
Comment 12•4 years ago
|
||
Is this something we should consider uplifting to ESR78 also?
Assignee | ||
Comment 13•4 years ago
|
||
I really don't know how critical it is. One duplicate doesn't seem much so if you ask me then, no I wouldn't do it.
Comment 14•4 years ago
|
||
Fine by me, the fix will ship in ESR91 going out soon in that case.
Description
•