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