[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: connection rate in ircd? ( 2.10.3p3 )



On Mon, Nov 24, 2003 at 12:02:30AM +0100, Timothee Besset wrote:
> To perform those tests, I disabled both the SLOW_ACCEPT and CLONE_CHECK,
> so that I can connect a lot of clients from localhost (to mimic what

well, reading might help:

from config.h:

/*
 * Defining this will make the server check for rapid connections from a single
...
 * IMPORTANT: This **MUST** defined if SLOW_ACCEPT is NOT defined
   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 */
#define CLONE_CHECK


and some lines below:

#if !defined(SLOW_ACCEPT) && !defined(CLONE_CHECK)
# define        CLONE_CHECK
# define        CLONE_MAX       2
# define        CLONE_PERIOD    10
#endif


better redefine CLONE_MAX and CLONE_PERIOD.


regards,
   Mario
-- 
Ho ho ho! I am Santa Claus of Borg. Nice assimilation all together!