]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Update docs to reflect where CIDR is allowed
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Sun, 6 Aug 2006 18:06:21 +0000 (18:06 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Sun, 6 Aug 2006 18:06:21 +0000 (18:06 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4738 e03df62e-2008-0410-955e-edbf42e46eb7

docs/inspircd.conf.example

index e0047913f15b80859e6a2d8ba7a18b97206a6891..a7763bee3959a1668baabb3d1704f547b12ea467 100644 (file)
 #       <connect allow="ip mask" localmax="3" globalmax="3">          #
 #       <connect deny="ip mask">                                      #
 #                                                                     #
 #       <connect allow="ip mask" localmax="3" globalmax="3">          #
 #       <connect deny="ip mask">                                      #
 #                                                                     #
+#   IP masks may be specified in CIDR format for IPV4 and IPV6.       #
+#                                                                     #
 #   You may optionally include timeout="x" on any allow line, which   #
 #   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 include timeout="x" on any allow line, which   #
 #   specifies the amount of time given before an unknown connection   #
 #   is closed if USER/NICK/PASS are not given. This value is in secs  #
 <connect allow="*" timeout="60" flood="10" threshold="60" pingfreq="120" sendq="262144" recvq="4096" localmax="3" globalmax="3">
 
 <connect deny="69.254.*">
 <connect allow="*" timeout="60" flood="10" threshold="60" pingfreq="120" sendq="262144" recvq="4096" localmax="3" globalmax="3">
 
 <connect deny="69.254.*">
-<connect deny="3ffe:*">
+<connect deny="3ffe::0/32">
 
 
 #-#-#-#-#-#-#-#-#-#-#-#-  CLASS CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-
 
 
 #-#-#-#-#-#-#-#-#-#-#-#-  CLASS CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-
 #                                                                     #
 #  host      - host of client allowed to oper-up.                     #
 #              wildcards accepted, seperate multiple hosts with space #
 #                                                                     #
 #  host      - host of client allowed to oper-up.                     #
 #              wildcards accepted, seperate multiple hosts with space #
+#              You may also specify CIDR ip addresses, however, if    #
+#              you do this, ident values are not allowed in the mask. #
 #                                                                     #
 #  type      - specified above, defines the kind of operator          #
 #                                                                     #
 #                                                                     #
 #  type      - specified above, defines the kind of operator          #
 #                                                                     #
 
 <oper   name="katsklaw"
         password="s3cret"
 
 <oper   name="katsklaw"
         password="s3cret"
-        host="ident@dialup15.isp.com *@localhost *@server.com"
+        host="ident@dialup15.isp.com *@localhost *@server.com 3ffe::0/16"
         type="NetAdmin">
 
 
         type="NetAdmin">
 
 
 # Optional - If you choose to use the m_httpd.so module,  then you must
 # specify the port number and other details of your http server:
 #
 # Optional - If you choose to use the m_httpd.so module,  then you must
 # specify the port number and other details of your http server:
 #
-#<http ip="192.168.1.10" host="brainwave" port="32006" index="/home/brain/inspircd/http/index.html">
+#<http ip="192.168.1.10" host="brainwave" port="32006"
+#      index="/home/brain/inspircd/http/index.html">
 #
 
 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
 #
 
 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
 # badip lines ban an ip range (same as a zline)                       #
 #                                                                     #
 # ipmask       -          The ip range to ban (wildcards possible)    #
 # badip lines ban an ip range (same as a zline)                       #
 #                                                                     #
 # ipmask       -          The ip range to ban (wildcards possible)    #
+#                         CIDR is supported in <badip> and zline only #
 # reason       -          Reason to display when disconnected         #
 #                                                                     #
 # badnick lines ban a nick mask (same as a qline)                     #
 # reason       -          Reason to display when disconnected         #
 #                                                                     #
 # badnick lines ban a nick mask (same as a qline)                     #