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 : 24/04/2004 #
15 # Written by : CC (cc@backchat.co.za) #
16 # Updated by : Brain (brain@inspircd.org) #
18 ########################################################################
22 #-#-#-#-#-#-#-#-#-#-#-#- SERVER DESCRIPTION -#-#-#-#-#-#-#-#-#-#-#-#-
24 # Here is where you enter the information about your server. #
26 # Syntax is as follows: #
27 # <server name="server.name" #
28 # description="Server Description" #
29 # network="MyNetwork"> #
32 <server name="penguin.omega.org.za"
33 description="Waddle World"
37 #-#-#-#-#-#-#-#-#-#-#-#- ADMIN INFORMATION -#-#-#-#-#-#-#-#-#-#-#-#
39 # Describes the Server Administrator's real name, nick #
40 # and email address. #
42 # Syntax is as follows: #
43 # <admin name="real name" #
45 # email="email@address.com"> #
48 <admin name="Johnny Casino"
50 email="cc@monkeynut.co.za">
53 #-#-#-#-#-#-#-#-#-#-#-#- PORT CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-
55 # Enter the port and address bindings here. #
57 # bind address - specifies which the address which ports bind #
58 # port - opens an unused port #
59 # type - can be 'clients' or 'servers'. The clients type is #
60 # a standard tcp based socket, the servers type is a #
61 # also a TCP based connection but of a different #
63 # default - if the port type is 'servers' then this can be #
64 # specified. If set to 'yes', it indicates that this #
65 # port is the default route for all /connect commands.#
66 # if you do not bind your default route to an #
67 # external ip, or all ip's, you may have connection #
70 # Leaving address empty binds to all available interfaces #
72 # Syntax is as follows: #
74 # <bind address="ip number" port="port" type="clients"> #
75 # <bind address="ip number" port="port" type="servers"> #
76 # <bind address="ip number" port="port" type="servers" default="yes"> #
79 <bind address="" port="6660" type="clients">
80 <bind address="" port="7000" type="servers" default="yes">
81 <bind address="" port="7001" type="servers">
84 #-#-#-#-#-#-#-#-#-#- DIE/RESTART CONFIGURATION -#-#-#-#-#-#-#-#-#-#-
86 # You can configure the passwords here which you wish to use for #
87 # the die and restart commands. Only trusted ircops who will #
88 # need this ability should know the die and restart password. #
90 # Syntax is as follows: #
91 # <power diepass="die password" restartpass="restart password" #
92 # pause="secs before dying"> #
95 <power diepass="diepass" restartpass="restartpass" pause="2">
98 #-#-#-#-#-#-#-#-#-#- CONNECTIONS CONFIGURATION -#-#-#-#-#-#-#-#-#-#-
100 # This is where you can configure which connections are allowed #
101 # and denied access onto your server. #
102 # The password is optional. #
103 # You may have as many of these as you require. #
104 # To allow/deny all connections use a * #
106 # Syntax is as follows: #
107 # <connect allow="ip number"> #
108 # <connect allow="ip number" password="blahblah"> #
109 # <connect allow="ip number" password="blah" timeout="10"> #
110 # <connect allow="ip number" timeout="blah" flood="5"> #
111 # <connect deny="ip number"> #
113 # You may optionally include timeout="x" on any allow line, which #
114 # specifies the amount of time given before an unknown connection #
115 # is closed if USER/NICK/PASS are not given. This value is in secs #
117 # You may also optionally include a flood="x" line which indicates #
118 # the number of lines a user may place into their buffer at once #
119 # before they are disconnected for excess flood. The default is to #
120 # DISABLE this feature. A recommended value is 10. #
123 <connect allow="196.12.*" password="secret">
124 <connect allow="*" timeout="60" flood="10">
126 <connect deny="69.254.*">
129 #-#-#-#-#-#-#-#-#-#-#-#- CLASS CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-
131 # Classes are a group of commands which are grouped together #
132 # and given a unique name. They used to define which commands #
133 # are available to certain types of Operators. #
135 # Syntax is as follow: #
136 # <class name="name" commands="oper commands"> #
139 <class name="Shutdown" commands="DIE RESTART REHASH">
140 <class name="ServerLink" commands="CONNECT SQUIT">
141 <class name="BanControl" commands="KILL GLINE KLINE ZLINE QLINE SHUN">
142 <class name="OperChat" commands="WALLOPS CHATOPS">
143 <class name="HostCloak" commands="SETHOST SETIDENT SETNAME">
146 #-#-#-#-#-#-#-#-#-#-#-#- OPERATOR COMPOSITION -#-#-#-#-#-#-#-#-#-#-#
148 # This is where you specify which types of operators you have on #
149 # your server, as well as the commands they are allowed to use. #
150 # This works alongside with the classes specified above. #
152 # type name - a name for the combined class types #
153 # classes - specified above, used for flexibility for the #
154 # server admin to decide on which operators get #
156 # host - hostmask operators will recieve on oper-up #
158 # Syntax is as follows: #
159 # <type name="name" classes="class name" host="oper hostmask"> #
162 <type name="NetAdmin" classes="OperChat BanControl HostCloak Shutdown ServerLink" host="netadmin.omega.org.za">
163 <type name="GlobalOp" classes="OperChat BanControl HostCloak ServerLink" host="ircop.omega.org.za">
164 <type name="LocalOp" classes="OperChat BanControl HostCloak" host="local.omega.org.za">
165 <type name="Helper" classes="HostCloak" host="helper.omega.org.za">
168 #-#-#-#-#-#-#-#-#-#-#- OPERATOR CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
170 # Opers are defined here. This is a very important section. #
171 # Remember to only make operators out of truthworthy people. #
173 # name - oper name, best to use lower-case #
174 # password - password to oper-up, #
175 # encryption not yet available #
176 # host - host of client allowed to oper-up, more hostmasks #
177 # seperated by spaces, wildcards accepted #
178 # type - specified above, defines the kind of operator #
180 # Syntax is as follows: #
181 # <oper name="login" #
183 # host="hostmask@of.oper" #
184 # type="oper type"> #
193 #-#-#-#-#-#-#-#-#-#-#- SERVER LINK CONFIGURATION -#-#-#-#-#-#-#-#-#-#
195 # Defines which servers can link to this one, and which servers this #
196 # server may create outbound links to. #
198 # name - The name is the canocial name of the server, it does #
199 # not have to resolve - but it is expected to be sent in #
200 # the remote servers connection info. #
201 # ipaddr - Valid ip address for remote server. #
202 # port - Valid listening UDP port for remote server. #
203 # sendpass - Password to send to create an outbound connection to #
205 # recvpass - Password to receive to accept an inbound connection #
206 # from this server. #
208 # to u:line a server (give it extra privilages required for running #
209 # services, Q, etc) you must include the <uline server> tag as shown #
210 # in the example below. You can have as many of these as you like. #
212 # WARNING: Unlike other ircds, u:lining a server allows ALL users on #
213 # that server to operoverride modes. This should only be used for #
214 # services and protected oper servers! #
217 <link name="hub.penguin.org"
220 sendpass="outgoing!password"
221 recvpass="incoming!password">
223 <link name="services.antarctic.com"
227 recvpass="polarbears">
229 <uline server="services.antarctic.com">
233 #-#-#-#-#-#-#-#-#-#- MISCELLANEOUS CONFIGURATION -#-#-#-#-#-#-#-#-#-#
235 # These options let you define the path to your motd and rules #
239 <files motd="/home/cc/inspircd-1.0/conf/inspire.motd"
240 rules="/home/cc/inspircd-1.0/conf/inspire.rules">
244 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#- RTFM LINE -#-#-#-#-#-#-#-#-#-#-#-#-#-#
246 # Just remove this... Its here to make you read ALL of the config #
249 <die value="And god came down from the heavens and smote down the noob.">
253 #-#-#-#-#-#-#-#-#-#-#-#-#- SERVER OPTIONS -#-#-#-#-#-#-#-#-#-#-#-#-#
255 # Settings to define which features are useable on your server. #
257 # prefixquit - a prefix for a client's quit message #
258 # loglevel - specifies what detail of messages to log in the #
259 # log file. You may select from debug, verbose, #
260 # default, sparse and none. #
261 # allowhalfop - allows the +h channel mode #
262 # allowprotect - allows the +a channel mode #
263 # allowfounder - allows the +q channel mode #
264 # netbuffersize - size of the buffer used to receive data from #
265 # clients. The ircd may only read() this amount #
266 # of text in one go at any time. (OPTIONAL) #
267 # maxwho - The maximum number of results returned by a /WHO #
268 # query. This is to prevent /WHO being used as a #
269 # spam vector or means of flooding an ircd. The #
270 # default is 128, it is not recommended to raise it #
271 # above 1024. Values up to 65535 are permitted. #
273 <options prefixquit="Quit: "
275 netbuffersize="10240"
283 #-#-#-#-#-#-#-#-#-#-#-#-#- MODULE OPTIONS -#-#-#-#-#-#-#-#-#-#-#-#-#
285 # These tags define which modules will be loaded on startup by your #
286 # server. Add modules without any paths. When you make your ircd #
287 # using the 'make' command, all compiled modules will be moved into #
288 # the folder you specified when you ran ./configure. The module tag #
289 # automatically looks for modules in this location. #
291 <module name="m_foobar.so">
294 #-#-#-#-#-#-#-#-#-#-#-#-#-#- BAN OPTIONS -#-#-#-#-#-#-#-#-#-#-#-#-#-#
296 # The ban tags define nick masks, host masks and ip ranges which are #
297 # banned from your server. All details in these tags are local to #
301 # badip lines ban an ip range (same as a zline) #
303 # ipmask - The ip range to ban (wildcards possible) #
304 # reason - Reason to display when disconnected #
306 # badnick lines ban a nick mask (same as a qline) #
308 # nick - Nick mask to ban (wildcards possible) #
309 # reason - Reason to display on /NICK #
311 # badhost lines ban a user@host mask (same as a kline) #
313 # host - ident@hostname (wildcards possible) #
314 # reason - Reason to display on disconnection #
317 <badip ipmask="69.69.69.69" reason="No porn here thanks.">
319 <badnick nick="ChanServ" reason="Reserved For Services">
320 <badnick nick="NickServ" reason="Reserved For Services">
321 <badnick nick="OperServ" reason="Reserved For Services">
322 <badnick nick="MemoServ" reason="Reserved For Services">
324 <badhost host="*@hundredz.n.hundredz.o.1337.kiddies.com" reason="Too many 1337 kiddiots">
325 <badhost host="*@localhost" reason="No irc from localhost!">
328 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#- YAWN -#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
330 # You should already know what to do here :) #
332 <die value="All l33t noobs must edit their configs.">
335 #########################################################################
337 # -InspIRCd Development and Coding Team- #
340 #########################################################################