mirror of
https://github.com/ioquake/ioq3.git
synced 2025-05-30 00:20:59 +00:00
Revert protocol 69 pending further discussion (#4962)
This commit is contained in:
parent
88693f9abd
commit
d34c6b7e0b
12 changed files with 247 additions and 508 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue