server cleanup

* restrict reading of config files to times when the server is empty
* collect entropy
* remove hint how to convert pre-1.0 blacklists
This commit is contained in:
ac-stef
2017-06-27 15:15:21 +02:00
parent c8c310886a
commit ac5229dfba
5 changed files with 12 additions and 14 deletions
+1
View File
@@ -318,6 +318,7 @@ void serverms(int mode, int numplayers, int minremain, char *smapname, int milli
}
buf.dataLength = len + po.length();
entropy_add_byte(addr.host ^ (addr.host >> 24));
enet_socket_send(pongsock, &addr, &buf, 1);
if(std) *msend += (int)buf.dataLength;
else *csend += (int)buf.dataLength;