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

Sergey Popov noreply at github.com
Sat Feb 13 16:33:32 UTC 2021


  Branch: refs/heads/tls_wip
  Home:   https://github.com/wesnoth/wesnoth
  Commit: e7df72cafde98ab0eb2bc4b56aee2e88738acf03
      https://github.com/wesnoth/wesnoth/commit/e7df72cafde98ab0eb2bc4b56aee2e88738acf03
  Author: loonycyborg <loonycyborg at gmail.com>
  Date:   2021-02-13 (Sat, 13 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: 503652212a011bf3861c3e1eefdf966223ce543c
      https://github.com/wesnoth/wesnoth/commit/503652212a011bf3861c3e1eefdf966223ce543c
  Author: loonycyborg <loonycyborg at gmail.com>
  Date:   2021-02-13 (Sat, 13 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: a2115bd5f0019cffe82c33ff579987c6ed8d1c19
      https://github.com/wesnoth/wesnoth/commit/a2115bd5f0019cffe82c33ff579987c6ed8d1c19
  Author: loonycyborg <loonycyborg at gmail.com>
  Date:   2021-02-13 (Sat, 13 Feb 2021)

  Changed paths:
    M src/game_initialization/multiplayer.cpp
    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: a38198e2af271c6e946dc0f5d57f606d8a444d28
      https://github.com/wesnoth/wesnoth/commit/a38198e2af271c6e946dc0f5d57f606d8a444d28
  Author: loonycyborg <loonycyborg at gmail.com>
  Date:   2021-02-13 (Sat, 13 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: 04859de01c74730d3864a14b3a237d0b5634be46
      https://github.com/wesnoth/wesnoth/commit/04859de01c74730d3864a14b3a237d0b5634be46
  Author: loonycyborg <loonycyborg at gmail.com>
  Date:   2021-02-13 (Sat, 13 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: 485a45663709633759816114dc6affc3485c642f
      https://github.com/wesnoth/wesnoth/commit/485a45663709633759816114dc6affc3485c642f
  Author: loonycyborg <loonycyborg at gmail.com>
  Date:   2021-02-13 (Sat, 13 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: 9cc190ec079eabd97080594c68375fe5e0c07ed4
      https://github.com/wesnoth/wesnoth/commit/9cc190ec079eabd97080594c68375fe5e0c07ed4
  Author: loonycyborg <loonycyborg at gmail.com>
  Date:   2021-02-13 (Sat, 13 Feb 2021)

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

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


  Commit: adf3b5b1667a2c8b267d255289a836e050303121
      https://github.com/wesnoth/wesnoth/commit/adf3b5b1667a2c8b267d255289a836e050303121
  Author: loonycyborg <loonycyborg at gmail.com>
  Date:   2021-02-13 (Sat, 13 Feb 2021)

  Changed paths:
    M src/wesnothd_connection.cpp

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


  Commit: baa52cb8c1223a3482d33a592219fa955bfaa0f4
      https://github.com/wesnoth/wesnoth/commit/baa52cb8c1223a3482d33a592219fa955bfaa0f4
  Author: loonycyborg <loonycyborg at gmail.com>
  Date:   2021-02-13 (Sat, 13 Feb 2021)

  Changed paths:
    M src/wesnothd_connection.cpp

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


  Commit: c95a381d3995aa0240b730e6972bb19c85a34ed5
      https://github.com/wesnoth/wesnoth/commit/c95a381d3995aa0240b730e6972bb19c85a34ed5
  Author: loonycyborg <loonycyborg at gmail.com>
  Date:   2021-02-13 (Sat, 13 Feb 2021)

  Changed paths:
    M src/wesnothd_connection.cpp

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


  Commit: df4d37e30a7d530ea6b6c5c6e2df0ad11f6637a1
      https://github.com/wesnoth/wesnoth/commit/df4d37e30a7d530ea6b6c5c6e2df0ad11f6637a1
  Author: loonycyborg <loonycyborg at gmail.com>
  Date:   2021-02-13 (Sat, 13 Feb 2021)

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

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


  Commit: 83f2ef8ed76a15b433fe73b94abe059abe25d4be
      https://github.com/wesnoth/wesnoth/commit/83f2ef8ed76a15b433fe73b94abe059abe25d4be
  Author: loonycyborg <loonycyborg at gmail.com>
  Date:   2021-02-13 (Sat, 13 Feb 2021)

  Changed paths:
    M src/wesnothd_connection.cpp

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


Compare: https://github.com/wesnoth/wesnoth/compare/d61be7df8526...83f2ef8ed76a



More information about the Commits mailing list