1. 11 Jul, 2019 1 commit
    • Fabrice Bellet's avatar
      conncheck: nominate matching pairs across components and streams · 1e40ee6d
      Fabrice Bellet authored
      The current valid pair nomination makes no effort to select pairs that
      could have some similarities across different components and different
      streams. This is normally not required by the RFC8445, but some well
      known applications will misbehave when the libnice agent is in this
      position to choose the nominated pairs (regular nomination mode, and
      controlling mode) and if it makes an unexpected choice from the peer
      point-of-view.
      
      This patch improves the stopping criterion and the selection of the
      preferred pair to nominate in that case.
      
      When no other pair has been nominated yet (across all streams), the
      previous stopping criterion still applies, and the best ranked pair of
      the checklist is selected.
      
      When a nominated pair exists from another component, we try to nominate
      a pair of the same kind (same local and remote addresses and same
      transport) if we have one, and possibly the best pair we have in the
      checklist, and else we look for a nominated pair from another stream.
      1e40ee6d
  2. 04 Jul, 2019 24 commits
  3. 03 Jul, 2019 1 commit
  4. 02 Jul, 2019 1 commit
    • Olivier Crête's avatar
      agent: add nice_agent_get_sockets API · 875a23a7
      Olivier Crête authored
      This API makes it possible to get an array of all of the sockets used
      by a specific component, this is useful to set options on the socket.
      
      Also bump GLib requirement to 2.54, which is the version in RHEL 7
      875a23a7
  5. 27 Jun, 2019 8 commits
    • Fabrice Bellet's avatar
      b9985474
    • Stefan Becker's avatar
      build: add default ignore network interface prefix · 099ff65c
      Stefan Becker authored
      By default libnice now ignores network interfaces from virtual machines
      and containers, i.e. names that start with "docker", "veth", "virbr" and
      "vnet".
      
      If you want to disable this feature override the default with
      
             ./configure --without-ignored-network-interface-prefix ...
             ./configure --with-ignored-network-interface-prefix= ...
             meson setup -D ignored-network-interface-prefix= ...
             meson setup -D ignored-network-interface-prefix=[] ...
      099ff65c
    • Stefan Becker's avatar
      configure: support --without-ignored-network-interface-prefix · 056de4ae
      Stefan Becker authored
      This fixes commit b4abda09
      
      --without-XXX sets $withval to "no", hence we must check for this special
      value instead of ignoring network interfaces that start with "no".
      056de4ae
    • Stefan Becker's avatar
      build: make prefix option accept a list of strings · d4bc4fa3
      Stefan Becker authored
      The parameter for the ignored network interface prefix build option
      accepts a comma-separated string now. This list will be converted to a
      comma-separated list of string literals for the C code.
      
      Disable the feature:
      
         ./configure ...
         ./configure --with-ignored-network-interface-prefix= ...
         meson setup -D ignored-network-interface-prefix= ...
         meson setup -D ignored-network-interface-prefix=[] ...
      
      Ignore interfaces whose names start with "virbr":
      
         ./configure --with-ignored-network-interface-prefix=virbr ...
         meson setup -D ignored-network-interface-prefix=virbr ...
      
      Ignore interfaces whose names start with "virbr" or "veth":
      
         ./configure --with-ignored-network-interface-prefix=virbr,veth ...
         meson setup -D ignored-network-interface-prefix=virbr,veth ...
      d4bc4fa3
    • Stefan Becker's avatar
      interfaces: allow list of ignored prefixes · 7b4b46f9
      Stefan Becker authored
      Improve on commit b4abda09
      
      Instead of checking one prefix, check against a list of prefixes. This
      allows libnice to be configured to ignore interfaces from virtual
      machines and containers.
      7b4b46f9
    • Stefan Becker's avatar
      interfaces: ignore non-running interfaces · 0245565e
      Stefan Becker authored
      Check for IFF_UP and IFF_RUNNING flags on the interface.
      0245565e
    • Stefan Becker's avatar
      tests: ignore trickle executables · ac4149c3
      Stefan Becker authored
      This fixes commit 9afd0c8b
      ac4149c3
    • Stefan Becker's avatar
      interfaces: detect IPv6 ULA & link-local addresses · e920a995
      Stefan Becker authored
      Update nice_interfaces_is_private_ip() to handle IPv6 too:
      
      - unique local address block: fc00::/7
      - link-local address block:   fe80::/10
      e920a995
  6. 26 Jun, 2019 2 commits
  7. 05 Jun, 2019 2 commits
  8. 29 May, 2019 1 commit