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