]> git.netwichtig.de Git - user/henk/code/inspircd.git/blob - docs/inspircd.conf.example
Patch from aquanight to fix a problem introduced with some of the recent tidyups.
[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 #     $Id$      #
24 #                                                                      #
25 #    ____                _   _____ _     _       ____  _ _   _         #
26 #   |  _ \ ___  __ _  __| | |_   _| |__ (_)___  | __ )(_) |_| |        #
27 #   | |_) / _ \/ _` |/ _` |   | | | '_ \| / __| |  _ \| | __| |        #
28 #   |  _ <  __/ (_| | (_| |   | | | | | | \__ \ | |_) | | |_|_|        #
29 #   |_| \_\___|\__,_|\__,_|   |_| |_| |_|_|___/ |____/|_|\__(_)        #
30 #                                                                      #
31 #   Lines prefixed with READ THIS BIT, as shown above, are IMPORTANT   #
32 #   lines, and you REALLY SHOULD READ THEM. Yes, THIS MEANS YOU. Even  #
33 #   if you've configured InspIRCd before, these probably indicate      #
34 #   something new or different to this version and you SHOULD READ IT. #
35 #                                                                      #
36 ########################################################################
37 #                                                                      #
38 #         Unalphabeticalise the modules list at your own risk          #
39 #                                                                      #
40 ########################################################################
41
42
43 #-#-#-#-#-#-#-#-#-#-#-#-  SERVER DESCRIPTION  -#-#-#-#-#-#-#-#-#-#-#-#-
44 #                                                                     #
45 #   Here is where you enter the information about your server.        #
46 #                                                                     #
47 #  Syntax is as follows:                                              #
48 #                                                                     #
49 #     <server name="server.name"                                      #
50 #      description="Server Description"                               #
51 #      networkemail="Email address shown on g/k/z/q lines"            #
52 #      id="serverid"                                                  #
53 #      network="MyNetwork">                                           #
54 #                                                                     #
55 #  The server ID is optional, and if omitted or set to 0, is auto-    #
56 #  matically calculated from the server name and description. This is #
57 #  similar in behaviour to the server id on ircu and charybdis ircds. #
58 #  You should only need to set this manually if there is a collision  #
59 #  between two server ID's on the network. The server ID must be      #
60 #  between 1 and 999, if it is not, it will be wrapped to this range. #
61 #  There is a range of server ID's which are suffixed by two letters  #
62 #  rather than two numbers, e.g. 1AA, 2FF, 3ZZ, which are reserved    #
63 #  for use by non-inspircd servers such as services and stats servers.#
64 #                                                                     #
65
66 <server name="penguin.omega.org.za"
67         description="Waddle World"
68             id="0"
69             network="Omega">
70
71
72 #-#-#-#-#-#-#-#-#-#-#-#-   ADMIN INFORMATION   -#-#-#-#-#-#-#-#-#-#-#-#
73 #                                                                     #
74 #   Describes the Server Administrator's real name (optionally),      #
75 #   nick, and email address.                                          #
76 #                                                                     #
77 #  Syntax is as follows:                                              #
78 #       <admin name="real name"                                       #
79 #              nick="nick name"                                       #
80 #              email="email@address.com">                             #
81 #                                                                     #
82
83 <admin name="Johnny English"
84        nick="MI5"
85        email="MI5@the.best.secret.agent">
86
87
88 #-#-#-#-#-#-#-#-#-#-#-#-   PORT CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-
89 #                                                                     #
90 #   Enter the port and address bindings here.                         #
91 #                                                                     #
92 #  bind address - specifies which address ports bind to. Leaving this #
93 #                 field blank binds the port to all IP's available.   #
94 #                                                                     #
95 #  port         - The port number to bind to. You may specify a port  #
96 #                 range here, e.g. "6667-6669,7000,7001". If you do   #
97 #                 this, the server will count each port within your   #
98 #                 range as a separate binding, making the above       #
99 #                 example equivalent to five separate bind tags.      #
100 #                 A failure on one port in the range does not prevent #
101 #                 the entire range from being bound, just that one    #
102 #                 port number.                                        #
103 #                                                                     #
104 #  type         - can be 'clients' or 'servers'. The clients type is  #
105 #                 a standard TCP based socket, the servers type is a  #
106 #                 also a TCP based connection but of a different      #
107 #                 format. SSL support is provided by modules, to      #
108 #                 enable SSL support, please read the module section  #
109 #                 of this configuration file.                         #
110 #                                                                     #
111 #  ssl          - When using m_ssl_gnutls.so or m_ssl_openssl.so      #
112 #                 modules, you must define this value to use ssl on   #
113 #                 that port. valid values are 'gnutls' or 'openssl'   #
114 #                 respectively. If the module is not loaded, this     #
115 #                 setting is ignored.                                 #
116 #                                                                     #
117 #  transport    - If you have m_spanningtree.so loaded, along with    #
118 #                 either one of the SSL modules (m_ssl_gnutls or      #
119 #                 m_ssl_openssl) or m_ziplinks.so, then you may make  #
120 #                 use of this value.                                  #
121 #                 setting it to 'openssl' or 'gnutls' or 'zip'        #
122 #                 indicates that the port should accept connections   #
123 #                 using the given transport name. Transports are      #
124 #                 layers which sit on top of a socket and change the  #
125 #                 way data is sent and received, e.g. encryption,     #
126 #                 compression, and other such things. Because this    #
127 #                 may not be limited in use to just encryption,       #
128 #                 the 'ssl' value used for client ports does not      #
129 #                 exist for servers, and this value is used instead.  #
130 #    ____                _   _____ _     _       ____  _ _   _        #
131 #   |  _ \ ___  __ _  __| | |_   _| |__ (_)___  | __ )(_) |_| |       #
132 #   | |_) / _ \/ _` |/ _` |   | | | '_ \| / __| |  _ \| | __| |       #
133 #   |  _ <  __/ (_| | (_| |   | | | | | | \__ \ | |_) | | |_|_|       #
134 #   |_| \_\___|\__,_|\__,_|   |_| |_| |_|_|___/ |____/|_|\__(_)       #
135 #                                                                     #
136 #  If you want to link servers to InspIRCd you must load the          #
137 #  m_spanningtree.so module! Please see the modules list below for    #
138 #  information on how to load this module! If you do not load this    #
139 #  module, server ports will NOT be bound!                            #
140 #                                                                     #
141 #  Leaving address empty binds to all available interfaces            #
142 #                                                                     #
143 #  Syntax is as follows:                                              #
144 #                                                                     #
145 # <bind address="ip address" port="port" type="clients">              #
146 # <bind address="ip address" port="port" type="servers">              #
147 #                                                                     #
148 # If InspIRCd is built for IPv6, and you wish to accept IPv4 clients, #
149 # then you can specify IPv4 ip addresses here to bind. You may also   #
150 # use the 4in6 notation, ::ffff:1.2.3.4, where 1.2.3.4 is the IPv4    #
151 # address to bind the port, but as of InspIRCd 1.1.1, this is not     #
152 # required.                                                           #
153 #                                                                     #
154 # ------------------------------------------------------------------- #
155 #                                                                     #
156 # PLEASE NOTE: If you have build InspIRCd as an IPv6 server, and you  #
157 # specify an empty bind address, the binding will be bound to ALL THE #
158 # IPv6 IP ADDRESSES, and not the IPv4 addresses. If you are using an  #
159 # IPv6 enabled InspIRCd and want to bind to multiple IPv4 addresses   #
160 # in this way, you must specify them by hand. If you have built the   #
161 # server for IPv4 connections only, then specifying an empty bind     #
162 # address binds the port to all IPv4 IP addresses, as expected.       #
163 #                                                                     #
164
165 <bind address="" port="6000" type="clients">
166 <bind address="" port="6660-6669" type="clients" ssl="gnutls">
167
168 # When linking servers, the openssl and gnutls transports are largely
169 # link-compatible and can be used alongside each other or either/or
170 # on each end of the link without any significant issues.
171
172 <bind address="" port="7000,7001" type="servers">
173 <bind address="1.2.3.4" port="7005" type="servers" transport="openssl">
174
175
176 #-#-#-#-#-#-#-#-#-#-  DIE/RESTART CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-
177 #                                                                     #
178 #   You can configure the passwords here which you wish to use for    #
179 #   the die and restart commands. Only trusted IRCop's who will       #
180 #   need this ability should know the die and restart password.       #
181 #                                                                     #
182 #  Syntax is as follows:                                              #
183 #       <power diepass="die password" restartpass="restart password"  #
184 #        pause="secs before dying">                                   #
185 #                                                                     #
186
187 <power diepass="" restartpass="" pause="2">
188
189
190 #-#-#-#-#-#-#-#-#-#  INCLUDE CONFIGURATION  #-#-#-#-#-#-#-#-#-#-#-#-#-#
191 #                                                                     #
192 # This optional tag allows you to include another config file         #
193 # allowing you to keep your configuration tidy. The configuration     #
194 # file you include will be treated as part of the configuration file  #
195 # which includes it, in simple terms the inclusion is transparent.    #
196 #                                                                     #
197 # All paths to config files are relative to the directory of the main #
198 # config file inspircd.conf, unless the filename starts with a forward#
199 # slash (/) in which case it is treated as an absolute path.          #
200 #                                                                     #
201 # Syntax is as follows:                                               #
202 #<include file="file.conf">                                           #
203 #                                                                     #
204
205 #-#-#-#-#-#-#-#-#-#-  CONNECTIONS CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
206 #                                                                     #
207 #   This is where you can configure which connections are allowed     #
208 #   and denied access onto your server. The password is optional.     #
209 #   You may have as many of these as you require. To allow/deny all   #
210 #   connections, use a '*' or 0.0.0.0/0.                              #
211 #                                                                     #
212 #  Syntax is as follows:                                              #
213 #                                                                     #
214 #       <connect name="myallow" allow="1.2.3.0/24" limit="5"          #
215 #                password="blahblah" timeout="10" timeout="blah"      #
216 #                flood="5" threshold="8" pingfreq="120" sendq="99999" #
217 #                revcq="696969" localmax="3" globalmax="3"            #
218 #                port="6660" maxchans="50" limit="999">               #
219 #                                                                     #
220 #       <connect name="blocked" deny="127.0.0.1" port="6667">         #
221 #                                                                     #
222 #       <connect name="something" parent="myallow" pingfreq="60">     #
223 #                                                                     #
224 #   IP masks may be specified in CIDR format or wildcard format,      #
225 #   for IPv4 and IPv6. You *cannot* use hostnames in the allow or     #
226 #   deny field, as the state is applied before the user's DNS has     #
227 #   been resolved.                                                    #
228 #                                                                     #
229 #   You can optionally name your connect allow/deny tags. If you do   #
230 #   this, you may reference this connect tag as the parent of another #
231 #   connect tag with the <connect:parent> option as shown above. If   #
232 #   you do this, any options not explicitly specified in the tag will #
233 #   be copied from the parent.                                        #
234 #                                                                     #
235 #   If the value maxchans is included, this overrides all other max   #
236 #   channels related settings, including the separate oper maximum.   #
237 #   You may set this to any (sane) value you wish and it applies to   #
238 #   all users within this connect tag.                                #
239 #                                                                     #
240 #   You may optionally include timeout="x" on any allow line, which   #
241 #   specifies the amount of time given before an unknown connection   #
242 #   is closed if USER/NICK/PASS are not given. This value is in secs. #
243 #                                                                     #
244 #   You may optionally limit the number of clients that are matched   #
245 #   by a single <connect> tag by specifying the maximum in the limit  #
246 #   parameter. If set to 0, there is no limit, which is the default.  #
247 #                                                                     #
248 #   You should also include a flood="x" line which indicates          #
249 #   the number of lines a user may place into their buffer at once    #
250 #   before they are disconnected for excess flood. This feature can   #
251 #   not be disabled, however it can be set to extremely high values,  #
252 #   rendering it effectively disabled. A recommended value is 10.     #
253 #   A counter is maintained for each user which is reset every        #
254 #   'threshold' seconds and specifying this threshold value with      #
255 #   threshold="X" indicates how often the counter is reset. For       #
256 #   example, with flood="5" and threshold="8", the user may not send  #
257 #   more than 5 lines in 8 secs.                                      #
258 #                                                                     #
259 #   You may optionally specify the sendq size and ping frequency of   #
260 #   each connect:allow line using the pingfreq="X" and sendq="X"      #
261 #   settings as shown in the full example below.                      #
262 #   The ping frequency is specified in seconds, and the sendq size    #
263 #   in bytes. It is recommended, although not enforced, that you      #
264 #   should never set your sendq size to less than 8K. Send Queues are #
265 #   dynamically allocated and can grow as needed up to the maximum    #
266 #   size specified.                                                   #
267 #                                                                     #
268 #   The optional recvq value is the maximum size which users in this  #
269 #   group may grow their receive queue to. This is recommended to be  #
270 #   kept pretty low compared to the sendq, as users will always       #
271 #   receive more than they send in normal circumstances. The default  #
272 #   if not specified is 4096.                                         #
273 #                                                                     #
274 #   The sendq is the data waiting to be sent TO THE USER.             #
275 #   The recvq is the data being received FROM THE USER.               #
276 #   The names sendq and recvq are from the SERVER'S PERSPECTIVE not   #
277 #   that of the user... Just to clear up any confusion or complaints  #
278 #   that these are backwards :p                                       #
279 #                                                                     #
280 #   The localmax and globalmax values can be used to enforce local    #
281 #   and global session limits on connections. The session limits are  #
282 #   counted against all users, but applied only to users within the   #
283 #   class. For example, if you had a class 'A' which has a session    #
284 #   limit of 3, and a class 'B' which has a session limit of 5, and   #
285 #   somehow, two users managed to get into class B which also match   #
286 #   class A, there is only one connection left for this IP now in A,  #
287 #   but if they can connect again to B, there are three. You get the  #
288 #   idea (i hope).                                                    #
289 #                                                                     #
290 #   The optional port value determines which port the connect tag is  #
291 #   handling. If left out the connect tag covers all bound ports else #
292 #   only incoming connections on the specified port will match. Port  #
293 #   tags may be used on connect allow and connect deny tags.          #
294 #                                                                     #
295 #   The limit value determines the maximum number of users which may  #
296 #   be in this class. Combine this with CIDR masks for various ISP    #
297 #   subnets to limit the number of users which may connect at any one #
298 #   time from a certain ISP. Omit this value to not limit the tag.    #
299 #                                                                     #
300
301 <connect allow="196.12.*"  password="secret" port="6667">
302
303 <connect allow="*"
304          timeout="60"
305          flood="20"
306          threshold="1"
307          pingfreq="120"
308          sendq="262144"
309          recvq="8192"
310          localmax="3"
311          globalmax="3"
312          limit="5000">
313
314 <connect deny="69.254.*">
315 <connect deny="3ffe::0/32">
316
317
318 #-#-#-#-#-#-#-#-#-#-#-#-  CLASS CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-
319 #                                                                     #
320 #   Classes are a group of commands which are grouped together and    #
321 #   given a unique name. They're used to define which commands        #
322 #   are available to certain types of Operators.                      #
323 #                                                                     #
324 #  Syntax is as follows:                                              #
325 #                                                                     #
326 #       <class name="name" commands="oper commands">                  #
327 #                                                                     #
328 #    ____                _   _____ _     _       ____  _ _   _        #
329 #   |  _ \ ___  __ _  __| | |_   _| |__ (_)___  | __ )(_) |_| |       #
330 #   | |_) / _ \/ _` |/ _` |   | | | '_ \| / __| |  _ \| | __| |       #
331 #   |  _ <  __/ (_| | (_| |   | | | | | | \__ \ | |_) | | |_|_|       #
332 #   |_| \_\___|\__,_|\__,_|   |_| |_| |_|_|___/ |____/|_|\__(_)       #
333 #                                                                     #
334 #  You are not forced to give these classes the names given below.    #
335 #  You can create your own named classes, if you want, in fact that   #
336 #  is the whole idea of this system!                                  #
337 #                                                                     #
338 #  Note: It is possible to make a class which covers all available    #
339 #  commands. To do this, specify commands="*". This is not really     #
340 #  recommended, as it negates the whole purpose of the class system,  #
341 #  however it is provided for fast configuration (e.g. in test nets)  #
342 #                                                                     #
343
344 <class name="Shutdown" commands="DIE RESTART REHASH LOADMODULE UNLOADMODULE RELOAD">
345 <class name="ServerLink" commands="CONNECT SQUIT RCONNECT MKPASSWD MKSHA256">
346 <class name="BanControl" commands="KILL GLINE KLINE ZLINE QLINE ELINE">
347 <class name="OperChat" commands="WALLOPS GLOBOPS SETIDLE SPYLIST SPYNAMES">
348 <class name="HostCloak" commands="SETHOST SETIDENT SETNAME CHGHOST CHGIDENT">
349
350
351 #-#-#-#-#-#-#-#-#-#-#-#-  OPERATOR COMPOSITION   -#-#-#-#-#-#-#-#-#-#-#
352 #                                                                     #
353 #   This is where you specify which types of operators you have on    #
354 #   your server, as well as the commands they are allowed to use.     #
355 #   This works alongside with the classes specified above.            #
356 #                                                                     #
357 #  type name  - a name for the combined class types.                  #
358 #               a type name cannot contain spaces, however if you     #
359 #               put an _ symbol in the name, it will be translated    #
360 #               to a space when displayed in a WHOIS.                 #
361 #                                                                     #
362 #  classes    - specified above, used for flexibility for the         #
363 #               server admin to decide on which operators get         #
364 #               what commands. Class names are case sensitive,        #
365 #               separate multiple class names with spaces.            #
366 #                                                                     #
367 #  host       - optional hostmask operators will receive on oper-up.  #
368 #                                                                     #
369 #  Syntax is as follows:                                              #
370 #                                                                     #
371 #     <type name="name" classes="class names" host="oper hostmask">   #
372 #                                                                     #
373 #    ____                _   _____ _     _       ____  _ _   _        #
374 #   |  _ \ ___  __ _  __| | |_   _| |__ (_)___  | __ )(_) |_| |       #
375 #   | |_) / _ \/ _` |/ _` |   | | | '_ \| / __| |  _ \| | __| |       #
376 #   |  _ <  __/ (_| | (_| |   | | | | | | \__ \ | |_) | | |_|_|       #
377 #   |_| \_\___|\__,_|\__,_|   |_| |_| |_|_|___/ |____/|_|\__(_)       #
378 #                                                                     #
379 #  You are not forced to give these types the names given below.      #
380 #  You can create your own named types, if you want, in fact that     #
381 #  is the whole idea of this system!                                  #
382 #                                                                     #
383
384 <type name="NetAdmin" classes="OperChat BanControl HostCloak Shutdown ServerLink" host="netadmin.omega.org.za">
385 <type name="GlobalOp" classes="OperChat BanControl HostCloak ServerLink" host="ircop.omega.org.za">
386 <type name="Helper" classes="HostCloak" host="helper.omega.org.za">
387
388
389 #-#-#-#-#-#-#-#-#-#-#-  OPERATOR CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
390 #                                                                     #
391 #   Opers are defined here. This is a very important section.         #
392 #   Remember to only make operators out of trust worthy people.       #
393 #                                                                     #
394 #  name        - oper name, this is case sensitive, so it is best to  #
395 #                use lower-case.                                      #
396 #                                                                     #
397 #  password    - password to oper-up, also case sensitive.            #
398 #                encryption is supported via modules. You may load    #
399 #                modules for MD5 or SHA256 encryption, and if you do, #
400 #                this value will be a hash value, otherwise put a     #
401 #                plaintext password in this value.                    #
402 #                                                                     #
403 #  host        - hosts of client allowed to oper-up.                  #
404 #                wildcards accepted, separate multiple hosts with a   #
405 #                space. You may also specify CIDR IP addresses.       #
406 #                                                                     #
407 #  fingerprint - when using the m_ssl_oper_cert.so module, you may    #
408 #                specify a key fingerprint here. This can be obtained #
409 #                using the /fingerprint command whilst the module is  #
410 #                loaded, or from the notice given to you when you     #
411 #                connect to the ircd using a client certificate,      #
412 #                and will lock this oper block to only the user who   #
413 #                has that specific key/certificate pair.              #
414 #                this enhances security a great deal, however it      #
415 #                requires that opers use clients which can send ssl   #
416 #                client certificates, if this is configured for that  #
417 #                oper. Note that if the m_ssl_oper.so module is not   #
418 #                loaded, and/or one of m_ssl_openssl or m_ssl_gnutls  #
419 #                is not loaded, this configuration option has no      #
420 #                effect and will be ignored.                          #
421 #                                                                     #
422 #  type        - defines the kind of operator. This must match a type #
423 #                tag you defined above, and is case sensitive.        #
424 #                                                                     #
425 #  Syntax is as follows:                                              #
426 #       <oper name="login"                                            #
427 #             password="pass"                                         #
428 #             host="hostmask@of.oper"                                 #
429 #             fingerprint="hexsequence"                               #
430 #             type="oper type">                                       #
431 #                                                                     #
432
433 <oper name="Brain"
434       password="s3cret"
435       host="ident@dialup15.isp.com *@localhost *@server.com *@3ffe::0/16"
436       type="NetAdmin">
437
438
439 #-#-#-#-#-#-#-#-#-#-#-  SERVER LINK CONFIGURATION  -#-#-#-#-#-#-#-#-#-#
440 #                                                                     #
441 # Defines which servers can link to this one, and which servers this  #
442 # server may create outbound links to.                                #
443 #                                                                     #
444 # name        -   the name is the canonical name of the server, does   #
445 #                 not have to resolve - but it is expected to be set  #
446 #                 in the remote servers connection info.              #
447 #                                                                     #
448 # ipaddr      -   valid host or IP address for remote server. These   #
449 #                 hosts are resolved on rehash, and cached, if you    #
450 #                 specify a hostname; so if you find that your server #
451 #                 is still trying to connect to an old IP after you   #
452 #                 have updated your DNS, try rehashing and then       #
453 #                 attempting the connect again.                       #
454 #                                                                     #
455 # port        -   the TCP port for the remote server.                 #
456 #                                                                     #
457 # sendpass    -   password to send to create an outbound connection   #
458 #                 to this server.                                     #
459 #                                                                     #
460 # recvpass    -   password to receive to accept an inbound connection #
461 #                 from this server.                                   #
462 #                                                                     #
463 # autoconnect -   sets the server to autoconnect. Where x is the num. #
464 # (optional)      of seconds between attempts. e.g. 300 = 5 minutes.  #
465 #                                                                     #
466 # transport     - if defined, this is a transport name implemented by #
467 #                 another module. Transports are layers on top of     #
468 #                 plaintext connections, which alter them in certain  #
469 #                 ways. Currently the three supported transports are  #
470 #                 'openssl' and 'gnutls' which are types of SSL       #
471 #                 encryption, and 'zip' which is for compression.     #
472 #                 If you define a transport, both ends of the         #
473 #                 connection must use a compatible transport for the  #
474 #                 link to succeed. OpenSSL and GnuTLS are link-       #
475 #                 compatible with each other.                         #
476 #                                                                     #
477 # statshidden   - when using m_spanningtree.so for linking. you may   #
478 #                 set this to 'yes', and if you do, the IP address/   #
479 #                 hostname of this connection will NEVER be shown to  #
480 #                 any opers on the network. In /stats c its address   #
481 #                 will show as *@<hidden>, and during CONNECT and     #
482 #                 inbound connections, it's IP will show as <hidden>  #
483 #                 UNLESS the connection fails (e.g. due to a bad      #
484 #                 password or servername)                             #
485 #                                                                     #
486 # allowmask     - when this is defined, it indicates a range of IP    #
487 #                 addresses to allow for this link (You may use CIDR  #
488 #                 or wildcard form for this address).                 #
489 #                 e.g. if your server is going to connect to you from #
490 #                 the range 1.2.3.1 through 1.2.3.255, put 1.2.3.0/24 #
491 #                 into this value. If it is not defined, then only    #
492 #                 the ipaddr field of the server shall be allowed.    #
493 #                                                                     #
494 # failover      - if you define this option, it must be the name of a #
495 #                 different link tag in your configuration. This      #
496 #                 option causes the ircd to attempt a connection to   #
497 #                 the failover link in the event that the connection  #
498 #                 to this server fails. For example, you could define #
499 #                 two hub uplinks to a leaf server, and set an        #
500 #                 american server to autoconnect, with a european     #
501 #                 hub as its failover. In this situation, your ircd   #
502 #                 will only try the link to the european hub if the   #
503 #                 american hub is unreachable. NOTE that for the      #
504 #                 intents and purposes of this option, an unreachable #
505 #                 server is one which DOES NOT ANSWER THE CONNECTION. #
506 #                 If the server answers the connection with accept(), #
507 #                 EVEN IF THE CREDENTIALS ARE INVALID, the failover   #
508 #                 link will not be tried! Failover settings will also #
509 #                 apply to autoconnected servers as well as manually  #
510 #                 connected ones.                                     #
511 #                                                                     #
512 # timeout       - if this is defined, then outbound connections will  #
513 #                 time out if they are not connected within this many #
514 #                 seconds. If this is not defined, the default of ten #
515 #                 seconds is used.                                    #
516 #                                                                     #
517 # bind          - if you specify this value, then when creating an    #
518 #                 outbound connection to the given server, the IP you #
519 #                 place here will be bound to. This is for multi-     #
520 #                 homed servers which may have multiple IP addresses. #
521 #                 if you do not define this value, the first IP that  #
522 #                 is not empty or localhost from your <bind> tags     #
523 #                 will be bound to. This is usually acceptable,       #
524 #                 however if your server has multiple network cards   #
525 #                 then you may have to manually specify the bind      #
526 #                 value instead of leaving it to automatic binding.   #
527 #                 you can usually tell if you need to set this by     #
528 #                 looking for the error 'Could not assign requested   #
529 #                 address' in your log when connecting to servers.    #
530 #                                                                     #
531 # hidden        - if this is set to true, yes, or 1, then the server  #
532 #                 is completely hidden from non-opers. It does not    #
533 #                 show in /links and it does not show in /map. Also,  #
534 #                 any servers which are child servers of this one     #
535 #                 in the network will *also* be hidden. Use with      #
536 #                 care! You can use this to 'mask off' sections of    #
537 #                 the network so that users only see a small portion  #
538 #                 of a much larger net. It should NOT be relied upon  #
539 #                 as a security tool, unless it is being used for     #
540 #                 example to hide a non-client hub, for which clients #
541 #                 do not have an IP address or resolvable hostname.   #
542 #                                                                     #
543 # to u:line a server (give it extra privileges required for running   #
544 # services, Q, etc) you must include the <uline server> tag as shown  #
545 # in the example below. You can have as many of these as you like.    #
546 #                                                                     #
547 # WARNING: Unlike other ircds, u:lining a server allows ALL users on  #
548 # that server to operoverride modes. This should only be used for     #
549 # services and protected oper servers!                                #
550 #                                                                     #
551 # ------------------------------------------------------------------- #
552 #                                                                     #
553 # NOTE: If you have built your server as an IPv6 server, then when a  #
554 # DNS lookup of a server's host occurs, AAAA records (IPv6) are       #
555 # prioritised over A records (IPv4). Therefore, if the server you are #
556 # connecting to has both an IPv6 IP address and an IPv4 IP address in #
557 # its DNS entry, the IPv6 address will *always* be selected. To       #
558 # change this behaviour simply specify the IPv4 IP address rather     #
559 # than the hostname of the server.                                    #
560 #                                                                     #
561 # ------------------------------------------------------------------- #
562 #                                                                     #
563 #    ____                _   _____ _     _       ____  _ _   _        #
564 #   |  _ \ ___  __ _  __| | |_   _| |__ (_)___  | __ )(_) |_| |       #
565 #   | |_) / _ \/ _` |/ _` |   | | | '_ \| / __| |  _ \| | __| |       #
566 #   |  _ <  __/ (_| | (_| |   | | | | | | \__ \ | |_) | | |_|_|       #
567 #   |_| \_\___|\__,_|\__,_|   |_| |_| |_|_|___/ |____/|_|\__(_)       #
568 #                                                                     #
569 #  If you want to link servers to InspIRCd you must load the          #
570 #  m_spanningtree.so module! Please see the modules list below for    #
571 #  information on how to load this module! If you do not load this    #
572 #  module, server links will NOT work!                                #
573 #                                                                     #
574 #  Also, if you define any transports, you must load the modules for  #
575 #  these transports BEFORE you load m_spanningtree, e.g. place them   #
576 #  above it in the configuration file. Currently this means the three #
577 #  modules m_ssl_gnutls, m_ziplinks and m_ssl_openssl, depending on   #
578 #  which you choose to use.                                           #
579 #                                                                     #
580
581 <link name="hub.penguin.org"
582       ipaddr="penguin.box.com"
583       port="7000"
584       allowmask="69.58.44.0/24"
585       autoconnect="300"
586       failover="hub.other.net"
587       timeout="15"
588       transport="gnutls"
589       bind="1.2.3.4"
590       statshidden="no"
591       hidden="no"
592       sendpass="outgoing!password"
593       recvpass="incoming!password">
594
595 <link name="services.antarctic.com"
596       ipaddr="localhost"
597       port="7000"
598       allowmask="127.0.0.0/8"
599       sendpass="penguins"
600       recvpass="polarbears">
601
602
603 #-#-#-#-#-#-#-#-#-#-#-#- ULINES CONFIGURATION #-#-#-#-#-#-#-#-#-#-#-#-#
604 # This tag defines a ulined server. A U-Lined server has special      #
605 # permissions, and should be used with caution. Services servers are  #
606 # usually u-lined in this manner.                                     #
607 #                                                                     #
608 # The 'silent' value, if set to yes, indicates that this server should#
609 # not generate quit and connect notices, which can cut down on noise  #
610 # to opers on the network.                                            #
611 #                                                                     #
612 <uline server="services.antarctic.com" silent="yes">
613
614
615 #-#-#-#-#-#-#-#-#-#-  MISCELLANEOUS CONFIGURATION  -#-#-#-#-#-#-#-#-#-#
616 #                                                                     #
617 #   These options let you define the path to your motd and rules      #
618 #   files. If these are relative paths, they are relative to the      #
619 #   configuration directory.                                           #
620 #                                                                     #
621
622 <files motd="inspircd.motd.example"
623        rules="inspircd.rules.example">
624
625 #-#-#-#-#-#-#-#-#-#-#-# MAXIMUM CHANNELS -#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
626 #                                                                     #
627 # This optional configuration tag lets you define the maximum number  #
628 # of channels that both opers and users may be on at any one time.    #
629 # The default is 20 for users and 60 for opers if this tag is not     #
630 # defined. Remote users are not restricted in any manner.             #
631 #                                                                     #
632
633 <channels users="20"
634           opers="60">
635
636 #-#-#-#-#-#-#-#-#-#-#-#-#-#-# DNS SERVER -#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
637 #                                                                     #
638 # Define your DNS server address here. InspIRCd has its own resolver. #
639 # If you do not define this value, then InspIRCd will attempt to      #
640 # determine your DNS server from your operating system. On POSIX      #
641 # platforms, InspIRCd will read /etc/resolv.conf, and populate this   #
642 # value with the first DNS server address found. On Windows platforms #
643 # InspIRCd will check the registry, and use the DNS server of the     #
644 # first active network interface, if one exists.                      #
645 # If a DNS server cannot be determined from these checks, the default #
646 # value '127.0.0.1' is used instead. The timeout value is in seconds. #
647 #                                                                     #
648 #    ____                _   _____ _     _       ____  _ _   _        #
649 #   |  _ \ ___  __ _  __| | |_   _| |__ (_)___  | __ )(_) |_| |       #
650 #   | |_) / _ \/ _` |/ _` |   | | | '_ \| / __| |  _ \| | __| |       #
651 #   |  _ <  __/ (_| | (_| |   | | | | | | \__ \ | |_) | | |_|_|       #
652 #   |_| \_\___|\__,_|\__,_|   |_| |_| |_|_|___/ |____/|_|\__(_)       #
653 #                                                                     #
654 # When choosing a server, be sure to choose one which will do a       #
655 # RECURSIVE LOOKUP. InspIRCd's resolver does not currently do these   #
656 # recursive lookups itself, to save time and resources. The DNS       #
657 # server recommended by the InspIRCd team is bind, available from the #
658 # ISC website. If your DNS server does not do a recursive lookup, you #
659 # will be able to notice this by the fact that none of your users are #
660 # resolving even though the DNS server appears to be up! Most ISP and #
661 # hosting provider DNS servers support recursive lookups.             #
662 #                                                                     #
663 # ------------------------------------------------------------------- #
664 #                                                                     #
665 # NOTE: if you have built InspIRCd with IPv6 support, then both       #
666 # IPv6 and IPv4 addresses are allowed here, and also in the system    #
667 # resolv.conf file. Remember that an IPv4 DNS server can still        #
668 # resolve IPv6 addresses, and vice versa.                             #
669 #                                                                     #
670
671 <dns server="127.0.0.1" timeout="5">
672
673 # An example of using an IPv6 nameserver
674 #<dns server="::1" timeout="5">
675
676 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#  PID FILE  -#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
677 #                                                                     #
678 # Define the path to the PID file here. The PID file can be used to   #
679 # rehash the ircd from the shell or to terminate the ircd from the    #
680 # shell using shell scripts, perl scripts, etc... and to monitor the  #
681 # ircd's state via cron jobs. If this is a relative path, it will be  #
682 # relative to the configuration directory, and if it is not defined,  #
683 # the default of 'inspircd.pid' is used.                              #
684 #                                                                     #
685
686 #<pid file="/path/to/inspircd.pid">
687
688 #-#-#-#-#-#-#-#-#-#-#-#-#- BANLIST LIMITS #-#-#-#-#-#-#-#-#-#-#-#-#-#-#
689 #                                                                     #
690 # Use these tags to customise the ban limits on a per channel basis.  #
691 # The tags are read from top to bottom, and any tag found which       #
692 # matches the channels name applies the banlimit to that channel.     #
693 # It is advisable to put an entry with the channel as '*' at the      #
694 # bottom of the list. If none are specified or no maxbans tag is      #
695 # matched, the banlist size defaults to 64 entries.                   #
696 #                                                                     #
697
698 <banlist chan="#morons" limit="128">
699 <banlist chan="*" limit="69">
700
701 #-#-#-#-#-#-#-#-#-#-#-  DISABLED COMMANDS  -#-#-#-#-#-#-#-#-#-#-#-#-#-#
702 #                                                                     #
703 # This tag is optional, and specifies one or more commands which are  #
704 # not available to non-operators. For example you may wish to disable #
705 # NICK and prevent non-opers from changing their nicknames.           #
706 # Note that any disabled commands take effect only after the user has #
707 # 'registered' (e.g. after the initial USER/NICK/PASS on connection)  #
708 # so for example disabling NICK will not cripple your network.        #
709 #                                                                     #
710
711 #<disabled commands="TOPIC MODE">
712
713
714 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-  RTFM LINE  -#-#-#-#-#-#-#-#-#-#-#-#-#-#
715 #                                                                     #
716 #   Just remove this... Its here to make you read ALL of the config   #
717 #   file options ;)                                                   #
718
719 <die value="You should probably edit your config *PROPERLY* and try again.">
720
721
722
723 #-#-#-#-#-#-#-#-#-#-#-#-#-  SERVER OPTIONS   -#-#-#-#-#-#-#-#-#-#-#-#-#
724 #                                                                     #
725 #   Settings to define which features are usable on your server.     #
726 #                                                                     #
727 #  prefixquit    - A prefix to be placed on the start of a client's   #
728 #                  quit message                                       #
729 #                                                                     #
730 #  suffixquit    - A suffix to be placed on the end of a client's     #
731 #                  quit message.                                      #
732 #                                                                     #
733 #  fixedquit     - A fixed quit message to display for all client     #
734 #                  QUITS. If specified, overrides both prefixquit     #
735 #                  and suffixquit options.                            #
736 #                                                                     #
737 #  prefixpart    - A prefix to be placed on the start of a client's   #
738 #                  part message                                       #
739 #                                                                     #
740 #  suffixpart    - A suffix to be placed on the end of a client's     #
741 #                  part message.                                      #
742 #                                                                     #
743 #  fixedpart     - A fixed part message to display for all client     #
744 #                  parts. If specified, overrides both prefixpart     #
745 #                  and suffixpart options.                            #
746 #                                                                     #
747 #  loglevel      - specifies what detail of messages to log in the    #
748 #                  log file. You may select from debug, verbose,      #
749 #                  default, sparse and none.                          #
750 #                                                                     #
751 #  allowhalfop   - allows the +h channel mode                         #
752 #                                                                     #
753 #  noservices    - If noservices is true, yes, or 1, then the first   #
754 #                  user into a channel gets founder status. This is   #
755 #                  only useful on networks running the m_chanprotect  #
756 #                  module without services.                           #
757 #                                                                     #
758 #  qaprefixes    - If qaprefixes is true, yes, or 1, then users       #
759 #                  with +q or +a will get the ~ or & prefixes         #
760 #                  used in unreal. This is only useful on networks    #
761 #                  running the m_chanprotect module                   #
762 #                                                                     #
763 #  deprotectself - If this value is set to yes, true, or 1, then any  #
764 #                  user with +q or +a may remove the +q or +a from    #
765 #                  themselves. The default setting is to not enable   #
766 #                  this feature, which stops even the founder taking  #
767 #                  away their founder status without using services.  #
768 #                                                                     #
769 #  deprotectothers-If this value is set to yes, true, or 1, then any  #
770 #                  user with +q or +a may remove the +q or +a from    #
771 #                  other users. The default setting is to not enable  #
772 #                  this feature, so that only +q may remove +a, and   #
773 #                  nothing but services may remove +q.                #
774 #                                                                     #
775 #  cyclehosts    - If this is set to true, yes or 1, then when a      #
776 #                  user's hostname changes, they will appear to quit  #
777 #                  and then rejoin with their new host. This prevents #
778 #                  clients from being confused by host changes,       #
779 #                  especially in the case of bots, and it is          #
780 #                  recommended that this option is enabled.           #
781 #                                                                     #
782 #  netbuffersize - size of the buffer used to receive data from       #
783 #                  clients. The ircd may only read() this amount      #
784 #                  of text in one go at any time. (OPTIONAL)          #
785 #                                                                     #
786 #  maxwho        - The maximum number of results returned by a /WHO   #
787 #                  query. This is to prevent /WHO being used as a     #
788 #                  spam vector or means of flooding an ircd. The      #
789 #                  default is 128, it is not recommended to raise it  #
790 #                  above 1024. Values up to 65535 are permitted. If   #
791 #                  this value is omitted, any size WHO is allowed by  #
792 #                  anyone.                                            #
793 #                                                                     #
794 #  somaxconn     - The maximum number of sockets that may be waiting  #
795 #                  in the accept queue. This usually allows the ircd  #
796 #                  to soak up more connections in a shorter space of  #
797 #                  time when increased but please be aware there is a #
798 #                  system defined maximum value to this, the same way #
799 #                  there is a system defined maximum number of file   #
800 #                  descriptors. Some systems may only allow this to   #
801 #                  be up to 5 (ugh) while others such as FreeBSD will #
802 #                  default to a much nicer 128.                       #
803 #                                                                     #
804 #  moduledir     - This optional value indicates a runtime change of  #
805 #                  the location where modules are to be found. This   #
806 #                  does not add a supplementary directory. There can  #
807 #                  only be one module path.                           #
808 #                                                                     #
809 #  softlimit     - This optional feature allows a defined softlimit.  #
810 #                  if defined sets a soft maxconnections value, has   #
811 #                  to be less than the ./configure maxclients         #
812 #                                                                     #
813 #  userstats     - The userstats field is optional and specifies      #
814 #                  which stats characters in /STATS may be requested  #
815 #                  by non-operators. Stats characters in this field   #
816 #                  are case sensitive and are allowed to users        #
817 #                  independent of if they are in a module or the core #
818 #                                                                     #
819 #  operspywhois  - If this is set then when an IRC operator uses      #
820 #                  /WHOIS on a user they will see all channels, even  #
821 #                  ones if channels are secret (+s), private (+p) or  #
822 #                  if the target user is invisible +i.                #
823 #                                                                     #
824 #  customversion - If you specify this configuration item, and it is  #
825 #                  not set to an empty value, then when a user does   #
826 #                  a /VERSION command on the ircd, this string will   #
827 #                  be displayed as the second portion of the output,  #
828 #                  replacing the system 'uname', compile flags and    #
829 #                  socket engine/dns engine names. You may use this   #
830 #                  to enhance security, or simply for vanity.         #
831 #                                                                     #
832 #  maxtargets    - The maxtargets field is optional, and if not       #
833 #                  defined, defaults to 20. It indicates the maximum  #
834 #                  number of targets which may be given to commands   #
835 #                  such as PRIVMSG, KICK etc.                         #
836 #                                                                     #
837 #  hidesplits    - When set to 'yes', will hide split server names    #
838 #                  from non-opers. Non-opers will see '*.net *.split' #
839 #                  instead of the server names in the quit message,   #
840 #                  identical to the way IRCu displays them.           #
841 #                                                                     #
842 #  hidebans      - When set to 'yes', will hide gline, kline, zline   #
843 #                  and qline quit messages from non-opers. For        #
844 #                  example, user A who is not an oper will just see   #
845 #                  (G-Lined) while user B who is an oper will see the #
846 #                  text (G-Lined: Reason here) instead.               #
847 #                                                                     #
848 #  hidewhois     - When defined with a non-empty value, the given     #
849 #                  text will be used in place of the user's server    #
850 #                  in WHOIS, when a user is WHOISed by a non-oper.    #
851 #                  For example, most nets will want to set this to    #
852 #                  something like '*.netname.net' to conceal the      #
853 #                  actual server the user is on.                      #
854 #                                                                     #
855 #  flatlinks     - When you are using m_spanningtree.so, and this     #
856 #                  value is set to yes, true or 1, /MAP and /LINKS    #
857 #                  will be flattened when shown to a non-opers.       #
858 #                                                                     #
859 #  hideulines    - When you are using m_spanningtree.so, and this     #
860 #                  value is set to yes, true or 1, then U-lined       #
861 #                  servers will be hidden in /LINKS and /MAP for non  #
862 #                  opers. Please be aware that this will also hide    #
863 #                  any leaf servers of a U-lined server, e.g. jupes.  #
864 #                                                                     #
865 #  nouserdns     - If set to yes, true or 1, no user DNS lookups      #
866 #                  will be performed for connecting users. This can   #
867 #                  save a lot of resources on very busy IRC servers.  #
868 #                                                                     #
869 #  syntaxhints   - If set to yes, true or 1, when a user does not     #
870 #                  give enough parameters for a command, a syntax     #
871 #                  hint will be given (using the RPL_TEXT numeric)    #
872 #                  as well as the standard ERR_NEEDMOREPARAMS.        #
873 #                                                                     #
874 #  announcets    - If this value is defined to yes, true or 1, then   #
875 #                  a channel's timestamp is updated, the users on     #
876 #                  the channel will be informed of the change via     #
877 #                  a server notice to the channel with the old and    #
878 #                  new TS values in the timestamp. If you think this  #
879 #                  is just pointless noise, define the value to 0.    #
880 #                                                                     #
881 #  ircumsgprefix - Use undernet style message prefix for channel      #
882 #                  NOTICE and PRIVMSG adding the prefix to the line   #
883 #                  of text sent out. Eg. NOTICE @#test :@ testing     #
884 #                  vs. the off setting: NOTICE @#test :testing        #
885 #                                                                     #
886 #  hostintopic   - If this is set to yes (the default) then the full  #
887 #                  nick!user@host is shown for who set a TOPIC last.  #
888 #                  if set to no, then only the nickname is shown.     #
889 #                                                                     #
890 # announceinvites                                                     #
891 #                - If this option is set, then invites are announced  #
892 #                  to the channel when a user invites another user.   #
893 #                  If you consider this to be unnecessary noise,      #
894 #                  set this to 'none'. To announce to all ops, set    #
895 #                  this to 'ops' and to announce to all users set the #
896 #                  value to 'all'.                                    #
897 #                                                                     #
898 #                  The value 'dynamic' varies between 'ops' and 'all' #
899 #                  settings depending on if the channel is +i or not. #
900 #                  When the channel is +i, messages go only to ops,   #
901 #                  and when the channel is not +i, messages go to     #
902 #                  everyone. In short, the messages will go to every  #
903 #                  user who has power of INVITE on the channel. This  #
904 #                  is the recommended setting.                        #
905 #                                                                     #
906 #  disablehmac   - If you are linking your InspIRCd to older versions #
907 #                  then you can specify this option and set it to     #
908 #                  yes. 1.1.6 and above support HMAC and challenge-   #
909 #                  response for password authentication. These can    #
910 #                  greatly enhance security of your server to server  #
911 #                  connections when you are not using SSL (as is the  #
912 #                  case with a lot of larger networks). Linking to    #
913 #                  older versions of InspIRCd should not *usually* be #
914 #                  a problem, but if you have problems with HMAC      #
915 #                  authentication, this option can be used to turn it #
916 #                  off.                                               #
917 #                                                                     #
918 #  hidemodes     - If this option is enabled, then the listmodes      #
919 #                  given (e.g. +eI), will be hidden from users below  #
920 #                  halfop. This is not recommended to be set on mode  #
921 #                  +b, as it may break some features in popular       #
922 #                  clients such as mIRC.                              #
923 #                                                                     #
924 #  quietbursts   - When synching or splitting from the network, a     #
925 #                  server can generate a lot of connect and quit      #
926 #                  snotices to the +C and +Q snomasks. Setting this   #
927 #                  value to yes squelches those messages, which can   #
928 #                  make them more useful for opers, however it will   #
929 #                  degrade their use by certain third party programs  #
930 #                  such as BOPM which rely on them to scan users when #
931 #                  a split heals in certain configurations.           #
932 #                                                                     #
933 #  serverpingfreq- This value, when set, allows you to change the     #
934 #                  frequency of server to server PING messages. This  #
935 #                  can help if you are having certain network issues. #
936 #                                                                     #
937 #  pingwarning   - This should be set to a number between 1 and 59 if #
938 #                  defined, and if it is defined will cause the server#
939 #                  to send out a warning via snomask +l if a server   #
940 #                  does not answer to PING after this many seconds.   #
941 #                  This can be useful for finding servers which are   #
942 #                  at risk of pinging out due to network issues.      #
943 #                                                                     #
944 #  exemptchanops - This option allows channel operators to be exempted#
945 #                  from certain channel modes.                        #
946 #                  Supported modes are +SfFgNc. Defaults to off.      #
947 #                                                                     #
948 #  defaultmodes  - The default modes to be given to each channel on   #
949 #                  creation. Defaults to 'nt'. There should be no +   #
950 #                  or - symbols in this sequence, if you add them     #
951 #                  they will be ignored. You may add parameters for   #
952 #                  modes which take them.                             #
953 #                                                                     #
954 #  moronbanner   - The NOTICE to show to users who are glined, zlined #
955 #                  klined or qlined when they are disconnected. This  #
956 #                  is totally freeform, you may place any text here   #
957 #                  you wish.                                          #
958 #                                                                     #
959
960 <options prefixquit="Quit: "
961          prefixpart="\""
962          suffixpart="\""
963          loglevel="default"
964          netbuffersize="10240"
965          maxwho="128"
966          noservices="no"
967          qaprefixes="no"
968          deprotectself="no"
969          deprotectothers="no"
970          somaxconn="128"
971          softlimit="12800"
972          userstats="Pu"
973          operspywhois="no"
974          customversion=""
975          maxtargets="20"
976          hidesplits="no"
977          hidebans="no"
978          hidewhois=""
979          flatlinks="no"
980          hideulines="no"
981          nouserdns="no"
982          syntaxhints="no"
983          cyclehosts="yes"
984          ircumsgprefix="no"
985          announcets="yes"
986          disablehmac="no"
987          hostintopic="yes"
988          hidemodes="eI"
989          quietbursts="yes"
990          pingwarning="15"
991          serverpingfreq="60"
992          allowhalfop="yes"
993          defaultmodes="nt"
994          announceinvites="dynamic"
995          moronbanner="You're banned! Email haha@abuse.com with the ERROR line below for help."
996          exemptchanops="">
997
998 #-#-#-#-#-#-#-#-#-#-#-#-#-#- TIME SYNC OPTIONS -#-#-#-#-#-#-#-#-#-#-#-#
999 # Time synchronisation options for m_spanningtree linking.            #
1000 #                                                                     #
1001 # Because IRC is very time and clock dependent, InspIRCd provides its #
1002 # own methods for synchronisation of time between servers as shown    #
1003 # in the example below, for servers that don't have ntpd running.     #
1004 #                                                                     #
1005 #  enable    -     If this value is 'yes', 'true', or '1', time       #
1006 #                  synchronisation is enabled on this server. This    #
1007 #                  means any servers you are linked to will           #
1008 #                  automatically synchronise time, however you should #
1009 #                  use ntpd instead where possible, NOT this option.  #
1010 #                                                                     #
1011 #  master    -     If this value is set to yes, then this server will #
1012 #                  act as the authoritative time source for the whole #
1013 #                  network. All other servers will respect its time   #
1014 #                  without question, and match their times to it.     #
1015 #                  only one server should have the master value set   #
1016 #                  to 'yes'.                                          #
1017 #                                                                     #
1018 <timesync enable="no" master="no">
1019
1020 #-#-#-#-#-#-#-#-#-#-#-#-#-  WHOWAS OPTIONS   -#-#-#-#-#-#-#-#-#-#-#-#-#
1021 #                                                                     #
1022 # This tag lets you define the behaviour of the /whowas command of    #
1023 # your server.                                                        #
1024 #                                                                     #
1025 # groupsize      - Controls the maximum entries per nick shown when   #
1026 #                  performing a /whowas nick. Setting this to 0 dis-  #
1027 #                  ables whowas completely.                           #
1028 #                                                                     #
1029 # maxgroups      - The maximum number of nickgroups that can be added #
1030 #                  to the list. If max is reached, oldest group will  #
1031 #                  be deleted first like a FIFO. A groupsize of 3 and #
1032 #                  a maxgroups of 5000 will allow for 5000 nicks to   #
1033 #                  be stored with a history of 3, thus giving a total #
1034 #                  of 3 * 5000 = 15000 entries. A setting of 0 dis-   #
1035 #                  ables whowas completely.                           #
1036 #                                                                     #
1037 # maxkeep        - The maximum time a nick is kept in the whowas list #
1038 #                  before being pruned. Time may be specified in      #
1039 #                  seconds, or in the following format: 1y2w3d4h5m6s  #
1040 #                  meaning one year, two weeks, three days, 4 hours,  #
1041 #                  5 minutes and 6 seconds. All fields in this format #
1042 #                  are optional. Minimum is 1 hour, if less InspIRCd  #
1043 #                  will default back to 1 hour.                       #
1044 #                                                                     #
1045 #<whowas groupsize="10"                                               #
1046 #        maxgroups="100000"                                           #
1047 #        maxkeep="3d">                                                #
1048
1049
1050 #-#-#-#-#-#-#-#-#-#-#-#-#-  MODULE OPTIONS   -#-#-#-#-#-#-#-#-#-#-#-#-#
1051 #                                                                     #
1052 #  These tags define which modules will be loaded on startup by your  #
1053 #  server. Add modules without any paths. When you make your ircd     #
1054 #  using the 'make' command, all compiled modules will be moved into  #
1055 #  the folder you specified when you ran ./configure. The module tag  #
1056 #  automatically looks for modules in this location.                  #
1057 #  If you attempt to load a module outside of this location, either   #
1058 #  in the config, or via /LOADMODULE, you will receive an error.      #
1059 #                                                                     #
1060 #  By default, ALL modules are commented out. You must uncomment them #
1061 #  or add lines to your config to load modules. Please refer to       #
1062 #  http://www.inspircd.org/wiki/Modules_List for a list of modules and#
1063 #  each modules link for any additional conf tags they require.       #
1064 #                                                                     #
1065 #  You may use wildcards in a <module> tag to load all modules which  #
1066 #  match a glob pattern (e.g. m_sa????.so would load m_sajoin,        #
1067 #  m_sapart, m_saquit and m_sanick)                                   #
1068 #                                                                     #
1069 #    ____                _   _____ _     _       ____  _ _   _        #
1070 #   |  _ \ ___  __ _  __| | |_   _| |__ (_)___  | __ )(_) |_| |       #
1071 #   | |_) / _ \/ _` |/ _` |   | | | '_ \| / __| |  _ \| | __| |       #
1072 #   |  _ <  __/ (_| | (_| |   | | | | | | \__ \ | |_) | | |_|_|       #
1073 #   |_| \_\___|\__,_|\__,_|   |_| |_| |_|_|___/ |____/|_|\__(_)       #
1074 #                                                                     #
1075 # To link servers to InspIRCd, you MUST load the m_spanningtree       #
1076 # module, as shown below. If you DO NOT do this, server links will    #
1077 # NOT work at all. ie. The ports will NOT bind, and /connect will not #
1078 # work properly. This is by design, to allow for the implementation   #
1079 # of other linking protocols in modules in the future.                #
1080
1081 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1082 # Spanning Tree module - allows linking of servers using the spanning
1083 # tree protocol (see the READ THIS BIT section above).
1084 #
1085 #<module name="m_spanningtree.so">
1086
1087
1088 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1089 # MD5 Module - Allows other modules to generate MD5 hashes, usually for
1090 # cryptographic uses and security.
1091 #
1092 # IMPORTANT:
1093 # Other modules such as m_cloaking.so and m_opermd5.so may rely on
1094 # this module being loaded to function.
1095 #
1096 #<module name="m_md5.so">
1097 #
1098 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1099 # SHA256 Module - Allows other modules to generate SHA256 hashes,
1100 # usually for cryptographic uses and security.
1101 #
1102 # IMPORTANT:
1103 # Other modules such as m_opermd5.so may rely on this module being
1104 # loaded to function.
1105 #
1106 #<module name="m_sha256.so">
1107
1108 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1109 # Alias module: Allows you to define server-side command aliases
1110 #<module name="m_alias.so">
1111 #
1112 #-#-#-#-#-#-#-#-#-#-#-  ALIAS DEFINITIONS  -#-#-#-#-#-#-#-#-#-#-#-#-#-#
1113 #                                                                     #
1114 # If you have the m_alias.so module loaded, you may also define       #
1115 # aliases as shown below. They are commonly used to provide shortcut  #
1116 # commands to services, however they are not limited to just this use.#
1117 # An alias tag requires the following values to be defined in it:     #
1118 #                                                                     #
1119 # text        -      The text to detect as the actual command line,   #
1120 #                    Cant contain spaces, but case insensitive.       #
1121 #                    You may have multiple aliases with the same      #
1122 #                    command name (text="" value), however the first  #
1123 #                    found will be executed if its format value is    #
1124 #                    matched, or it has no format value. Aliases are  #
1125 #                    read from the top of the file to the bottom.     #
1126 #                                                                     #
1127 # format      -      If this is defined, the parameters of the alias  #
1128 #                    must match this glob pattern. For example if you #
1129 #                    want the first parameter to start with a # for   #
1130 #                    the alias to be executed, set format="#*" in the #
1131 #                    alias definition. Note that the :'s which are    #
1132 #                    part of IRC formatted lines will be preserved    #
1133 #                    for matching of this text. This value is         #
1134 #                    optional.                                        #
1135 #                                                                     #
1136 # replace     -      The text to replace 'text' with. Usually this    #
1137 #                    will be "PRIVMSG ServiceName :$2-" or similar.   #
1138 #                    You may use the variables $1 through $9 in the   #
1139 #                    replace string, which refer to the first through #
1140 #                    ninth word in the original string typed by the   #
1141 #                    user. You may also use $1- through $9- which     #
1142 #                    refer to the first word onwards, through to the  #
1143 #                    ninth word onwards, e.g. if the user types the   #
1144 #                    command "foo bar baz qux quz" then $3- will hold #
1145 #                    "baz qux quz" and $2 will contain "bar". You may #
1146 #                    also use the special variables: $nick, $ident,   #
1147 #                    $host and $vhost, and you may separate multiple  #
1148 #                    commands with \n. If you wish to use the ACTUAL  #
1149 #                    characters \ and n together in a line, you must  #
1150 #                    use the sequence "\\n".                          #
1151 #                                                                     #
1152 # requires    -      If you provide a value for 'requires' this means #
1153 #                    the given nickname MUST be online for the alias  #
1154 #                    to successfully trigger. If they are not, then   #
1155 #                    the user receives a 'no such nick' 401 numeric.  #
1156 #                                                                     #
1157 # uline       -      Defining this value with 'yes', 'true' or '1'    #
1158 #                    will ensure that the user given in 'requires'    #
1159 #                    must also be on a u-lined server, as well as     #
1160 #                    actually being on the network. If the user is    #
1161 #                    online, but not on a u-lined server, then an     #
1162 #                    oper-alert is sent out as this is possibly signs #
1163 #                    of a user trying to impersonate a service.       #
1164 #                                                                     #
1165 # operonly    -      Defining this value, with a value of 'yes', '1'  #
1166 #                    or true will make the alias oper only. If a non- #
1167 #                    oper attempts to use the alias, it will appear   #
1168 #                    to not exist.                                    #
1169 #                                                                     #
1170 #<alias text="NICKSERV" replace="PRIVMSG NickServ :$2-" requires="NickServ" uline="yes">
1171 #<alias text="CHANSERV" replace="PRIVMSG ChanServ :$2-" requires="ChanServ" uline="yes">
1172 #<alias text="OPERSERV" replace="PRIVMSG OperServ :$2-" requires="OperServ" uline="yes" operonly="yes">
1173 #<alias text="NS" replace="PRIVMSG NickServ :$2-" requires="NickServ" uline="yes">
1174 #<alias text="CS" replace="PRIVMSG ChanServ :$2-" requires="ChanServ" uline="yes">
1175 #<alias text="OS" replace="PRIVMSG OperServ :$2-" requires="OperServ" uline="yes" operonly="yes">
1176 #
1177 # An example of using the format value to create an alias with two
1178 # different behaviours depending on the format of the parameters.
1179 #
1180 #<alias text="ID" format="#*" replace="PRIVMSG ChanServ :IDENTIFY $2 $3"
1181 #  requires="ChanServ" uline="yes">
1182 #
1183 #<alias text="ID" replace="PRIVMSG NickServ :IDENTIFY $2"
1184 #  requires="NickServ" uline="yes">
1185 #
1186 # This alias fixes a glitch in xchat 2.6.x and above and the way it
1187 # assumes IDENTIFY must be prefixed by a colon (:) character. It should
1188 # be placed ABOVE the default NICKSERV alias (the first example) listed
1189 # above.
1190 #
1191 #<alias text="NICKSERV" format=":IDENTIFY *" replace="PRIVMSG NickServ :IDENTIFY $3-"
1192 #  requires="NickServ" uline="yes">
1193
1194 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1195 # Alltime module: Shows time on all connected servers at once
1196 #<module name="m_alltime.so">
1197
1198 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1199 # Antibear security module: Prevents 'bear.txt' based trojans from
1200 # connecting to your network by sending them a numeric they can't handle.
1201 #<module name="m_antibear.so">
1202
1203 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1204 # Antibottler module: Labels bottler leech bots
1205 #<module name="m_antibottler.so">
1206
1207 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1208 # Auditorium module: Adds channel mode +u which makes everyone else
1209 # except you in the channel invisible, used for large meetings etc.
1210 #<module name="m_auditorium.so">
1211 #
1212 # Auditorium settings:
1213 #
1214 #<auditorium showops="no">
1215 #
1216 # Setting this value to yes makes m_auditorium behave like unrealircd
1217 # +u channel mode, e.g. ops see users joining, parting, etc, and users
1218 # joining the channel see the ops. Without this flag, the mode acts
1219 # like ircnet's +a (anonymous channels), showing only the user in the
1220 # names list, and not even showing the ops in the list, or showing the
1221 # ops that the user has joined.
1222
1223 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1224 # Ban except module: Adds support for channel ban exceptions (+e)
1225 #<module name="m_banexception.so">
1226
1227 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1228 # Ban redirection module: Allows bans which redirect to a specified
1229 # channel. e.g. +b nick!ident@host#channelbanneduserissentto
1230 #<module name="m_banredirect.so">
1231
1232 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1233 # Block amsg module: Attempt to block all usage of /amsg and /ame
1234 #<module name="m_blockamsg.so">
1235 #
1236 #-#-#-#-#-#-#-#-#-#-#-  BLOCKAMSG CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
1237 #                                                                     #
1238 # If you have the m_blockamsg.so module loaded, you can configure it  #
1239 # with the <blockamsg> tag:                                           #
1240 #                                                                     #
1241 # delay          -   How many seconds between two messages to force   #
1242 #                    them to be recognised as unrelated.              #
1243 # action         -   Any of 'notice', 'noticeopers', 'silent', 'kill' #
1244 #                    or 'killopers'. Define how to take action when   #
1245 #                    a user uses /amsg or /ame.                       #
1246 #
1247 #<blockamsg delay="3" action="killopers">
1248
1249 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1250 # Block CAPS module: Blocking all-CAPS messages with cmode +P
1251 #<module name="m_blockcaps.so">
1252 #                                                                     #
1253 #-#-#-#-#-#-#-#-#-#-#-  BLOCKCAPS CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
1254 #                                                                     #
1255 # percent        - How many percent of text must be caps before text  #
1256 #                  will be blocked.                                   #
1257 #                                                                     #
1258 # minlen         - The minimum length a line must be for the block    #
1259 #                  percent to have any effect.                        #
1260 #                                                                     #
1261 # capsmap        - A list of chars to be considered CAPS, this was    #
1262 #                  you can add CAPS for your language. Also you can   #
1263 #                  add things like ! and space to further lock down   #
1264 #                  on caps usage.                                     #
1265 #<blockcaps percent="50"
1266 #           minlen="5"
1267 #           capsmap="ABCDEFGHIJKLMNOPQRSTUVWXYZ! ">
1268
1269 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1270 # Block colour module: Blocking colour-coded messages with cmode +c
1271 #<module name="m_blockcolor.so">
1272
1273 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1274 # Botmode module: Adds the user mode +B
1275 #<module name="m_botmode.so">
1276
1277 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1278 # CBAN module: Lets you disallow channels from being used at runtime.
1279 #<module name="m_cban.so">
1280
1281 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1282 # Censor module: Adds the channel mode +G
1283 #<module name="m_censor.so">
1284 #
1285 #-#-#-#-#-#-#-#-#-#-#-  CENSOR  CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#-#
1286 #                                                                     #
1287 # Optional - If you specify to use the m_censor module, then you must #
1288 # specify some censor tags. See also:                                 #
1289 # http://www.inspircd.org/wiki/Censor_Module                          #
1290 #
1291 #<include file="censor.conf">
1292
1293 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1294 # CGI:IRC module: Adds support for automatic host changing in CGI:IRC
1295 # (http://cgiirc.sourceforge.net).
1296 #<module name="m_cgiirc.so">
1297 #
1298 #-#-#-#-#-#-#-#-#-#-#-# CGIIRC  CONFIGURATION #-#-#-#-#-#-#-#-#-#-#-#-#
1299 #
1300 # Optional - If you specify to use m_cgiirc, then you must specify one
1301 # or more cgihost tags which indicate authorised CGI:IRC servers which
1302 # will be connecting to your network, and an optional cgiirc tag.
1303 # For more information see: http://www.inspircd.org/wiki/CGI-IRC_Module
1304 #
1305 # Set to yes if you want to notice opers when CGI clients connect
1306 # <cgiirc opernotice="no">
1307 #
1308 # The type field indicates where the module should get the real
1309 # client's IP address from, for further information, please see the
1310 # CGI:IRC documentation.
1311 #
1312 # <cgihost type="pass" mask="www.mysite.com">       # Get IP from PASS
1313 # <cgihost type="webirc" mask="somebox.mysite.com"> # Get IP from WEBIRC
1314 # <cgihost type="ident" mask="otherbox.mysite.com"> # Get IP from ident
1315 # <cgihost type="passfirst" mask="www.mysite.com">  # See the docs
1316 #
1317 # IMPORTANT NOTE:
1318 # ---------------
1319 #
1320 # When you connect CGI:IRC clients, there are two connect classes which
1321 # apply to these clients. When the client initially connects, the connect
1322 # class which matches the cgi:irc site's host is checked. Therefore you
1323 # must raise the maximum local/global clients for this ip as high as you
1324 # want to allow cgi clients. After the client has connected and is
1325 # determined to be a cgi:irc client, the class which matches the client's
1326 # real IP is then checked. You may set this class to a lower value, so that
1327 # the real IP of the client can still be restricted to, for example, 3
1328 # sessions maximum.
1329 #
1330
1331
1332 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1333 # Channel create module: Adds snomask +j, which will notify opers of
1334 # any new channels that are created
1335 #<module name="m_chancreate.so">
1336
1337 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1338 # Channel filter module: Allows channel-op defined message
1339 # filtering using simple string matches (channel mode +g)
1340 #<module name="m_chanfilter.so">
1341
1342 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1343 # Chanprotect module: gives +q and +a channel modes
1344 #<module name="m_chanprotect.so">
1345
1346 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1347 # Check module: gives /check
1348 # Check is useful for looking up information on channels,
1349 # users, IP addresses and hosts.
1350 #<module name="m_check.so">
1351
1352 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1353 # CHGHOST module: Adds the /CHGHOST command
1354 #<module name="m_chghost.so">
1355 #
1356 #-#-#-#-#-#-#-#-# /CHGHOST - /SETHOST  CONFIGURATION #-#-#-#-#-#-#-#-#
1357 # Optional - If you want to use special chars for hostnames you can  #
1358 # specify your own custom list of chars with the <hostname> tag:     #
1359 #                                                                    #
1360 # charmap        - A list of chars accepted as valid by the /CHGHOST #
1361 #                  and /SETHOST commands. Also note that the list is # 
1362 #                  case-sensitive.                                   #
1363 #<hostname charmap="abcdefghijklmnopqrstuvwxyz.-_/0123456789">
1364
1365 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1366 # CHGIDENT module: Adds the /CHGIDENT command
1367 #<module name="m_chgident.so">
1368
1369 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1370 # CHGNAME module: Adds the /CHGNAME command
1371 #<module name="m_chgname.so">
1372
1373 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1374 # Cloaking module: Adds usermode +x and cloaking support.
1375 # Relies on the module m_md5.so being loaded before m_cloaking.so in
1376 # the configuration file.
1377 #<module name="m_cloaking.so">
1378 #
1379 #-#-#-#-#-#-#-#-#-#-#- CLOAKING  CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
1380 #                                                                     #
1381 # Optional - If you specify the m_cloaking.so module as above, you    #
1382 # must define cloak keys, and optionally a cloak prefix as shown      #
1383 # below. When using cloaking, the cloak keys are MANDITORY and must   #
1384 # be included. However, if prefix is not included, it will default    #
1385 # to your networks name from the <server> tag. You can also include   #
1386 # the following optional values:                                      #
1387 #                                                                     #
1388 #   ipalways         - Always cloak the IP address, not the hostname, #
1389 #                      which doesn't reveal the user's ISP, but       #
1390 #                      results in hosts that are harder to read and   #
1391 #                      ban.                                           #
1392 #                                                                     #
1393 #   lowercase        - Display the cloaked hostnames in lowercase     #
1394 #                      characters instead of uppercase                #
1395 #                                                                     #
1396 # <cloak key1="0x2AF39F40"                                            #
1397 #        key2="0x78E10B32"                                            #
1398 #        key3="0x4F2D2E82"                                            #
1399 #        key4="0x043A4C81"                                            #
1400 #        prefix="mynet"                                               #
1401 #        ipalways="false"                                             #
1402 #        lowercase="false">                                           #
1403 #                                                                     #
1404 # Please note that the key values will accept any number, and should  #
1405 # be large numbers. Using small numbers such as "7" or "1924" will    #
1406 # seriously weaken the security of your cloak. It is recommended you  #
1407 # use hexdecimal numbers prefixed by "0x", as shown in this example,  #
1408 # with each key eight hex digits long.                                #
1409
1410 #-#-#-#-#-#-#-#-#-#-#-#- CLOSE MODULE #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1411 # Close module: Allows an oper to close all unregistered connections.
1412 #<module name="m_close.so">
1413
1414 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1415 # Clones module: Adds an oper command /CLONES for detecting cloned
1416 # users. Warning: This module may be resource intensive when its
1417 # command is issued, use with care.
1418 #<module name="m_clones.so">
1419
1420 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1421 # Common channels module: Adds user mode +c, which, when set, requires
1422 # that users must share a common channel with you to PRIVMSG or NOTICE
1423 # you.
1424 #<module name="m_commonchans.so">
1425
1426 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1427 # Conn-Join: Allows you to force users to join one or more channels
1428 # automatically upon connecting to the server.
1429 #<module name="m_conn_join.so">
1430 #
1431 #-#-#-#-#-#-#-#-#-#-#-#- CONNJOIN CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
1432 #
1433 # If you have m_conn_join.so loaded, you can configure it using the
1434 # follow values:
1435 #
1436 #<autojoin channel="#one,#two,#three">
1437
1438 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1439 # Conn-Usermodes: Set modes on users when they connect
1440 # When this module is loaded <connect:allow> tags may have an optional
1441 # modes="" value, which contains modes to add or remove from users
1442 # when they connect to the server.
1443 #<module name="m_conn_umodes.so">
1444
1445 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1446 # Conn-Wait-for-Pong: Don't let a user connect until they PONG
1447 #<module name="m_conn_waitpong.so">
1448 #
1449 #-#-#-#-#-#-#-#-#-#-#-   WAITPONG CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
1450 #                                                                     #
1451 # If you have the m_conn_waitpong.so module loaded, configure it with #
1452 # the <waitpong> tag:                                                 #
1453 #                                                                     #
1454 # sendsnotice    -   Whether to send a snotice on connect, like other #
1455 #                    older ircds                                      #
1456 #                                                                     #
1457 # killonbadreply -   Whether to kill the user if they send the wrong  #
1458 #                    PONG reply.                                      #
1459 #                                                                     #
1460 #<waitpong sendsnotice="yes" killonbadreply="yes">
1461
1462
1463 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1464 # Channel cycle module. Server side /hop, with +ilk etc bypass.
1465 #<module name="m_cycle.so">
1466
1467 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1468 # Connection throttle module. Configuration:
1469 #<module name="m_connflood.so">
1470 #
1471 #-#-#-#-#-#-#-#-#-#-#- CONTHROTTLE CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
1472 #  seconds, maxconns -  Amount of connections per <seconds>.
1473 #
1474 #  timeout           -  Time to wait after the throttle was activated
1475 #                       before deactivating it. Be aware that the time
1476 #                       is seconds + timeout.
1477 #
1478 #  quitmsg           -  The message that users get if they attempt to
1479 #                       connect while the throttle is active.
1480 #
1481 #  bootwait          -  Amount of time to wait before enforcing the
1482 #                       throttling when the server just booted.
1483 #
1484 #<connflood seconds="30" maxconns="3" timeout="30"
1485 #   quitmsg="Throttled" bootwait="10">
1486
1487 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1488 # Custom title module: Adds the /TITLE command which allows for trusted
1489 #                      users to gain a custom whois line and a optional
1490 #                      vhost can be specified.
1491 #<module name="m_customtitle.so">
1492 #
1493 #-#-#-#-#-#-#-#-#-#-  CUSTOM TITLE CONFIGURATION   -#-#-#-#-#-#-#-#-#-#
1494 #  name              - The username used to identify 
1495 #  password          - The password used to identify
1496 #  host              - Allowed hostmask [optional]
1497 #  title             - Title shown in whois
1498 #  vhost             - Displayed host [optional]
1499 #
1500 #<title name="foo" password="bar" title="Official Chat Helper">
1501 #<title name="bar" password="foo" host="ident@host.name" title="Official Chat Helper" vhost="helper.network.chat">
1502
1503 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1504 # DCCALLOW module: Adds the /DCCALLOW command
1505 #<module name="m_dccallow.so">
1506 #
1507 #-#-#-#-#-#-#-#-#-#-#-  DCCALLOW CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
1508 #  blockchat         - Whether to block DCC CHAT as well as DCC SEND
1509 #  length            - Default duration of entries in DCCALLOW list
1510 #  action            - Default action to take if no action is specified
1511 #                      can be 'block' or 'allow'
1512 #
1513 # File configuration:
1514 #  pattern           - The glob pattern to match against
1515 #  action            - Action to take if a user attempts to send a file
1516 #                      that matches this pattern, can be 'block' or 'allow'
1517 #
1518 #<dccallow blockchat="yes" length="5m" action="block">
1519 #<banfile pattern="*.exe" action="block">
1520 #<banfile pattern="*.txt" action="allow">
1521 #
1522 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1523
1524 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1525 # Deaf module: adds support for ircu style usermode +d - deaf to
1526 # channel messages and channel notices.
1527 #<module name="m_deaf.so">
1528
1529 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1530 # Delay join module: Adds the channel mode +D which delays all JOIN
1531 # messages from users until they speak. If they quit or part before
1532 # speaking, their quit or part message will not be shown to the channel
1533 # which helps cut down noise on large channels in a more friendly way
1534 # than the auditorium mode. Only channel ops may set the +D mode.
1535 #<module name="m_delayjoin.so">
1536
1537 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1538 # Deny Channels: Deny Channels from being used by users
1539 #<module name="m_denychans.so"> 
1540 #
1541 #-#-#-#-#-#-#-#-#-#-#-   DENYCHAN DEFINITIONS  -#-#-#-#-#-#-#-#-#-#-#-#
1542 #                                                                     #
1543 # If you have the m_denychans.so module loaded, you need to specify   #
1544 # the channels to deny:                                               #
1545 #                                                                     #
1546 # name        -      The channel name to deny. (glob masks are ok)    #
1547 #                                                                     #
1548 # allowopers  -      If operators are allowed to override the deny.   #
1549 #                                                                     #
1550 # reason      -      Reason given for the deny.                       #
1551 #                                                                     #
1552 #<badchan name="#gods*" allowopers="yes" reason="Tortoises!">         #
1553 #                                                                     #
1554 # Additionally, you may specify channels which are allowed, even if   #
1555 # a badchan tag specifies it would be denied:                         #
1556 #<goodchan name="#godsleeps">                                         #
1557 # Glob masks are accepted here also.
1558
1559 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1560 # Devoice Module: Let users devoice themselves.
1561 #<module name="m_devoice.so">
1562
1563 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1564 # DNS Blacklist Module: Provides support for looking up IPs on one or #
1565 # more blacklists.                                                    #
1566 #<module name="m_dnsbl.so">                                           #
1567 #                                                                     #
1568 # For configuration options please see the wiki page for m_dnsbl at   #
1569 # http://inspircd.org/wiki/DNS_Blacklist_Module                       #
1570
1571 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1572 # Filter module: Provides glob-based message filtering
1573 #<module name="m_filter.so">
1574 # OR
1575 # PCRE filter module: Filters messages using regular expressions
1576 #<module name="m_filter_pcre.so">
1577 #
1578 # You may only use one or the other with these modules, network-wide.
1579 #
1580 #-#-#-#-#-#-#-#-#-#-#-  FILTER  CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#-#
1581 #                                                                     #
1582 # Optional - If you specify to use the m_filter or m_filter_pcre      #
1583 # modules, then specfiy below the path to the filter.conf file,       #
1584 # or define some <filter> tags.                                       #
1585 #                                                                     #
1586 #<include file="filter.conf">
1587
1588 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1589 # Foobar module: does nothing - historical relic
1590 #<module name="m_foobar.so">
1591
1592 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1593 # Globops module: gives /GLOBOPS and usermode +g
1594 #<module name="m_globops.so">
1595
1596 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1597 # Global load module: Allows loading and unloading of modules network-
1598 # wide (USE WITH EXTREME CAUTION!)
1599 #<module name="m_globalload.so">
1600
1601 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1602 # HELPOP module: Provides the /HELPOP command
1603 #<module name="m_helpop.so">
1604 #
1605 #-#-#-#-#-#-#-#-#-#-#-#-  HELPOP  CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
1606 #                                                                     #
1607 # Optional - If you specify to use the m_helpop.so module, then       #
1608 # specify below the path to the helpop.conf file, or if you like to   #
1609 # make a mess, define your helpop tags in this conf.                  #
1610 #                                                                     #
1611 #<include file="helpop.conf">
1612
1613 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1614 # HIDECHANS module: Allows opers to hide their channels list from non-
1615 # opers by setting user mode +I on themselves.
1616 # <module name="m_hidechans.so">
1617
1618 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1619 # HIDEOPER module: Allows opers to hide their oper status from non-
1620 # opers by setting user mode +H on themselves.
1621 # <module name="m_hideoper.so">
1622
1623 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1624 # Hostchange module: Allows a different style of cloaking
1625 #<module name="m_hostchange.so">
1626 #
1627 #-#-#-#-#-#-#-#-#-#-#-  HOSTCHANGE  CONFIGURATION  -#-#-#-#-#-#-#-#-#-#
1628 #                                                                     #
1629 # Optional - If you choose to use the m_hostchange.so module.         #
1630 # Config Help -  See http://www.inspircd.org/wiki/Host_Changer_Module #
1631 #                                                                     #
1632 #<host suffix="polarbears.org" separator="." prefix="">
1633 #<hostchange mask="*@fbi.gov" action="addnick">
1634 #<hostchange mask="*r00t@*" action="suffix">
1635 #<hostchange mask="a@b.com" action="set" value="blah.blah.blah">
1636 #<hostchange mask="localhost" ports="7000,7001,7005-7007" action="set" value="blahblah.foo">
1637
1638 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1639 # httpd module: Provides http server support for InspIRCd
1640 #<module name="m_httpd.so">
1641 #
1642 #-#-#-#-#-#-#-#-#-#-#-#-  HTTPD   CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
1643 #
1644 # Optional - If you choose to use the m_httpd.so module,  then you must
1645 # specify the port number and other details of your http server:
1646 #
1647 #<http ip="192.168.1.10" host="brainwave" port="32006"
1648 #      index="/home/brain/inspircd/http/index.html">
1649 #
1650 # You may have as many of these tags as you wish, each with a different
1651 # IP, port, host or index file. Each one will act as an independent
1652 # HTTP server.
1653 #
1654
1655 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1656 # http stats module: Provides basic stats pages over HTTP
1657 # Requires m_httpd.so to be loaded for it to function.
1658 #<module name="m_httpd_stats.so">
1659 #
1660 #-#-#-#-#-#-#-#-#-#-#-#- HTTPD STATS CONFIGURATION -#-#-#-#-#-#-#-#-#-#
1661 #
1662 #<httpstats stylesheet="http://remote.style/sheet.css">
1663 #
1664
1665 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1666 # Ident: Provides RFC 1413 ident lookup support
1667 #<module name="m_ident.so">
1668 #
1669 #-#-#-#-#-#-#-#-#-#-#-#-   IDENT CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
1670 #                                                                     #
1671 # Optional - If you are using the m_ident.so module, then you can     #
1672 # specify the timeout for ident lookups here. If not defined, it will #
1673 # default to one second. This is a non-blocking timeout which holds   #
1674 # the user in a 'connecting' state until the lookup is complete.      #
1675 # The bind value indicates which IP to bind outbound requests to.     #
1676 #                                                                     #
1677 #<ident timeout="5" bind="">                                          #
1678
1679 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1680 # Invite except module: Adds support for channel invite exceptions (+I)
1681 #<module name="m_inviteexception.so">
1682
1683 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1684 # Invisible module - Adds support for usermode +Q (quiet) which lets an
1685 # oper go 'invisible' similar to unrealircd 3.1's +I mode. Note that
1686 # opers are still able to see invisible users, and if an oper with +Q
1687 # deopers, they will become visible. 
1688
1689 # IMPORTANT NOTE: To allow this mode to be used by a type of oper, you
1690 # must first add the value canquiet="yes" to that oper's type tag.
1691 #
1692 #<module name="m_invisible.so">
1693
1694 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1695 # Join flood module: Adds support for join flood protection (+j)
1696 #<module name="m_joinflood.so">
1697
1698 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1699 # Jump Server module: Adds support for the RPL_REDIR numeric
1700 #<module name="m_jumpserver.so">
1701
1702 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1703 # Anti-Auto-Rejoin: Adds support for prevention of auto-rejoin (+J)
1704 #<module name="m_kicknorejoin.so">
1705
1706 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1707 # Knock module: adds the /KNOCK command and +K channel mode
1708 #<module name="m_knock.so">
1709
1710 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1711 # Lock server module: Adds /LOCKSERV and /UNLOCKSERV commands that is #
1712 # used to temporarily close/open for new connections to the server.   #
1713 # These commands require OPER status and that the LOCKSERV UNLOCKSERV #
1714 # are specified in a <class> tag that the oper is part of. This is so #
1715 # you can control who has access to this possible dangerous command.  #
1716 # If your server is locked and you got disconnected, do a REHASH from #
1717 # shell to open up again.
1718 #<module name="m_lockserv.so">
1719
1720 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1721 # Msg flood module: Adds message/notice flood protection (+f)
1722 #<module name="m_messageflood.so">
1723
1724 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1725 # MySQL module: Allows other SQL modules to access MySQL databases
1726 # through a unified API. You must copy the source for this module
1727 # from the directory src/modules/extra, plus the file m_sqlv2.h
1728 #<module name="m_mysql.so">
1729 #
1730 #-#-#-#-#-#-#-#-#-#-#-#- SQL CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#-#
1731 #                                                                     #
1732 # m_mysql.so is more complex than described here, see the wiki for    #
1733 # more: http://www.inspircd.org/wiki/SQL_Service_Provider_Module      #
1734 #
1735 #<database name="mydb" username="myuser" password="mypass" hostname="localhost" id="my_database2">
1736
1737 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1738 # NAMESX module: Provides support for the NAMESX extension which allows
1739 # clients to see all the prefixes set on a user without getting confused.
1740 # This is supported by mIRC, x-chat, klient, and maybe more.
1741 #<module name="m_namesx.so">
1742
1743 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1744 # Nickchange flood protection module: Allows up to X nick changes in Y seconds.
1745 # Provides channel mode +F.
1746 #<module name="m_nickflood.so">
1747
1748 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1749 # Nicklock module: Let opers change a user's nick and then stop that
1750 # user from changing their nick again.
1751 #<module name="m_nicklock.so">
1752
1753 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1754 # No ctcp module: Adds the channel mode +C to block CTCPs
1755 #<module name="m_noctcp.so">
1756
1757 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1758 # Noinvite module: Gives channel mode +V
1759 #<module name="m_noinvite.so">
1760
1761 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1762 # No kicks module: Adds the +Q channel mode
1763 #<module name="m_nokicks.so">
1764
1765 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1766 # No nicks module: Adds the +N channel mode
1767 #<module name="m_nonicks.so">
1768
1769 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1770 # No Notice module: adds the channel mode +T
1771 #<module name="m_nonotice.so">
1772
1773 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1774 # Oper channels mode: Adds the +O channel mode
1775 #<module name="m_operchans.so">
1776
1777 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1778 # Oper hash module: Allows hashed oper passwords
1779 # Relies on the module m_md5.so and/or m_sha256.so being loaded before
1780 # m_oper_hash.so in the configuration file.
1781 #<module name="m_oper_hash.so">
1782 #
1783 #-#-#-#-#-#-#-#-#-#-# OPER HASH CONFIGURATION #-#-#-#-#-#-#-#-#-#-#-#-#
1784 #
1785 # To use this module, you must define a hash type for each oper's
1786 # password you want to hash. For example:
1787 #
1788 #     <oper name="Brain"
1789 #           host="ident@dialup15.isp.com"
1790 #           hash="sha256"
1791 #           password="a41d730937a53b79f788c0ab13e9e1d5"
1792 #           type="NetAdmin">
1793
1794 # The types of hashing available vary depending on which hashing modules
1795 # you load, but usually if you load m_sha256.so and m_md5.so, both md5
1796 # and sha256 type hashing will be available (the most secure of which
1797 # is SHA256).
1798
1799 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1800 # Oper Join module: Forces opers to join a channel on oper-up
1801 #<module name="m_operjoin.so">
1802 #
1803 #-#-#-#-#-#-#-#-#-#-#   OPERJOIN CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
1804 #                                                                     #
1805 # If you are using the m_operjoin.so module, specify the channel here #
1806 #                                                                     #
1807 #<operjoin channel="#channel">
1808
1809 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1810 # Oper MOTD module: Provides support for seperate message of the day
1811 # on oper-up
1812 #<module name="m_opermotd.so">
1813 #
1814 #-#-#-#-#-#-#-#-#-#-#   OPERMOTD CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
1815 #                                                                     #
1816 # If you are using the m_opermotd.so module, specify the motd here    #
1817 #                                                                     #
1818 #<opermotd file="oper.motd">
1819
1820 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1821 # Override module: Adds support for oper override
1822 #<module name="m_override.so">
1823 #
1824 #-#-#-#-#-#-#-#-#-#-#   OVERRIDE CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
1825 #                                                                     #
1826 # m_override.so is too complex it describe here, see the wiki:        #
1827 # http://www.inspircd.org/wiki/Oper_Override_Module                   #
1828
1829 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1830 # Oper levels module: Gives each oper a level and prevents
1831 # actions being taken against higher level opers
1832 # Specify the level as the 'level' parameter of the <type> tag
1833 #<module name="m_operlevels.so">
1834
1835 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1836 # Oper modes module: Allows you to specify modes to add/remove on oper
1837 # Specify the modes as the 'modes' parameter of the <type> tag
1838 # and/or as the 'modes' parameter of the <oper> tag.
1839 #<module name="m_opermodes.so">
1840
1841 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1842 # PostgreSQL module: Allows other SQL modules to access PgSQL databases
1843 # through a unified API. You must copy the source for this module
1844 # from the directory src/modules/extra, plus the file m_sqlv2.h
1845 #<module name="m_pgsql.so">
1846 #
1847 #-#-#-#-#-#-#-#-#-#-#-#- SQL CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#-#
1848 #                                                                     #
1849 # m_pgsql.so is more complex than described here, see the wiki for    #
1850 # more: http://www.inspircd.org/wiki/SQL_Service_Provider_Module      #
1851 #
1852 #<database name="mydb" username="myuser" password="mypass" hostname="localhost" id="my_database" ssl="no">
1853
1854 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1855 # Random Quote module: provides a random quote on connect.
1856 # NOTE: Some of these may mimic fatal errors and confuse users and 
1857 # opers alike! - BEWARE!
1858 #<module name="m_randquote.so">
1859 #
1860 #-#-#-#-#-#-#-#-#-#-  RANDOMQUOTES CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
1861 #                                                                     #
1862 # Optional - If you specify to use the m_randquote.so module, then    #
1863 # specify below the path to the randquotes.conf file.                 #
1864 #                                                                     #
1865 #<randquote file="randquotes.conf">
1866
1867 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1868 # Redirect module: Adds channel redirection (mode +L)
1869 #<module name="m_redirect.so">
1870
1871 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1872 # Registered users only channel creation
1873 # Allows only registered users and opers to create new channels.
1874 #<module name="m_regonlycreate.so">
1875
1876 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1877 # Remove module: Adds the /REMOVE command which is a peaceful
1878 # alternative to /KICK
1879 #<module name="m_remove.so">
1880
1881 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1882 # Restrict banned users module:
1883 # Disallows banned users on a channel from messaging the channel,
1884 # changing nick, or changing the topic, if loaded.
1885 #<module name="m_restrictbanned.so">
1886
1887 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1888 # Restricted channels module: Allows only opers to create channels
1889 #<module name="m_restrictchans.so">
1890
1891 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1892 # Restrict message module: Allows users to only message opers
1893 #<module name="m_restrictmsg.so">
1894
1895 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1896 # Provide /LIST throttling (to prevent flooding) and /LIST safety to
1897 # prevent excess flood when the list is large.
1898 #<module name="m_safelist.so">
1899 #
1900 #-#-#-#-#-#-#-#-#-#-# SAFELIST CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#-#
1901 #
1902 # When using Safelist, you may set the following values;
1903 #
1904 # The first value, 'throttle', sets the amount of time in seconds a user
1905 # must wait between LIST commands. For example, if this is set to 60
1906 # (the default) then the user may not /LIST more than once a minute.
1907 # If not defined, the default value is 60 seconds.
1908 #
1909 # The second value, 'maxlisters', indicates the maximum number of users
1910 # which may be retrieving a LIST at once. It is not recommended you raise
1911 # this value, as increasing it too high can make your network vulnerable
1912 # to floodbots which waste your bandwidth and CPU time with LIST requests.
1913 #
1914 #<safelist throttle="60" maxlisters="50">
1915
1916 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1917 # SAJOIN module: Adds the /SAJOIN command
1918 #<module name="m_sajoin.so">
1919
1920 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1921 # SAMODE module: Adds the oper /SAMODE command
1922 #<module name="m_samode.so">
1923
1924 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1925 # SANICK module: Allows opers to change user's nicks
1926 #<module name="m_sanick.so">
1927
1928 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1929 # SAPART module: Adds the oper /SAPART command
1930 #<module name="m_sapart.so">
1931
1932 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1933 # SAQUIT module: Adds the oper /SAQUIT command (abusable!!!)
1934 #<module name="m_saquit.so">
1935
1936 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1937 # Secure list module: Prevent /LIST in the first minute of connection,
1938 # crippling most spambots and trojan spreader bots.
1939 #<module name="m_securelist.so">
1940 #
1941 #-#-#-#-#-#-#-#-#-# SECURELIST CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#-#
1942 #                                                                     #
1943 # Securelist can be harmful to some irc search engines such as        #
1944 # netsplit.de and searchirc.com. To prevent securelist blocking these #
1945 # sites from listing, define exception tags as shown below:           #
1946 <securehost exception="*@*.searchirc.org">
1947 <securehost exception="*@*.netsplit.de">
1948 <securehost exception="*@echo940.server4you.de">
1949 #                                                                     #
1950 # Define the following variable to change how long a user must wait   #
1951 # before issuing a LIST. If not defined, defaults to 60 seconds.      #
1952 #                                                                     #
1953 #<securelist waittime="60">                                           #
1954
1955 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1956 # See nicks module: Allow for SNOMASK +N which shows nick changes.
1957 #<module name="m_seenicks.so">
1958
1959 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1960 # Set Idle module: Adds a command for opers to change their
1961 # idle time (mainly a toy)
1962 #<module name="m_setidle.so">
1963
1964 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1965 # Services support module: Adds several usermodes such as +R and +M
1966 # this module implements the 'identified' state via user mode +r, which
1967 # is similar to the DALnet and dreamforge systems.
1968 #     
1969 # N O T E!!
1970 #  >>  This CAN NOT be used at the same time as m_services_account <<
1971 # N O T E!!
1972 #<module name="m_services.so">
1973
1974 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1975 # Services support module: Adds several usermodes such as +R and +M
1976 # this module implements the 'identified' state via account names (AC)
1977 # and is similar in operation to the way asuka and ircu handle services.
1978 #                                                                       
1979 # N O T E!!
1980 #  >>  This CAN NOT be used at the same time as m_services <<
1981 # N O T E!!
1982 #<module name="m_services_account.so">
1983
1984 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1985 # Sethost module: Adds the /SETHOST command
1986 # See m_chghost for how to customise valid chars for hostnames
1987 #<module name="m_sethost.so">
1988
1989 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1990 # Setident module: Adds the /SETIDENT command
1991 #<module name="m_setident.so">
1992
1993 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1994 # SETNAME module: Adds the /SETNAME command
1995 #<module name="m_setname.so">
1996
1997 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1998 # Show Whois module: Adds the +W usermode which allows opers
1999 # to see when they are whois'ed (can be annoying).
2000 #<module name="m_showwhois.so">
2001
2002 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2003 # Spy module: Adds the commands SPYLIST and SPYNAMES that let opers
2004 # see who is in a +s channel, and list +s channels, show keys of keyed
2005 # channels the oper is not a member of etc. Like most standard 'abusive'
2006 # features of many other ircds, this is modular in InspIRCd.
2007 #<module name="m_spy.so">
2008
2009 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2010 # SSL channel mode module: Adds support for SSL-only channels (+z).
2011 # does not do anything useful without a working SSL module (see below)
2012 #<module name="m_sslmodes.so">
2013
2014 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2015 # Dummy ssl module: If you have other servers on your network which
2016 # have SSL, but your server does not have ssl enabled, you should load
2017 # this module, which will handle SSL metadata (e.g. the "Is using ssl"
2018 # field in the WHOIS information).
2019 #<module name="m_ssl_dummy.so">
2020
2021 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2022 # GnuTLS ssl module: Adds support for client-server SSL using GnuTLS,
2023 # if enabled. You must copy the source for this module from the directory
2024 # src/modules/extra, or answer 'yes' in ./configure when asked if you
2025 # want to enable this, or it will not load.
2026 #<module name="m_ssl_gnutls.so">
2027 #
2028 #-#-#-#-#-#-#-#-#-#-#-  GNUTLS CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
2029 #                                                                     #
2030 # m_ssl_gnutls.so is too complex it describe here, see the wiki:      #
2031 # http://www.inspircd.org/wiki/GnuTLS_SSL_Module                      #
2032 #                                                                     #
2033 # NOTE: If you want to use this module to encrypt and sign your       #
2034 # server to server traffic, you MUST load it before m_spanningtree in #
2035 # your configuration file!                                            #
2036
2037 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2038 # SSL Info module: Allows users to retrieve information about other
2039 # user's peer SSL certificates and keys. This can be used by client
2040 # scripts to validate users. For this to work, one of m_ssl_gnutls.so
2041 # or m_ssl_openssl.so must be loaded. You must symlink the source for
2042 # this module from the directory src/modules/extra.
2043 #<module name="m_sslinfo.so">
2044
2045 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2046 # OpenSSL ssl module: Adds support for client-server SSL using OpenSSL,
2047 # if enabled. You must copy the source for this module from the directory
2048 # src/modules/extra, or answer 'yes' in ./configure when asked if you
2049 # want to enable this, or it will not load.
2050 #<module name="m_ssl_openssl.so">
2051 #
2052 #-#-#-#-#-#-#-#-#-#-#- OPENSSL CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
2053 #                                                                     #
2054 # m_ssl_openssl.so is too complex it describe here, see the wiki:     #
2055 # http://www.inspircd.org/wiki/OpenSSL_SSL_Module                     #
2056 #                                                                     #
2057 # NOTE: If you want to use this module to encrypt and sign your       #
2058 # server to server traffic, you MUST load it before m_spanningtree in #
2059 # your configuration file!                                            #
2060
2061 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2062 # SSL Cert Oper module: Allows opers to oper up using the key fingerprint
2063 # stored within their SSL certificate and key pair.
2064 # When using this module, one of m_ssl_gnutls.so or m_ssl_openssl.so must
2065 # be loaded. An extra value should be added to enabled opers, which
2066 # is in the following format: fingerprint="<hash>". For more information,
2067 # see the example in the oper blocks.
2068 #<module name="m_ssl_oper_cert.so">
2069
2070 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2071 # Strip colour module: Adds the channel mode +S
2072 #<module name="m_stripcolor.so">
2073
2074 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2075 # SILENCE module: Adds support for /SILENCE
2076 #<module name="m_silence.so">
2077 #
2078 # Configuration tags:
2079 #
2080 #<silence maxentries="32">
2081 #
2082 # Sets the maximum number of entries on a users silence list.
2083
2084 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2085 # Extended SILENCE module: Adds support for /SILENCE with additional
2086 # features to silence based on invites, channel messages, etc.
2087 #<module name="m_silence_ext.so">
2088 #
2089 # The configuration tags for this module are identical to those of
2090 # m_silence, shown above.
2091
2092 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2093 # SQLite3 module: Allows other SQL modules to access SQLite3          #
2094 # databases through a unified API. You must link the source for this  #
2095 # module from the directory src/modules/extra to src/modules, plus    #
2096 # the file m_sqlv2.h                                                  #
2097 #<module name="m_sqlite3.so">
2098 #
2099 #-#-#-#-#-#-#-#-#-#-#-#- SQL CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#-#
2100 #                                                                     #
2101 # m_sqlite.so is more complex than described here, see the wiki for   #
2102 # more: http://www.inspircd.org/wiki/SQLite3_Service_Provider_Module  #
2103 #
2104 #<database hostname="/full/path/to/database.db" id="anytext">
2105
2106 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2107 # SQLutils module: Provides some utilities to SQL client modules, such
2108 # as mapping queries to users and channels. You must copy the source
2109 # for this module from the directory src/modules/extra/m_sqlutils.cpp
2110 # and src/modules/extra/m_sqlutils.h into /src/modules
2111 # Needed for, and loaded before: SQLauth and SQLoper
2112 #<module name="m_sqlutils.so">
2113
2114 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2115 # SQL authentication module: Allows IRCd connections to be tied into
2116 # a database table (for example a forum). You must copy the source for
2117 # this module from the directory src/modules/extra
2118 # Depends on the SQLutils module being loaded first.
2119 #<module name="m_sqlauth.so">
2120 #
2121 #-#-#-#-#-#-#-#-#-#-#- SQLAUTH CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
2122 #                                                                     #
2123 # m_sqlauth.so is too complex it describe here, see the wiki:         #
2124 # http://www.inspircd.org/wiki/SQL_Authentication_Module              #
2125
2126 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2127 # SQL logging module: Allows you to log network-wide data for your
2128 # network in a fully normalised set of SQL tables. You must copy the
2129 # source for this module from the directory src/modules/extra
2130 #<module name="m_sqllog.so">
2131 #
2132 #-#-#-#-#-#-#-#-#-#-#-  SQLLOG CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
2133 #                                                                     #
2134 # dbid       - Database ID to use (see m_sql)                         #
2135 #                                                                     #
2136 # See also: http://www.inspircd.org/wiki/SQL_Logging_Module           #
2137 #                                                                     #
2138 #<sqllog dbid="1">
2139
2140 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2141 # SQL oper module: Allows you to store oper credentials in an SQL table
2142 # You must copy the source for this module from the directory src/modules/extra
2143 # Depends on the SQLutils module being loaded first.
2144 #<module name="m_sqloper.so">
2145 #
2146 #-#-#-#-#-#-#-#-#-#-#- SQLOPER CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
2147 #                                                                     #
2148 # dbid       - Database ID to use (see m_sql)                         #
2149 #                                                                     #
2150 # See also: http://www.inspircd.org/wiki/SQL_Oper_Storage_Module      #
2151 #                                                                     #
2152 #<sqloper dbid="1">
2153
2154 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2155 # SVSHold module: Implements SVSHOLD. Like Q:Lines, but can only be   #
2156 # added/removed by Services.                                          #
2157 #<module name="m_svshold.so">
2158
2159 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2160 # SWHOIS module: Allows you to add arbitary lines to user WHOIS.
2161 #<module name="m_swhois.so">
2162
2163 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2164 # Taxonomy module: Adds the /TAXONOMY command, used to view all
2165 #                  metadata attached to a user.
2166 #<module name="m_taxonomy.so">
2167
2168 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2169 # Test command module: Does nothing significant. Read: pointless.
2170 #<module name="m_testcommand.so">
2171
2172 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2173 # Timed bans module: Adds timed bans and the /TBAN command
2174 #<module name="m_timedbans.so">
2175
2176 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2177 # Test line module: Adds the /TLINE command, used to test how many
2178 # users a /GLINE or /ZLINE etc would match.
2179 #<module name="m_tline.so">
2180
2181 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2182 # UHNAMES support module: Adds support for the IRCX style UHNAMES
2183 # extension, which displays ident and hostname in the names list for
2184 # each user, saving clients from doing a WHO on the channel. Note that
2185 # this module is not widely supported yet. If a client does not support
2186 # UHNAMES it will not enable it, this will not break incompatible
2187 # clients.
2188 #<module name="m_uhnames.so">
2189
2190 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2191 # Uninvite module: Adds the /UNINVITE command which lets users remove
2192 # pending invites from channels without waiting for the user to join.
2193 #<module name="m_uninvite.so">
2194
2195 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2196 # Userip module: Adds the /USERIP command
2197 #<module name="m_userip.so">
2198
2199 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2200 # Vhost module: Adds the VHOST command which allows for adding virtual
2201 # hosts which are accessible using a username and password in the config.
2202 #<module name="m_vhost.so">
2203 #
2204 #-#-#-#-#-#-#-#-#-#-#- VHOST CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#-#
2205 #                                                                     #
2206 # user       - Username for the vhost.                                #
2207 #                                                                     #
2208 # pass       - Password for the vhost.                                #
2209 #                                                                     #
2210 # host       - Vhost to set.                                          #
2211 #
2212 #<vhost user="some_username" pass="some_password" host="some.host">
2213
2214 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2215 # Watch module: Adds the WATCH command, which is used by clients to 
2216 # maintain notify lists.
2217 #<module name="m_watch.so">
2218 #
2219 # Configuration tags:
2220 #
2221 #<watch maxentries="32">
2222 #
2223 # Sets the maximum number of entries on a user's watch list.
2224
2225 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2226 # XMLSocket module: Adds support for connections using the shockwave
2227 # flash XMLSocket. Note that this does not work if the client you are
2228 # using has retarded ideas of the IRC protocol. Your client must still
2229 # send RFC-correct lines to the server, this module only changes the
2230 # line ending from newlines to null terminators.
2231 #
2232 #<module name="m_xmlsocket.so">
2233
2234 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2235 # ZipLinks module: Adds support for zlib deflate on server to server
2236 # connections. Both ends of the connection must load this module.
2237 #
2238 #<module name="m_ziplink.so">
2239 #
2240 # To use this module, you must enable it as a transport type in your
2241 # <link> tags or <bind> tags using the transport name 'zip'.
2242 # See the documentation of <link> and <bind>, respectively.
2243 #
2244
2245 #-#-#-#-#-#-#-#-#-#-#-#-#-#-  BAN OPTIONS  -#-#-#-#-#-#-#-#-#-#-#-#-#-#
2246 #                                                                     #
2247 # The ban tags define nick masks, host masks and ip ranges which are  #
2248 # banned from your server. All details in these tags are local to     #
2249 # Your server.                                                        #
2250 #                                                                     #
2251 #                                                                     #
2252 # badip lines ban an ip range (same as a zline)                       #
2253 #                                                                     #
2254 # ipmask       -          The ip range to ban (wildcards possible)    #
2255 #                         CIDR is supported in the IP mask.           #
2256 # reason       -          Reason to display when disconnected         #
2257 #                                                                     #
2258 # badnick lines ban a nick mask (same as a qline)                     #
2259 #                                                                     #
2260 # nick         -          Nick mask to ban (wildcards possible)       #
2261 # reason       -          Reason to display on /NICK                  #
2262 #                                                                     #
2263 # badhost lines ban a user@host mask (same as a kline)                #
2264 #                                                                     #
2265 # host         -          ident@hostname (wildcards possible)         #
2266 #                         If you specify an IP, CIDR is supported.    #
2267 # reason       -          Reason to display on disconnection          #
2268 #                                                                     #
2269 # exception lines define a hostmask that is excempt from [kzg]lines   #
2270 #                                                                     #
2271 # host         -          ident@hostname (wildcards possible)         #
2272 #                         If you specify an IP, CIDR is supported.    #
2273 # reason       -          Reason, shown only in /stats e              #
2274 #                                                                     #
2275
2276 <badip ipmask="69.69.69.69" reason="No porn here thanks.">
2277
2278 <badnick nick="ChanServ" reason="Reserved For Services">
2279 <badnick nick="NickServ" reason="Reserved For Services">
2280 <badnick nick="OperServ" reason="Reserved For Services">
2281 <badnick nick="MemoServ" reason="Reserved For Services">
2282
2283 <badhost host="*@hundredz.n.hundredz.o.1337.kiddies.com" reason="Too many 1337 kiddiots">
2284 <badhost host="*@localhost" reason="No irc from localhost!">
2285 <badhost host="*@172.32.0.0/16" reason="This subnet is bad.">
2286
2287 <exception host="*@ircop.host.com" reason="Opers hostname">
2288
2289 #-#-#-#-#-#-#-#-#-#-#- INSANE BAN OPTIONS  -#-#-#-#-#-#-#-#-#-#-#-#-#-#
2290 #                                                                     #
2291 # This optional tag allows you to specify how wide a gline, eline,    #
2292 # kline, zline or qline can be before it is forbidden from being      #
2293 # set. By setting hostmasks="yes", you can allow all G, K, E lines,   #
2294 # no matter how many users the ban would cover. This is not           #
2295 # recommended! By setting ipmasks="yes", you can allow all Z lines,   #
2296 # no matter how many users these cover too. Needless to say we        #
2297 # don't recommend you do this, or, set nickmasks="yes", which will    #
2298 # allow any qline.                                                    #
2299 #                                                                     #
2300 # The trigger value indicates how wide any mask will be before it is  #
2301 # prevented from being set. The default value is 95.5% if this tag is #
2302 # not defined in your configuration file, meaning that if your        #
2303 # network has 1000 users, a gline matching over 955 of them will be   #
2304 # prevented from being added.                                         #
2305 #                                                                     #
2306 # Please note that remote servers (and services) are exempt from      #
2307 # these restrictions and expected to enforce their own policies       #
2308 # locally!                                                            #
2309 #                                                                     #
2310
2311 <insane hostmasks="no" ipmasks="no" nickmasks="no" trigger="95.5">
2312
2313 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#- YAWN  -#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2314 #                                                                     #
2315 #   You should already know what to do here :)                        #
2316
2317 <die value="User error. Insert new user and press any key. (you didn't edit your config properly.)">
2318
2319
2320 #########################################################################
2321 #                                                                       #
2322 #                     - InspIRCd Development Team -                     #
2323 #                        http://www.inspircd.org                        #
2324 #                                                                       #
2325 #########################################################################