< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index Next in Thread >

Re: [reSIProcate] resip, ares, and IPv6


        The ares code in resip is a fork of the original (and defunct) ares, as 
I understand it. c-ares is also a fork of the original ares project, and there 
was some work on resip a while back to make it compatible with c-ares 1.6. I am 
not sure how easy it would be to rebase our resip-ares code on the latest 
c-ares, but it is probably a good thing to do.

Best regards,
Byron Campen

> I haven't tried it, no ..
> 
> Though I did notice on the c-ares page that IPv6 support was recently added.
> 
> I'm kind of new to this area, what is the history around ares vs. c-ares
> anyways? Is c-ares a fork? Do you think it would be easily integratable
> with resip?
> 
> And what happened to vanilla ares? I can't find a webpage anywhere..
> 
> 
> On 11-05-10 08:53 PM, Byron Campen wrote:
>>      Have you tried with c-ares? I know that you guys need the modifications 
>> in contrib/ares, but maybe we can patch up the most recent c-ares to suit 
>> your needs.
>> 
>> Best regards,
>> Byron Campen
>> 
>>> Hello,
>>> 
>>> I recently found a problem with our version of ares which is used by
>>> resip. I'll try to explain.
>>> 
>>> I am working on IPv6 testcases. One of my testcases involves switching
>>> off IPv4 stack support and going to IPv6 only configuration.
>>> 
>>> When I do this, I notice that ares does not recognize any DNS servers
>>> which are configured for IPv6.
>>> 
>>> After a lengthy debugging session, I traced the fault to a method
>>> "init_by_default" inside of ares_init.c. In that method, the technique
>>> of calling "GetNetworkParams" is used in order to query windows for its
>>> DNS configuration. But, as the following website suggests:
>>> 
>>> http://www.winsocketdotnetworkprogramming.com/winsock2programming/winsock2advancediphelperfunction13.html
>>> 
>>> The GetNetworkParams probably does not return IPv6 related configuration
>>> information. Instead, they recommend using GetAdaptersAddresses() instead.
>>> 
>>> So, I'm wondering if anyone else has found this problem, if there is a
>>> patch that was submitted, or .. if there is just a newer version of ares
>>> somewhere that we need to update to?
>>> 
>>> Awaiting your advice,
>>> -- 
>>> David Stuart, CounterPath
>>> Email: dstuart (at) counterpath (dot) com
>>> Phone: (613) 254-8886 x2234  Web: http://www.counterpath.com/
>>> Address: 310 - 350 Terry Fox Drive, Kanata Ontario, K2K 2P5
>>> _______________________________________________
>>> resiprocate-devel mailing list
>>> resiprocate-devel@xxxxxxxxxxxxxxx
>>> https://list.resiprocate.org/mailman/listinfo/resiprocate-devel
>> 
> 
> -- 
> David Stuart, CounterPath
> Email: dstuart (at) counterpath (dot) com
> Phone: (613) 254-8886 x2234  Web: http://www.counterpath.com/
> Address: 310 - 350 Terry Fox Drive, Kanata Ontario, K2K 2P5