bugThe eXtended osip library - Bugs: bug #33105, rport for ipv6

 
 

bug #33105: rport for ipv6

Submitted by:  None
Submitted on:  Sun 17 Apr 2011 12:54:51 PM UTC  
 
Category: NoneSeverity: 1 - Wish
Item Group: NoneStatus: Need Info
Privacy: PublicAssigned to: Aymeric MOIZARD <aymeric>
Open/Closed: Closed

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 21 Apr 2011 11:48:05 AM UTC, comment #1:

Hi,

Tks for your report.

It look to me very useless to use rport in IPv6 where no NAT/PAT should occur.

Am I wrong?
Aymeric

Aymeric MOIZARD <aymeric>
Project AdministratorIn charge of this item.
Sun 17 Apr 2011 12:54:51 PM UTC, original submission:

no need to discriminate rport for ipv6 in _eXosip_request_add_via:

if (eXosip.eXtl->proto_family == AF_INET6)
{
if (eXosip.use_rport != 0)
snprintf (tmp, 200, "SIP/2.0/%s [%s]:%s;rport;branch=z9hG4bK%u",
eXosip.transport, ip, firewall_port, via_branch_new_random ());
else
snprintf (tmp, 200, "SIP/2.0/%s [%s]:%s;branch=z9hG4bK%u",
eXosip.transport, ip, firewall_port, via_branch_new_random ());
}
else
{
if (eXosip.use_rport != 0)
snprintf (tmp, 200, "SIP/2.0/%s %s:%s;rport;branch=z9hG4bK%u",
eXosip.transport, ip, firewall_port, via_branch_new_random ());
else
snprintf (tmp, 200, "SIP/2.0/%s %s:%s;branch=z9hG4bK%u",
eXosip.transport, ip, firewall_port, via_branch_new_random ());
}

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by aymeric (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 02 Jan 2013 12:54:49 PM UTCaymericOpen/ClosedOpen=>Closed
    Thu 21 Apr 2011 11:48:05 AM UTCaymericSeverity3 - Normal=>1 - Wish
      StatusNone=>Need Info
      Assigned toNone=>aymeric

    Back to the top


    Powered by Savane 3.1-cleanup