]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Document <connect:deny> better.
authorPeter Powell <petpow@saberuk.com>
Mon, 17 Jun 2019 10:52:57 +0000 (11:52 +0100)
committerPeter Powell <petpow@saberuk.com>
Mon, 17 Jun 2019 10:53:46 +0000 (11:53 +0100)
docs/conf/inspircd.conf.example

index 62e0867aacd1e83dbdcfa4bf773ff34919eb6a63..832c30b39d25ea0a641efba56d1880ac2cb70a08 100644 (file)
 # 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.
          modes="+x">
 
 
+
 #-#-#-#-#-#-#-#-#-#-#-#-  CIDR CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-
 #                                                                     #
 # CIDR configuration allows detection of clones and applying of       #