[wesnoth-commits] [wesnoth/wesnoth] c8f358: Add TLS codepath to server_base
Sergey Popov
noreply at github.com
Thu Mar 18 20:55:54 UTC 2021
Branch: refs/heads/tls_wip
Home: https://github.com/wesnoth/wesnoth
Commit: c8f35851bda47c767f477c2642f39515e6e54f7c
https://github.com/wesnoth/wesnoth/commit/c8f35851bda47c767f477c2642f39515e6e54f7c
Author: loonycyborg <loonycyborg at gmail.com>
Date: 2021-03-18 (Thu, 18 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: 079208be497452f68097d47c20dd436ca367c04c
https://github.com/wesnoth/wesnoth/commit/079208be497452f68097d47c20dd436ca367c04c
Author: loonycyborg <loonycyborg at gmail.com>
Date: 2021-03-18 (Thu, 18 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: de2fb2ab404c4454ea0c4ebf15bbf673c7a93303
https://github.com/wesnoth/wesnoth/commit/de2fb2ab404c4454ea0c4ebf15bbf673c7a93303
Author: loonycyborg <loonycyborg at gmail.com>
Date: 2021-03-18 (Thu, 18 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: 2867c3df6d1fe2f10d033fc4cd3e99354887cc54
https://github.com/wesnoth/wesnoth/commit/2867c3df6d1fe2f10d033fc4cd3e99354887cc54
Author: loonycyborg <loonycyborg at gmail.com>
Date: 2021-03-18 (Thu, 18 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: ede404101076fadbfdbd08bb7f0dfc5cf1f8e181
https://github.com/wesnoth/wesnoth/commit/ede404101076fadbfdbd08bb7f0dfc5cf1f8e181
Author: loonycyborg <loonycyborg at gmail.com>
Date: 2021-03-18 (Thu, 18 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: d884822cf0e4151c6d6edeb5578bb7600fc20b7e
https://github.com/wesnoth/wesnoth/commit/d884822cf0e4151c6d6edeb5578bb7600fc20b7e
Author: loonycyborg <loonycyborg at gmail.com>
Date: 2021-03-18 (Thu, 18 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: 4ddfd4cb4b31d17fb7d1d4596fbddec5bb32a9b8
https://github.com/wesnoth/wesnoth/commit/4ddfd4cb4b31d17fb7d1d4596fbddec5bb32a9b8
Author: loonycyborg <loonycyborg at gmail.com>
Date: 2021-03-18 (Thu, 18 Mar 2021)
Changed paths:
M src/server/common/server_base.cpp
Log Message:
-----------
Fixed type check in if constexpr
Commit: 25e23f047d77a9c4847017f1e6aaf147d6adf448
https://github.com/wesnoth/wesnoth/commit/25e23f047d77a9c4847017f1e6aaf147d6adf448
Author: loonycyborg <loonycyborg at gmail.com>
Date: 2021-03-18 (Thu, 18 Mar 2021)
Changed paths:
M src/wesnothd_connection.cpp
Log Message:
-----------
Don't use TLS for explicitly specified ip adresses
Commit: 54abe5e3b57f84ec9fa8c4a4edf67fab84f1246f
https://github.com/wesnoth/wesnoth/commit/54abe5e3b57f84ec9fa8c4a4edf67fab84f1246f
Author: loonycyborg <loonycyborg at gmail.com>
Date: 2021-03-18 (Thu, 18 Mar 2021)
Changed paths:
M src/wesnothd_connection.cpp
Log Message:
-----------
Don't use TLS for connections to loopback addresses
Commit: fccfa480bcb3207d22b3d827e9d88f6d4ab779da
https://github.com/wesnoth/wesnoth/commit/fccfa480bcb3207d22b3d827e9d88f6d4ab779da
Author: loonycyborg <loonycyborg at gmail.com>
Date: 2021-03-18 (Thu, 18 Mar 2021)
Changed paths:
M src/wesnothd_connection.cpp
Log Message:
-----------
Properly shut down client connection preventing TLS tuncation
Commit: a6b3bf90af2353b4fc085b2cc4cc1991ec3e039c
https://github.com/wesnoth/wesnoth/commit/a6b3bf90af2353b4fc085b2cc4cc1991ec3e039c
Author: loonycyborg <loonycyborg at gmail.com>
Date: 2021-03-18 (Thu, 18 Mar 2021)
Changed paths:
M src/server/wesnothd/server.cpp
Log Message:
-----------
Avoid TLS truncation in user kick operation
Commit: af63585d5eebc372dcec622d525645e06a6672af
https://github.com/wesnoth/wesnoth/commit/af63585d5eebc372dcec622d525645e06a6672af
Author: loonycyborg <loonycyborg at gmail.com>
Date: 2021-03-18 (Thu, 18 Mar 2021)
Changed paths:
M src/wesnothd_connection.cpp
Log Message:
-----------
Made use of utils::get_if
Commit: 4b195f5bff26a47ff290761bf049cf3e6e4c8d6d
https://github.com/wesnoth/wesnoth/commit/4b195f5bff26a47ff290761bf049cf3e6e4c8d6d
Author: loonycyborg <loonycyborg at gmail.com>
Date: 2021-03-18 (Thu, 18 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: f5393f3b8b4133ca200e15711293c4656e6e34d9
https://github.com/wesnoth/wesnoth/commit/f5393f3b8b4133ca200e15711293c4656e6e34d9
Author: loonycyborg <loonycyborg at gmail.com>
Date: 2021-03-18 (Thu, 18 Mar 2021)
Changed paths:
M src/network_asio.cpp
M src/network_asio.hpp
Log Message:
-----------
Add TLS support to addon client
Commit: c993ff2f50fe836334d5f408705a878004bf77dd
https://github.com/wesnoth/wesnoth/commit/c993ff2f50fe836334d5f408705a878004bf77dd
Author: loonycyborg <loonycyborg at gmail.com>
Date: 2021-03-18 (Thu, 18 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: 059c4c07d4811ec65c2ef5fa62bb96ff6cdabe84
https://github.com/wesnoth/wesnoth/commit/059c4c07d4811ec65c2ef5fa62bb96ff6cdabe84
Author: loonycyborg <loonycyborg at gmail.com>
Date: 2021-03-18 (Thu, 18 Mar 2021)
Changed paths:
M src/server/campaignd/server.cpp
Log Message:
-----------
Add TLS marker to campaignd's log output
Commit: b8194873200d7f937f18f96c6a816dd63b8ec0d9
https://github.com/wesnoth/wesnoth/commit/b8194873200d7f937f18f96c6a816dd63b8ec0d9
Author: loonycyborg <loonycyborg at gmail.com>
Date: 2021-03-18 (Thu, 18 Mar 2021)
Changed paths:
M src/network_asio.cpp
M src/wesnothd_connection.cpp
Log Message:
-----------
Fix build with boost < 1.73
Commit: 0def81a0055d5935e1f0612e92034ad045a6e0c3
https://github.com/wesnoth/wesnoth/commit/0def81a0055d5935e1f0612e92034ad045a6e0c3
Author: loonycyborg <loonycyborg at gmail.com>
Date: 2021-03-18 (Thu, 18 Mar 2021)
Changed paths:
M CMakeLists.txt
M src/CMakeLists.txt
Log Message:
-----------
Fix cmake build
Commit: 1727adf7b406405d7b016e6deaafc8c879f1e58d
https://github.com/wesnoth/wesnoth/commit/1727adf7b406405d7b016e6deaafc8c879f1e58d
Author: loonycyborg <loonycyborg at gmail.com>
Date: 2021-03-18 (Thu, 18 Mar 2021)
Changed paths:
M src/server/campaignd/server.cpp
Log Message:
-----------
Made use of utils::holds_alternative
Commit: 1ccd8e2abb792310979060470b243d4f482e6301
https://github.com/wesnoth/wesnoth/commit/1ccd8e2abb792310979060470b243d4f482e6301
Author: loonycyborg <loonycyborg at gmail.com>
Date: 2021-03-18 (Thu, 18 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: a7cab3b10ea7f44937483752fe78c35804d624a2
https://github.com/wesnoth/wesnoth/commit/a7cab3b10ea7f44937483752fe78c35804d624a2
Author: loonycyborg <loonycyborg at gmail.com>
Date: 2021-03-18 (Thu, 18 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: 67cad5a7ff604b1d42bf3b077452592c04f4e192
https://github.com/wesnoth/wesnoth/commit/67cad5a7ff604b1d42bf3b077452592c04f4e192
Author: loonycyborg <loonycyborg at gmail.com>
Date: 2021-03-18 (Thu, 18 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
Commit: 5005eddf7a59fe1ef593f4a4f8583add2ac160d5
https://github.com/wesnoth/wesnoth/commit/5005eddf7a59fe1ef593f4a4f8583add2ac160d5
Author: loonycyborg <loonycyborg at gmail.com>
Date: 2021-03-18 (Thu, 18 Mar 2021)
Changed paths:
M src/server/common/server_base.cpp
M src/server/common/server_base.hpp
Log Message:
-----------
Replace constexpr if abuse with function overloading
Commit: b2cf60b017be760f03ae57231b8ff1a1c8bad9a6
https://github.com/wesnoth/wesnoth/commit/b2cf60b017be760f03ae57231b8ff1a1c8bad9a6
Author: loonycyborg <loonycyborg at gmail.com>
Date: 2021-03-18 (Thu, 18 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:
-----------
Initialize use_tls_ variable in the constructor for consistency
Compare: https://github.com/wesnoth/wesnoth/compare/94d14cd9309d...b2cf60b017be
More information about the Commits
mailing list