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