aboutsummaryrefslogtreecommitdiff
path: root/NetConsole/pch.cpp
diff options
context:
space:
mode:
authorKawe Mazidjatari <48657826+Mauler125@users.noreply.github.com>2022-08-03 01:40:26 +0200
committerKawe Mazidjatari <48657826+Mauler125@users.noreply.github.com>2022-08-03 01:40:26 +0200
commit566d3dc33b9c8be39efe429f8ca848f3ff7580ea (patch)
tree3a16ebc701310d2f8e950514c56f89ce8179dfa5 /NetConsole/pch.cpp
parent671de14bdaf2ee0178aaeba6d069afb51072e4ec (diff)
downloadNorthstarLauncher-566d3dc33b9c8be39efe429f8ca848f3ff7580ea.tar.gz
NorthstarLauncher-566d3dc33b9c8be39efe429f8ca848f3ff7580ea.zip
RCON system overhaul
* Implemented robust length-prefix framing logic for non-blocking sockets (previously used character sequences to determine length, but you cannot use character sequences on protocol buffers as its binary data. This logic should fix all problems regarding some commands not getting networked properly to the server and stuff not getting printed on the client). * Increased buffer size to std::vector::max_size when netconsole is authenticated (MAX_NETCONSOLE_INPUT_LEN still remains enforced on accepted but not authenticated connections to prevent attackers from crashing the server). * Process max 1024 bytes each recv buffer iteration. * Additional optimizations and cleanup.
Diffstat (limited to 'NetConsole/pch.cpp')
0 files changed, 0 insertions, 0 deletions