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