diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-03-11 16:01:56 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-03-11 16:01:56 +0000 |
commit | 98bea6aca4a6033f1b2693fbaa4935ef009eb30a (patch) | |
tree | 9a800c930db5aa68783491756b20012602d37e6a /docs | |
parent | 52214a3195d062bc45522e7da58bbe7611d040f6 (diff) |
Add safelist:maxlisters which prevents more than x number of people doing a LIST at the same time.
(as i've just noticed, 500 bots all doing LIST at once can severely lag your ircd)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6658 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'docs')
-rw-r--r-- | docs/inspircd.conf.example | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/docs/inspircd.conf.example b/docs/inspircd.conf.example index 1ea44d1bf..2849650c3 100644 --- a/docs/inspircd.conf.example +++ b/docs/inspircd.conf.example @@ -1561,13 +1561,19 @@ # #-#-#-#-#-#-#-#-#-#-# SAFELIST CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#-# # -# When using Safelist, you may set the following value, which sets the -# amount of time in seconds a user must wait between LIST commands. -# For example, if this is set to 60 (the default) then the user may not -# /LIST more than once a minute. If not defined, the default value is -# 60 seconds. +# When using Safelist, you may set the following values; # -#<safelist throttle="60"> +# The first value, 'throttle', sets the amount of time in seconds a user +# must wait between LIST commands. For example, if this is set to 60 +# (the default) then the user may not /LIST more than once a minute. +# If not defined, the default value is 60 seconds. +# +# The second value, 'maxlisters', indicates the maximum number of users +# which may be retrieving a LIST at once. It is not recommended you raise +# this value, as increasing it too high can make your network vulnerable +# to floodbots which waste your bandwidth and CPU time with LIST requests. +# +#<safelist throttle="60" maxlisters="50"> #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# # SAJOIN module: Adds the /SAJOIN command |