IPSec information must be updated on the 2nd REGISTER

vingarzan's picture
Project:Call Session Control Functions
Component:Code
Category:bug
Priority:normal
Assigned:Unassigned
Status:closed
Description

As discussed here https://lists.berlios.de/pipermail/openimscore-users/2007-October/004240... , if the client misbehaves and sends different Contacts in the 2 REGISTER messages, the IPSec contact info is saved from the first REGISTER. This info should be update before setting the remaining 3 SAs, in the 2nd REGISTER, as this is the only authorized and final message containing the Contact address.

Updates

#1 submitted by vingarzan on October 26, 2007 - 13:10

The actual issue is that the 2nd REGISTER is not identified as belonging to the same r_contact saved for the 1st REGISTER. As this new contact does not contain the IPSec data, the 3 remaining IPSec SAs are not set.

Possible fix: update the contact's port with the value from port_uc.

#2 submitted by vingarzan on November 2, 2007 - 13:49

Fixed since r433

#3 submitted by vingarzan on November 2, 2007 - 13:49
Status:active» fixed

Fixed since r433

#4 submitted by vingarzan on November 8, 2007 - 19:23
Status:fixed» closed