1 ########################################################################
3 # --------------------------- #
4 # InspIRCd Configuration File #
5 # --------------------------- #
7 ##################################||####################################
9 ##################################||####################################
11 # This is an example of the config file for InspIRCd. #
12 # Change the options to suit your network #
14 # Last updated on : 30/10/2002 #
15 # Written by : CC (cc@backchat.co.za) #
17 ########################################################################
21 #-#-#-#-#-#-#-#-#-#-#-#- SERVER DESCRIPTION -#-#-#-#-#-#-#-#-#-#-#-#-
23 # Here is where you enter the information about your server. #
25 # Syntax is as follows: #
26 # <server name="server.name" #
27 # description="Server Description" #
28 # network="MyNetwork"> #
31 <server name="penguin.omega.org.za"
32 description="Waddle World"
36 #-#-#-#-#-#-#-#-#-#-#-#- ADMIN INFORMATION -#-#-#-#-#-#-#-#-#-#-#-#
38 # Describes the Server Administrator's real name, nick #
39 # and email address. #
41 # Syntax is as follows: #
42 # <admin name="real name" #
44 # email="email@address.com"> #
47 <admin name="Johnny Casino"
49 email="cc@monkeynut.co.za">
52 #-#-#-#-#-#-#-#-#-#-#-#- PORT CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-
54 # Enter the port and address bindings here. #
56 # bind address - specifies which the address which ports bind #
57 # port - opens an unused port #
58 # type - can be 'clients' or 'servers'. The clients type is #
59 # a standard tcp based socket, the servers type is a #
60 UDP based connection. #
61 # default - if the port type is 'servers' then this can be #
62 # specified. If set to 'yes', it indicates that this #
63 # port is the default route for all /connect commands.#
64 # if you do not bind your default route to an #
65 # external ip, or all ip's, you may have connection #
68 # Leaving address empty binds to all available interfaces #
70 # Syntax is as follows: #
72 # <bind address="ip number" port="port" type="clients"> #
73 # <bind address="ip number" port="port" type="servers"> #
74 # <bind address="ip number" port="port" type="servers" default="yes"> #
77 <bind address="" port="6660" type="clients">
78 <bind address="" port="7000" type="servers" default="yes">
79 <bind address="" port="7001" type="servers">
82 #-#-#-#-#-#-#-#-#-#- DIE/RESTART CONFIGURATION -#-#-#-#-#-#-#-#-#-#-
84 # You can configure the passwords here which you wish to use for #
85 # the die and restart commands. Only trusted ircops who will #
86 # need this ability should know the die and restart password. #
88 # Syntax is as follows: #
89 # <power diepass="die password" restartpass="restart password" #
90 # pause="secs before dying"> #
93 <power diepass="diepass" restartpass="restartpass" pause="2">
96 #-#-#-#-#-#-#-#-#-#- CONNECTIONS CONFIGURATION -#-#-#-#-#-#-#-#-#-#-
98 # This is where you can configure which connections are allowed #
99 # and denied access onto your server. #
100 # The password is optional. #
101 # You may have as many of these as you require. #
102 # To allow/deny all connections use a * #
104 # Syntax is as follows: #
105 # <connect allow="ip number"> #
106 # <connect allow="ip number" password="blahblah"> #
107 # <connect deny="ip number"> #
110 <connect allow="196.12.*" password="tiffany">
113 <connect deny="69.254.*">
116 #-#-#-#-#-#-#-#-#-#-#-#- CLASS CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-
118 # Classes are a group of commands which are grouped together #
119 # and given a unique name. They used to define which commands #
120 # are available to certain types of Operators. #
122 # Syntax is as follow: #
123 # <class name="name" commands="oper commands"> #
126 <class name="Shutdown" commands="DIE RESTART REHASH">
127 <class name="ServerLink" commands="CONNECT SQUIT">
128 <class name="BanControl" commands="KILL GLINE KLINE ZLINE QLINE SHUN">
129 <class name="OperChat" commands="WALLOPS CHATOPS">
130 <class name="HostCloak" commands="SETHOST SETIDENT SETNAME">
133 #-#-#-#-#-#-#-#-#-#-#-#- OPERATOR COMPOSITION -#-#-#-#-#-#-#-#-#-#-#
135 # This is where you specify which types of operators you have on #
136 # your server, as well as the commands they are allowed to use. #
137 # This works alongside with the classes specified above. #
139 # type name - a name for the combined class types #
140 # classes - specified above, used for flexibility for the #
141 # server admin to decide on which operators get #
143 # host - hostmask operators will recieve on oper-up #
145 # Syntax is as follows: #
146 # <type name="name" classes="class name" host="oper hostmask"> #
149 <type name="NetAdmin" classes="OperChat BanControl HostCloak Shutdown ServerLink" host="netadmin.omega.org.za">
150 <type name="GlobalOp" classes="OperChat BanControl HostCloak ServerLink" host="ircop.omega.org.za">
151 <type name="LocalOp" classes="OperChat BanControl HostCloak" host="local.omega.org.za">
152 <type name="Helper" classes="HostCloak" host="helper.omega.org.za">
155 #-#-#-#-#-#-#-#-#-#-#- OPERATOR CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
157 # Opers are defined here. This is a very important section. #
158 # Remember to only make operators out of truthworthy people. #
160 # name - oper name, best to use lower-case #
161 # password - password to oper-up, #
162 # encryption not yet available #
163 # host - host of client allowed to oper-up, more hostmasks #
164 # seperated by spaces, wildcards accepted #
165 # type - specified above, defines the kind of operator #
167 # Syntax is as follows: #
168 # <oper name="login" #
170 # host="hostmask@of.oper" #
171 # type="oper type"> #
180 #-#-#-#-#-#-#-#-#-#-#- SERVER LINK CONFIGURATION -#-#-#-#-#-#-#-#-#-#
182 # Defines which servers can link to this one, and which servers this #
183 # server may create outbound links to. #
185 # name - The name is the canocial name of the server, it does #
186 # not have to resolve - but it is expected to be sent in #
187 # the remote servers connection info. #
188 # ipaddr - Valid ip address for remote server. #
189 # port - Valid listening UDP port for remote server. #
190 # sendpass - Password to send to create an outbound connection to #
192 # recvpass - Password to receive to accept an inbound connection #
193 # from this server. #
196 <server name="hub.penguin.org"
199 sendpass="outgoing!password"
200 recvpass="incoming!password">
204 #-#-#-#-#-#-#-#-#-#- MISCELLANEOUS CONFIGURATION -#-#-#-#-#-#-#-#-#-#
206 # These options let you define the path to your motd and rules #
210 <files motd="/home/cc/inspircd-1.0/conf/inspire.motd"
211 rules="/home/cc/inspircd-1.0/conf/inspire.rules">
215 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#- RTFM LINE -#-#-#-#-#-#-#-#-#-#-#-#-#-#
217 # Just remove this... Its here to make you read ALL of the config #
220 <die value="And god came down from the heavens and smote down the noob.">
224 #-#-#-#-#-#-#-#-#-#-#-#-#- SERVER OPTIONS -#-#-#-#-#-#-#-#-#-#-#-#-#
226 # Settings to define which features are useable on your server. #
228 # prefixquit - a prefix for a client's quit message #
229 # loglevel - specifies what detail of messages to log in the #
230 # log file. You may select from debug, verbose, #
231 # default, sparse and none. #
232 # allowhalfop - allows the +h channel mode #
233 # allowprotect - allows the +a channel mode #
234 # allowfounder - allows the +q channel mode #
237 <options prefixquit="Quit: "
245 #-#-#-#-#-#-#-#-#-#-#-#-#- MODULE OPTIONS -#-#-#-#-#-#-#-#-#-#-#-#-#
247 # These tags define which modules will be loaded on startup by your #
248 # server. Add modules without any paths. When you make your ircd #
249 # using the 'make' command, all compiled modules will be moved into #
250 # the folder you specified when you ran ./configure. The module tag #
251 # automatically looks for modules in this location. #
253 <module name="m_foobar.so">
257 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#- YAWN -#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
259 # You should already know what to do here :) #
261 <die value="All l33t noobs must edit their configs.">
264 #########################################################################
266 # -InspIRCd Development and Coding Team- #
269 #########################################################################