Closed
Bug 48657
Opened 24 years ago
Closed 24 years ago
NSS doesn't work with PR_AF_INET6 (IPv6) sockets
Categories
(NSS :: Libraries, defect, P3)
Tracking
(Not tracked)
RESOLVED
FIXED
3.1
People
(Reporter: jgmyers, Assigned: nelson)
References
Details
Attachments
(2 files)
26.26 KB,
patch
|
Details | Diff | Splinter Review | |
26.94 KB,
patch
|
Details | Diff | Splinter Review |
The session nonce cache is keyed by the IPv4 address, so attempting to use NSS with IPv6 sockets results in an assertion in ssl_GetPeerInfo(). The session cache needs to be changed to be keyed by PRIPv6Addr, with v4 addresses being converted to v4-mapped v6 addresses using NSPR's PR_ConvertIPv4AddrToIPv6().
Reporter | ||
Comment 1•24 years ago
|
||
Assignee | ||
Updated•24 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•24 years ago
|
||
John, Although bug 51436 hasn't been marked as resolved/fixed yet, the fix is checked in to the tip and working. So, you should be able to resume testing of your proposed changes. Note, however, that other changes to SSL code have been checked in, so you'll need to do another update to merge those changes into your sources before testing.
Reporter | ||
Comment 3•24 years ago
|
||
I still can't get selfserv to work. With an unmodifed NSS checked out today, the handshake completes, but the next packet fails the MAC check. From the trace info, it looks like it didn't decrypt properly.
Assignee | ||
Comment 4•24 years ago
|
||
Seems to be working for me. What platform are you testing on?
Reporter | ||
Comment 6•24 years ago
|
||
I've verified that the patch works with selfserv, though I wasted a fair amount of time due to the fact that header dependencies are broken in the build system.
Reporter | ||
Comment 7•24 years ago
|
||
Reporter | ||
Comment 8•24 years ago
|
||
Fix checked in
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 9•24 years ago
|
||
Please consider back-merging this to NSS 3.0.1.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Reporter | ||
Comment 10•24 years ago
|
||
Applying this patch to 3.0.1 will allow the patch for PSM to support IPv6 to go in before PSM switches to NSS 3.1.
Assignee | ||
Comment 11•24 years ago
|
||
John, I'm marking this fixed for NSS 3.1 (Again) so this won't hold up NSS 3.1. We're considering your request to carry it back to 3.0.1. If we decide to do it, you or I can open another bug with a different target fix release.
Status: REOPENED → RESOLVED
Closed: 24 years ago → 24 years ago
Resolution: --- → FIXED
Target Milestone: --- → 3.1
You need to log in
before you can comment on or make changes to this bug.
Description
•