[wesnoth-commits] [wesnoth/wesnoth] 0896b5: Add TLS codepath to server_base

Sergey Popov noreply at github.com
Tue Feb 23 22:38:43 UTC 2021


  Branch: refs/heads/tls_wip
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 0896b5c34ae438cc255b960caee7f7ef0d029d99
      https://github.com/wesnoth/wesnoth/commit/0896b5c34ae438cc255b960caee7f7ef0d029d99
  Author: loonycyborg <loonycyborg at gmail.com>
  Date:   2021-02-24 (Wed, 24 Feb 2021)

  Changed paths:
    M SConstruct
    M src/server/campaignd/server.cpp
    M src/server/common/server_base.cpp
    M src/server/common/server_base.hpp
    M src/server/wesnothd/server.cpp
    M src/server/wesnothd/server.hpp

  Log Message:
  -----------
  Add TLS codepath to server_base


  Commit: 787e14e66d4cc200ad0d283bd7dcdba3fcb4c159
      https://github.com/wesnoth/wesnoth/commit/787e14e66d4cc200ad0d283bd7dcdba3fcb4c159
  Author: loonycyborg <loonycyborg at gmail.com>
  Date:   2021-02-24 (Wed, 24 Feb 2021)

  Changed paths:
    M src/server/common/forum_user_handler.cpp
    M src/server/common/forum_user_handler.hpp
    M src/server/common/server_base.cpp
    M src/server/common/server_base.hpp
    M src/server/common/user_handler.hpp
    M src/server/wesnothd/game.cpp
    M src/server/wesnothd/player_connection.hpp
    M src/server/wesnothd/server.cpp
    M src/server/wesnothd/server.hpp

  Log Message:
  -----------
  Implement support in wesnothd to handle both unencrypted and TLS sockets


  Commit: 035876da04d8c073a94b811636e8e12de3be739f
      https://github.com/wesnoth/wesnoth/commit/035876da04d8c073a94b811636e8e12de3be739f
  Author: loonycyborg <loonycyborg at gmail.com>
  Date:   2021-02-24 (Wed, 24 Feb 2021)

  Changed paths:
    M src/server/common/server_base.cpp
    M src/wesnothd_connection.cpp
    M src/wesnothd_connection.hpp

  Log Message:
  -----------
  Add TLS support to multiplayer client


  Commit: de8efbdcf6f8b13d5242543f2e398010160e3912
      https://github.com/wesnoth/wesnoth/commit/de8efbdcf6f8b13d5242543f2e398010160e3912
  Author: loonycyborg <loonycyborg at gmail.com>
  Date:   2021-02-24 (Wed, 24 Feb 2021)

  Changed paths:
    M src/wesnothd_connection.cpp

  Log Message:
  -----------
  Prevent hang in case of connecting to old server not supporting new handshake value


  Commit: f450566347eaa7267a50a95a3a352a0c4235f282
      https://github.com/wesnoth/wesnoth/commit/f450566347eaa7267a50a95a3a352a0c4235f282
  Author: loonycyborg <loonycyborg at gmail.com>
  Date:   2021-02-24 (Wed, 24 Feb 2021)

  Changed paths:
    M src/wesnothd_connection.cpp
    M src/wesnothd_connection.hpp

  Log Message:
  -----------
  Implemented auto-fallback for servers that don't support TLS


  Commit: 32a94f42a148499719cd16978ba4f23cc0bfe202
      https://github.com/wesnoth/wesnoth/commit/32a94f42a148499719cd16978ba4f23cc0bfe202
  Author: loonycyborg <loonycyborg at gmail.com>
  Date:   2021-02-24 (Wed, 24 Feb 2021)

  Changed paths:
    M src/server/common/server_base.cpp
    M src/wesnothd_connection.cpp

  Log Message:
  -----------
  Avoid extra reconnect when connecting to server with TLS disabled


  Commit: da6ac1e416bc061208df7a85db892f8f9065ff8c
      https://github.com/wesnoth/wesnoth/commit/da6ac1e416bc061208df7a85db892f8f9065ff8c
  Author: loonycyborg <loonycyborg at gmail.com>
  Date:   2021-02-24 (Wed, 24 Feb 2021)

  Changed paths:
    M src/server/common/server_base.cpp

  Log Message:
  -----------
  Fixed type check in if constexpr


  Commit: 287b03b739deeb271073a3a440b5708ca8629319
      https://github.com/wesnoth/wesnoth/commit/287b03b739deeb271073a3a440b5708ca8629319
  Author: loonycyborg <loonycyborg at gmail.com>
  Date:   2021-02-24 (Wed, 24 Feb 2021)

  Changed paths:
    M src/wesnothd_connection.cpp

  Log Message:
  -----------
  Don't use TLS for explicitly specified ip adresses


  Commit: f8b026fec72127384dd31fef2438a4057248a27d
      https://github.com/wesnoth/wesnoth/commit/f8b026fec72127384dd31fef2438a4057248a27d
  Author: loonycyborg <loonycyborg at gmail.com>
  Date:   2021-02-24 (Wed, 24 Feb 2021)

  Changed paths:
    M src/wesnothd_connection.cpp

  Log Message:
  -----------
  Don't use TLS for connections to loopback addresses


  Commit: e392f3636a3a875b4f581fc2e9b9060e9646e11d
      https://github.com/wesnoth/wesnoth/commit/e392f3636a3a875b4f581fc2e9b9060e9646e11d
  Author: loonycyborg <loonycyborg at gmail.com>
  Date:   2021-02-24 (Wed, 24 Feb 2021)

  Changed paths:
    M src/wesnothd_connection.cpp

  Log Message:
  -----------
  Properly shut down client connection preventing TLS tuncation


  Commit: 62cfe2c141659a1abc7fd7e4c930a22db4d584bd
      https://github.com/wesnoth/wesnoth/commit/62cfe2c141659a1abc7fd7e4c930a22db4d584bd
  Author: loonycyborg <loonycyborg at gmail.com>
  Date:   2021-02-24 (Wed, 24 Feb 2021)

  Changed paths:
    M src/server/wesnothd/server.cpp

  Log Message:
  -----------
  Avoid TLS truncation in user kick operation


  Commit: 55726580928d3e9a5f6688c4fa1998bd98ef3d6a
      https://github.com/wesnoth/wesnoth/commit/55726580928d3e9a5f6688c4fa1998bd98ef3d6a
  Author: loonycyborg <loonycyborg at gmail.com>
  Date:   2021-02-24 (Wed, 24 Feb 2021)

  Changed paths:
    M src/wesnothd_connection.cpp

  Log Message:
  -----------
  Made use of utils::get_if


  Commit: dedfa56b9f4caaa86c32476597acd8b313e2fcb3
      https://github.com/wesnoth/wesnoth/commit/dedfa56b9f4caaa86c32476597acd8b313e2fcb3
  Author: loonycyborg <loonycyborg at gmail.com>
  Date:   2021-02-24 (Wed, 24 Feb 2021)

  Changed paths:
    M src/server/campaignd/server.cpp
    M src/server/campaignd/server.hpp
    M src/server/common/server_base.cpp

  Log Message:
  -----------
  Add TLS support to campaignd


  Commit: 8dfced0e95e665e35b0866483b43a9c7ece0f2e5
      https://github.com/wesnoth/wesnoth/commit/8dfced0e95e665e35b0866483b43a9c7ece0f2e5
  Author: loonycyborg <loonycyborg at gmail.com>
  Date:   2021-02-24 (Wed, 24 Feb 2021)

  Changed paths:
    M src/network_asio.cpp
    M src/network_asio.hpp

  Log Message:
  -----------
  Add TLS support to addon client


  Commit: b3adb9cd55db76ef14d6b8cd71249150226cae7d
      https://github.com/wesnoth/wesnoth/commit/b3adb9cd55db76ef14d6b8cd71249150226cae7d
  Author: loonycyborg <loonycyborg at gmail.com>
  Date:   2021-02-24 (Wed, 24 Feb 2021)

  Changed paths:
    M src/server/campaignd/server.cpp
    M src/server/common/server_base.cpp

  Log Message:
  -----------
  Add userspace codepath for coro_send_file


  Commit: c29b464bf9c13ad6e08df8b2d80fd7a302de65a6
      https://github.com/wesnoth/wesnoth/commit/c29b464bf9c13ad6e08df8b2d80fd7a302de65a6
  Author: loonycyborg <loonycyborg at gmail.com>
  Date:   2021-02-24 (Wed, 24 Feb 2021)

  Changed paths:
    M src/server/campaignd/server.cpp

  Log Message:
  -----------
  Add TLS marker to campaignd's log output


  Commit: 0431b844954e2b9342be51e7f3406cdee9d62d32
      https://github.com/wesnoth/wesnoth/commit/0431b844954e2b9342be51e7f3406cdee9d62d32
  Author: loonycyborg <loonycyborg at gmail.com>
  Date:   2021-02-24 (Wed, 24 Feb 2021)

  Changed paths:
    M src/network_asio.cpp
    M src/wesnothd_connection.cpp

  Log Message:
  -----------
  Fix build with boost < 1.73


  Commit: d3d0262f6e307fc8aff7caa083b6b4d2b03e94f0
      https://github.com/wesnoth/wesnoth/commit/d3d0262f6e307fc8aff7caa083b6b4d2b03e94f0
  Author: loonycyborg <loonycyborg at gmail.com>
  Date:   2021-02-24 (Wed, 24 Feb 2021)

  Changed paths:
    M CMakeLists.txt
    M src/CMakeLists.txt

  Log Message:
  -----------
  Fix cmake build


  Commit: 0fa05f99681b8aed6a5ac462c14f9a6eeacfe599
      https://github.com/wesnoth/wesnoth/commit/0fa05f99681b8aed6a5ac462c14f9a6eeacfe599
  Author: loonycyborg <loonycyborg at gmail.com>
  Date:   2021-02-24 (Wed, 24 Feb 2021)

  Changed paths:
    M src/server/campaignd/server.cpp

  Log Message:
  -----------
  Made use of utils::holds_alternative


Compare: https://github.com/wesnoth/wesnoth/compare/1fa1ff9ee287...0fa05f99681b



More information about the Commits mailing list