Browse Source

* Increased password timeout to 40 seconds and auth timeout to 80 seconds.

svn: 1670
Bryan Drewery 21 năm trước cách đây
mục cha
commit
bc3a8e0bdc
2 tập tin đã thay đổi với 3 bổ sung2 xóa
  1. 1 0
      doc/UPDATES
  2. 2 2
      src/dcc.c

+ 1 - 0
doc/UPDATES

@@ -35,6 +35,7 @@ This is a summary of ChangeLog basically.
 * Fixed some *possible* problems with msgop/pass/invite/ident checking.
 * Fixed some *possible* problems with msgop/pass/invite/ident checking.
 * cmd_quit failed to log.
 * cmd_quit failed to log.
 * Now making a small attempt to auto make the tmpdir.
 * Now making a small attempt to auto make the tmpdir.
+* Increased password timeout to 40 seconds and auth timeout to 80 seconds.
 
 
 1.2
 1.2
 * No longer displaying SALTS on ./bin -v
 * No longer displaying SALTS on ./bin -v

+ 2 - 2
src/dcc.c

@@ -45,8 +45,8 @@ time_t timesync = 0;
 int dcc_total = 0;              /* size of dcc table                             */
 int dcc_total = 0;              /* size of dcc table                             */
 int dccn = 0;			/* actual number of dcc entries */
 int dccn = 0;			/* actual number of dcc entries */
 
 
-static time_t password_timeout = 20;       /* Time to wait for a password from a user */
-static time_t auth_timeout = 40;
+static time_t password_timeout = 40;       /* Time to wait for a password from a user */
+static time_t auth_timeout = 80;
 static time_t bot_timeout = 15;    /* Bot timeout value                       */
 static time_t bot_timeout = 15;    /* Bot timeout value                       */
 static time_t identtimeout = 15;   /* Timeout value for ident lookups         */
 static time_t identtimeout = 15;   /* Timeout value for ident lookups         */
 static time_t dupwait_timeout = 5; /* Timeout for rejecting duplicate entries */
 static time_t dupwait_timeout = 5; /* Timeout for rejecting duplicate entries */