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

 
 

bug #33105: rport for ipv6

Submitter:  None
Submitted:  Sun 17 Apr 2011 12:54:51 PM UTC
   
 
Category:  None Severity:  1 - Wish
Item Group:  None Status:  Need Info
Privacy:  Public Assigned to:  aymeric
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group administrator
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 Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-01-02 aymeric Open/ClosedOpen Closed
    2011-04-21 aymeric Severity3 - Normal 1 - Wish
        StatusNone Need Info
        Assigned toNone aymeric

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code