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)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jgmyers, Assigned: nelson)

References

Details

Attachments

(2 files)

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().
Blocks: 47834
Status: NEW → ASSIGNED
Depends on: 51436
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.
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.
Seems to be working for me.  What platform are you testing on?
I found my problem, it's bug 52192.  I'm back to testing.
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.
Attached patch Updated fixSplinter Review
Fix checked in
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Please consider back-merging this to NSS 3.0.1.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
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.
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 ago24 years ago
Resolution: --- → FIXED
Target Milestone: --- → 3.1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: