]> git.lizzy.rs Git - minetest.git/commit
Block attempts to connect to the client (#10589)
authorred-001 <red-001@outlook.ie>
Mon, 2 Nov 2020 21:21:03 +0000 (21:21 +0000)
committerGitHub <noreply@github.com>
Mon, 2 Nov 2020 21:21:03 +0000 (22:21 +0100)
commit0abb3e89fa6298041faa7e46d437e5a81f71cdd3
treea5043443766349fd63d452e4f33dbea65213de70
parent9c9344ceb31892a8563994190f1ec31cb872f12c
Block attempts to connect to the client (#10589)

A Minetest peer initiates a connection by sending a packet with an invalid peer_id, for whatever reason the code for doing this ran on both the client and the server meaning you could connect to a client if you knew what the address:port tuple it was listening on.
src/network/connection.cpp
src/network/connection.h
src/network/connectionthreads.cpp