1. 21 Oct, 2020 12 commits
  2. 20 Oct, 2020 1 commit
    • Johan Sternerup's avatar
      conncheck: Only valid stun messages used for Keepalive · 306d471a
      Johan Sternerup authored
      Previously, a STUN response for which there was no associated request
      would be considered valid media input and as such could keep a dead
      connection alive. If peer A was communicating with peer B and peer B got
      disconnected, the keepalive mechanism in peer A should detect this.
      However, a misbehaving STUN server could keep sending STUN responses to
      peer A which would then be considered a valid communication between A
      and B and thereby prevent the keepalive mechanism from shutting down the
      Situation above refers to a stun message validated as
      STUN_VALIDATION_UNMATCHED_RESPONSE. With this change only messages
      validated as STUN_VALIDATION_SUCCESS may keep the connection alive.
  3. 17 Sep, 2020 1 commit
    • Johan Sternerup's avatar
      agent: Enable both UDP and TCP to the same TURN server · 303f0179
      Johan Sternerup authored
      Previously if we enabled both UDP and TCP to the same TURN server, the
      TCP connection would not work. What happened was that when traffic was
      targeted at the TCP connection we would fail to route the traffic to
      the right socket due to a too early jump out of the loop searching for
      the socket. The search would stop when finding a TURN server matching
      the address of the incoming message source. Thus, a UDP TURN server
      with the same address as the TCP TURN server would effectively mean
      that traffic got routed to a different stun agent that would complain
      about receiving responses without matching requests.
  4. 20 Aug, 2020 1 commit
  5. 18 Aug, 2020 2 commits
  6. 13 Aug, 2020 1 commit
  7. 10 Aug, 2020 2 commits
  8. 04 Aug, 2020 4 commits
  9. 22 Jul, 2020 3 commits
  10. 09 Jul, 2020 5 commits
  11. 26 Jun, 2020 1 commit
  12. 25 Jun, 2020 1 commit
    • Nirbheek Chauhan's avatar
      stund: Use lowercase winsock2.h · aa055b36
      Nirbheek Chauhan authored
      Windows ships with `WinSock2.h` but mingw ships with `winsock2.h`.
      This is fine on Windows because files are case-insensitive, but on
      Linux it causes the compiler to not find the header.
      All other #includes are lowercase, so just use that.
  13. 15 Jun, 2020 2 commits
  14. 22 May, 2020 4 commits
    • Fabrice Bellet's avatar
      conncheck: add a check to move into the ready state after a pair failed · b67df589
      Fabrice Bellet authored
      This patch tries to move the component state from connected to ready in
      places where a pair may fail. Consequently, the final check done after
      the expiration of the idle timeout can be removed, assuming that
      transitions are done as soon as they occur.
      The only place where such a situation has been observed in a real world
      stress test is a 401 unauthorized stun error received in
      priv_map_reply_to_conn_check_request(), when the conncheck contains a
      local and a remote candidate, both of type host, with an identical IP
      address and port number (two boxes with a private network using the same
      subnet). In such a case, a stun request to the remote candidate will
      reach the local candidate instead, and will logically fail.
    • Olivier Crête's avatar
      gitignore: Remove in-tree built files · 866da5ee
      Olivier Crête authored
      Meson always does out of tree builds
    • Olivier Crête's avatar
      agent: Remove test that is not required · be989760
      Olivier Crête authored
      The stream and component pointers are always valid there.
    • Olivier Crête's avatar
      gitlab-ci: Put image at the top · 7a78ca4a
      Olivier Crête authored