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