Revert protocol 69 pending further discussion (#4962)

This commit is contained in:
Thilo Schulz 2011-04-27 20:17:45 +00:00
parent 88693f9abd
commit d34c6b7e0b
12 changed files with 247 additions and 508 deletions

View file

@ -188,11 +188,7 @@ typedef struct client_s {
#endif
int oldServerTime;
qboolean csUpdated[MAX_CONFIGSTRINGS+1];
#ifdef PROTOCOL_SUPPORT_OLD
qboolean compat;
#endif
qboolean csUpdated[MAX_CONFIGSTRINGS+1];
} client_t;
//=============================================================================
@ -201,11 +197,7 @@ typedef struct client_s {
// MAX_CHALLENGES is made large to prevent a denial
// of service attack that could cycle all of them
// out before legitimate users connected
#define MAX_CHALLENGES 2048
// Allow a certain amount of challenges to have the same IP address
// to make it a bit harder to DOS one single IP address from connecting
// while not allowing a single ip to grab all challenge resources
#define MAX_CHALLENGES_MULTI (MAX_CHALLENGES / 2)
#define MAX_CHALLENGES 1024
#define AUTHORIZE_TIMEOUT 5000