Skip to content
This repository has been archived by the owner on Jul 12, 2023. It is now read-only.

Make networkInterfaces work with dual stack environments, add ipIgnoreList config #28

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Sep 16, 2020

  1. Make networkInterfaces work with dual stack environments, add ipIgnor…

    …eList
    
    This makes networkInterfaces dual stack compatible by removing the usage of nice_interfaces_get_ip_for_interface, which used ioctl and SIOCGIFADDR which are not AF_INET6 compatible
    
    This was done via glibc`s getifaddrs. The pitfall here is that, differently from ioctl, this fetches link local and private IPs from interfaces, which brought in the need of manually filtering link local addresses and the introduction of the ipIgnoreList configuration
    
    The ipIgnoreList config is a list of IP addresses (v4-6) to be ignored during the gathering phase. With that, you can prevent adding IPs from the desired interfaces you know are useless to libnice`s agent
    prlanzarin committed Sep 16, 2020
    Configuration menu
    Copy the full SHA
    298e454 View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2021

  1. Configuration menu
    Copy the full SHA
    fa0fb3c View commit details
    Browse the repository at this point in the history