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