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