diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-10-24 22:52:51 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-10-24 22:52:51 +0000 |
commit | 7b3105e5d4ea1877f8c30daaf069839ea890752d (patch) | |
tree | f797652ab543040b3a8b14bbc12476e8ca8a09c9 /docs/inspircd.conf.example | |
parent | f2d6214247c75342e872c519630f0d5553190ece (diff) |
Implement <connect:limit> - limits how many clients can sit inside a <connect> tag. Brain, we have a problem here in that if we User::QuitUser() a user with a NULL MyClass member (connect class), then things break (like sendq et al). What should we do with this, create a generic catchall class or something just in case? (to replicate, set up a single connect class with a low limit, and connect too many clients. Crash is the result)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8357 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'docs/inspircd.conf.example')
-rw-r--r-- | docs/inspircd.conf.example | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/inspircd.conf.example b/docs/inspircd.conf.example index e37c07b8a..52159a404 100644 --- a/docs/inspircd.conf.example +++ b/docs/inspircd.conf.example @@ -211,7 +211,7 @@ # # # Syntax is as follows: # # # -# <connect name="myallow" allow="1.2.3.0/24" # +# <connect name="myallow" allow="1.2.3.0/24" limit="5" # # password="blahblah" timeout="10" timeout="blah" # # flood="5" threshold="8" pingfreq="120" sendq="99999" # # revcq="696969" localmax="3" globalmax="3" # @@ -241,6 +241,10 @@ # specifies the amount of time given before an unknown connection # # is closed if USER/NICK/PASS are not given. This value is in secs. # # # +# You may optionally limit the number of clients that are matched # +# by a single <connect> tag by specifying the maximum in the limit # +# parameter. If set to 0, there is no limit, which is the default. # +# # # You should also include a flood="x" line which indicates # # the number of lines a user may place into their buffer at once # # before they are disconnected for excess flood. This feature can # |