]> git.netwichtig.de Git - user/henk/code/inspircd.git/blob - docs/inspircd.conf.example
add m_deaf.so to example.conf
[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 : 04/09/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 address ports bind to. Leaving this #
83 #                 field blank binds the port to all IPs available.    #
84 #                                                                     #
85 #  port         - The port number to bind to. You may specify a port  #
86 #                 range here, e.g. "6667-6669,7000,7001". If you do   #
87 #                 this, the server will count each port within your   #
88 #                 range as a seperate binding, making the above       #
89 #                 example equivalent to five seperate bind tags.      #
90 #                 A failure on one port in the range does not prevent #
91 #                 the entire range from being bound, just that one    #
92 #                 port number.                                        #
93 #                                                                     #
94 #  type         - can be 'clients' or 'servers'. The clients type is  #
95 #                 a standard tcp based socket, the servers type is a  #
96 #                 also a TCP based connection but of a different      #
97 #                 format. SSL support is provided by modules, to      #
98 #                 enable SSL support, please read the module section  #
99 #                 of this configuration file.                         #
100 #                                                                     #
101 #    ____                _   _____ _     _       ____  _ _   _        #
102 #   |  _ \ ___  __ _  __| | |_   _| |__ (_)___  | __ )(_) |_| |       #
103 #   | |_) / _ \/ _` |/ _` |   | | | '_ \| / __| |  _ \| | __| |       #
104 #   |  _ <  __/ (_| | (_| |   | | | | | | \__ \ | |_) | | |_|_|       #
105 #   |_| \_\___|\__,_|\__,_|   |_| |_| |_|_|___/ |____/|_|\__(_)       #
106 #                                                                     #
107 #  If you want to link servers to InspIRCd you must load the          #
108 #  m_spanningtree module! Please see the modules list below for       #
109 #  information on how to load this module! If you do not load this    #
110 #  module, server ports will NOT be bound!                            #
111 #                                                                     #
112 #  Leaving address empty binds to all available interfaces            #
113 #                                                                     #
114 #  Syntax is as follows:                                              #
115 #                                                                     #
116 # <bind address="ip or host" port="port" type="clients">              #
117 # <bind address="ip or host" port="port" type="servers">              #
118 #                                                                     #
119 # If InspIRCd is built for IPV6, and you wish to accept IPV4 clients, #
120 # then you must specify your IPV6 clients in the following form:      #
121 # ::ffff:1.2.3.4, where 1.2.3.4 is the IPV4 address to bind the       #
122 # port on. If InspIRCd is built  for IPV4 connections (this is the    #
123 # default) then you do not need to prefix your addresses like this.   #
124 #                                                                     #
125
126 <bind address="" port="6660-6669" type="clients">
127 <bind address="" port="7000,7001" type="servers">
128
129
130 #-#-#-#-#-#-#-#-#-#-  DIE/RESTART CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-
131 #                                                                     #
132 #   You can configure the passwords here which you wish to use for    #
133 #   the die and restart commands. Only trusted ircops who will        #
134 #   need this ability should know the die and restart password.       #
135 #                                                                     #
136 #  Syntax is as follows:                                              #
137 #       <power diepass="die password" restartpass="restart password"  #
138 #        pause="secs before dying">                                   #
139 #                                                                     #
140
141 <power diepass="diepass" restartpass="restartpass" pause="2">
142
143
144 #-#-#-#-#-#-#-#-#-#  INCLUDE CONFIGURATION  #-#-#-#-#-#-#-#-#-#-#-#-#-#
145 #                                                                     #
146 # This optional tag allows you to include another config file         #
147 # allowing you to keep your configuration tidy. The configuration     #
148 # file you include will be treated as part of the configuration file  #
149 # which includes it, in simple terms the inclusion is transparent.    #
150 #                                                                     #
151 # All paths to config files are relative to the directory of the main #
152 # config file inspircd.conf, unless the filename starts with a forward#
153 # slash (/) in which case it is treated as an absolute path.          #
154 #                                                                     #
155 # Syntax is as follows:                                               #
156 #<include file="file.conf">                                           #
157 #                                                                     #
158
159 #-#-#-#-#-#-#-#-#-#-  CONNECTIONS CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
160 #                                                                     #
161 #   This is where you can configure which connections are allowed     #
162 #   and denied access onto your server.                               #
163 #   The password is optional.                                         #
164 #   You may have as many of these as you require.                     #
165 #   To allow/deny all connections use a *                             #
166 #                                                                     #
167 #  Syntax is as follows:                                              #
168 #                                                                     #
169 #       <connect allow="ip mask">                                     #
170 #       <connect allow="ip mask" password="blahblah">                 #
171 #       <connect allow="ip mask" password="blah" timeout="10">        #
172 #       <connect allow="ip mask" timeout="blah" flood="5">            #
173 #       <connect allow="ip mask" threshold="8" pingfreq="120">        #
174 #       <connect allow="ip mask" sendq="99999" revcq="696969">        #
175 #       <connect allow="ip mask" localmax="3" globalmax="3">          #
176 #       <connect deny="ip mask">                                      #
177 #                                                                     #
178 #   IP masks may be specified in CIDR format or wildcard format,      #
179 #   for IPV4 and IPV6.                                                #
180 #                                                                     #
181 #   You may optionally include timeout="x" on any allow line, which   #
182 #   specifies the amount of time given before an unknown connection   #
183 #   is closed if USER/NICK/PASS are not given. This value is in secs  #
184 #                                                                     #
185 #   You should also include a flood="x" line which indicates          #
186 #   the number of lines a user may place into their buffer at once    #
187 #   before they are disconnected for excess flood. This feature can   #
188 #   not be disabled, however it can be set to exremely high values,   #
189 #   rendering it effectively disabled. A recommended value is 10.     #
190 #   A counter is maintained for each user which is reset every        #
191 #   'threshold' seconds and specifying this threshold value with      #
192 #   threshold="X" indicates how often the counter is reset. For       #
193 #   example, with flood="5" and threshold="8", the user may not send  #
194 #   more than 5 lines in 8 secs.                                      #
195 #                                                                     #
196 #   You may optionally specify the sendq size and ping frequency of   #
197 #   each connect:allow line using the pingfreq="X" and sendq="X"      #
198 #   settings as shown in the full example below.                      #
199 #   The ping frequency is specified in seconds, and the sendq size    #
200 #   in bytes. It is recommended, although not enforced, that you      #
201 #   should never set your sendq size to less than 8k. Send Queues are #
202 #   dynamically allocated and can grow as needed up to the maximum    #
203 #   size specified.                                                   #
204 #                                                                     #
205 #   The optional recvq value is the maximum size which users in this  #
206 #   group may grow their receive queue to. This is recommended to be  #
207 #   kept pretty low compared to the sendq, as users will always       #
208 #   recieve more than they send in normal circumstances. The default  #
209 #   if not specified is 4096.                                         #
210 #                                                                     #
211 #   IMPORTANT NOTE, CALL THE CONFUSION POLICE!                        #
212 #   The sendq is the data waiting to be sent TO THE USER.             #
213 #   The recvq is the data being received FROM THE USER.               #
214 #   The names sendq and recvq are from the SERVER'S PERSPECTIVE not   #
215 #   that of the user... Just to clear up any confusion or complaints  #
216 #   that these are backwards :p                                       #
217 #                                                                     #
218 #   The localmax and globalmax values can be used to enforce local    #
219 #   and global session limits on connections. The session limits are  #
220 #   counted against all users, but applied only to users within the   #
221 #   class. For example, if you had a class 'A' which has a session    #
222 #   limit of 3, and a class 'B' which has a session limit of 5, and   #
223 #   somehow, two users managed to get into class B which also match   #
224 #   class A, there is only one connection left for this IP now in A,  #
225 #   but if they can connect again to B, there are three. You get the  #
226 #   idea (i hope).                                                    #
227 #                                                                     #
228
229 <connect allow="196.12.*"  password="secret">
230 <connect allow="*" timeout="60" flood="20" threshold="1" pingfreq="120" sendq="262144" recvq="8192" localmax="3" globalmax="3">
231
232 <connect deny="69.254.*">
233 <connect deny="3ffe::0/32">
234
235
236 #-#-#-#-#-#-#-#-#-#-#-#-  CLASS CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-
237 #                                                                     #
238 #   Classes are a group of commands which are grouped together        #
239 #   and given a unique name. They used to define which commands       #
240 #   are available to certain types of Operators.                      #
241 #                                                                     #
242 #  Syntax is as follows:                                              #
243 #                                                                     #
244 #       <class name="name" commands="oper commands">                  #
245 #                                                                     #
246 #    ____                _   _____ _     _       ____  _ _   _        #
247 #   |  _ \ ___  __ _  __| | |_   _| |__ (_)___  | __ )(_) |_| |       #
248 #   | |_) / _ \/ _` |/ _` |   | | | '_ \| / __| |  _ \| | __| |       #
249 #   |  _ <  __/ (_| | (_| |   | | | | | | \__ \ | |_) | | |_|_|       #
250 #   |_| \_\___|\__,_|\__,_|   |_| |_| |_|_|___/ |____/|_|\__(_)       #
251 #                                                                     #
252 #  You are not forced to give these classes the names given below.    #
253 #  You can create your own named classes, if you want, in fact that   #
254 #  is the whole idea of this system!                                  #
255 #                                                                     #
256 #  Note: It is possible to make a class which covers all available    #
257 #  commands. To do this, specify commands="*". This is not really     #
258 #  recommended, as it negates the whole purpose of the class system,  #
259 #  however it is provided for fast configuration (e.g. in test nets)  #
260 #                                                                     #
261
262 <class name="Shutdown" commands="DIE RESTART REHASH LOADMODULE UNLOADMODULE RELOAD">
263 <class name="ServerLink" commands="CONNECT SQUIT RCONNECT MKPASSWD MKSHA256">
264 <class name="BanControl" commands="KILL GLINE KLINE ZLINE QLINE ELINE">
265 <class name="OperChat" commands="WALLOPS GLOBOPS SETIDLE SPYLIST SPYNAMES">
266 <class name="HostCloak" commands="SETHOST SETIDENT SETNAME CHGHOST CHGIDENT">
267
268
269 #-#-#-#-#-#-#-#-#-#-#-#-  OPERATOR COMPOSITION   -#-#-#-#-#-#-#-#-#-#-#
270 #                                                                     #
271 #   This is where you specify which types of operators you have on    #
272 #   your server, as well as the commands they are allowed to use.     #
273 #   This works alongside with the classes specified above.            #
274 #                                                                     #
275 #  type name  - a name for the combined class types                   #
276 #               a type name cannot contain spaces, however if you     #
277 #               put an _ symbol in the name, it will be translated    #
278 #               to a space when displayed in a WHOIS.                 #
279 #                                                                     #
280 #  classes    - specified above, used for flexibility for the         #
281 #               server admin to decide on which operators get         #
282 #               what commands. Class names are case sensitive,        #
283 #               seperate multiple class names with spaces.            #
284 #                                                                     #
285 #  host       - optional hostmask operators will recieve on oper-up.  #
286 #                                                                     #
287 #  Syntax is as follows:                                              #
288 #                                                                     #
289 #     <type name="name" classes="class names" host="oper hostmask">   #
290 #                                                                     #
291 #    ____                _   _____ _     _       ____  _ _   _        #
292 #   |  _ \ ___  __ _  __| | |_   _| |__ (_)___  | __ )(_) |_| |       #
293 #   | |_) / _ \/ _` |/ _` |   | | | '_ \| / __| |  _ \| | __| |       #
294 #   |  _ <  __/ (_| | (_| |   | | | | | | \__ \ | |_) | | |_|_|       #
295 #   |_| \_\___|\__,_|\__,_|   |_| |_| |_|_|___/ |____/|_|\__(_)       #
296 #                                                                     #
297 #  You are not forced to give these types the names given below.      #
298 #  You can create your own named types, if you want, in fact that     #
299 #  is the whole idea of this system!                                  #
300 #                                                                     #
301
302 <type name="NetAdmin" classes="OperChat BanControl HostCloak Shutdown ServerLink" host="netadmin.omega.org.za">
303 <type name="GlobalOp" classes="OperChat BanControl HostCloak ServerLink" host="ircop.omega.org.za">
304 <type name="Helper" classes="HostCloak" host="helper.omega.org.za">
305
306
307 #-#-#-#-#-#-#-#-#-#-#-  OPERATOR CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
308 #                                                                     #
309 #   Opers are defined here. This is a very important section.         #
310 #   Remember to only make operators out of truthworthy people.        #
311 #                                                                     #
312 #  name        - oper name, This is case sensitive, so it is best to  #
313 #                use lower-case.                                      #
314 #                                                                     #
315 #  password    - password to oper-up, also case sensitive.            #
316 #                encryption is supported via modules. You may load    #
317 #                modules for MD5 or SHA256 encryption, and if you do, #
318 #                this value will be a hash value, otherwise put a     #
319 #                plaintext password in this value.                    #
320 #                                                                     #
321 #  host        - hosts of client allowed to oper-up.                  #
322 #                wildcards accepted, seperate multiple hosts with a   #
323 #                space. You may also specify CIDR ip addresses.       #
324 #                                                                     #
325 #  fingerprint - When using the m_ssl_oper_cert.so module, you may    #
326 #                specify a key fingerprint here. This can be obtained #
327 #                using the /fingerprint command whilst the module is  #
328 #                loaded, or from the notice given to you when you     #
329 #                connect to the ircd using a client certificate,      #
330 #                and will lock this oper block to only the user who   #
331 #                has that specific key/certificate pair.              #
332 #                This enhances security a great deal, however it      #
333 #                requires that opers use clients which can send ssl   #
334 #                client certificates, if this is configured for that  #
335 #                oper. Note that if the m_ssl_oper.so module is not   #
336 #                loaded, and/or one of m_ssl_openssl or m_ssl_gnutls  #
337 #                is not loaded, this configuration option has no      #
338 #                effect and will be ignored.                          #
339 #                                                                     #
340 #  type        - Sefines the kind of operator. This must match a type #
341 #                tag you defined above, and is case sensitive.        #
342 #                                                                     #
343 #  Syntax is as follows:                                              #
344 #       <oper name="login"                                            #
345 #             password="pass"                                         #
346 #             host="hostmask@of.oper"                                 #
347 #             fingerprint="hexsequence"                               #
348 #             type="oper type">                                       #
349 #                                                                     #
350
351 <oper   name="katsklaw"
352         password="s3cret"
353         host="ident@dialup15.isp.com *@localhost *@server.com *@3ffe::0/16"
354         fingerprint="a41d730937a53b79f788c0ab13e9e1d5"
355         type="NetAdmin">
356
357
358 #-#-#-#-#-#-#-#-#-#-#-  SERVER LINK CONFIGURATION  -#-#-#-#-#-#-#-#-#-#
359 #                                                                     #
360 # Defines which servers can link to this one, and which servers this  #
361 # server may create outbound links to.                                #
362 #                                                                     #
363 # name        -   The name is the canocial name of the server, does   #
364 #                 not have to resolve - but it is expected to be set  #
365 #                 in the remote servers connection info.              #
366 #                                                                     #
367 # ipaddr      -   Valid host or ip address for remote server. These   #
368 #                 hosts are resolved on rehash, and cached, if you    #
369 #                 specify a hostname, so if you find that your server #
370 #                 is still trying to connect to an old IP after you   #
371 #                 have updated your dns, try rehashing and then       #
372 #                 attempting the connect again.                       #
373 #                                                                     #
374 # port        -   The TCP port for the remote server.                 #
375 #                                                                     #
376 # sendpass    -   Password to send to create an outbound connection   #
377 #                 to this server.                                     #
378 #                                                                     #
379 # recvpass    -   Password to receive to accept an inbound connection #
380 #                 from this server.                                   #
381 #                                                                     #
382 # autoconnect -   Sets the server to autoconnect. Where x is the num. #
383 # (optional)      of seconds between attempts. e.g. 300 = 5 minutes.  #
384 #                                                                     #
385 # encryptionkey - Encryption key to be used for AES encryption, where #
386 #                 supported. Links using the spanning tree protocol   #
387 #                 support AES. The encryption key must be EXACTLY 8,  #
388 #                 16 or 32 characters in length for a 64, 128 or 256  #
389 #                 bit key, respectively.                              #
390 #                                                                     #
391 # hidden        - When using m_spanningtree.so for linking. you may   #
392 #                 set this to 'yes', and if you do, the IP address/   #
393 #                 hostname of this connection will NEVER be shown to  #
394 #                 any opers on the network. In /STATS c its address   #
395 #                 will show as *@<hidden>, and during CONNECT and     #
396 #                 inbound connections, its IP will show as <hidden>   #
397 #                 UNLESS the connection fails (e.g. due to a bad      #
398 #                 password or servername)                             #
399 #                                                                     #
400 # allowmask     - When this is defined, it indicates a range of IP    #
401 #                 addresses to allow for this link (You may use CIDR  #
402 #                 or wildcard form for this address).                 #
403 #                 e.g. if your server is going to connect to you from #
404 #                 the range 1.2.3.1 through 1.2.3.255, put 1.2.3.0/24 #
405 #                 into this value. If it is not defined, then only    #
406 #                 the ipaddr field of the server shall be allowed.    #
407 #                                                                     #
408 # failover      - If you define this option, it must be the name of a #
409 #                 different link tag in your configuration. This      #
410 #                 option causes the ircd to attempt a connection to   #
411 #                 the failover link in the event that the connection  #
412 #                 to this server fails. For example, you could define #
413 #                 two hub uplinks to a leaf server, and set an        #
414 #                 american server to autoconnect, with a european     #
415 #                 hub as its failover. In this situation, your ircd   #
416 #                 will only try the link to the european hub if the   #
417 #                 american hub is unreachable. NOTE that for the      #
418 #                 intents and purposes of this option, an unreachable #
419 #                 server is one which DOES NOT ANSWER THE CONNECTION. #
420 #                 If the server answers the connection with accept(), #
421 #                 EVEN IF THE CREDENTIALS ARE INVALID, the failover   #
422 #                 link will not be tried! Failover settings will also #
423 #                 apply to autoconnected servers as well as manually  #
424 #                 connected ones.                                     #
425 #                                                                     #
426 # timeout       - If this is defined, then outbound connections will  #
427 #                 time out if they are not connected within this many #
428 #                 seconds. If this is not defined, the default of ten #
429 #                 seconds is used.                                    #
430 #                                                                     #
431 # to u:line a server (give it extra privilages required for running   #
432 # services, Q, etc) you must include the <uline server> tag as shown  #
433 # in the example below. You can have as many of these as you like.    #
434 #                                                                     #
435 # WARNING: Unlike other ircds, u:lining a server allows ALL users on  #
436 # that server to operoverride modes. This should only be used for     #
437 # services and protected oper servers!                                #
438 #                                                                     #
439 # NOTE: If you have built InspIRCd with IPV6 support, and you want    #
440 # to link to an IPV4 server, you must specify the IP address in the   #
441 # form '::ffff:1.2.3.4' where 1.2.3.4 is the IP address of the target #
442 # server. If you have built InspIRCd for IPV4 (this is the default)   #
443 # you should not prefix your IP addresses in this fashion.            #
444 #                                                                     #
445 #    ____                _   _____ _     _       ____  _ _   _        #
446 #   |  _ \ ___  __ _  __| | |_   _| |__ (_)___  | __ )(_) |_| |       #
447 #   | |_) / _ \/ _` |/ _` |   | | | '_ \| / __| |  _ \| | __| |       #
448 #   |  _ <  __/ (_| | (_| |   | | | | | | \__ \ | |_) | | |_|_|       #
449 #   |_| \_\___|\__,_|\__,_|   |_| |_| |_|_|___/ |____/|_|\__(_)       #
450 #                                                                     #
451 #  If you want to link servers to InspIRCd you must load the          #
452 #  m_spanningtree module! Please see the modules list below for       #
453 #  information on how to load this module! If you do not load this    #
454 #  module, server links will NOT work!                                #
455 #                                                                     #
456
457 <link name="hub.penguin.org"
458         ipaddr="penguin.box.com"
459         port="7000"
460         allowmask="69.58.44.0/24"
461         autoconnect="300"
462         failover="hub.other.net"
463         timeout="15"
464         sendpass="outgoing!password"
465         recvpass="incoming!password">
466
467 <link name="services.antarctic.com"
468         ipaddr="localhost"
469         port="7000"
470         allowmask="127.0.0.0/8"
471         sendpass="penguins"
472         recvpass="polarbears">
473
474 <uline server="services.antarctic.com">
475
476
477 #-#-#-#-#-#-#-#-#-#-  MISCELLANEOUS CONFIGURATION  -#-#-#-#-#-#-#-#-#-#
478 #                                                                     #
479 #   These options let you define the path to your motd and rules      #
480 #   files. If these are relative paths, they are relative to the      #
481 #   configurtion directory.                                           #
482 #                                                                     #
483
484 <files  motd="inspircd.motd"
485         rules="inspircd.rules">
486
487 #-#-#-#-#-#-#-#-#-#-#-#-#-#-# DNS SERVER -#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
488 #                                                                     #
489 # Define your DNS server address here. InspIRCd has its own resolver. #
490 # If you do not define this value, the first dns server from your     #
491 # /etc/resolv.conf file is read. If no entries are found in this file #
492 # or the file cannot be opened, the default value '127.0.0.1' is used #
493 # instead. The timeout value is in seconds.                           #
494 #                                                                     #
495 #    ____                _   _____ _     _       ____  _ _   _        #
496 #   |  _ \ ___  __ _  __| | |_   _| |__ (_)___  | __ )(_) |_| |       #
497 #   | |_) / _ \/ _` |/ _` |   | | | '_ \| / __| |  _ \| | __| |       #
498 #   |  _ <  __/ (_| | (_| |   | | | | | | \__ \ | |_) | | |_|_|       #
499 #   |_| \_\___|\__,_|\__,_|   |_| |_| |_|_|___/ |____/|_|\__(_)       #
500 #                                                                     #
501 # When choosing a server, be sure to choose one which will do a       #
502 # RECURSIVE LOOKUP. InspIRCd's resolver does not currently do these   #
503 # recursive lookups itself, to save time and resources. The dns       #
504 # server recommended by the InspIRCd team is bind, available from the #
505 # ISC website. If your DNS server does not do a recursive lookup, you #
506 # will be able to notice this by the fact that none of your users are #
507 # resolving even though the DNS server appears to be up! Most ISP and #
508 # hosting provider DNS servers support recursive lookups.             #
509 #                                                                     #
510 # NOTE: If you have built InspIRCd with IPV6 support, and you want    #
511 # to use an IPV4 nameserver, you must specify the IP address in the   #
512 # form '::ffff:1.2.3.4' where 1.2.3.4 is the IP address of the target #
513 # server. If you have built InspIRCd for IPV4 (this is the default)   #
514 # you should not prefix your IP addresses in this fashion.            #
515 #                                                                     #
516 # IF YOUR RESOLV.CONF CONTAINS ONLY IPV4 ADDRESSES, AND YOU ARE USING #
517 # IPV6, YOU MUST DEFINE THE <DNS SERVER> TAG, AND USE THE ::FFFF      #
518 # PREFIX NOTATION. IF YOU DO NOT, HOSTS WILL *NOT* RESOLVE.           #
519 #                                                                     #
520
521 <dns server="127.0.0.1" timeout="5">
522
523 # An example of using IPV4 nameservers over IPV6
524 #<dns server="::ffff:127.0.0.1" timeout="5">
525
526 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#  PID FILE  -#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
527 #                                                                     #
528 # Define the path to the PID file here. The PID file can be used to   #
529 # rehash the ircd from the shell or to terminate the ircd from the    #
530 # shell using shell scripts, perl scripts etc, and to monitor the     #
531 # ircd's state via cron jobs. If this is a relative path, it will be  #
532 # relative to the configuration directory, and if it is not defined,  #
533 # the default of 'inspircd.pid' is used.                              #
534 #                                                                     #
535
536 #<pid file="/path/to/inspircd.pid">
537
538 #-#-#-#-#-#-#-#-#-#-#-#-#- BANLIST LIMITS #-#-#-#-#-#-#-#-#-#-#-#-#-#-#
539 #                                                                     #
540 # Use these tags to customise the ban limits on a per channel basis.  #
541 # the tags are read from top to bottom, and any tag found which       #
542 # matches the channels name applies the banlimit to that channel.     #
543 # It is advisable to put an entry with the channel as '*' at the      #
544 # bottom of the list. If none are specified or no maxbans tag is      #
545 # matched, the banlist size defaults to 64 entries.                   #
546 #                                                                     #
547
548 <banlist chan="#morons" limit="128">
549 <banlist chan="*" limit="69">
550
551 #-#-#-#-#-#-#-#-#-#-#-  DISABLED COMMANDS  -#-#-#-#-#-#-#-#-#-#-#-#-#-#
552 #                                                                     #
553 # This tag is optional, and specifies one or more commands which are  #
554 # not available to non-operators. For example you may wish to disable #
555 # NICK and prevent non-opers from changing their nicknames.           #
556 # Note that any disabled commands take effect only after the user has #
557 # 'registered' (e.g. after the initial USER/NICK/PASS on connection)  #
558 # so for example disabling NICK will not cripple your network.        #
559 #                                                                     #
560
561 #<disabled commands="TOPIC MODE">
562
563
564 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-  RTFM LINE  -#-#-#-#-#-#-#-#-#-#-#-#-#-#
565 #                                                                     #
566 #   Just remove this... Its here to make you read ALL of the config   #
567 #   file options ;)                                                   #
568
569 <die value="You should probably edit your config *PROPERLY* and try again.">
570
571
572
573 #-#-#-#-#-#-#-#-#-#-#-#-#-  SERVER OPTIONS   -#-#-#-#-#-#-#-#-#-#-#-#-#
574 #                                                                     #
575 #   Settings to define which features are useable on your server.     #
576 #                                                                     #
577 #  prefixquit    - a prefix for a client's quit message               #
578 #                                                                     #
579 #  loglevel      - specifies what detail of messages to log in the    #
580 #                  log file. You may select from debug, verbose,      #
581 #                  default, sparse and none.                          #
582 #                                                                     #
583 #  allowhalfop   - allows the +h channel mode                         #
584 #                                                                     #
585 #  noservices    - If noservices is true, yes, or 1, then the first   #
586 #                  user into a channel gets founder status. This is   #
587 #                  only useful on networks running the m_chanprotect  #
588 #                  module without services.                           #
589 #                                                                     #
590 #  qaprefixes    - If qaprefixes is true, yes, or 1, then users       #
591 #                  with +q or +a will get the ~ or & prefixes         #
592 #                  used in unreal. This is only useful on networks    #
593 #                  running the m_chanprotect module                   #
594 #                                                                     #
595 #  deprotectself - If this value is set to yes, true, or 1, then any  #
596 #                  user with +q or +a may remove the +q or +a from    #
597 #                  themselves. The default setting is to not enable   #
598 #                  this feature, which stops even the founder taking  #
599 #                  away their founder status without using services.  #
600 #                                                                     #
601 #  cyclehosts    - If this is set to true, yes or 1, then when a      #
602 #                  user's hostname changes, they will appear to quit  #
603 #                  and then rejoin with their new host. This prevents #
604 #                  clients from being confused by host changes,       #
605 #                  especially in the case of bots, and it is          #
606 #                  recommended that this option is enabled.           #
607 #                                                                     #
608 #  netbuffersize - size of the buffer used to receive data from       #
609 #                  clients. The ircd may only read() this amount      #
610 #                  of text in one go at any time. (OPTIONAL)          #
611 #                                                                     #
612 #  maxwho        - The maximum number of results returned by a /WHO   #
613 #                  query. This is to prevent /WHO being used as a     #
614 #                  spam vector or means of flooding an ircd. The      #
615 #                  default is 128, it is not recommended to raise it  #
616 #                  above 1024. Values up to 65535 are permitted.      #
617 #                                                                     #
618 #  somaxconn     - The maximum number of sockets that may be waiting  #
619 #                  in the accept queue. This usually allows the ircd  #
620 #                  to soak up more connections in a shorter space of  #
621 #                  time when increased but please be aware there is a #
622 #                  system defined maximum value to this, the same way #
623 #                  there is a system defined maximum number of file   #
624 #                  descriptors. Some systems may only allow this to   #
625 #                  be up to 5 (ugh) while others such as FreeBSD will #
626 #                  default to a much nicer 128.                       #
627 #                                                                     #
628 #  moduledir     - This optional value indicates a runtime change of  #
629 #                  the location where modules are to be found. This   #
630 #                  does not add a supplementary directory. There can  #
631 #                  only be one module path.                           #
632 #                                                                     #
633 #  softlimit     - This optional feature allows a defined softlimit.  #
634 #                  if defined sets a soft maxconnections value, has   #
635 #                  to be less than the ./configure maxclients         #
636 #                                                                     #
637 #  userstats     - The userstats field is optional and specifies      #
638 #                  which stats characters in /STATS may be requested  #
639 #                  by non-operators. Stats characters in this field   #
640 #                  are case sensitive and are allowed to users        #
641 #                  independent of if they are in a module or the core #
642 #                                                                     #
643 #  operspywhois  - If this is set then when an IRC operator uses      #
644 #                  /WHOIS on a user they will see all channels, even  #
645 #                  ones if channels are secret (+s), private (+p) or  #
646 #                  if the target user is invisible +i.                #
647 #                                                                     #
648 #  customversion - If you specify this configuration item, and it is  #
649 #                  not set to an empty value, then when a user does   #
650 #                  a /VERSION command on the ircd, this string will   #
651 #                  be displayed as the second portion of the output,  #
652 #                  replacing the system 'uname', compile flags and    #
653 #                  socket engine/dns engine names. You may use this   #
654 #                  to enhance security, or simply for vanity.         #
655 #                                                                     #
656 #  maxtargets    - The maxtargets field is optional, and if not       #
657 #                  defined, defaults to 20. It indicates the maximum  #
658 #                  number of targets which may be given to commands   #
659 #                  such as PRIVMSG, KICK etc.                         #
660 #                                                                     #
661 #  hidesplits    - When set to 'yes', will hide split server names    #
662 #                  from non-opers. Non-opers will see '*.net *.split' #
663 #                  instead of the server names in the quit message,   #
664 #                  identical to the way IRCu displays them.           #
665 #                                                                     #
666 #  hidebans      - When set to 'yes', will hide gline, kline, zline   #
667 #                  and qline quit messages from non-opers. For        #
668 #                  example, user A who is not an oper will just see   #
669 #                  (G-Lined) while user B who is an oper will see the #
670 #                  text (G-Lined: Reason here) instead.               #
671 #                                                                     #
672 #  hidewhois     - When defined with a non-empty value, the given     #
673 #                  text will be used in place of the user's server    #
674 #                  in WHOIS, when a user is WHOISed by a non-oper.    #
675 #                  For example, most nets will want to set this to    #
676 #                  something like '*.netname.net' to conceal the      #
677 #                  actual server the user is on.                      #
678 #                                                                     #
679 #  flatlinks     - When you are using m_spanningtree.so, and this     #
680 #                  value is set to true, yes or 1, /MAP and /LINKS    #
681 #                  will be flattened when shown to a non-oper.        #
682 #                                                                     #
683 #  hideulines    - When you are using m_spanningtree.so, and this     #
684 #                  value is set to true, yes or 1, then U-lined       #
685 #                  servers will be hidden in /LINKS and /MAP. For non #
686 #                  opers. Please be aware that this will also hide    #
687 #                  any leaf servers of a U-lined server, e.g. jupes.  #
688 #                                                                     #
689 #  nouserdns     - If set to 'yes', 'true' or '1', no user dns        #
690 #                  lookups will be performed for connecting users.    #
691 #                  this can save a lot of resources on very busy irc  #
692 #                  servers.                                           #
693 #                                                                     #
694 #  syntaxhints   - If set to 'yes', 'true' or '1', when a user does   #
695 #                  not give enough parameters for a command, a syntax #
696 #                  hint will be given (using the RPL_TEXT numeric)    #
697 #                  as well as the standard ERR_NEEDMOREPARAMS.        #
698 #                                                                     #
699 #  announcets    - If this value is defined to 'yes', 'true' or '1',  #
700 #                  then if a channel's timestamp is updated the users #
701 #                  on the channel will be informed of the change via  #
702 #                  a server notice to the channel with the old and    #
703 #                  new TS values in the timestamp. If you think this  #
704 #                  is just pointless noise, define the value to 0.    #
705 #                                                                     #
706 #  notimesync    - If this value is 'yes', 'true', or '1', time       #
707 #                  synchronization is disabled on this server. This   #
708 #                  means any servers you are linked to will not       #
709 #                  automatically synchronize time with you, and in    #
710 #                  most cases will just result in more bounced modes  #
711 #                  on netsplits. This option should be the same on    #
712 #                  all servers.                                       #
713 #                                                                     #
714
715 <options prefixquit="Quit: "
716          loglevel="default"
717          netbuffersize="10240"
718          maxwho="128"
719          noservices="no"
720          qaprefixes="no"
721          deprotectself="no"
722          somaxconn="128"
723          softlimit="12800"
724          userstats="Pu"
725          operspywhois="no"
726          customversion=""
727          maxtargets="20"
728          hidesplits="no"
729          hidebans="no"
730          hidewhois=""
731          flatlinks="no"
732          hideulines="no"
733          nouserdns="no"
734          syntaxhints="no"
735          cyclehosts="yes"
736          announcets="yes"
737          notimesync="no"
738          allowhalfop="yes">
739
740 #-#-#-#-#-#-#-#-#-#-#-#-#-  WHOWAS OPTIONS   -#-#-#-#-#-#-#-#-#-#-#-#-#
741 #                                                                     #
742 # This tag lets you define the behaviour of the /whowas command of    #
743 # your server.                                                        #
744 #                                                                     #
745 # groupsize      - Controls the maximum entries per nick shown when   #
746 #                  performing a /whowas nick. Setting this to 0 dis-  #
747 #                  ables whowas completely.                           #
748 #                                                                     #
749 # maxgroups      - The maximum number of nickgroups that can be added #
750 #                  to the list. If max is reached, oldest group will  #
751 #                  be deleted first like a FIFO. A groupsize of 3 and #
752 #                  a maxgroups of 5000 will allow for 5000 nicks to   #
753 #                  be stored with a history of 3, thus giving a total #
754 #                  of 3 * 5000 = 15000 entries. A setting of 0 dis-   #
755 #                  ables whowas completely.                           #
756 #                                                                     #
757 # maxkeep        - The maximum time a nick is kept in the whowas list #
758 #                  before being pruned. Time may be specified in      #
759 #                  seconds, or in the following format: 1y2w3d4h5m6s  #
760 #                  meaning one year, two weeks, three days, 4 hours,  #
761 #                  5 minutes and 6 seconds. All fields in this format #
762 #                  are optional. Minimum is 1 hour, if less InspIRCd  #
763 #                  will default back to 1 hour.                       #
764 #                                                                     #
765 #<whowas groupsize="10"                                               #
766 #        maxgroups="100000"                                           #
767 #        maxkeep="3d">                                                #
768
769
770 #-#-#-#-#-#-#-#-#-#-#-#-#-  MODULE OPTIONS   -#-#-#-#-#-#-#-#-#-#-#-#-#
771 #                                                                     #
772 #  These tags define which modules will be loaded on startup by your  #
773 #  server. Add modules without any paths. When you make your ircd     #
774 #  using the 'make' command, all compiled modules will be moved into  #
775 #  the folder you specified when you ran ./configure. The module tag  #
776 #  automatically looks for modules in this location.                  #
777 #  If you attempt to load a module outside of this location, either   #
778 #  in the config, or via /LOADMODULE, you will receive an error.      #
779 #                                                                     #
780 #  By default, ALL modules are commented out. You must uncomment them #
781 #  or add lines to your config to load modules. Please refer to       #
782 #  http://www.inspircd.org/wiki/Modules_List for a list of modules and#
783 #  each modules link for any additional conf tags they require.       #
784 #                                                                     #
785 #  You may use wildcards in a <module> tag to load all modules which  #
786 #  match a glob pattern (e.g. m_sa????.so would load m_sajoin,        #
787 #  m_sapart, m_saquit and m_sanick)                                   #
788 #                                                                     #
789 #    ____                _   _____ _     _       ____  _ _   _        #
790 #   |  _ \ ___  __ _  __| | |_   _| |__ (_)___  | __ )(_) |_| |       #
791 #   | |_) / _ \/ _` |/ _` |   | | | '_ \| / __| |  _ \| | __| |       #
792 #   |  _ <  __/ (_| | (_| |   | | | | | | \__ \ | |_) | | |_|_|       #
793 #   |_| \_\___|\__,_|\__,_|   |_| |_| |_|_|___/ |____/|_|\__(_)       #
794 #                                                                     #
795 # To link servers to InspIRCd, you MUST load the m_spanningtree       #
796 # module, as shown below. If you DO NOT do this, server links will    #
797 # NOT work at all. ie. The ports will NOT bind, and /connect will not #
798 # work properly. This is by design, to allow for the implementation   #
799 # of other linking protocols in modules in the future.                #
800
801 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
802 # Spanning Tree module - allows linking of servers using the spanning
803 # tree protocol (see the READ THIS BIT section above).
804 #
805 #<module name="m_spanningtree.so">
806
807 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
808 # Alias module: Allows you to define server-side command aliases
809 #<module name="m_alias.so">
810 #
811 #-#-#-#-#-#-#-#-#-#-#-  ALIAS DEFINITIONS  -#-#-#-#-#-#-#-#-#-#-#-#-#-#
812 #                                                                     #
813 # If you have the m_alias.so module loaded, you may also define       #
814 # aliases as shown below. They are commonly used to provide shortcut  #
815 # commands to services, however they are not limited to just this use.#
816 # An alias tag requires the following values to be defined in it:     #
817 #                                                                     #
818 # text        -      The text to detect at the start of the line,     #
819 #                    must be at the start of the line to trigger the  #
820 #                    alias. Cant contain spaces, but case insensitive #
821 # replace     -      The text to replace 'text' with. Usually this    #
822 #                    will be "PRIVMSG ServiceName :$2-" or similar.   #
823 #                    You may use the variables $1 through $9 in the   #
824 #                    replace string, which refer to the first through #
825 #                    ninth word in the original string typed by the   #
826 #                    user. You may also use $1- through $9- which     #
827 #                    refer to the first word onwards, through to the  #
828 #                    ninth word onwards, e.g. if the user types the   #
829 #                    command "foo bar baz qux quz" then $3- will hold #
830 #                    "baz qux quz" and $2 will contain "bar". You may #
831 #                    also use the special variables: $nick, $ident,   #
832 #                    $host and $vhost, and you may seperate multiple  #
833 #                    commands with \n. If you wish to use the ACTUAL  #
834 #                    characters \ and n together in a line, you must  #
835 #                    use the sequence "\\n".                          #
836 # requires    -      If you provide a value for 'requires' this means #
837 #                    the given nickname MUST be online for the alias  #
838 #                    to successfully trigger. If they are not, then   #
839 #                    the user receives a 'no such nick' 401 numeric.  #
840 # uline       -      Defining this value with 'yes', 'true' or '1'    #
841 #                    will ensure that the user given in 'requires'    #
842 #                    must also be on a u-lined server, as well as     #
843 #                    actually being on the network. If the user is    #
844 #                    online, but not on a u-lined server, then an     #
845 #                    oper-alert is sent out as this is possibly signs #
846 #                    of a user trying to impersonate a service.       #
847 # operonly    -      Defining this value, with a value of 'yes', '1'  #
848 #                    or true will make the alias oper only. If a non- #
849 #                    oper attempts to use the alias, it will appear   #
850 #                    to not exist.                                    #
851 #                                                                     #
852 #<alias text="NICKSERV" replace="PRIVMSG NickServ :$2-" requires="NickServ" uline="yes">
853 #<alias text="CHANSERV" replace="PRIVMSG ChanServ :$2-" requires="ChanServ" uline="yes">
854 #<alias text="OPERSERV" replace="PRIVMSG OperServ :$2-" requires="OperServ" uline="yes" operonly="yes">
855 #<alias text="NS" replace="PRIVMSG NickServ :$2-" requires="NickServ" uline="yes">
856 #<alias text="CS" replace="PRIVMSG ChanServ :$2-" requires="ChanServ" uline="yes">
857 #<alias text="OS" replace="PRIVMSG OperServ :$2-" requires="OperServ" uline="yes" operonly="yes">
858 #<alias text="ID" replace="PRIVMSG NickServ :IDENTIFY $3" requires="NickServ" uline="yes">
859
860 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
861 # Alltime module: Shows time on all connected servers at once
862 #<module name="m_alltime.so">
863
864 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
865 # Antibear security module: Prevents 'bear.txt' based trojans from
866 # connecting to your network by sending them a numeric they can't handle.
867 #<module name="m_antibear.so">
868
869 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
870 # Antibottler module: Labels bottler leech bots
871 #<module name="m_antibottler.so">
872
873 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
874 # Ban except module: Adds support for channel ban exceptions (+e)
875 #<module name="m_banexception.so">
876
877 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
878 # Block amsg module: Attempt to block all usage of /amsg and /ame
879 #<module name="m_blockamsg.so">
880 #
881 #-#-#-#-#-#-#-#-#-#-#-  BLOCKAMSG CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
882 #                                                                     #
883 # If you have the m_blockamsg.so module loaded, you can configure it  #
884 # with the <blockamsg> tag:                                           #
885 #                                                                     #
886 # delay          -   How many seconds between two messages to force   #
887 #                    them to be recognised as unrelated.              #
888 # action         -   Any of 'notice', 'noticeopers', 'silent', 'kill' #
889 #                    or 'killopers'. Define how to take action when   #
890 #                    a user uses /amsg or /ame.                       #
891 #
892 #<blockamsg delay="3" action="killopers">
893
894 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
895 # Block CAPS module: Blocking all-CAPS messages with cmode +P
896 #<module name="m_blockcaps.so">
897
898 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
899 # Block colour module: Blocking colour-coded messages with cmode +c
900 #<module name="m_blockcolor.so">
901
902 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
903 # Botmode module: Adds the user mode +B
904 #<module name="m_botmode.so">
905
906 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
907 # CBAN module: Lets you disallow channels from being used at runtime.
908 #<module name="m_cban.so">
909
910 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
911 # Censor module: Adds the channel mode +G
912 #<module name="m_censor.so">
913 #
914 #-#-#-#-#-#-#-#-#-#-#-  CENSOR  CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#-#
915 #                                                                     #
916 # Optional - If you specify to use the m_censor module, then you must #
917 # specify some censor tags. See also:                                 #
918 # http://www.inspircd.org/wiki/Censor_Module                          #
919 #
920 #<include file="censor.conf">
921
922 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
923 # Channel filter module: Allows channel-op defined message
924 # filtering using simple string matches (channel mode +g)
925 #<module name="m_chanfilter.so">
926
927 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
928 # Chanprotect module: gives +q and +a channel modes
929 #<module name="m_chanprotect.so">
930
931 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
932 # CHGHOST module: Adds the /CHGHOST command
933 #<module name="m_chghost.so">
934
935 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
936 # CHGIDENT module: Adds the /CHGIDENT command
937 #<module name="m_chgident.so">
938
939 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
940 # Cloaking module: Adds usermode +x and cloaking support
941 #<module name="m_cloaking.so">
942 #
943 #-#-#-#-#-#-#-#-#-#-#- CLOAKING  CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
944 #                                                                     #
945 # Optional - If ypu specify the m_cloaking.so module as above, you    #
946 # must define cloak keys, and optionally a cloak prefix as shown      #
947 # below. When using cloaking, the cloak keys are MANDITORY and must   #
948 # be included. However, if prefix is not included, it will default    #
949 # to your networks name from the <server> tag.                        #
950 #                                                                     #
951 # <cloak key1="543241423"                                             #
952 #        key2="5378410432"                                            #
953 #        key3="1143242382"                                            #
954 #        key4="9504324581"                                            #
955 #        prefix="mynet">                                              #
956 #                                                                     #
957 # Please note that the key values will accept any number, and should  #
958 # be large numbers. Using small numbers such as "7" or "1924" will    #
959 # seriously weaken the security of your cloak.                        #
960
961 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
962 # Conn-Lusers: Shows the LUSERS output on connect
963 #<module name="m_conn_lusers.so">
964
965 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
966 # Conn-Usermodes: Set modes on users when they connect
967 # When this module is loaded <connect:allow> tags may have an optional
968 # modes="" value, which contains modes to add or remove from users
969 # when they connect to the server.
970 #<module name="m_conn_umodes.so">
971
972 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
973 # Conn-Wait-for-Pong: Don't let a user connect until they PONG
974 #<module name="m_conn_waitpong.so">
975 #
976 #-#-#-#-#-#-#-#-#-#-#-   WAITPONG CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
977 #                                                                     #
978 # If you have the m_conn_waitpong.so module loaded, configure it with #
979 # the <waitpong> tag:                                                 #
980 #                                                                     #
981 # sendsnotice    -   Whether to send a snotice on connect, like other #
982 #                    older ircds                                      #
983 #                                                                     #
984 # killonbadreply -   Whether to kill the user if they send the wrong  #
985 #                    PONG reply.                                      #
986 #                                                                     #
987 #<waitpong sendsnotice="yes" killonbadreply="yes">
988
989 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
990 # Connection throttle module. Configuration:
991 #<module name="m_connflood.so">
992 #
993 #-#-#-#-#-#-#-#-#-#-#- CONTHROTTLE CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
994 #  seconds, maxconns -  Amount of connections per <seconds>.
995 #
996 #  timeout           -  Time to wait after the throttle was activated
997 #                       before deactivating it. Be aware that the time
998 #                       is seconds + timeout.
999 #
1000 #  quitmsg           -  The message that users get if they attempt to
1001 #                       connect while the throttle is active.
1002 #
1003 #  bootwait          -  Amount of time to wait before enforcing the
1004 #                       throttling when the server just booted.
1005 #
1006 #<connflood seconds="30" maxconns="3" timeout="30"
1007 #   quitmsg="Throttled" bootwait="10">
1008
1009 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1010 # DCCALLOW module: Adds the /DCCALLOW command
1011 #<module name="m_dccallow.so">
1012 #
1013 #-#-#-#-#-#-#-#-#-#-#-  DCCALLOW CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
1014 #  blockchat         - Whether to block DCC CHAT as well as DCC SEND
1015 #  length            - Default duration of entries in DCCALLOW list
1016 #  action            - Default action to take if no action is specified
1017 #                      can be 'block' or 'allow'
1018 #
1019 # File configuration:
1020 #  pattern           - The glob pattern to match against
1021 #  action            - Action to take if a user attempts to send a file
1022 #                      that matches this pattern, can be 'block' or 'allow'
1023 #
1024 #<dccallow blockchat="yes" length="5m" action="block">
1025 #<banfile pattern="*.exe" action="block">
1026 #<banfile pattern="*.txt" action="allow">
1027 #
1028 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1029
1030 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1031 # Deaf module: adds support for ircu style usermode +d - deaf to
1032 # channel messages and channel notices.
1033 #<module name="m_deaf.so">
1034
1035 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1036 # Deny Channels: Deny Channels from being used by users
1037 #<module name="m_denychans.so"> 
1038 #
1039 #-#-#-#-#-#-#-#-#-#-#-   DENYCHAN DEFINITIONS  -#-#-#-#-#-#-#-#-#-#-#-#
1040 #                                                                     #
1041 # If you have the m_denychans.so module loaded, you need to specify   #
1042 # the channels to deny:                                               #
1043 #                                                                     #
1044 # name        -      The channel name to deny.                        #
1045 #                                                                     #
1046 # allowopers  -      If operators are allowed to override the deny.   #
1047 #                                                                     #
1048 # reason      -      Reason given for the deny.                       #
1049 #                                                                     #
1050 #<badchan name="#gods" allowopers="yes" reason="Tortoises!">
1051
1052 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1053 # Devoice Module: Let users devoice themselves.
1054 #<module name="m_devoice.so">
1055
1056 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1057 # Filter module: Provides glob-based message filtering
1058 #<module name="m_filter.so">
1059 # OR
1060 # PCRE filter module: Filters messages using regular expressions
1061 #<module name="m_filter_pcre.so">
1062 #
1063 # You may only use one or the other with these modules, network-wide.
1064 #
1065 #-#-#-#-#-#-#-#-#-#-#-  FILTER  CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#-#
1066 #                                                                     #
1067 # Optional - If you specify to use the m_filter or m_filter_pcre      #
1068 # modules, then specfiy below the path to the filter.conf file,       #
1069 # or define some <filter> tags.                                       #
1070 #                                                                     #
1071 #<include file="filter.conf">
1072
1073 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1074 # Foobar module: does nothing - historical relic
1075 #<module name="m_foobar.so">
1076
1077 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1078 # Globops module: gives /GLOBOPS and usermode +g
1079 #<module name="m_globops.so">
1080
1081 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1082 # Global load module: Allows loading and unloading of modules network-
1083 # wide (USE WITH EXTREME CAUTION!)
1084 #<module name="m_globalload.so">
1085
1086 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1087 # HELPOP module: Provides the /HELPOP command
1088 #<module name="m_helpop.so">
1089 #
1090 #-#-#-#-#-#-#-#-#-#-#-#-  HELPOP  CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
1091 #                                                                     #
1092 # Optional - If you specify to use the m_helpop.so module, then       #
1093 # specify below the path to the helpop.conf file, or if you like to   #
1094 # make a mess, define your helpop tags in this conf.                  #
1095 #                                                                     #
1096 #<include file="helpop.conf">
1097
1098 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1099 # HIDECHANS module: Allows opers to hide their channels list from non-
1100 # opers by setting user mode +I on themselves.
1101 # <module name="m_hidechans.so">
1102
1103 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1104 # HIDEOPER module: Allows opers to hide their oper status from non-
1105 # opers by setting user mode +H on themselves.
1106 # <module name="m_hideoper.so">
1107
1108 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1109 # Hostchange module: Allows a different style of cloaking
1110 #<module name="m_hostchange.so">
1111 #
1112 #-#-#-#-#-#-#-#-#-#-#-  HOSTCHANGE  CONFIGURATION  -#-#-#-#-#-#-#-#-#-#
1113 #                                                                     #
1114 # Optional - If you choose to use the m_hostchange.so module.         #
1115 # Config Help -  See http://www.inspircd.org/wiki/Host_Changer_Module #
1116 #                                                                     #
1117 #<host suffix="polarbears.org">
1118 #<hostchange mask="*@fbi.gov" action="addnick">
1119 #<hostchange mask="*r00t@*" action="suffix">
1120 #<hostchange mask="a@b.com" action="set" value="blah.blah.blah">
1121
1122 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1123 # httpd module: Provides http server support for InspIRCd
1124 #<module name="m_httpd.so">
1125 #
1126 #-#-#-#-#-#-#-#-#-#-#-#-  HTTPD   CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
1127 #
1128 # Optional - If you choose to use the m_httpd.so module,  then you must
1129 # specify the port number and other details of your http server:
1130 #
1131 #<http ip="192.168.1.10" host="brainwave" port="32006"
1132 #      index="/home/brain/inspircd/http/index.html">
1133 #
1134 # You may have as many of these tags as you wish, each with a different
1135 # IP, port, host or index file. Each one will act as an independent
1136 # HTTP server.
1137 #
1138
1139 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1140 # http stats module: Provides basic stats pages over HTTP
1141 # Requires m_httpd.so to be loaded for it to function.
1142 #<module name="m_httpd_stats.so">
1143 #
1144 #-#-#-#-#-#-#-#-#-#-#-#- HTTPD STATS CONFIGURATION -#-#-#-#-#-#-#-#-#-#
1145 #
1146 #<httpstats stylesheet="http://remote.style/sheet.css">
1147 #
1148
1149 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1150 # Ident: Provides RFC 1413 ident lookup support
1151 #<module name="m_ident.so">
1152 #
1153 #-#-#-#-#-#-#-#-#-#-#-#-   IDENT CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
1154 #                                                                     #
1155 # Optional - If you are using the m_ident.so module, then you can     #
1156 # specify the timeout for ident lookups here. If not defined, it will #
1157 # default to one second. This is a non-blocking timeout which holds   #
1158 # the user in a 'connecting' state until the lookup is complete.      #
1159 #                                                                     #
1160 #<ident timeout="5">
1161
1162 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1163 # Invite except module: Adds support for channel invite exceptions (+I)
1164 #<module name="m_inviteexception.so">
1165
1166 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1167 # Join flood module: Adds support for join flood protection (+j)
1168 #<module name="m_joinflood.so">
1169
1170 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1171 # Anti-Auto-Rejoin: Adds support for prevention of auto-rejoin (+J)
1172 #<module name="m_kicknorejoin.so">
1173
1174 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1175 # Knock module: adds the /KNOCK command and +K channel mode
1176 #<module name="m_knock.so">
1177
1178 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1179 # Msg flood module: Adds message/notice flood protection (+f)
1180 #<module name="m_messageflood.so">
1181
1182 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1183 # MySQL module: Allows other SQL modules to access MySQL databases
1184 # through a unified API. You must copy the source for this module
1185 # from the directory src/modules/extra, plus the file m_sqlv2.h
1186 #<module name="m_mysql.so">
1187 #
1188 #-#-#-#-#-#-#-#-#-#-#-#- SQL CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#-#
1189 #                                                                     #
1190 # m_mysql.so is more complex than described here, see the wiki for    #
1191 # more: http://www.inspircd.org/wiki/SQL_Service_Provider_Module      #
1192 #
1193 #<database name="mydb" username="myuser" password="mypass" hostname="localhost" id="my_database2">
1194
1195 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1196 # NAMESX module: Provides support for the NAMESX extension which allows
1197 # clients to see all the prefixes set on a user without getting confused.
1198 # This is supported by mIRC, x-chat, klient, and maybe more.
1199 #<module name="m_namesx.so">
1200
1201 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1202 # Nicklock module: Let opers change a user's nick and then stop that
1203 # user from changing their nick again.
1204 #<module name="m_nicklock.so">
1205
1206 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1207 # No ctcp module: Adds the channel mode +C to block CTCPs
1208 #<module name="m_noctcp.so">
1209
1210 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1211 # Noinvite module: Gives channel mode +V
1212 #<module name="m_noinvite.so">
1213
1214 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1215 # No kicks module: Adds the +Q channel mode
1216 #<module name="m_nokicks.so">
1217
1218 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1219 # No nicks module: Adds the +N channel mode
1220 #<module name="m_nonicks.so">
1221
1222 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1223 # No Notice module: adds the channel mode +T
1224 #<module name="m_nonotice.so">
1225
1226 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1227 # Oper channels mode: Adds the +O channel mode
1228 #<module name="m_operchans.so">
1229
1230 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1231 # Oper Join module: Forces opers to join a channel on oper-up
1232 #<module name="m_operjoin.so">
1233 #
1234 #-#-#-#-#-#-#-#-#-#-#   OPERJOIN CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
1235 #                                                                     #
1236 # If you are using the m_operjoin.so module, specify the channel here #
1237 #                                                                     #
1238 #<operjoin channel="#channel">
1239
1240 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1241 # Oper MOTD module: Provides support for seperate message of the day
1242 # on oper-up
1243 #<module name="m_opermotd.so">
1244 #
1245 #-#-#-#-#-#-#-#-#-#-#   OPERMOTD CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
1246 #                                                                     #
1247 # If you are using the m_opermotd.so module, specify the motd here    #
1248 #                                                                     #
1249 #<opermotd file="oper.motd">
1250
1251 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1252 # Override module: Adds support for oper override
1253 #<module name="m_override.so">
1254 #
1255 #-#-#-#-#-#-#-#-#-#-#   OVERRIDE CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
1256 #                                                                     #
1257 # m_override.so is too complex it describe here, see the wiki:        #
1258 # http://www.inspircd.org/wiki/Oper_Override_Module                   #
1259
1260 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1261 # Oper levels module: Gives each oper a level and prevents
1262 # actions being taken against higher level opers
1263 # Specify the level as the 'level' parameter of the <type> tag
1264 #<module name="m_operlevels.so">
1265
1266 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1267 # Oper MD5 module: Allows MD5 hashed oper passwords
1268 #<module name="m_opermd5.so">
1269
1270 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1271 # Oper SHA256 module: Allows SHA256 hashed oper passwords
1272 # This module is in src/modules/extra
1273 #<module name="m_opersha256.so">
1274
1275 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1276 # Oper modes module: Allows you to specify modes to add/remove on oper
1277 # Specify the modes as the 'modes' parameter of the <type> tag
1278 #<module name="m_opermodes.so">
1279
1280 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1281 # PostgreSQL module: Allows other SQL modules to access PgSQL databases
1282 # through a unified API. You must copy the source for this module
1283 # from the directory src/modules/extra, plus the file m_sqlv2.h
1284 #<module name="m_pgsql.so">
1285 #
1286 #-#-#-#-#-#-#-#-#-#-#-#- SQL CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#-#
1287 #                                                                     #
1288 # m_pgsql.so is more complex than described here, see the wiki for    #
1289 # more: http://www.inspircd.org/wiki/SQL_Service_Provider_Module      #
1290 #
1291 #<database name="mydb" username="myuser" password="mypass" hostname="localhost" id="my_database" ssl="no">
1292
1293 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1294 # Random Quote module: provides a random quote on connect.
1295 # NOTE: Some of these may mimic fatal errors and confuse users and 
1296 # opers alike! - BEWARE!
1297 #<module name="m_randquote.so">
1298 #
1299 #-#-#-#-#-#-#-#-#-#-  RANDOMQUOTES CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
1300 #                                                                     #
1301 # Optional - If you specify to use the m_randquote.so module, then    #
1302 # specify below the path to the randquotes.conf file.                 #
1303 #                                                                     #
1304 #<randquote file="randquotes.conf">
1305
1306 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1307 # Redirect module: Adds channel redirection (mode +L)
1308 #<module name="m_redirect.so">
1309
1310 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1311 # Remove module: Adds the /REMOVE command which is a peaceful
1312 # alternative to /KICK
1313 #<module name="m_remove.so">
1314
1315 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1316 # Restrict banned users module:
1317 # Disallows banned users on a channel from messaging the channel,
1318 # changing nick, or changing the topic, if loaded.
1319 #<module name="m_restrictbanned.so">
1320
1321 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1322 # Restricted channels module: Allows only opers to create channels
1323 #<module name="m_restrictchans.so">
1324
1325 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1326 # Restrict message module: Allows users to only message opers
1327 #<module name="m_restrictmsg.so">
1328
1329 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1330 # Provide /LIST throttling (to prevent flooding) and /LIST safety to
1331 # prevent excess flood when the list is large.
1332 #<module name="m_safelist.so">
1333
1334 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1335 # SAJOIN module: Adds the /SAJOIN command
1336 #<module name="m_sajoin.so">
1337
1338 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1339 # SAMODE module: Adds the oper /SAMODE command
1340 #<module name="m_samode.so">
1341
1342 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1343 # SANICK module: Allows opers to change user's nicks
1344 #<module name="m_sanick.so">
1345
1346 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1347 # SAPART module: Adds the oper /SAPART command
1348 #<module name="m_sapart.so">
1349
1350 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1351 # SAQUIT module: Adds the oper /SAQUIT command (abusable!!!)
1352 #<module name="m_saquit.so">
1353
1354 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-
1355 # Secure list module: Prevent /LIST in the first minute of connection,
1356 # crippling most spambots and trojan spreader bots.
1357 #<module name="m_securelist.so">
1358
1359 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1360 # Set Idle module: Adds a command for opers to change their
1361 # idle time (mainly a toy)
1362 #<module name="m_setidle.so">
1363
1364 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1365 # Services support module: Adds several usermodes such as +R and +M
1366 # this module implements the 'identified' state via user mode +r, which
1367 # is similar to the DALnet and dreamforge systems.
1368 #<module name="m_services.so">
1369
1370 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1371 # Services support module: Adds several usermodes such as +R and +M
1372 # this module implements the 'identified' state via account names (AC)
1373 # and is similar in operation to the way asuka and ircu handle services.
1374 # it cannot be used at the same time as m_services, above.
1375 #<module name="m_services_account.so">
1376
1377 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1378 # Sethost module: Adds the /SETHOST command
1379 #<module name="m_sethost.so">
1380
1381 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1382 # Setident module: Adds the /SETIDENT command
1383 #<module name="m_setident.so">
1384
1385 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1386 # SETNAME module: Adds the /SETNAME command
1387 #<module name="m_setname.so">
1388
1389 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1390 # Show Whois module: Adds the +W usermode which allows opers
1391 # to see when they are whois'ed (can be annoying).
1392 #<module name="m_showwhois.so">
1393
1394 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1395 # Spy module: Adds the commands SPYLIST and SPYNAMES that let opers
1396 # see who is in a +s channel, and list +s channels, show keys of keyed
1397 # channels the oper is not a member of etc. (standard 'abusive' features
1398 # of many other ircds, modulized here in InspIRCd).
1399 #<module name="m_spy.so">
1400
1401 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1402 # SSL channel mode module: Adds support for SSL-only channels (+z).
1403 # does not do anything useful without a working SSL module (see below)
1404 #<module name="m_sslmodes.so">
1405
1406 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1407 # Dummy ssl module: If you have other servers on your network which
1408 # have SSL, but your server does not have ssl enabled, you should load
1409 # this module, which will handle SSL metadata (e.g. the "Is using ssl"
1410 # field in the WHOIS information).
1411 #<module name="m_ssl_dummy.so">
1412
1413 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1414 # GnuTLS ssl module: Adds support for client-server SSL using GnuTLS,
1415 # if enabled. You must copy the source for this module from the directory
1416 # src/modules/extra, or answer 'yes' in ./configure when asked if you
1417 # want to enable this, or it will not load.
1418 #<module name="m_ssl_gnutls.so">
1419 #
1420 #-#-#-#-#-#-#-#-#-#-#-  GNUTLS CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
1421 #                                                                     #
1422 # m_ssl_gnutls.so is too complex it describe here, see the wiki:      #
1423 # http://www.inspircd.org/wiki/GnuTLS_SSL_Module                      #
1424
1425 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1426 # SSL Info module: Allows users to retrieve information about other
1427 # user's peer SSL certificates and keys. This can be used by client
1428 # scripts to validate users. For this to work, one of m_ssl_gnutls.so
1429 # or m_ssl_openssl.so must be loaded. You must symlink the source for
1430 # this module from the directory src/modules/extra.
1431 #<module name="m_sslinfo.so">
1432
1433 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1434 # OpenSSL ssl module: Adds support for client-server SSL using OpenSSL,
1435 # if enabled. You must copy the source for this module from the directory
1436 # src/modules/extra, or answer 'yes' in ./configure when asked if you
1437 # want to enable this, or it will not load.
1438 #<module name="m_ssl_openssl.so">
1439 #
1440 #-#-#-#-#-#-#-#-#-#-#- OPENSSL CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
1441 #                                                                     #
1442 # m_ssl_openssl.so is too complex it describe here, see the wiki:     #
1443 # http://www.inspircd.org/wiki/OpenSSL_SSL_Module                     #
1444
1445 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1446 # SSL Cert Oper module: Allows opers to oper up using the key fingerprint
1447 # stored within their SSL certificate and key pair.
1448 # When using this module, one of m_ssl_gnutls.so or m_ssl_openssl.so must
1449 # be loaded. An extra value should be added to enabled opers, which
1450 # is in the following format: fingerprint="<hash>". For more information,
1451 # see the example in the oper blocks.
1452 #<module name="m_ssl_oper_cert.so">
1453
1454 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1455 # Strip colour module: Adds the channel mode +S
1456 #<module name="m_stripcolor.so">
1457
1458 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1459 # SILENCE module: Adds support for /SILENCE
1460 #<module name="m_silence.so">
1461
1462 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1463 # Extended SILENCE module: Adds support for /SILENCE with additional
1464 # features to silence based on invites, channel messages, etc.
1465 #<module name="m_silence_ext.so">
1466
1467 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1468 # SQLutils module: Provides some utilities to SQL client modules, such
1469 # as mapping queries to users and channels. You must copy the source
1470 # for this module from the directory src/modules/extra/m_sqlutils.cpp
1471 # and src/modules/extra/m_sqlutils.h into /src/modules
1472 # Needed for, and loaded before: SQLauth and SQLoper
1473 #<module name="m_sqlutils.so">
1474
1475 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1476 # SQL authentication module: Allows IRCd connections to be tied into
1477 # a database table (for example a forum). You must copy the source for
1478 # this module from the directory src/modules/extra
1479 # Depends on the SQLutils module being loaded first.
1480 #<module name="m_sqlauth.so">
1481 #
1482 #-#-#-#-#-#-#-#-#-#-#- SQLAUTH CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
1483 #                                                                     #
1484 # m_sqlauth.so is too complex it describe here, see the wiki:         #
1485 # http://www.inspircd.org/wiki/SQL_Authentication_Module              #
1486
1487 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1488 # SQL logging module: Allows you to log network-wide data for your
1489 # network in a fully normalized set of SQL tables. You must copy the
1490 # source for this module from the directory src/modules/extra
1491 #<module name="m_sqllog.so">
1492 #
1493 #-#-#-#-#-#-#-#-#-#-#-  SQLLOG CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
1494 #                                                                     #
1495 # dbid       - Database ID to use (see m_sql)                         #
1496 #                                                                     #
1497 # See also: http://www.inspircd.org/wiki/SQL_Logging_Module           #
1498 #                                                                     #
1499 #<sqllog dbid="1">
1500
1501 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1502 # SQL oper module: Allows you to store oper credentials in an SQL table
1503 # You must copy the source for this module from the directory src/modules/extra
1504 # Depends on the SQLutils module being loaded first.
1505 #<module name="m_sqloper.so">
1506 #
1507 #-#-#-#-#-#-#-#-#-#-#- SQLOPER CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
1508 #                                                                     #
1509 # dbid       - Database ID to use (see m_sql)                         #
1510 #                                                                     #
1511 # See also: http://www.inspircd.org/wiki/SQL_Oper_Storage_Module      #
1512 #                                                                     #
1513 #<sqloper dbid="1">
1514
1515 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1516 # SWHOIS module: Allows you to add arbitary lines to user WHOIS.
1517 #<module name="m_swhois.so">
1518
1519 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1520 # Test command module: Does nothing significant. Read: pointless.
1521 #<module name="m_testcommand.so">
1522
1523 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1524 # Timed bans module: Adds timed bans and the /TBAN command
1525 #<module name="m_timedbans.so">
1526
1527 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1528 # Test line module: Adds the /TLINE command, used to test how many
1529 # users a /GLINE or /ZLINE etc would match.
1530 #<module name="m_tline.so">
1531
1532 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1533 # Uninvite module: Adds the /UNINVITE command which lets users remove
1534 # pending invites from channels without waiting for the user to join.
1535 #<module name="m_uninvite.so">
1536
1537 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1538 # Userip module: Adds the /USERIP command
1539 #<module name="m_userip.so">
1540
1541 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1542 # Vhost module: Adds the VHOST command which allows for adding virtual
1543 # hosts which are accessible using a username and password in the config.
1544 #<module name="m_vhost.so">
1545 #
1546 #-#-#-#-#-#-#-#-#-#-#- VHOST CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#-#
1547 #                                                                     #
1548 # user       - Username for the vhost.                                #
1549 #                                                                     #
1550 # pass       - Password for the vhost.                                #
1551 #                                                                     #
1552 # host       - Vhost to set.                                          #
1553 #
1554 #<vhost user="some_username" pass="some_password" host="some.host">
1555
1556 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1557 # Watch module: Adds the WATCH command, which is used by clients to 
1558 # maintain notify lists.
1559 #<module name="m_watch.so">
1560
1561 #-#-#-#-#-#-#-#-#-#-#-#-#-#-  BAN OPTIONS  -#-#-#-#-#-#-#-#-#-#-#-#-#-#
1562 #                                                                     #
1563 # The ban tags define nick masks, host masks and ip ranges which are  #
1564 # banned from your server. All details in these tags are local to     #
1565 # Your server.                                                        #
1566 #                                                                     #
1567 #                                                                     #
1568 # badip lines ban an ip range (same as a zline)                       #
1569 #                                                                     #
1570 # ipmask       -          The ip range to ban (wildcards possible)    #
1571 #                         CIDR is supported in the IP mask.           #
1572 # reason       -          Reason to display when disconnected         #
1573 #                                                                     #
1574 # badnick lines ban a nick mask (same as a qline)                     #
1575 #                                                                     #
1576 # nick         -          Nick mask to ban (wildcards possible)       #
1577 # reason       -          Reason to display on /NICK                  #
1578 #                                                                     #
1579 # badhost lines ban a user@host mask (same as a kline)                #
1580 #                                                                     #
1581 # host         -          ident@hostname (wildcards possible)         #
1582 #                         If you specify an IP, CIDR is supported.    #
1583 # reason       -          Reason to display on disconnection          #
1584 #                                                                     #
1585 # exception lines define a hostmask that is excempt from [kzg]lines   #
1586 #                                                                     #
1587 # host         -          ident@hostname (wildcards possible)         #
1588 #                         If you specify an IP, CIDR is supported.    #
1589 # reason       -          Reason, shown only in /stats e              #
1590 #                                                                     #
1591
1592 <badip ipmask="69.69.69.69" reason="No porn here thanks.">
1593
1594 <badnick nick="ChanServ" reason="Reserved For Services">
1595 <badnick nick="NickServ" reason="Reserved For Services">
1596 <badnick nick="OperServ" reason="Reserved For Services">
1597 <badnick nick="MemoServ" reason="Reserved For Services">
1598
1599 <badhost host="*@hundredz.n.hundredz.o.1337.kiddies.com" reason="Too many 1337 kiddiots">
1600 <badhost host="*@localhost" reason="No irc from localhost!">
1601 <badhost host="*@172.32.0.0/16" reason="This subnet is bad.">
1602
1603 <exception host="*@ircop.host.com" reason="Opers hostname">
1604
1605 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#- YAWN  -#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1606 #                                                                     #
1607 #   You should already know what to do here :)                        #
1608
1609 <die value="No, i wasnt joking. You should probably edit your config *PROPERLY* and try again.">
1610
1611
1612 #########################################################################
1613 #                                                                       #
1614 #                     - InspIRCd Development Team -                     #
1615 #                        http://www.inspircd.org                        #
1616 #                                                                       #
1617 #########################################################################