summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-11 23:47:09 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-11 23:47:09 +0000
commit16934ea87517d1b45419cadf2376a7da11a69b27 (patch)
treec61c95892022aa80f2a08adb8e7e3b69f88e68bc /docs
parent70246812d3304b7c0ce81e7708c0fd98438ccd49 (diff)
added sendq stuff, see example config
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1362 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'docs')
-rw-r--r--docs/inspircd.conf.example21
1 files changed, 18 insertions, 3 deletions
diff --git a/docs/inspircd.conf.example b/docs/inspircd.conf.example
index 4e98838a7..c304cd5ce 100644
--- a/docs/inspircd.conf.example
+++ b/docs/inspircd.conf.example
@@ -107,6 +107,8 @@
# <connect allow="ip or host" password="blahblah"> #
# <connect allow="ip or host" password="blah" timeout="10"> #
# <connect allow="ip or host" timeout="blah" flood="5"> #
+# <connect allow="ip or host" threshold="8" pingfreq="120"> #
+# <connect allow="ip or host" sendq="99999"> #
# <connect deny="ip or host"> #
# #
# You may optionally include timeout="x" on any allow line, which #
@@ -116,11 +118,24 @@
# You may also optionally 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. The default is to #
-# DISABLE this feature. A recommended value is 10. #
-
+# DISABLE this feature. A recommended value is 10. A counter is #
+# maintained for each user which is reset every 'threshold' seconds #
+# and specifying this threshold value with threshold="X" indicates #
+# how often the counter is reset. For example, with flood="5" and #
+# threshold="8", the user may not send more than 5 lines in 8 secs. #
+# #
+# You may optionally specify the sendq size and ping frequency of #
+# each connect:allow line using the pingfreq="X" and sendq="X" #
+# settings as shown in the full example below. #
+# The ping frequency is specified in seconds, and the sendq size #
+# in bytes. It is recommended, although not enforced, that you #
+# should never set your sendq size to less than 8k. Send Queues are #
+# dynamically allocated and can grow as needed up to the maximum #
+# size specified. #
+# #
<connect allow="196.12.*" password="secret">
-<connect allow="*" timeout="60" flood="10">
+<connect allow="*" timeout="60" flood="10" timeout="60" pingfreq="120" sendq="131072">
<connect deny="69.254.*">