summaryrefslogtreecommitdiff
path: root/conf/inspircd.conf.example
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2009-02-04 13:13:36 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2009-02-04 13:13:36 +0000
commit842a7effba9eb5b632ba0e35dd60b0a8717d4c75 (patch)
tree0a0adb3d525683b832ccc0f13e9b2312e4222ecb /conf/inspircd.conf.example
parent56c4074af5b848b10623f6bcc63da188038ad037 (diff)
Document <connect deny> before <connect allow>, as tags are read top-down. Also document the order they are read in. Fixes bug #698, reported by Ankit.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11032 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'conf/inspircd.conf.example')
-rw-r--r--conf/inspircd.conf.example16
1 files changed, 11 insertions, 5 deletions
diff --git a/conf/inspircd.conf.example b/conf/inspircd.conf.example
index 743306d63..8e76dfbc4 100644
--- a/conf/inspircd.conf.example
+++ b/conf/inspircd.conf.example
@@ -178,6 +178,17 @@
# You may have as many of these as you require. To allow/deny all #
# connections, use a '*' or 0.0.0.0/0. #
# #
+# -- It is important to note that connect tags are read from the -- #
+# TOP DOWN. This means that you should have more specific deny #
+# and allow tags at the top, progressively more general, followed #
+# by a <connect allow="*" (should you wish to have one). #
+# #
+# #
+<connect
+ # deny: Will not let people connect if they have specified host/IP.
+ deny="69.254.*">
+
+<connect deny="3ffe::0/32">
<connect
# allow: What IP addresses/hosts to allow for this block.
@@ -228,11 +239,6 @@
# This entry is highly recommended to use for/with IP Cloaking/masking.
modes="+x">
-<connect
- # deny: Will not let people connect if they have specified host/IP.
- deny="69.254.*">
-
-<connect deny="3ffe::0/32">
#-#-#-#-#-#-#-#-#-#-#-#- CIDR CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-
# #