1. 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
  2. 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
  3. 26 Jun, 2019 2 commits
  4. 05 Jun, 2019 2 commits
  5. 29 May, 2019 1 commit
  6. 20 May, 2019 1 commit
  7. 10 May, 2019 1 commit
  8. 09 May, 2019 10 commits
  9. 08 May, 2019 1 commit
  10. 05 Apr, 2019 2 commits
  11. 11 Mar, 2019 1 commit
    • Jakub Adam's avatar
      component: Fix use-after-free · 541801d4
      Jakub Adam authored
      conn_check_prune_socket() was trying to access deleted NiceCandidate
      instance. Prune the socket before removing the candidate.
      
      Closes #73
      541801d4
  12. 08 Mar, 2019 7 commits
  13. 05 Mar, 2019 1 commit
  14. 15 Feb, 2019 1 commit
  15. 12 Feb, 2019 1 commit