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]

 



Hi Alexei,

Thanks for the confirmation on the patch.

Also just updated pj_dump_config() as suggested in SVN trunk r5421.

BR,
nanang


On Wed, Aug 17, 2016 at 10:17 PM, Alexei Gradinari <alex2grad@xxxxxxxxx> wrote:
Hello Nanang,

Can confirm this patched fixed the issue.
Could you, please, add logging of the PJ_HAS_IPV6 in pj_dump_config.

Regards,
Alexei


Wednesday, August 17, 2016, 12:33:55 AM, you wrote:

Hi Alexei,

Finally have managed to reproduce the issue and test the patch here, the patch seems to work, so just checked in it (with slight modification) to SVN trunk for ticket
https://trac.pjsip.org/repos/ticket/1953.

BR,
nanang


On Tue, Aug 16, 2016 at 9:15 PM, Alexei Gradinari <
alex2grad@xxxxxxxxx> wrote:
Hello Nanang,

I tested on Linux when kernel compiled without IPv6
# CONFIG_IPV6 is not set

Regards,
Alexei


Tuesday, August 16, 2016, 2:45:58 AM, you 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




--
Best regards,
Alexei                            
mailto:alex2grad@xxxxxxxxx

_______________________________________________
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