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