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

Sergey Popov noreply at github.com
Thu Mar 11 14:21:35 UTC 2021


  Branch: refs/heads/tls_wip
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 909b5eedd275fe7a516c6e0c6d37a68b626f6143
      https://github.com/wesnoth/wesnoth/commit/909b5eedd275fe7a516c6e0c6d37a68b626f6143
  Author: loonycyborg <loonycyborg at gmail.com>
  Date:   2021-03-11 (Thu, 11 Mar 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: 329bbb4e1ffd4ffbfda179c83adf5bbce268d361
      https://github.com/wesnoth/wesnoth/commit/329bbb4e1ffd4ffbfda179c83adf5bbce268d361
  Author: loonycyborg <loonycyborg at gmail.com>
  Date:   2021-03-11 (Thu, 11 Mar 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: 172b24d6f3ba2bafe32d2e0644c78b1178bcd7c5
      https://github.com/wesnoth/wesnoth/commit/172b24d6f3ba2bafe32d2e0644c78b1178bcd7c5
  Author: loonycyborg <loonycyborg at gmail.com>
  Date:   2021-03-11 (Thu, 11 Mar 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: 144b42474d2cc10b648912047e998cc74e51f302
      https://github.com/wesnoth/wesnoth/commit/144b42474d2cc10b648912047e998cc74e51f302
  Author: loonycyborg <loonycyborg at gmail.com>
  Date:   2021-03-11 (Thu, 11 Mar 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: 2a121a7e134e33e7f863c3398f9b794fd126c9b0
      https://github.com/wesnoth/wesnoth/commit/2a121a7e134e33e7f863c3398f9b794fd126c9b0
  Author: loonycyborg <loonycyborg at gmail.com>
  Date:   2021-03-11 (Thu, 11 Mar 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: abb3d5d22d1a231b66272ab7398ef8faafe0a883
      https://github.com/wesnoth/wesnoth/commit/abb3d5d22d1a231b66272ab7398ef8faafe0a883
  Author: loonycyborg <loonycyborg at gmail.com>
  Date:   2021-03-11 (Thu, 11 Mar 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: 68ee930a1f641eef0da1b98572c71083f5358a05
      https://github.com/wesnoth/wesnoth/commit/68ee930a1f641eef0da1b98572c71083f5358a05
  Author: loonycyborg <loonycyborg at gmail.com>
  Date:   2021-03-11 (Thu, 11 Mar 2021)

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

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


  Commit: 2c0892379c11205a7214775b3fbef01c2dfd3c80
      https://github.com/wesnoth/wesnoth/commit/2c0892379c11205a7214775b3fbef01c2dfd3c80
  Author: loonycyborg <loonycyborg at gmail.com>
  Date:   2021-03-11 (Thu, 11 Mar 2021)

  Changed paths:
    M src/wesnothd_connection.cpp

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


  Commit: 15038022e0e843fd29620e431b70692f82093d17
      https://github.com/wesnoth/wesnoth/commit/15038022e0e843fd29620e431b70692f82093d17
  Author: loonycyborg <loonycyborg at gmail.com>
  Date:   2021-03-11 (Thu, 11 Mar 2021)

  Changed paths:
    M src/wesnothd_connection.cpp

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


  Commit: ed1342f4e627540528c355ee62570f685dfb2a9b
      https://github.com/wesnoth/wesnoth/commit/ed1342f4e627540528c355ee62570f685dfb2a9b
  Author: loonycyborg <loonycyborg at gmail.com>
  Date:   2021-03-11 (Thu, 11 Mar 2021)

  Changed paths:
    M src/wesnothd_connection.cpp

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


  Commit: 719c17ff438df18d6dede9bd3ca00fbefd684709
      https://github.com/wesnoth/wesnoth/commit/719c17ff438df18d6dede9bd3ca00fbefd684709
  Author: loonycyborg <loonycyborg at gmail.com>
  Date:   2021-03-11 (Thu, 11 Mar 2021)

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

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


  Commit: 3b92e28232fd2b13cfebd3dd853f5dafbeaf623f
      https://github.com/wesnoth/wesnoth/commit/3b92e28232fd2b13cfebd3dd853f5dafbeaf623f
  Author: loonycyborg <loonycyborg at gmail.com>
  Date:   2021-03-11 (Thu, 11 Mar 2021)

  Changed paths:
    M src/wesnothd_connection.cpp

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


  Commit: 791a44455eaee64b43aabca798c00da54626c11a
      https://github.com/wesnoth/wesnoth/commit/791a44455eaee64b43aabca798c00da54626c11a
  Author: loonycyborg <loonycyborg at gmail.com>
  Date:   2021-03-11 (Thu, 11 Mar 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: bb18675314138b7939058049cf91db3094cbb6a1
      https://github.com/wesnoth/wesnoth/commit/bb18675314138b7939058049cf91db3094cbb6a1
  Author: loonycyborg <loonycyborg at gmail.com>
  Date:   2021-03-11 (Thu, 11 Mar 2021)

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

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


  Commit: 798618d7cc00e49f32bb6fea21ffc5978b681ee3
      https://github.com/wesnoth/wesnoth/commit/798618d7cc00e49f32bb6fea21ffc5978b681ee3
  Author: loonycyborg <loonycyborg at gmail.com>
  Date:   2021-03-11 (Thu, 11 Mar 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: 78de7294b670d072119443a0c6ac54ad4259651f
      https://github.com/wesnoth/wesnoth/commit/78de7294b670d072119443a0c6ac54ad4259651f
  Author: loonycyborg <loonycyborg at gmail.com>
  Date:   2021-03-11 (Thu, 11 Mar 2021)

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

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


  Commit: 80e90f00406c238559c47d6adcd4e2b577ce10d6
      https://github.com/wesnoth/wesnoth/commit/80e90f00406c238559c47d6adcd4e2b577ce10d6
  Author: loonycyborg <loonycyborg at gmail.com>
  Date:   2021-03-11 (Thu, 11 Mar 2021)

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

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


  Commit: e14578ded2d8f670737e8498195ee370604aea1f
      https://github.com/wesnoth/wesnoth/commit/e14578ded2d8f670737e8498195ee370604aea1f
  Author: loonycyborg <loonycyborg at gmail.com>
  Date:   2021-03-11 (Thu, 11 Mar 2021)

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

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


  Commit: 35abcebd3298b9c4823c5c26cbeb8b1cdffcfa1b
      https://github.com/wesnoth/wesnoth/commit/35abcebd3298b9c4823c5c26cbeb8b1cdffcfa1b
  Author: loonycyborg <loonycyborg at gmail.com>
  Date:   2021-03-11 (Thu, 11 Mar 2021)

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

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


  Commit: 9e4543451133209ed2915c7b7920c97ef4c52c52
      https://github.com/wesnoth/wesnoth/commit/9e4543451133209ed2915c7b7920c97ef4c52c52
  Author: loonycyborg <loonycyborg at gmail.com>
  Date:   2021-03-11 (Thu, 11 Mar 2021)

  Changed paths:
    M src/server/common/forum_user_handler.hpp
    M src/wesnothd_connection.hpp

  Log Message:
  -----------
  Fix out-of=date doxygen comments


  Commit: dd0a32264f88169c5427d8a9189579236a41d80d
      https://github.com/wesnoth/wesnoth/commit/dd0a32264f88169c5427d8a9189579236a41d80d
  Author: loonycyborg <loonycyborg at gmail.com>
  Date:   2021-03-11 (Thu, 11 Mar 2021)

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

  Log Message:
  -----------
  Hold sockets in unique_ptrs to avoid the need for variant::emplace()


  Commit: 1164cd655713eb9e5ea8c63e22d4f7dc79f57101
      https://github.com/wesnoth/wesnoth/commit/1164cd655713eb9e5ea8c63e22d4f7dc79f57101
  Author: loonycyborg <loonycyborg at gmail.com>
  Date:   2021-03-11 (Thu, 11 Mar 2021)

  Changed paths:
    M CMakeLists.txt
    M SConstruct
    M src/network_asio.cpp
    M src/network_asio.hpp
    M src/wesnothd_connection.cpp
    M src/wesnothd_connection.hpp

  Log Message:
  -----------
  Drop compatibility for boost 1.65


Compare: https://github.com/wesnoth/wesnoth/compare/a73af6557157...1164cd655713



More information about the Commits mailing list