]> git.netwichtig.de Git - user/henk/code/inspircd.git/blob - docs/inspircd.conf.example
Add m_blockamsg to example config
[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 localmax and globalmax 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" localmax="3" globalmax="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/inspircd.motd"
387         rules="/home/cc/inspircd/conf/inspircd.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 amsg module: Attempt to block all usage of /amsg and /ame
647 #<module name="m_blockamsg.so">
648 #
649 #-#-#-#-#-#-#-#-#-#-#-  BLOCKAMSG CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
650 #                                                                     #
651 # If you have the m_blockamsg.so module loaded, you can configure it  #
652 # with the <blockamsg> tag:                                           #
653 #                                                                     #
654 # delay          -   How many seconds between two messages to force   #
655 #                    them to be recognised as unrelated.              #
656 # action         -   Any of 'notice', 'noticeopers', 'silent', 'kill' #
657 #                    or 'killopers'. Define how to take action when   #
658 #                    a user uses /amsg or /ame.                       #
659 #
660 #<blockamsg delay="3" action="killopers">
661
662 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
663 # Block colour module: Blocking colour-coded messages with cmode +c
664 #<module name="m_blockcolor.so">
665
666 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
667 # Botmode module: Adds the user mode +B
668 #<module name="m_botmode.so">
669
670 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
671 # CBAN module: Lets you disallow channels from being used at runtime.
672 #<module name="m_cban.so">
673
674 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
675 # Censor module: Adds the channel mode +G
676 #<module name="m_censor.so">
677 #
678 #-#-#-#-#-#-#-#-#-#-#-  CENSOR  CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#-#
679 #                                                                     #
680 # Optional - If you specify to use the m_censor module, then specfiy  #
681 # below the path to the censor.conf file. See also:                   #
682 # Censor file, see http://www.inspircd.org/wiki/Censor_Module         #
683 #
684 #<censor file="/path/to/censor.conf">
685
686 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
687 # Channel filter module: Allows channel-op defined message
688 # filtering using simple string matches (channel mode +g)
689 #<module name="m_chanfilter.so">
690
691 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
692 # Chanprotect module: gives +q and +a channel modes
693 #<module name="m_chanprotect.so">
694
695 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
696 # CHGHOST module: Adds the /CHGHOST command
697 #<module name="m_chghost.so">
698
699 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
700 # CHGIDENT module: Adds the /CHGIDENT command
701 #<module name="m_chgident.so">
702
703 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
704 # Cloaking module: Adds usermode +x and cloaking support
705 #<module name="m_cloaking.so">
706
707 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
708 # Conn-Lusers: Shows the LUSERS output on connect
709 #<module name="m_conn_lusers.so">
710
711 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
712 # Conn-Wait-for-Pong: Don't let a user connect until they PONG
713 #<module name="m_conn_waitpong.so">
714 #
715 #-#-#-#-#-#-#-#-#-#-#-   WAITPONG CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
716 #                                                                     #
717 # If you have the m_conn_waitpong.so module loaded, configure it with #
718 # the <waitpong> tag:                                                 #
719 #                                                                     #
720 # sendsnotice    -   Whether to send a snotice on connect, like Unreal#
721 # killonbadreply -   Whether to kill the user if they send the wrong  #
722 #                    PONG reply.                                      #
723 #
724 #<waitpong sendsnotice="yes" killonbadreply="yes">
725
726 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
727 # Deny Channels: Deny Channels from being used by users
728 #<module name="m_denychans.so"> 
729 #
730 #-#-#-#-#-#-#-#-#-#-#-   DENYCHAN DEFINITIONS  -#-#-#-#-#-#-#-#-#-#-#-#
731 #                                                                     #
732 # If you have the m_denychans.so module loaded, you need to specify   #
733 # the channels to deny:
734 #                                                                     #
735 # name        -      The channel name to deny.                        #
736 # allowopers  -      If operators are allowed to override the deny.   #
737 # reason      -      Reason given for the deny.                       #
738 #
739 #<badchan name="#gods" allowopers="yes" reason="Tortoises!">
740
741 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
742 # Devoice Module: Let users devoice themselves.
743 #<module name="m_devoice.so">
744
745 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
746 # Filter module: Provides glob-based message filtering
747 #<module name="m_filter.so">
748 #OR
749 # PCRE filter module: Filters messages using regular expressions
750 #<module name="m_filter_pcre.so">
751 #
752 #-#-#-#-#-#-#-#-#-#-#-  FILTER  CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#-#
753 #                                                                     #
754 # Optional - If you specify to use the m_filter or m_filter_pcre      #
755 # modules, then specfiy below the path to the filter.conf file.       #
756 #
757 #<filter file="/path/to/inspircd/filter.conf">
758
759 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
760 # Foobar module - does nothing - historical relic
761 #<module name="m_foobar.so">
762
763 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
764 # Globops module: gives /GLOBOPS and usermode +g
765 #<module name="m_globops.so">
766
767 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
768 # Global load module: Allows loading and unloading of modules network-
769 # wide (USE WITH EXTREME CAUTION!)
770 #<module name="m_globalload.so">
771
772 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
773 # HELPOP module: Provides the /HELPOP command
774 #<module name="m_helpop.so">
775 #
776 #-#-#-#-#-#-#-#-#-#-#-#-  HELPOP  CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
777 #                                                                     #
778 # Optional - If you specify to use the m_helpop.so module, then       #
779 # specify below the path to the helpop.conf file.                     #
780 #
781 #<helpop file="/path/to/inspircd/helpop.conf">
782
783 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
784 # Hostchange module: Allows a different style of cloaking
785 #<module name="m_hostchange.so">
786 #
787 #-#-#-#-#-#-#-#-#-#-#-  HOSTCHANGE  CONFIGURATION  -#-#-#-#-#-#-#-#-#-#
788 #                                                                     #
789 # Optional - If you choose to use the m_hostchange.so module.         #
790 # Config Help -  See http://www.inspircd.org/wiki/Host_Changer_Module #
791 #
792 #<host suffix="polarbears.org">
793 #<hostchange mask="*@fbi.gov" action="addnick">
794 #<hostchange mask="*r00t@*" action="suffix">
795 #<hostchange mask="a@b.com" action="set" value="blah.blah.blah">
796
797 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
798 # Ident: Provides RFC 1413 ident lookup support
799 #<module name="m_ident.so">
800 #
801 #-#-#-#-#-#-#-#-#-#-#-#-   IDENT CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
802 #                                                                     #
803 # Optional - If you are using the m_ident.so module, then you can     #
804 # specify the timeout for ident lookups here. If not defined, it will #
805 # default to one second. This is a non-blocking timeout which holds   #
806 # the user in a 'connecting' state until the lookup is complete.      #
807 #
808 #<ident timeout="5">
809
810 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
811 # Invite except module: Adds support for channel invite exceptions (+I)
812 #<module name="m_inviteexception.so">
813
814 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
815 # Join flood module: Adds support for join flood protection (+j)
816 #<module name="m_joinflood.so">
817
818 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
819 # Anti-Auto-Rejoin: Adds support for prevention of auto-rejoin (+J)
820 #<module name="m_kicknorejoin.so">
821
822 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
823 # Knock module: adds the /KNOCK command and +K channel mode
824 #<module name="m_knock.so">
825
826 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
827 # Msg flood module: Adds message/notice flood protection (+f)
828 #<module name="m_messageflood.so">
829
830 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
831 # Nicklock module: Let opers change a user's nick and then stop that
832 # user from changing their nick again. /NICKLOCK and /NICKUNLOCK
833 #<module name="m_nicklock.so">
834
835 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
836 # No ctcp module: Adds the channel mode +C to block CTCPs
837 #<module name="m_noctcp.so">
838
839 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
840 # Noinvite module: Gives channel mode +V
841 #<module name="m_noinvite.so">
842
843 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
844 # No kicks module: Adds the +Q channel mode
845 #<module name="m_nokicks.so">
846
847 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
848 # No nicks module: Adds the +N channel mode
849 #<module name="m_nonicks.so">
850
851 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
852 # No Notice module: adds the channel mode +T
853 #<module name="m_nonotice.so">
854
855 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
856 # Oper channels mode: Adds the +O channel mode
857 #<module name="m_operchans.so">
858
859 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
860 # Oper Join module: Forces opers to join a channel on oper-up
861 #<module name="m_operjoin.so">
862 #
863 #-#-#-#-#-#-#-#-#-#-#   OPERJOIN CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
864 #                                                                     #
865 # If you are using the m_operjoin.so module, specify the channel here #
866 #
867 #<operjoin channel="#channel">
868
869 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
870 # Oper MOTD module: Provides support for seperate message of the day
871 # on oper-up
872 #<module name="m_opermotd.so">
873 #
874 #-#-#-#-#-#-#-#-#-#-#   OPERMOTD CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
875 #                                                                     #
876 # If you are using the m_opermotd.so module, specify the motd here    #
877 #
878 #<opermotd file="/path/to/oper.motd">
879
880 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
881 # Override module: Adds support for oper override
882 #<module name="m_override.so">
883 #
884 #-#-#-#-#-#-#-#-#-#-#   OVERRIDE CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
885 #                                                                     #
886 # m_override.so is too complex it describe here, see the wiki:        #
887 # http://www.inspircd.org/wiki/Oper_Override_Module                   #
888
889 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
890 # Oper levels module: Gives each oper a level and prevents
891 # actions being taken against higher level opers
892 # Specify the level as the 'level' parameter of the <type> tag
893 #<module name="m_operlevels.so">
894
895 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
896 # Oper MD5 module: Allows MD5 hashed oper passwords
897 #<module name="m_opermd5.so">
898
899 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
900 # Oper SHA256 module: Allows SHA256 hashed oper passwords
901 # This module is in src/modules/extra
902 #<module name="m_opersha256.so">
903
904 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
905 # Oper modes module: Allows you to specify modes to add/remove on oper
906 # Specify the modes as the 'modes' parameter of the <type> tag
907 #<module name="m_opermodes.so">
908
909 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
910 # Parking module: Adds parking support and /PARK and /UNPARK
911 #<module name="m_park.so">
912 #
913 #-#-#-#-#-#-#-#-#-#-#-#   PARK CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
914 #                                                                     #
915 # m_park.so is too complex it describe here, see the wiki:            #
916 # http://www.inspircd.org/wiki/User_Parking_Module                    #
917
918 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
919 # Random Quote module: provides a random quote on connect
920 #<module name="m_randquote.so">
921 #
922 #-#-#-#-#-#-#-#-#-#-  RANDOMQUOTES CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
923 #                                                                     #
924 # Optional - If you specify to use the m_randquote.so module, then    #
925 # specify below the path to the randquotes.conf file.                 #
926 #
927 #<randquote file="/path/to/inspircd/randquotes.conf">
928
929 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
930 # Redirect module: Adds channel redirection (mode +L)
931 #<module name="m_redirect.so">
932
933 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
934 # Remove module: Adds the /REMOVE command which is a peaceful
935 # alternative to /KICK
936 #<module name="m_remove.so">
937
938 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
939 # Restricted channels module: Allows only opers to create channels
940 #<module name="m_restrictchans.so">
941
942 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
943 # Restrict message module: Allows users to only message opers
944 #<module name="m_restrictmsg.so">
945
946 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
947 # SAJOIN module: Adds the /SAJOIN command
948 #<module name="m_sajoin.so">
949
950 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
951 # SAMODE module: Adds the oper /SAMODE command
952 #<module name="m_samode.so">
953
954 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
955 # SANICK module: Allows opers to change user's nicks
956 #<module name="m_sanick.so">
957
958 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
959 # SAPART module: Adds the oper /SAPART command
960 #<module name="m_sapart.so">
961
962 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
963 # SAQUIT module: Adds the oper /SAQUIT command (abusable!!!)
964 #<module name="m_saquit.so">
965
966 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
967 # Set Idle module: Adds a command for opers to change their
968 # idle time (mainly a toy)
969 #<module name="m_setidle.so">
970
971 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
972 # Services support module: Adds several usermodes such as +R and +M
973 #<module name="m_services.so">
974
975 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
976 # Sethost module: Adds the /SETHOST command
977 #<module name="m_sethost.so">
978
979 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
980 # Setident module: Adds the /SETIDENT command
981 #<module name="m_setident.so">
982
983 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
984 # SETNAME module: Adds the /SETNAME command
985 #<module name="m_setname.so">
986
987 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
988 # Show Whois module: Adds the +W usermode which allows opers
989 # to see when they are whois'ed
990 #<module name="m_showwhois.so">
991
992 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
993 # Spy module: Adds the commands SPYLIST and SPYNAMES that let opers
994 # see who is in a +s channel, and list +s channels, show keys of keyed
995 # channels the oper is not a member of etc. (standard 'abusive' features
996 # of unrealircd, modulized here in InspIRCd).
997 #<module name="m_spy.so">
998
999 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1000 # SSL channel mode module: Adds support for SSL-only channels (+z).
1001 # does not do anything useful without a working SSL module (see below)
1002 #<module name="m_sslmodes.so">
1003
1004 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1005 # GnuTLS ssl module: Adds support for client-server SSL using GnuTLS,
1006 # if enabled. You must copy the source for this module from the directory
1007 # src/modules/extra, or answer 'yes' in ./configure when asked if you
1008 # want to enable this, or it will not load.
1009 #<module name="m_ssl_gnutls.so">
1010 #
1011 #-#-#-#-#-#-#-#-#-#-#-  GNUTLS CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
1012 #                                                                     #
1013 # m_ssl_gnutls.so is too complex it describe here, see the wiki:      #
1014 # http://www.inspircd.org/wiki/GnuTLS_SSL_Module                      #
1015
1016 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1017 # OpenSSL ssl module: Adds support for client-server SSL using OpenSSL,
1018 # if enabled. You must copy the source for this module from the directory
1019 # src/modules/extra, or answer 'yes' in ./configure when asked if you
1020 # want to enable this, or it will not load.
1021 #<module name="m_ssl_openssl.so">
1022 #
1023 #-#-#-#-#-#-#-#-#-#-#- OPENSSL CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
1024 #                                                                     #
1025 # m_ssl_openssl.so is too complex it describe here, see the wiki:     #
1026 # http://www.inspircd.org/wiki/OpenSSL_SSL_Module                     #
1027
1028 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1029 # Strip colour module: Adds the channel mode +S
1030 #<module name="m_stripcolor.so">
1031
1032 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1033 # SILENCE module: Adds support for /SILENCE
1034 #<module name="m_silence.so">
1035
1036 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1037 # SQL module: Allows other SQL modules to access SQL databases
1038 # through a unified API. You must copy the source for this module
1039 # from the directory src/modules/extra
1040 #<module name="m_sql.so">
1041 #
1042 #-#-#-#-#-#-#-#-#-#-#-#- SQL CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#-#
1043 #                                                                     #
1044 # m_sql.so is more complex than described here, see the wiki for more:#
1045 # http://www.inspircd.org/wiki/SQL_Service_Provider_Module            #
1046 #
1047 #<database name="mydb" username="myuser" password="mypass" hostname="localhost" id="1">
1048
1049 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1050 # SQL authentication module: Allows IRCd connections to be tied into
1051 # a database table (for example a forum). You must copy the source for
1052 # this module from the directory src/modules/extra
1053 #<module name="m_sqlauth.so">
1054 #
1055 #-#-#-#-#-#-#-#-#-#-#- SQLAUTH CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
1056 #                                                                     #
1057 # m_sqlauth.so is too complex it describe here, see the wiki:         #
1058 # http://www.inspircd.org/wiki/SQL_Authentication_Module              #
1059
1060 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1061 # SQL logging module: Allows you to log network-wide data for your
1062 # network in a fully normalized set of SQL tables. You must copy the
1063 # source for this module from the directory src/modules/extra
1064 #<module name="m_sqllog.so">
1065 #
1066 #-#-#-#-#-#-#-#-#-#-#-  SQLLOG CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
1067 #                                                                     #
1068 # dbid       - Database ID to use (see m_sql)                         #
1069 #                                                                     #
1070 # See also: http://www.inspircd.org/wiki/SQL_Logging_Module           #
1071 #                                                                     #
1072 #<sqllog dbid="1">
1073
1074 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1075 # SQL oper module: Allows you to store oper credentials in an SQL table
1076 # You must copy the source for this module from the directory src/modules/extra
1077 #<module name="m_sqloper.so">
1078 #
1079 #-#-#-#-#-#-#-#-#-#-#- SQLOPER CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
1080 #                                                                     #
1081 # dbid       - Database ID to use (see m_sql)                         #
1082 #                                                                     #
1083 # See also: http://www.inspircd.org/wiki/SQL_Oper_Storage_Module      #
1084 #                                                                     #
1085 #<sqloper dbid="1">
1086
1087 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1088 # SWHOIS module: Allows you to add arbitary lines to user WHOIS.
1089 #<module name="m_swhois.so">
1090
1091 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1092 # Test command module: Does nothing significant. Read: pointless.
1093 #<module name="m_testcommand.so">
1094
1095 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1096 # Timed bans module: Adds timed bans and the /TBAN command
1097 #<module name="m_timedbans.so">
1098
1099 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1100 # Uninvite module: Adds the /UNINVITE command which lets users remove
1101 # pending invites from channels without waiting for the user to join.
1102 #<module name="m_uninvite.so">
1103
1104 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1105 # Userip module: Adds the /USERIP command
1106 #<module name="m_userip.so">
1107
1108 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1109 # Vhost module: Adds the VHOST command which allows for adding virtual
1110 # hosts which are accessible using a username and password in the config.
1111 #<module name="m_vhost.so">
1112 #
1113 #-#-#-#-#-#-#-#-#-#-#- VHOST CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#-#
1114 #                                                                     #
1115 # user       - Username for the vhost.                                #
1116 #                                                                     #
1117 # pass       - Password for the vhost.                                #
1118 #                                                                     #
1119 # host       - Vhost to set.                                          #
1120 #
1121 #<vhost user="some_username" pass="some_password" host="some.host">
1122
1123 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1124 # Watch module: Adds the WATCH command, which is used by clients to 
1125 # maintain notify lists.
1126 #<module name="m_watch.so">
1127
1128 #-#-#-#-#-#-#-#-#-#-#-#-#-#-  BAN OPTIONS  -#-#-#-#-#-#-#-#-#-#-#-#-#-#
1129 #                                                                     #
1130 # The ban tags define nick masks, host masks and ip ranges which are  #
1131 # banned from your server. All details in these tags are local to     #
1132 # Your server.                                                        #
1133 #                                                                     #
1134 #                                                                     #
1135 # badip lines ban an ip range (same as a zline)                       #
1136 #                                                                     #
1137 # ipmask       -          The ip range to ban (wildcards possible)    #
1138 # reason       -          Reason to display when disconnected         #
1139 #                                                                     #
1140 # badnick lines ban a nick mask (same as a qline)                     #
1141 #                                                                     #
1142 # nick         -          Nick mask to ban (wildcards possible)       #
1143 # reason       -          Reason to display on /NICK                  #
1144 #                                                                     #
1145 # badhost lines ban a user@host mask (same as a kline)                #
1146 #                                                                     #
1147 # host         -          ident@hostname (wildcards possible)         #
1148 # reason       -          Reason to display on disconnection          #
1149 #                                                                     #
1150 # exception lines define a hostmask that is excempt from [kzg]lines   #
1151 #                                                                     #
1152 # host         -          ident@hostname (wildcards possible)         #
1153 # reason       -          Reason, shown only in /stats e              #
1154 #                                                                     #
1155
1156 <badip ipmask="69.69.69.69" reason="No porn here thanks.">
1157
1158 <badnick nick="ChanServ" reason="Reserved For Services">
1159 <badnick nick="NickServ" reason="Reserved For Services">
1160 <badnick nick="OperServ" reason="Reserved For Services">
1161 <badnick nick="MemoServ" reason="Reserved For Services">
1162
1163 <badhost host="*@hundredz.n.hundredz.o.1337.kiddies.com" reason="Too many 1337 kiddiots">
1164 <badhost host="*@localhost" reason="No irc from localhost!">
1165
1166 <exception host="*@ircop.host.com" reason="Opers hostname">
1167
1168 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#- YAWN  -#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1169 #                                                                     #
1170 #   You should already know what to do here :)                        #
1171
1172 <die value="You should probably edit your config *PROPERLY* and try again.">
1173
1174
1175 #########################################################################
1176 #                                                                       #
1177 #                     - InspIRCd Development Team -                     #
1178 #                        http://www.inspircd.org                        #
1179 #                                                                       #
1180 #########################################################################