]> git.netwichtig.de Git - user/henk/code/inspircd.git/blob - docs/inspircd.conf.example
Added comment about the craqness of ServerConfig::Read()
[user/henk/code/inspircd.git] / docs / inspircd.conf.example
1 ########################################################################
2 #                                                                      #
3 #               ___                ___ ____   ____    _                #
4 #              |_ _|_ __  ___ _ __|_ _|  _ \ / ___|__| |               #
5 #               | || '_ \/ __| '_ \| || |_) | |   / _` |               #
6 #               | || | | \__ \ |_) | ||  _ <| |__| (_| |               #
7 #              |___|_| |_|___/ .__/___|_| \_\\____\__,_|               #
8 #                            |_|                                       #
9 #      ____             __ _                       _   _               #
10 #     / ___|___  _ __  / _(_) __ _ _   _ _ __ __ _| |_(_) ___  _ __    #
11 #    | |   / _ \| '_ \| |_| |/ _` | | | | '__/ _` | __| |/ _ \| '_ \   #
12 #    | |__| (_) | | | |  _| | (_| | |_| | | | (_| | |_| | (_) | | | |  #
13 #     \____\___/|_| |_|_| |_|\__, |\__,_|_|  \__,_|\__|_|\___/|_| |_|  #
14 #                            |___/                                     #
15 #                                                                      #
16 ##################################||####################################
17                                  #||#
18 ##################################||####################################
19 #                                                                      #
20 #         This is an example of the config file for InspIRCd.          #
21 #             Change the options to suit your network                  #
22 #                                                                      #
23 #                 Last updated on : 09/01/2006                         #
24 #                 Written by      : CC  (cc@backchat.co.za)            #
25 #                 Updated by      : katsklaw (katsklaw@gmail.com)      #
26 #                 Updated by      : brain (brain@inspircd.org)         #
27 #                                                                      #
28 #    ____                _   _____ _     _       ____  _ _   _         #
29 #   |  _ \ ___  __ _  __| | |_   _| |__ (_)___  | __ )(_) |_| |        #
30 #   | |_) / _ \/ _` |/ _` |   | | | '_ \| / __| |  _ \| | __| |        #
31 #   |  _ <  __/ (_| | (_| |   | | | | | | \__ \ | |_) | | |_|_|        #
32 #   |_| \_\___|\__,_|\__,_|   |_| |_| |_|_|___/ |____/|_|\__(_)        #
33 #                                                                      #
34 #   Lines prefixed with READ THIS BIT, as shown above, are IMPORTANT   #
35 #   lines, and you REALLY SHOULD READ THEM. Yes, THIS MEANS YOU. Even  #
36 #   if you've configured InspIRCd before, these probably indicate      #
37 #   something new or different to this version and you SHOULD READ IT. #
38 #                                                                      #
39 ########################################################################
40
41
42
43 #-#-#-#-#-#-#-#-#-#-#-#-  SERVER DESCRIPTION  -#-#-#-#-#-#-#-#-#-#-#-#-
44 #                                                                     #
45 #   Here is where you enter the information about your server.        #
46 #                                                                     #
47 #  Syntax is as follows:                                              #
48 #                                                                     #
49 #     <server name="server.name"                                      #
50 #      description="Server Description"                               #
51 #      network="MyNetwork">                                           #
52 #                                                                     #
53
54 <server name="penguin.omega.org.za"
55         description="Waddle World"
56         network="Omega">
57
58
59 #-#-#-#-#-#-#-#-#-#-#-#-   ADMIN INFORMATION   -#-#-#-#-#-#-#-#-#-#-#-#
60 #                                                                     #
61 #   Describes the Server Administrator's real name, nick              #
62 #   and email address.                                                #
63 #                                                                     #
64 #  Syntax is as follows:                                              #
65 #       <admin name="real name"                                       #
66 #              nick="nick name"                                       #
67 #              email="email@address.com">                             #
68 #                                                                     #
69
70 <admin  name="Johnny English"
71         nick="MI5"
72         email="MI5@the.best.secret.agent">
73
74
75 #-#-#-#-#-#-#-#-#-#-#-#-   PORT CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-
76 #                                                                     #
77 #   Enter the port and address bindings here.                         #
78 #                                                                     #
79 #  bind address - specifies which the address which ports bind        #
80 #  port         - opens an unused port                                #
81 #  type         - can be 'clients' or 'servers'. The clients type is  #
82 #                 a standard tcp based socket, the servers type is a  #
83 #                 also a TCP based connection but of a different      #
84 #                 format.                                             #
85 #    ____                _   _____ _     _       ____  _ _   _        #
86 #   |  _ \ ___  __ _  __| | |_   _| |__ (_)___  | __ )(_) |_| |       #
87 #   | |_) / _ \/ _` |/ _` |   | | | '_ \| / __| |  _ \| | __| |       #
88 #   |  _ <  __/ (_| | (_| |   | | | | | | \__ \ | |_) | | |_|_|       #
89 #   |_| \_\___|\__,_|\__,_|   |_| |_| |_|_|___/ |____/|_|\__(_)       #
90 #                                                                     #
91 #  If you want to link servers to InspIRCd you must load the          #
92 #  m_spanningtree module! Please see the modules list below for       #
93 #  information on how to load this module! If you do not load this    #
94 #  module, server ports will NOT be bound!                            #
95 #                                                                     #
96 #  Leaving address empty binds to all available interfaces            #
97 #                                                                     #
98 #  Syntax is as follows:                                              #
99 #                                                                     #
100 # <bind address="ip number" port="port" type="clients">               #
101 # <bind address="ip number" port="port" type="servers">               #
102 #                                                                     #
103
104 <bind address="" port="6660" type="clients">
105 <bind address="" port="7000" type="servers">
106 <bind address="" port="7001" type="servers">
107
108
109 #-#-#-#-#-#-#-#-#-#-  DIE/RESTART CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-
110 #                                                                     #
111 #   You can configure the passwords here which you wish to use for    #
112 #   the die and restart commands. Only trusted ircops who will        #
113 #   need this ability should know the die and restart password.       #
114 #                                                                     #
115 #  Syntax is as follows:                                              #
116 #       <power diepass="die password" restartpass="restart password"  #
117 #        pause="secs before dying">                                   #
118 #                                                                     #
119
120 <power diepass="diepass" restartpass="restartpass" pause="2">
121
122
123 #-#-#-#-#-#-#-#-#-#  INCLUDE CONFIGURATION  #-#-#-#-#-#-#-#-#-#-#-#-#-#
124 #                                                                     #
125 # This optional tag allows you to include another config file         #
126 # allowing you to keep your configuration tidy. The configuration     #
127 # file you include will be treated as part of the configuration file  #
128 # which includes it, in simple terms the inclusion is transparent.    #
129 #                                                                     #
130 # All paths to config files are relative to the directory of the main #
131 # config file inspircd.conf, unless the filename starts with a forward#
132 # slash (/) in which case it is treated as an absolute path.          #
133 #                                                                     #
134 # Syntax is as follows:                                               #
135 #       <include file="file.conf">                                    #
136 #                                                                     #
137
138 #-#-#-#-#-#-#-#-#-#-  CONNECTIONS CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
139 #                                                                     #
140 #   This is where you can configure which connections are allowed     #
141 #   and denied access onto your server.                               #
142 #   The password is optional.                                         #
143 #   You may have as many of these as you require.                     #
144 #   To allow/deny all connections use a *                             #
145 #                                                                     #
146 #  Syntax is as follows:                                              #
147 #                                                                     #
148 #       <connect allow="ip mask">                                     #
149 #       <connect allow="ip mask" password="blahblah">                 #
150 #       <connect allow="ip mask" password="blah" timeout="10">        #
151 #       <connect allow="ip mask" timeout="blah" flood="5">            #
152 #       <connect allow="ip mask" threshold="8" pingfreq="120">        #
153 #       <connect allow="ip mask" sendq="99999" revcq="696969">        #
154 #       <connect allow="ip mask" maxlocal="3" maxglobal="3">          #
155 #       <connect deny="ip mask">                                      #
156 #                                                                     #
157 #   You may optionally include timeout="x" on any allow line, which   #
158 #   specifies the amount of time given before an unknown connection   #
159 #   is closed if USER/NICK/PASS are not given. This value is in secs  #
160 #                                                                     #
161 #   You should also include a flood="x" line which indicates          #
162 #   the number of lines a user may place into their buffer at once    #
163 #   before they are disconnected for excess flood. This feature can   #
164 #   not be disabled, however it can be set to exremely high values,   #
165 #   rendering it effectively disabled. A recommended value is 10.     #
166 #   A counter is maintained for each user which is reset every        #
167 #   'threshold' seconds and specifying this threshold value with      #
168 #   threshold="X" indicates how often the counter is reset. For       #
169 #   example, with flood="5" and threshold="8", the user may not send  #
170 #   more than 5 lines in 8 secs.                                      #
171 #                                                                     #
172 #   You may optionally specify the sendq size and ping frequency of   #
173 #   each connect:allow line using the pingfreq="X" and sendq="X"      #
174 #   settings as shown in the full example below.                      #
175 #   The ping frequency is specified in seconds, and the sendq size    #
176 #   in bytes. It is recommended, although not enforced, that you      #
177 #   should never set your sendq size to less than 8k. Send Queues are #
178 #   dynamically allocated and can grow as needed up to the maximum    #
179 #   size specified.                                                   #
180 #                                                                     #
181 #   The optional recvq value is the maximum size which users in this  #
182 #   group may grow their receive queue to. This is recommended to be  #
183 #   kept pretty low compared to the sendq, as users will always       #
184 #   recieve more than they send in normal circumstances. The default  #
185 #   if not specified is 4096.                                         #
186 #                                                                     #
187 #   IMPORTANT NOTE, CALL THE CONFUSION POLICE!                        #
188 #   The sendq is the data waiting to be sent TO THE USER.             #
189 #   The recvq is the data being received FROM THE USER.               #
190 #   The names sendq and recvq are from the SERVER'S PERSPECTIVE not   #
191 #   that of the user... Just to clear up any confusion or complaints  #
192 #   that these are backwards :p                                       #
193 #                                                                     #
194 #   The maxlocal and maxglobal values can be used to enforce local    #
195 #   and global session limits on connections. The session limits are  #
196 #   counted against all users, but applied only to users within the   #
197 #   class. For example, if you had a class 'A' which has a session    #
198 #   limit of 3, and a class 'B' which has a session limit of 5, and   #
199 #   somehow, two users managed to get into class B which also match   #
200 #   class A, there is only one connection left for this IP now in A,  #
201 #   but if they can connect again to B, there are three. You get the  #
202 #   idea (i hope).                                                    #
203 #                                                                     #
204
205 <connect allow="196.12.*"  password="secret">
206 <connect allow="*" timeout="60" flood="10" threshold="60" pingfreq="120" sendq="262144" recvq="4096" maxlocal="3" maxglobal="3">
207
208 <connect deny="69.254.*">
209
210
211 #-#-#-#-#-#-#-#-#-#-#-#-  CLASS CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-
212 #                                                                     #
213 #   Classes are a group of commands which are grouped together        #
214 #   and given a unique name. They used to define which commands       #
215 #   are available to certain types of Operators.                      #
216 #                                                                     #
217 #  Syntax is as follows:                                              #
218 #                                                                     #
219 #       <class name="name" commands="oper commands">                  #
220 #                                                                     #
221 #    ____                _   _____ _     _       ____  _ _   _        #
222 #   |  _ \ ___  __ _  __| | |_   _| |__ (_)___  | __ )(_) |_| |       #
223 #   | |_) / _ \/ _` |/ _` |   | | | '_ \| / __| |  _ \| | __| |       #
224 #   |  _ <  __/ (_| | (_| |   | | | | | | \__ \ | |_) | | |_|_|       #
225 #   |_| \_\___|\__,_|\__,_|   |_| |_| |_|_|___/ |____/|_|\__(_)       #
226 #                                                                     #
227 #  You are not forced to give these classes the names given below.    #
228 #  You can create your own named classes, if you want, in fact that   #
229 #  is the whole idea of this system!                                  #
230 #                                                                     #
231
232 <class name="Shutdown" commands="DIE RESTART REHASH">
233 <class name="ServerLink" commands="CONNECT SQUIT">
234 <class name="BanControl" commands="KILL GLINE KLINE ZLINE QLINE ELINE">
235 <class name="OperChat" commands="WALLOPS GLOBOPS">
236 <class name="HostCloak" commands="SETHOST SETIDENT SETNAME">
237
238
239 #-#-#-#-#-#-#-#-#-#-#-#-  OPERATOR COMPOSITION   -#-#-#-#-#-#-#-#-#-#-#
240 #                                                                     #
241 #   This is where you specify which types of operators you have on    #
242 #   your server, as well as the commands they are allowed to use.     #
243 #   This works alongside with the classes specified above.            #
244 #                                                                     #
245 #  type name  - a name for the combined class types                   #
246 #                                                                     #
247 #  classes    - specified above, used for flexibility for the         #
248 #               server admin to decide on which operators get         #
249 #               what commands                                         #
250 #                                                                     #
251 #  host       - optional hostmask operators will recieve on oper-up.  #
252 #                                                                     #
253 #  Syntax is as follows:                                              #
254 #                                                                     #
255 #       <type name="name" classes="class name" host="oper hostmask">  #
256 #                                                                     #
257 #    ____                _   _____ _     _       ____  _ _   _        #
258 #   |  _ \ ___  __ _  __| | |_   _| |__ (_)___  | __ )(_) |_| |       #
259 #   | |_) / _ \/ _` |/ _` |   | | | '_ \| / __| |  _ \| | __| |       #
260 #   |  _ <  __/ (_| | (_| |   | | | | | | \__ \ | |_) | | |_|_|       #
261 #   |_| \_\___|\__,_|\__,_|   |_| |_| |_|_|___/ |____/|_|\__(_)       #
262 #                                                                     #
263 #  You are not forced to give these types the names given below.      #
264 #  You can create your own named types, if you want, in fact that     #
265 #  is the whole idea of this system!                                  #
266 #                                                                     #
267
268 <type name="NetAdmin" classes="OperChat BanControl HostCloak Shutdown ServerLink" host="netadmin.omega.org.za">
269 <type name="GlobalOp" classes="OperChat BanControl HostCloak ServerLink" host="ircop.omega.org.za">
270 <type name="Helper" classes="HostCloak" host="helper.omega.org.za">
271
272
273 #-#-#-#-#-#-#-#-#-#-#-  OPERATOR CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
274 #                                                                     #
275 #   Opers are defined here. This is a very important section.         #
276 #   Remember to only make operators out of truthworthy people.        #
277 #                                                                     #
278 #  name      - oper name, best to use lower-case                      #
279 #                                                                     #
280 #  password  - password to oper-up,                                   #
281 #              encryption not supported by inspircd. However, there   #
282 #              are modules that allow for oper password encryption.   #      
283 #                                                                     #
284 #  host      - host of client allowed to oper-up.                     #
285 #              wildcards accepted, seperate multiple hosts with space #
286 #                                                                     #
287 #  type      - specified above, defines the kind of operator          #
288 #                                                                     #
289 #  Syntax is as follows:                                              #
290 #       <oper name="login"                                            #
291 #             password="pass"                                         #
292 #             host="hostmask@of.oper"                                 #
293 #             type="oper type">                                       #
294 #                                                                     #
295
296 <oper   name="katsklaw"
297         password="s3cret"
298         host="ident@dialup15.isp.com *@localhost *@server.com"
299         type="NetAdmin">
300
301
302 #-#-#-#-#-#-#-#-#-#-#-  SERVER LINK CONFIGURATION  -#-#-#-#-#-#-#-#-#-#
303 #                                                                     #
304 # Defines which servers can link to this one, and which servers this  #
305 # server may create outbound links to.                                #
306 #                                                                     #
307 # name        -   The name is the canocial name of the server, does   #
308 #                 not have to resolve - but it is expected to be sent #
309 #                 in the remote servers connection info.              #
310 # ipaddr      -   Valid host or ip address for remote server. *       #
311 #                                                                     #
312 # port        -   The TCP port for the remote server.                 #
313 #                                                                     #
314 # sendpass    -   Password to send to create an outbound connection   #
315 #                 to this server.                                     #
316 #                                                                     #
317 # recvpass    -   Password to receive to accept an inbound connection #
318 #                 from this server.                                   #
319 #                                                                     #
320 # autoconnect -   Sets the server to autoconnect. Where x is the num. #
321 # (optional)      of seconds between attempts. e.g. 300 = 5 minutes.  #
322 #                                                                     #
323 # encryptionkey - Encryption key to be used for AES encryption, where #
324 #                 supported. Links using the spanning tree protocol   #
325 #                 support AES. The encryption key must be EXACTLY 8,  #
326 #                 16 or 32 characters in length for a 64, 128 or 256  #
327 #                 bit key, respectively.                              #
328 #                                                                     #
329 # hidden        - When using m_spanningtree.so for linking. you may   #
330 #                 set this to 'yes', and if you do, the IP address/   #
331 #                 hostname of this connection will NEVER be shown to  #
332 #                 any opers on the network. In /STATS c its address   #
333 #                 will show as *@<hidden>, and during CONNECT and     #
334 #                 inbound connections, its IP will show as <hidden>   #
335 #                 UNLESS the connection fails (e.g. due to a bad      #
336 #                 password or servername)                             #
337 #                                                                     #
338 # to u:line a server (give it extra privilages required for running   #
339 # services, Q, etc) you must include the <uline server> tag as shown  #
340 # in the example below. You can have as many of these as you like.    #
341 #                                                                     #
342 # WARNING: Unlike other ircds, u:lining a server allows ALL users on  #
343 # that server to operoverride modes. This should only be used for     #
344 # services and protected oper servers!                                #
345 #                                                                     #
346 # IMPORTANT NOTE: When specifying the ip address and/or host, the     #
347 # server software will prioritize RESOLVED hostnames above ip         #
348 # addresses, so for example if your target server resolves to a.b.com #
349 # you MUST put a.b.com into your link block, and NOT the IP address   #
350 # of a.b.com. The system uses reverse resolution.                     #
351 #                                                                     #
352 #    ____                _   _____ _     _       ____  _ _   _        #
353 #   |  _ \ ___  __ _  __| | |_   _| |__ (_)___  | __ )(_) |_| |       #
354 #   | |_) / _ \/ _` |/ _` |   | | | '_ \| / __| |  _ \| | __| |       #
355 #   |  _ <  __/ (_| | (_| |   | | | | | | \__ \ | |_) | | |_|_|       #
356 #   |_| \_\___|\__,_|\__,_|   |_| |_| |_|_|___/ |____/|_|\__(_)       #
357 #                                                                     #
358 #  If you want to link servers to InspIRCd you must load the          #
359 #  m_spanningtree module! Please see the modules list below for       #
360 #  information on how to load this module! If you do not load this    #
361 #  module, server links will NOT work!                                #
362 #                                                                     #
363
364 <link name="hub.penguin.org"
365         ipaddr="penguin.box.com"
366         port="7000"
367         autoconnect="300"
368         sendpass="outgoing!password"
369         recvpass="incoming!password">
370
371 <link name="services.antarctic.com"
372         ipaddr="localhost"
373         port="7000"
374         sendpass="penguins"
375         recvpass="polarbears">
376
377 <uline server="services.antarctic.com">
378
379
380 #-#-#-#-#-#-#-#-#-#-  MISCELLANEOUS CONFIGURATION  -#-#-#-#-#-#-#-#-#-#
381 #                                                                     #
382 #   These options let you define the path to your motd and rules      #
383 #   files.                                                            #
384 #                                                                     #
385
386 <files  motd="/home/cc/inspircd/conf/inspire.motd"
387         rules="/home/cc/inspircd/conf/inspire.rules">
388
389 #-#-#-#-#-#-#-#-#-#-#-#-#-#-# DNS SERVER -#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
390 #                                                                     #
391 # Define your DNS server address here. InspIRCd has its own resolver  #
392 # and you must define this otherwise nobody's host will resolve. The  #
393 # timeout value is in seconds.                                        #
394 #                                                                     #
395 #    ____                _   _____ _     _       ____  _ _   _        #
396 #   |  _ \ ___  __ _  __| | |_   _| |__ (_)___  | __ )(_) |_| |       #
397 #   | |_) / _ \/ _` |/ _` |   | | | '_ \| / __| |  _ \| | __| |       #
398 #   |  _ <  __/ (_| | (_| |   | | | | | | \__ \ | |_) | | |_|_|       #
399 #   |_| \_\___|\__,_|\__,_|   |_| |_| |_|_|___/ |____/|_|\__(_)       #
400 #                                                                     #
401 # When choosing a server, be sure to choose one which will do a       #
402 # RECURSIVE LOOKUP. InspIRCd's resolver does not currently do these   #
403 # recursive lookups itself, to save time and resources. The dns       #
404 # server recommended by the InspIRCd team is bind, available from the #
405 # ISC website. If your DNS server does not do a recursive lookup, you #
406 # will be able to notice this by the fact that none of your users are #
407 # resolving even though the DNS server appears to be up! Most ISP and #
408 # hosting provider DNS servers support recursive lookups.             #
409 #                                                                     #
410
411 <dns server="127.0.0.1" timeout="5">
412
413 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#  PID FILE  -#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
414 #                                                                     #
415 # Define the path to the PID file here. The PID file can be used to   #
416 # rehash the ircd from the shell or to terminate the ircd from the    #
417 # shell using shell scripts, perl scripts etc, and to monitor the     #
418 # ircd's state via cron jobs.                                         #
419 #                                                                     #
420
421 <pid file="/path/to/inspircd.pid">
422
423 #-#-#-#-#-#-#-#-#-#-#-#-#- BANLIST LIMITS #-#-#-#-#-#-#-#-#-#-#-#-#-#-#
424 #                                                                     #
425 # Use these tags to customise the ban limits on a per channel basis.  #
426 # the tags are read from top to bottom, and any tag found which       #
427 # matches the channels name applies the banlimit to that channel.     #
428 # It is advisable to put an entry with the channel as '*' at the      #
429 # bottom of the list. If none are specified or no maxbans tag is      #
430 # matched, the banlist size defaults to 64 entries.                   #
431 #                                                                     #
432
433 <banlist chan="#morons" limit="128">
434 <banlist chan="*" limit="69">
435
436 #-#-#-#-#-#-#-#-#-#-#-  DISABLED COMMANDS  -#-#-#-#-#-#-#-#-#-#-#-#-#-#
437 #                                                                     #
438 # This tag is optional, and specifies one or more commands which are  #
439 # not available to non-operators. For example you may wish to disable #
440 # NICK and prevent non-opers from changing their nicknames.           #
441 # Note that any disabled commands take effect only after the user has #
442 # 'registered' (e.g. after the initial USER/NICK/PASS on connection)  #
443 # so for example disabling NICK will not cripple your network.        #
444 #                                                                     #
445 #         <disabled commands="TOPIC MODE">                            #
446 #                                                                     #
447
448
449 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-  RTFM LINE  -#-#-#-#-#-#-#-#-#-#-#-#-#-#
450 #                                                                     #
451 #   Just remove this... Its here to make you read ALL of the config   #
452 #   file options ;)                                                   #
453
454 <die value="You should probably edit your config *PROPERLY* and try again.">
455
456
457
458 #-#-#-#-#-#-#-#-#-#-#-#-#-  SERVER OPTIONS   -#-#-#-#-#-#-#-#-#-#-#-#-#
459 #                                                                     #
460 #   Settings to define which features are useable on your server.     #
461 #                                                                     #
462 #  prefixquit    - a prefix for a client's quit message               #
463 #                                                                     #
464 #  loglevel      - specifies what detail of messages to log in the    #
465 #                  log file. You may select from debug, verbose,      #
466 #                  default, sparse and none.                          #
467 #  allowhalfop   - allows the +h channel mode                         #
468 #                                                                     #
469 #  noservices    - If noservices is true, yes, or 1, then the first   #
470 #                  user into a channel gets founder status. This is   #
471 #                  only useful on networks running the m_chanprotect  #
472 #                  module without services.                           #
473 #                                                                     #
474 #  netbuffersize - size of the buffer used to receive data from       #
475 #                  clients. The ircd may only read() this amount      #
476 #                  of text in one go at any time. (OPTIONAL)          #
477 #                                                                     #
478 #  maxwho        - The maximum number of results returned by a /WHO   #
479 #                  query. This is to prevent /WHO being used as a     #
480 #                  spam vector or means of flooding an ircd. The      #
481 #                  default is 128, it is not recommended to raise it  #
482 #                  above 1024. Values up to 65535 are permitted.      #
483 #                                                                     #
484 #  somaxconn     - The maximum number of sockets that may be waiting  #
485 #                  in the accept queue. This usually allows the ircd  #
486 #                  to soak up more connections in a shorter space of  #
487 #                  time when increased but please be aware there is a #
488 #                  system defined maximum value to this, the same way #
489 #                  there is a system defined maximum number of file   #
490 #                  descriptors. Some systems may only allow this to   #
491 #                  be up to 5 (ugh) while others such as FreeBSD will #
492 #                  default to a much nicer 128.                       #
493 #                                                                     #
494 #  moduledir     - This optional value indicates a runtime change of  #
495 #                  the location where modules are to be found. This   #
496 #                  does not add a supplementary directory. There can  #
497 #                  only be one module path.                           #
498 #                                                                     #
499 #  softlimit     - This optional feature allows a defined softlimit.  #
500 #                  if defined sets a soft maxconnections value, has   #
501 #                  to be less than the ./configure maxclients         #
502 #                                                                     #
503 #  operonlystats - The operonlystats field is optional and specifies  #
504 #                  which stats characters in /STATS may only be       #
505 #                  requested by an IRC operator. Stats characters in  #
506 #                  this field are case sensitive and enforced as      #
507 #                  oper-only independent of if they are in a module   #
508 #                  or the core.                                       #
509 #                                                                     #
510 #  customversion - If you specify this configuration item, and it is  #
511 #                  not set to an empty value, then when a user does   #
512 #                  a /VERSION command on the ircd, this string will   #
513 #                  be displayed as the second portion of the output,  #
514 #                  replacing the system 'uname', compile flags and    #
515 #                  socket engine/dns engine names. You may use this   #
516 #                  to enhance security, or simply for vanity.         #
517 #                                                                     #
518 #  maxtargets    - The maxtargets field is optional, and if not       #
519 #                  defined, defaults to 20. It indicates the maximum  #
520 #                  number of targets which may be given to commands   #
521 #                  such as PRIVMSG, KICK etc.                         #
522 #                                                                     #
523 #  hidesplits    - When set to 'yes', will hide split server names    #
524 #                  from non-opers. Non-opers will see '*.net *.split' #
525 #                  instead of the server names in the quit message,   #
526 #                  identical to the way IRCu displays them.           #
527 #                                                                     #
528 #  hidewhois     - When defined with a non-empty value, the given     #
529 #                  text will be used in place of the user's server    #
530 #                  in WHOIS, when a user is WHOISed by a non-oper.    #
531 #                  For example, most nets will want to set this to    #
532 #                  something like '*.netname.net' to conceal the      #
533 #                  actual server the user is on.                      #
534 #                                                                     #
535 #  flatlinks     - When you are using m_spanningtree.so, and this     #
536 #                  value is set to true, yes or 1, /MAP and /LINKS    #
537 #                  will be flattened when shown to a non-oper.        #
538 #                                                                     #
539 #  hideulines    - When you are using m_spanningtree.so, and this     #
540 #                  value is set to true, yes or 1, then U-lined       #
541 #                  servers will be hidden in /LINKS and /MAP. For non #
542 #                  opers. Please be aware that this will also hide    #
543 #                  any leaf servers of a U-lined server, e.g. jupes.  #
544 #                                                                     #
545 #  tempdir       - If defined, indicates a path where modules will be #
546 #                  temporarily copied before loading. If not defined, #
547 #                  defaults to /tmp.                                  #
548 #                                                                     #
549
550 <options prefixquit="Quit: "
551          loglevel="default"
552          netbuffersize="10240"
553          maxwho="128"
554          noservices="0"
555          somaxconn="128"
556          softlimit="128"
557          operonlystats="oclgkz"
558          customversion=""
559          maxtargets="20"
560          hidesplits="no"
561          hidewhois=""
562          flatlinks="no"
563          hideulines="no"
564          allowhalfop="yes">
565
566
567
568 #-#-#-#-#-#-#-#-#-#-#-#-#-  MODULE OPTIONS   -#-#-#-#-#-#-#-#-#-#-#-#-#
569 #                                                                     #
570 #  These tags define which modules will be loaded on startup by your  #
571 #  server. Add modules without any paths. When you make your ircd     #
572 #  using the 'make' command, all compiled modules will be moved into  #
573 #  the folder you specified when you ran ./configure. The module tag  #
574 #  automatically looks for modules in this location.                  #
575 #  If you attempt to load a module outside of this location, either   #
576 #  in the config, or via /LOADMODULE, you will receive an error.      #
577 #                                                                     #
578 #  By default, ALL modules are commented out. You must uncomment them #
579 #  or add lines to your config to load modules. Please refer to       #
580 #  http://www.inspircd.org/wiki/Modules_List for a list of modules and#
581 #  each modules link for any additional conf tags they require.       #
582 #                                                                     #
583 #  WINDOWS USERS PLEASE NOTE: You can still load these modules! They  #
584 #  are incorporated into the executable and can be loaded and removed #
585 #  similarly to if they were in a ramdisk.                            #
586 #    ____                _   _____ _     _       ____  _ _   _        #
587 #   |  _ \ ___  __ _  __| | |_   _| |__ (_)___  | __ )(_) |_| |       #
588 #   | |_) / _ \/ _` |/ _` |   | | | '_ \| / __| |  _ \| | __| |       #
589 #   |  _ <  __/ (_| | (_| |   | | | | | | \__ \ | |_) | | |_|_|       #
590 #   |_| \_\___|\__,_|\__,_|   |_| |_| |_|_|___/ |____/|_|\__(_)       #
591 #                                                                     #
592 # To link servers to InspIRCd, you MUST load the m_spanningtree       #
593 # module, as shown below. If you DO NOT do this, server links will    #
594 # NOT work at all. ie. The ports will NOT bind, and /connect will not #
595 # work properly. This is by design, to allow for the implementation   #
596 # of other linking protocols in modules in the future.                #
597
598 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
599 # Spanning Tree module - allows linking of servers using the spanning
600 # tree protocol (see the READ THIS BIT section above).
601 #
602 #<module name="m_spanningtree.so">
603
604 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
605 # Alias module: Allows you to define server-side command aliases
606 #<module name="m_alias.so">
607 #
608 #-#-#-#-#-#-#-#-#-#-#-  ALIAS DEFINITIONS  -#-#-#-#-#-#-#-#-#-#-#-#-#-#
609 #                                                                     #
610 # If you have the m_alias.so module loaded, you may also define       #
611 # aliases as shown below. They are commonly used to provide shortcut  #
612 # commands to services, however they are not limited to jsut this use.#
613 # An alias tag requires the following values to be defined in it:     #
614 #                                                                     #
615 # text        -      The text to detect at the start of the line,     #
616 #                    must be at the start of the line to trigger the  #
617 #                    alias. May contain spaces, but case insensitive. #
618 # replace     -      The text to replace 'text' with. Usually this    #
619 #                    will be "PRIVMSG ServiceName" or similar.        #
620 # requires    -      If you provide a value for 'requires' this means #
621 #                    the given nickname MUST be online for the alias  #
622 #                    to successfully trigger. If they are not, then   #
623 #                    the user receives a 'no such nick' 401 numeric.  #
624 # uline       -      Defining this value with 'yes', 'true' or '1'    #
625 #                    will ensure that the user given in 'requires'    #
626 #                    must also be on a u-lined server, as well as     #
627 #                    actually being on the network. If the user is    #
628 #                    online, but not on a u-lined server, then an     #
629 #                    oper-alert is sent out as this is possibly signs #
630 #                    of a user trying to impersonate a service.       #
631 #                                                                     #
632 #<alias text="NICKSERV" replace="PRIVMSG NickServ" requires="NickServ" uline="yes">
633 #<alias text="CHANSERV" replace="PRIVMSG ChanServ" requires="ChanServ" uline="yes">
634 #<alias text="NS" replace="PRIVMSG NickServ" requires="NickServ" uline="yes">
635 #<alias text="CS" replace="PRIVMSG ChanServ" requires="ChanServ" uline="yes">
636
637 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
638 # Antibottler module: Labels bottler leech bots
639 #<module name="m_antibottler.so">
640
641 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
642 # Ban except module: Adds support for channel ban exceptions (+e)
643 #<module name="m_banexception.so">
644
645 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
646 # Block colour module: Blocking colour-coded messages with cmode +c
647 #<module name="m_blockcolor.so">
648
649 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
650 # Botmode module: Adds the user mode +B
651 #<module name="m_botmode.so">
652
653 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
654 # CBAN module: Lets you disallow channels from being used at runtime.
655 #<module name="m_cban.so">
656
657 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
658 # Censor module: Adds the channel mode +G
659 #<module name="m_censor.so">
660 #
661 #-#-#-#-#-#-#-#-#-#-#-  CENSOR  CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#-#
662 #                                                                     #
663 # Optional - If you specify to use the m_censor module, then specfiy  #
664 # below the path to the censor.conf file. See also:                   #
665 # Censor file, see http://www.inspircd.org/wiki/Censor_Module         #
666 #
667 #<censor file="/path/to/censor.conf">
668
669 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
670 # Channel filter module: Allows channel-op defined message
671 # filtering using simple string matches (channel mode +g)
672 #<module name="m_chanfilter.so">
673
674 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
675 # Chanprotect module: gives +q and +a channel modes
676 #<module name="m_chanprotect.so">
677
678 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
679 # CHGHOST module: Adds the /CHGHOST command
680 #<module name="m_chghost.so">
681
682 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
683 # CHGIDENT module: Adds the /CHGIDENT command
684 #<module name="m_chgident.so">
685
686 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
687 # Cloaking module: Adds usermode +x and cloaking support
688 #<module name="m_cloaking.so">
689
690 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
691 # Conn-Lusers: Shows the LUSERS output on connect
692 #<module name="m_conn_lusers.so">
693
694 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
695 # Conn-Wait-for-Pong: Don't let a user connect until they PONG
696 #<module name="m_conn_waitpong.so">
697 #
698 #-#-#-#-#-#-#-#-#-#-#-   WAITPONG CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
699 #                                                                     #
700 # If you have the m_conn_waitpong.so module loaded, configure it with #
701 # the <waitpong> tag:                                                 #
702 #                                                                     #
703 # sendsnotice    -   Whether to send a snotice on connect, like Unreal#
704 # killonbadreply -   Whether to kill the user if they send the wrong  #
705 #                    PONG reply.                                      #
706 #
707 #<waitpong sendsnotice="yes" killonbadreply="yes">
708
709 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
710 # Deny Channels: Deny Channels from being used by users
711 #<module name="m_denychans.so"> 
712 #
713 #-#-#-#-#-#-#-#-#-#-#-   DENYCHAN DEFINITIONS  -#-#-#-#-#-#-#-#-#-#-#-#
714 #                                                                     #
715 # If you have the m_denychans.so module loaded, you need to specify   #
716 # the channels to deny:
717 #                                                                     #
718 # name        -      The channel name to deny.                        #
719 # allowopers  -      If operators are allowed to override the deny.   #
720 # reason      -      Reason given for the deny.                       #
721 #
722 #<badchan name="#gods" allowopers="yes" reason="Tortoises!">
723
724 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
725 # Devoice Module: Let users devoice themselves.
726 #<module name="m_devoice.so">
727
728 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
729 # Filter module: Provides glob-based message filtering
730 #<module name="m_filter.so">
731 #OR
732 # PCRE filter module: Filters messages using regular expressions
733 #<module name="m_filter_pcre.so">
734 #
735 #-#-#-#-#-#-#-#-#-#-#-  FILTER  CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#-#
736 #                                                                     #
737 # Optional - If you specify to use the m_filter or m_filter_pcre      #
738 # modules, then specfiy below the path to the filter.conf file.       #
739 #
740 #<filter file="/path/to/inspircd/filter.conf">
741
742 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
743 # Foobar module - does nothing - historical relic
744 #<module name="m_foobar.so">
745
746 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
747 # Globops module: gives /GLOBOPS and usermode +g
748 #<module name="m_globops.so">
749
750 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
751 # Global load module: Allows loading and unloading of modules network-
752 # wide (USE WITH EXTREME CAUTION!)
753 #<module name="m_globalload.so">
754
755 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
756 # HELPOP module: Provides the /HELPOP command
757 #<module name="m_helpop.so">
758 #
759 #-#-#-#-#-#-#-#-#-#-#-#-  HELPOP  CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
760 #                                                                     #
761 # Optional - If you specify to use the m_helpop.so module, then       #
762 # specify below the path to the helpop.conf file.                     #
763 #
764 #<helpop file="/path/to/inspircd/helpop.conf">
765
766 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
767 # Hostchange module: Allows a different style of cloaking
768 #<module name="m_hostchange.so">
769 #
770 #-#-#-#-#-#-#-#-#-#-#-  HOSTCHANGE  CONFIGURATION  -#-#-#-#-#-#-#-#-#-#
771 #                                                                     #
772 # Optional - If you choose to use the m_hostchange.so module.         #
773 # Config Help -  See http://www.inspircd.org/wiki/Host_Changer_Module #
774 #
775 #<host suffix="polarbears.org">
776 #<hostchange mask="*@fbi.gov" action="addnick">
777 #<hostchange mask="*r00t@*" action="suffix">
778 #<hostchange mask="a@b.com" action="set" value="blah.blah.blah">
779
780 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
781 # Ident: Provides RFC 1413 ident lookup support
782 #<module name="m_ident.so">
783 #
784 #-#-#-#-#-#-#-#-#-#-#-#-   IDENT CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
785 #                                                                     #
786 # Optional - If you are using the m_ident.so module, then you can     #
787 # specify the timeout for ident lookups here. If not defined, it will #
788 # default to one second. This is a non-blocking timeout which holds   #
789 # the user in a 'connecting' state until the lookup is complete.      #
790 #
791 #<ident timeout="5">
792
793 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
794 # Invite except module: Adds support for channel invite exceptions (+I)
795 #<module name="m_inviteexception.so">
796
797 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
798 # Join flood module: Adds support for join flood protection (+j)
799 #<module name="m_joinflood.so">
800
801 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
802 # Anti-Auto-Rejoin: Adds support for prevention of auto-rejoin (+J)
803 #<module name="m_kicknorejoin.so">
804
805 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
806 # Knock module: adds the /KNOCK command and +K channel mode
807 #<module name="m_knock.so">
808
809 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
810 # Msg flood module: Adds message/notice flood protection (+f)
811 #<module name="m_messageflood.so">
812
813 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
814 # Nicklock module: Let opers change a user's nick and then stop that
815 # user from changing their nick again. /NICKLOCK and /NICKUNLOCK
816 #<module name="m_nicklock.so">
817
818 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
819 # No ctcp module: Adds the channel mode +C to block CTCPs
820 #<module name="m_noctcp.so">
821
822 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
823 # Noinvite module: Gives channel mode +V
824 #<module name="m_noinvite.so">
825
826 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
827 # No kicks module: Adds the +Q channel mode
828 #<module name="m_nokicks.so">
829
830 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
831 # No nicks module: Adds the +N channel mode
832 #<module name="m_nonicks.so">
833
834 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
835 # No Notice module: adds the channel mode +T
836 #<module name="m_nonotice.so">
837
838 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
839 # Oper channels mode: Adds the +O channel mode
840 #<module name="m_operchans.so">
841
842 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
843 # Oper Join module: Forces opers to join a channel on oper-up
844 #<module name="m_operjoin.so">
845 #
846 #-#-#-#-#-#-#-#-#-#-#   OPERJOIN CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
847 #                                                                     #
848 # If you are using the m_operjoin.so module, specify the channel here #
849 #
850 #<operjoin channel="#channel">
851
852 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
853 # Oper MOTD module: Provides support for seperate message of the day
854 # on oper-up
855 #<module name="m_opermotd.so">
856 #
857 #-#-#-#-#-#-#-#-#-#-#   OPERMOTD CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
858 #                                                                     #
859 # If you are using the m_opermotd.so module, specify the motd here    #
860 #
861 #<opermotd file="/path/to/oper.motd">
862
863 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
864 # Override module: Adds support for oper override
865 #<module name="m_override.so">
866 #
867 #-#-#-#-#-#-#-#-#-#-#   OVERRIDE CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
868 #                                                                     #
869 # m_override.so is too complex it describe here, see the wiki:        #
870 # http://www.inspircd.org/wiki/Oper_Override_Module                   #
871
872 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
873 # Oper levels module: Gives each oper a level and prevents
874 # actions being taken against higher level opers
875 # Specify the level as the 'level' parameter of the <type> tag
876 #<module name="m_operlevels.so">
877
878 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
879 # Oper MD5 module: Allows MD5 hashed oper passwords
880 #<module name="m_opermd5.so">
881
882 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
883 # Oper SHA256 module: Allows SHA256 hashed oper passwords
884 # This module is in src/modules/extra
885 #<module name="m_opersha256.so">
886
887 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
888 # Oper modes module: Allows you to specify modes to add/remove on oper
889 # Specify the modes as the 'modes' parameter of the <type> tag
890 #<module name="m_opermodes.so">
891
892 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
893 # Parking module: Adds parking support and /PARK and /UNPARK
894 #<module name="m_park.so">
895 #
896 #-#-#-#-#-#-#-#-#-#-#-#   PARK CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
897 #                                                                     #
898 # m_park.so is too complex it describe here, see the wiki:            #
899 # http://www.inspircd.org/wiki/User_Parking_Module                    #
900
901 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
902 # Random Quote module: provides a random quote on connect
903 #<module name="m_randquote.so">
904 #
905 #-#-#-#-#-#-#-#-#-#-  RANDOMQUOTES CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
906 #                                                                     #
907 # Optional - If you specify to use the m_randquote.so module, then    #
908 # specify below the path to the randquotes.conf file.                 #
909 #
910 #<randquote file="/path/to/inspircd/randquotes.conf">
911
912 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
913 # Redirect module: Adds channel redirection (mode +L)
914 #<module name="m_redirect.so">
915
916 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
917 # Remove module: Adds the /REMOVE command which is a peaceful
918 # alternative to /KICK
919 #<module name="m_remove.so">
920
921 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
922 # Restricted channels module: Allows only opers to create channels
923 #<module name="m_restrictchans.so">
924
925 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
926 # Restrict message module: Allows users to only message opers
927 #<module name="m_restrictmsg.so">
928
929 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
930 # SAJOIN module: Adds the /SAJOIN command
931 #<module name="m_sajoin.so">
932
933 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
934 # SAMODE module: Adds the oper /SAMODE command
935 #<module name="m_samode.so">
936
937 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
938 # SANICK module: Allows opers to change user's nicks
939 #<module name="m_sanick.so">
940
941 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
942 # SAPART module: Adds the oper /SAPART command
943 #<module name="m_sapart.so">
944
945 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
946 # SAQUIT module: Adds the oper /SAQUIT command (abusable!!!)
947 #<module name="m_saquit.so">
948
949 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
950 # Set Idle module: Adds a command for opers to change their
951 # idle time (mainly a toy)
952 #<module name="m_setidle.so">
953
954 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
955 # Services support module: Adds several usermodes such as +R and +M
956 #<module name="m_services.so">
957
958 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
959 # Sethost module: Adds the /SETHOST command
960 #<module name="m_sethost.so">
961
962 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
963 # Setident module: Adds the /SETIDENT command
964 #<module name="m_setident.so">
965
966 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
967 # SETNAME module: Adds the /SETNAME command
968 #<module name="m_setname.so">
969
970 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
971 # Show Whois module: Adds the +W usermode which allows opers
972 # to see when they are whois'ed
973 #<module name="m_showwhois.so">
974
975 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
976 # Spy module: Adds the commands SPYLIST and SPYNAMES that let opers
977 # see who is in a +s channel, and list +s channels, show keys of keyed
978 # channels the oper is not a member of etc. (standard 'abusive' features
979 # of unrealircd, modulized here in InspIRCd).
980 #<module name="m_spy.so">
981
982 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
983 # SSL channel mode module: Adds support for SSL-only channels (+z).
984 # does not do anything useful without a working SSL module (see below)
985 #<module name="m_sslmodes.so">
986
987 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
988 # GnuTLS ssl module: Adds support for client-server SSL using GnuTLS,
989 # if enabled. You must copy the source for this module from the directory
990 # src/modules/extra, or answer 'yes' in ./configure when asked if you
991 # want to enable this, or it will not load.
992 #<module name="m_ssl_gnutls.so">
993 #
994 #-#-#-#-#-#-#-#-#-#-#-  GNUTLS CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
995 #                                                                     #
996 # m_ssl_gnutls.so is too complex it describe here, see the wiki:      #
997 # http://www.inspircd.org/wiki/GnuTLS_SSL_Module                      #
998
999 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1000 # OpenSSL ssl module: Adds support for client-server SSL using OpenSSL,
1001 # if enabled. You must copy the source for this module from the directory
1002 # src/modules/extra, or answer 'yes' in ./configure when asked if you
1003 # want to enable this, or it will not load.
1004 #<module name="m_ssl_openssl.so">
1005 #
1006 #-#-#-#-#-#-#-#-#-#-#- OPENSSL CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
1007 #                                                                     #
1008 # m_ssl_openssl.so is too complex it describe here, see the wiki:     #
1009 # http://www.inspircd.org/wiki/OpenSSL_SSL_Module                     #
1010
1011 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1012 # Strip colour module: Adds the channel mode +S
1013 #<module name="m_stripcolor.so">
1014
1015 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1016 # SILENCE module: Adds support for /SILENCE
1017 #<module name="m_silence.so">
1018
1019 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1020 # SQL module: Allows other SQL modules to access SQL databases
1021 # through a unified API. You must copy the source for this module
1022 # from the directory src/modules/extra
1023 #<module name="m_sql.so">
1024 #
1025 #-#-#-#-#-#-#-#-#-#-#-#- SQL CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#-#
1026 #                                                                     #
1027 # m_sql.so is more complex than described here, see the wiki for more:#
1028 # http://www.inspircd.org/wiki/SQL_Service_Provider_Module            #
1029 #
1030 #<database name="mydb" username="myuser" password="mypass" hostname="localhost" id="1">
1031
1032 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1033 # SQL authentication module: Allows IRCd connections to be tied into
1034 # a database table (for example a forum). You must copy the source for
1035 # this module from the directory src/modules/extra
1036 #<module name="m_sqlauth.so">
1037 #
1038 #-#-#-#-#-#-#-#-#-#-#- SQLAUTH CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
1039 #                                                                     #
1040 # m_sqlauth.so is too complex it describe here, see the wiki:         #
1041 # http://www.inspircd.org/wiki/SQL_Authentication_Module              #
1042
1043 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1044 # SQL logging module: Allows you to log network-wide data for your
1045 # network in a fully normalized set of SQL tables. You must copy the
1046 # source for this module from the directory src/modules/extra
1047 #<module name="m_sqllog.so">
1048 #
1049 #-#-#-#-#-#-#-#-#-#-#-  SQLLOG CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
1050 #                                                                     #
1051 # dbid       - Database ID to use (see m_sql)                         #
1052 #                                                                     #
1053 # See also: http://www.inspircd.org/wiki/SQL_Logging_Module           #
1054 #                                                                     #
1055 #<sqllog dbid="1">
1056
1057 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1058 # SQL oper module: Allows you to store oper credentials in an SQL table
1059 # You must copy the source for this module from the directory src/modules/extra
1060 #<module name="m_sqloper.so">
1061 #
1062 #-#-#-#-#-#-#-#-#-#-#- SQLOPER CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
1063 #                                                                     #
1064 # dbid       - Database ID to use (see m_sql)                         #
1065 #                                                                     #
1066 # See also: http://www.inspircd.org/wiki/SQL_Oper_Storage_Module      #
1067 #                                                                     #
1068 #<sqloper dbid="1">
1069
1070 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1071 # SWHOIS module: Allows you to add arbitary lines to user WHOIS.
1072 #<module name="m_swhois.so">
1073
1074 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1075 # Test command module: Does nothing significant. Read: pointless.
1076 #<module name="m_testcommand.so">
1077
1078 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1079 # Timed bans module: Adds timed bans and the /TBAN command
1080 #<module name="m_timedbans.so">
1081
1082 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1083 # Uninvite module: Adds the /UNINVITE command which lets users remove
1084 # pending invites from channels without waiting for the user to join.
1085 #<module name="m_uninvite.so">
1086
1087 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1088 # Userip module: Adds the /USERIP command
1089 #<module name="m_userip.so">
1090
1091 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1092 # Vhost module: Adds the VHOST command which allows for adding virtual
1093 # hosts which are accessible using a username and password in the config.
1094 #<module name="m_vhost.so">
1095 #
1096 #-#-#-#-#-#-#-#-#-#-#- VHOST CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#-#
1097 #                                                                     #
1098 # user       - Username for the vhost.                                #
1099 #                                                                     #
1100 # pass       - Password for the vhost.                                #
1101 #                                                                     #
1102 # host       - Vhost to set.                                          #
1103 #
1104 #<vhost user="some_username" pass="some_password" host="some.host">
1105
1106 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1107 # Watch module: Adds the WATCH command, which is used by clients to 
1108 # maintain notify lists.
1109 #<module name="m_watch.so">
1110
1111 #-#-#-#-#-#-#-#-#-#-#-#-#-#-  BAN OPTIONS  -#-#-#-#-#-#-#-#-#-#-#-#-#-#
1112 #                                                                     #
1113 # The ban tags define nick masks, host masks and ip ranges which are  #
1114 # banned from your server. All details in these tags are local to     #
1115 # Your server.                                                        #
1116 #                                                                     #
1117 #                                                                     #
1118 # badip lines ban an ip range (same as a zline)                       #
1119 #                                                                     #
1120 # ipmask       -          The ip range to ban (wildcards possible)    #
1121 # reason       -          Reason to display when disconnected         #
1122 #                                                                     #
1123 # badnick lines ban a nick mask (same as a qline)                     #
1124 #                                                                     #
1125 # nick         -          Nick mask to ban (wildcards possible)       #
1126 # reason       -          Reason to display on /NICK                  #
1127 #                                                                     #
1128 # badhost lines ban a user@host mask (same as a kline)                #
1129 #                                                                     #
1130 # host         -          ident@hostname (wildcards possible)         #
1131 # reason       -          Reason to display on disconnection          #
1132 #                                                                     #
1133 # exception lines define a hostmask that is excempt from [kzg]lines   #
1134 #                                                                     #
1135 # host         -          ident@hostname (wildcards possible)         #
1136 # reason       -          Reason, shown only in /stats e              #
1137 #                                                                     #
1138
1139 <badip ipmask="69.69.69.69" reason="No porn here thanks.">
1140
1141 <badnick nick="ChanServ" reason="Reserved For Services">
1142 <badnick nick="NickServ" reason="Reserved For Services">
1143 <badnick nick="OperServ" reason="Reserved For Services">
1144 <badnick nick="MemoServ" reason="Reserved For Services">
1145
1146 <badhost host="*@hundredz.n.hundredz.o.1337.kiddies.com" reason="Too many 1337 kiddiots">
1147 <badhost host="*@localhost" reason="No irc from localhost!">
1148
1149 <exception host="*@ircop.host.com" reason="Opers hostname">
1150
1151 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#- YAWN  -#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1152 #                                                                     #
1153 #   You should already know what to do here :)                        #
1154
1155 <die value="You should probably edit your config *PROPERLY* and try again.">
1156
1157
1158 #########################################################################
1159 #                                                                       #
1160 #                     - InspIRCd Development Team -                     #
1161 #                        http://www.inspircd.org                        #
1162 #                                                                       #
1163 #########################################################################