diff options
-rw-r--r-- | docs/inspircd.conf.example | 26 | ||||
-rw-r--r-- | src/modules/m_connectban.cpp (renamed from src/modules/m_quitban.cpp) | 0 |
2 files changed, 13 insertions, 13 deletions
diff --git a/docs/inspircd.conf.example b/docs/inspircd.conf.example index f7898c7ec..66abfb955 100644 --- a/docs/inspircd.conf.example +++ b/docs/inspircd.conf.example @@ -1550,6 +1550,19 @@ #<module name="m_cycle.so"> #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# +# Connectban: Provides per-IP connection throttling. Any IP that disconnects +# too many times (configurable) in an hour is zlined for a (configurable) +# duration, and their count resets to 0. +# +# NOTE: This module may change name/behaviour later in 1.2. Please make sure +# you read release announcements! +# +#<connectban threshold="10" duration="10m"> +# This allows for 10 quits in an hour with a 10 minute ban if that is exceeded. +# +#<module name="m_connectbanban.so"> + +#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# # Connection throttle module. Configuration: #<module name="m_connflood.so"> # @@ -2045,19 +2058,6 @@ # #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# -# Quitban: Provides per-IP connection throttling. Any IP that disconnects -# too many times (configurable) in an hour is zlined for a (configurable) -# duration, and their count resets to 0. -# -# NOTE: This module may change name/behaviour later in 1.2. Please make sure -# you read release announcements! -# -#<quitban threshold="10" duration="10m"> -# This allows for 10 quits in an hour with a 10 minute ban if that is exceeded. -# -#<module name="m_quitban.so"> - -#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# # Random Quote module: provides a random quote on connect. # NOTE: Some of these may mimic fatal errors and confuse users and # opers alike! - BEWARE! diff --git a/src/modules/m_quitban.cpp b/src/modules/m_connectban.cpp index a1ff0816c..a1ff0816c 100644 --- a/src/modules/m_quitban.cpp +++ b/src/modules/m_connectban.cpp |