summaryrefslogtreecommitdiff
path: root/docs/conf/inspircd.conf.example
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2019-06-17 11:52:57 +0100
committerPeter Powell <petpow@saberuk.com>2019-06-17 11:53:46 +0100
commita25a27883df0a375f78534b130d43132d1d0ef9f (patch)
treefa2fd344dd9b9a0b30ebfab4a7564efc801c1f7c /docs/conf/inspircd.conf.example
parentbd3791dd699e010ea8354b309a945f17aeb293b0 (diff)
Document <connect:deny> better.
Diffstat (limited to 'docs/conf/inspircd.conf.example')
-rw-r--r--docs/conf/inspircd.conf.example9
1 files changed, 6 insertions, 3 deletions
diff --git a/docs/conf/inspircd.conf.example b/docs/conf/inspircd.conf.example
index 62e0867aa..832c30b39 100644
--- a/docs/conf/inspircd.conf.example
+++ b/docs/conf/inspircd.conf.example
@@ -246,13 +246,15 @@
# you will probably need a connect block just for user registration. #
# This can be done by using <connect registered="no"> #
+# A connect class with <connect:deny> set denies connections from the specified host/IP range.
<connect
# deny: Will not let people connect if they have specified host/IP.
- deny="192.0.2.*">
+ deny="3ffe::0/32"
-# connect:reason is the message that users will see if they match a deny block
-<connect deny="3ffe::0/32" reason="The 6bone address space is deprecated">
+ # reason: The message that users will see if they match a deny block.
+ reason="The 6bone address space is deprecated">
+# A connect class with <connect:allow> set allows connections from the specified host/IP range.
<connect
# name: Name to use for this connect block. Mainly used for
# connect class inheriting.
@@ -458,6 +460,7 @@
modes="+x">
+
#-#-#-#-#-#-#-#-#-#-#-#- CIDR CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-
# #
# CIDR configuration allows detection of clones and applying of #