1. 27 Jun, 2019 6 commits
    • 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
  2. 26 Jun, 2019 2 commits
  3. 05 Jun, 2019 2 commits
  4. 29 May, 2019 1 commit
  5. 20 May, 2019 1 commit
  6. 10 May, 2019 1 commit
  7. 09 May, 2019 10 commits
  8. 08 May, 2019 1 commit
  9. 05 Apr, 2019 2 commits
  10. 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
  11. 08 Mar, 2019 7 commits
  12. 05 Mar, 2019 1 commit
  13. 15 Feb, 2019 1 commit
  14. 12 Feb, 2019 1 commit
  15. 11 Feb, 2019 1 commit
  16. 29 Jan, 2019 2 commits
    • Olivier Crête's avatar
      turn: Allow lifetimes under 60s · 602d48c4
      Olivier Crête authored
      Don't set a timeout to the very far future if the lifetime sent  by the
      server is under 60s. Instead of doing "lifetime - 60", switch to lifetime/2.
      602d48c4
    • Jakub Adam's avatar
      component_io_cb: Avoid potential deadlock · 047455fe
      Jakub Adam authored
      Don't unref NiceAgent while holding agent mutex. If it's the last
      reference, nice_agent_dispose() will try to acquire the mutex again and
      deadlock.
      047455fe