1. 21 Oct, 2020 1 commit
  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
      connection.
      
      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.
      306d471a
  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.
      303f0179
  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.
      aa055b36
  13. 15 Jun, 2020 2 commits
  14. 22 May, 2020 15 commits