<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    thanks for the patch. It is now committed in master branch.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 2/20/13 4:03 PM, Simon Perreault
      wrote:<br>
    </div>
    <blockquote cite="mid:5124E5AF.7010503@viagenie.ca" type="cite">Hello,
      <br>
      <br>
      The current DNS code checks, when making an A query, whether the
      name is in fact an IPv4 address literal. Same for AAAA query with
      IPv6 address literal. This is good.
      <br>
      <br>
      However, nothing prevents A queries for IPv6 address literals or
      AAAA queries for IPv4 address literals. This is wrong.
      <br>
      <br>
      Here's the bug in action (anonymized to protect the innocent):
      <br>
      <br>
      <blockquote type="cite">1.2.3.4 -&gt; 5.6.7.8 SIP 830 Request: ACK
        <a class="moz-txt-link-freetext" href="sip:foobar@9.10.11.12:5060;transport=udp">sip:foobar@9.10.11.12:5060;transport=udp</a>
        <br>
        5.6.7.8 -&gt; 1.2.3.4 DNS 72 Standard query AAAA 9.10.11.12
        <br>
      </blockquote>
      <br>
      Attached is a simple patch to fix the bug (of which there are
      three distinct instances).
      <br>
      <br>
      Comments?
      <br>
      <br>
      Simon
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
sr-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-dev@lists.sip-router.org">sr-dev@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio World Conference, April 16-17, 2013, Berlin
 - <a class="moz-txt-link-freetext" href="http://conference.kamailio.com">http://conference.kamailio.com</a> -</pre>
  </body>
</html>