]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - docs/inspircd.conf.example
m_dnsbl updates
[user/henk/code/inspircd.git] / docs / inspircd.conf.example
index 5a5a6c7c51f862430febd63204f53d528b078a09..43afc22f01fda12facf2620f88f3b507defe7ce8 100644 (file)
@@ -20,7 +20,6 @@
 #         This is an example of the config file for InspIRCd.          #
 #             Change the options to suit your network                  #
 #                                                                      #
-#     $Id$
 #                                                                      #
 #    ____                _   _____ _     _       ____  _ _   _         #
 #   |  _ \ ___  __ _  __| | |_   _| |__ (_)___  | __ )(_) |_| |        #
 #    and allow tags at the top, progressively more general, followed  #
 #        by a <connect allow="*" (should you wish to have one).       #
 #                                                                     #
-#                                                                     #
+# Connect blocks are searched twice for each user - once when the TCP #
+# connection is accepted, and once when the user completes their      #
+# registration. Most of the information (hostname, ident response,    #
+# password, SSL when using STARTTLS, etc) is only available during    #
+# the second search, so if you are trying to make a closed server,    #
+# you will probably need a connect block just for user registration.  #
+# This can be done by using <connect registered="no">                 #
+
 <connect
          # deny: Will not let people connect if they have specified host/IP.
          deny="69.254.*">
          # block have a valid ident response, use SSL, or have authenticated.
          # Requires m_ident, m_sslinfo, or m_services_account respectively.
          requiressl="on"
+         # NOTE: For requireaccount, you must complete the signon prior to full
+         # connection. Currently, this is only possible by using SASL
+         # authentication; passforward and PRIVMSG NickServ happen after
+         # your final connect block has been found.
 
          # Alternate MOTD file for this connect class. The contents of this file are
-                # specified using <files secretmotd="filename"> or <execfiles ...>
+         # specified using <files secretmotd="filename"> or <execfiles ...>
          motd="secretmotd"
 
          # port: What port this user is allowed to connect on. (optional)