Skip to content

Disable IPv6 in PJSIP lib to prevent unwanted UDP socket listening on IPv6 addresses, REF 15132

Iryna Antsyferova requested to merge disable_ipv6 into asterisk_rdkb

Problem: asterisk always has opened udp port for IPv6. It is not possible to disable it via the configuration. The port is opened in pjsip library: ./pjproject/source/pjlib-util/src/pjlib-util/resolver.c: init_sock() { ... #if PJ_HAS_IPV6 /* Also setup IPv6 socket */ ... The port is used by DNS resolver, see ./res/res_pjsip/config_system.c system_create_resolver_and_set_nameservers()

Edited by Iryna Antsyferova

Merge request reports