diff options
author | Thilo Schulz <arny@ats.s.bawue.de> | 2011-04-27 20:17:45 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-09 20:50:34 +0000 |
commit | 8a58b6a7deb03a07e8169790bd4b9a8f38ecc718 (patch) | |
tree | 63dc3db5ae296658a1e4628a8d8299dc53c340af /src/server/server.h | |
parent | 5f86560ea8e97801d8db3b5a39011f27aac4131d (diff) |
Revert protocol 69 pending further discussion (#4962)
Diffstat (limited to 'src/server/server.h')
-rw-r--r-- | src/server/server.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/server/server.h b/src/server/server.h index 697d8a30..af3ebe7c 100644 --- a/src/server/server.h +++ b/src/server/server.h @@ -205,11 +205,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 |