Re: [bug] PJSIP 2.5.5 with PJ_HAS_IPV6=1: pjsip_endpt_create_resolver failed on system without IPv6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I can test.  I ran into this issue yesterday.  If it's the same error, it happened for me when the name server returned a normal response for the A record but a SERVER FAIL response for the AAAA record.  In this case we got "dns not working" failures from pjproject.


On Tue, Aug 16, 2016 at 12:45 AM, Nanang Izzuddin <nanang@xxxxxxxxx> wrote:
Hi Alexei,

Thank you for the report. The bug sounds valid, unfortunately I could not reproduce the issue on Windows 10 and Linux, have tried to manually disable IPv6 but still init_sock() did not fail (perhaps IPv6 loopback interface is still up). So I am afraid we'd need some more help to test the attached patch, thanks again in advance.

BR,
nanang


On Wed, Aug 10, 2016 at 4:20 AM, Alexei Gradinari <alex2grad@xxxxxxxxx> wrote:
Hello,

The function init_sock at pjlib-util/src/pjlib-util/resolver.c
should check if the IPv6 is available instead of return an error.

Regards,
Alexei


_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org


_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org




--
George Joseph
Digium, Inc. | Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org

_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux