<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix"><tt>Hi, Dave!<br>
<br>
Can you please open a pull request in github[1] with this fix?<br>
<br>
[1] <a class="moz-txt-link-freetext" href="https://github.com/OpenSIPS/opensips">https://github.com/OpenSIPS/opensips</a><br>
<br>
Thanks!<br>
</tt>
<pre class="moz-signature" cols="72">Răzvan Crainea
OpenSIPS Solutions
<a class="moz-txt-link-abbreviated" href="http://www.opensips-solutions.com">www.opensips-solutions.com</a></pre>
On 12/11/2014 05:40 PM, Sidwell, David wrote:<br>
</div>
<blockquote
cite="mid:5081FD9B4162084EB60F45CDC5CADC871D560E0B@neosphere"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have discovered a bug in the 1.11
RTPProxy Module when using IPv6 addressing.<o:p></o:p></p>
<p class="MsoNormal">When the command to RTPProxy is discovered
to contain an IPv6 address in “rtpproxy.c” function:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">“int force_rtp_proxy_body(struct sip_msg*
msg, struct force_rtpp_args *args, pv_spec_p var)”<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The option “6” is appended to the options
being passed to RTP Proxy, however the length component within
the I/O vector is not increased.<o:p></o:p></p>
<p class="MsoNormal">Therefore the option is not detected by the
RTPProxy process and the IPv6 is not preloaded which can
result in an RTP Proxy deadlock.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">@Line 3725 (rtpproxy.c)<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"> /* XXX must compare address
families in all addresses */<o:p></o:p></p>
<p class="MsoNormal"> if (pf == AF_INET6) {<o:p></o:p></p>
<p class="MsoNormal"> if (append_opts(&opts,
'6') == -1) {<o:p></o:p></p>
<p class="MsoNormal"> LM_ERR("out of pkg
memory\n");<o:p></o:p></p>
<p class="MsoNormal"> goto error;<o:p></o:p></p>
<p class="MsoNormal"> }<o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:Wingdings">è</span>
//DAVES - Accommodate new opts length<o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:Wingdings">è</span>
v[1].iov_len++;<o:p></o:p></p>
<p class="MsoNormal"> }<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have currently added the above change to
my opensips source code in order to work past this problem.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Regards.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Dave<o:p></o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>