]> git.netwichtig.de Git - user/henk/code/inspircd.git/blob - docs/inspircd.conf.example
Configurable prefixes for chanmodes +qa: prefixes can be turned on or off individuall...
[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 #  qprefix       - qprefix is used by the chanprotect module to give  #
779 #                  a visible prefix to users set +q (founder) in chan #
780 #                  It should be set to something sensible like ~ or ! #
781 #                  If not set, no prefix is applied to users with +q  #
782 #                                                                     #
783 #  aprefix       - aprefix is the same as qprefix, except it is for   #
784 #                  giving users with mode +a (protected) a prefix     #
785 #                                                                     #
786 #  deprotectself - If this value is set to yes, true, or 1, then any  #
787 #                  user with +q or +a may remove the +q or +a from    #
788 #                  themselves. The default setting is to not enable   #
789 #                  this feature, which stops even the founder taking  #
790 #                  away their founder status without using services.  #
791 #                                                                     #
792 #  deprotectothers-If this value is set to yes, true, or 1, then any  #
793 #                  user with +q or +a may remove the +q or +a from    #
794 #                  other users. The default setting is to not enable  #
795 #                  this feature, so that only +q may remove +a, and   #
796 #                  nothing but services may remove +q.                #
797 #                                                                     #
798 #  cyclehosts    - If this is set to true, yes or 1, then when a      #
799 #                  user's hostname changes, they will appear to quit  #
800 #                  and then rejoin with their new host. This prevents #
801 #                  clients from being confused by host changes,       #
802 #                  especially in the case of bots, and it is          #
803 #                  recommended that this option is enabled.           #
804 #                                                                     #
805 #  netbuffersize - Size of the buffer used to receive data from       #
806 #                  clients. The ircd may only read() this amount      #
807 #                  of text in one go at any time. (OPTIONAL)          #
808 #                                                                     #
809 #  maxwho        - The maximum number of results returned by a /WHO   #
810 #                  query. This is to prevent /WHO being used as a     #
811 #                  spam vector or means of flooding an ircd. The      #
812 #                  default is 128, it is not recommended to raise it  #
813 #                  above 1024. Values up to 65535 are permitted. If   #
814 #                  this value is omitted, any size WHO is allowed by  #
815 #                  anyone.                                            #
816 #                                                                     #
817 #  somaxconn     - The maximum number of sockets that may be waiting  #
818 #                  in the accept queue. This usually allows the ircd  #
819 #                  to soak up more connections in a shorter space of  #
820 #                  time when increased but please be aware there is a #
821 #                  system defined maximum value to this, the same way #
822 #                  there is a system defined maximum number of file   #
823 #                  descriptors. Some systems may only allow this to   #
824 #                  be up to 5 (ugh) while others such as FreeBSD will #
825 #                  default to a much nicer 128.                       #
826 #                                                                     #
827 #  moduledir     - This optional value indicates a runtime change of  #
828 #                  the location where modules are to be found. This   #
829 #                  does not add a supplementary directory. There can  #
830 #                  only be one module path.                           #
831 #                                                                     #
832 #  softlimit     - This optional feature allows a defined softlimit.  #
833 #                  if defined sets a soft maxconnections value, has   #
834 #                  to be less than the ./configure maxclients         #
835 #                                                                     #
836 #  userstats     - The userstats field is optional and specifies      #
837 #                  which stats characters in /STATS may be requested  #
838 #                  by non-operators. Stats characters in this field   #
839 #                  are case sensitive and are allowed to users        #
840 #                  independent of if they are in a module or the core #
841 #                                                                     #
842 #  operspywhois  - If this is set then when an IRC operator uses      #
843 #                  /WHOIS on a user they will see all channels, even  #
844 #                  ones if channels are secret (+s), private (+p) or  #
845 #                  if the target user is invisible +i.                #
846 #                                                                     #
847 #  customversion - If you specify this configuration item, and it is  #
848 #                  not set to an empty value, then when a user does   #
849 #                  a /VERSION command on the ircd, this string will   #
850 #                  be displayed as the second portion of the output,  #
851 #                  replacing the system 'uname', compile flags and    #
852 #                  socket engine/dns engine names. You may use this   #
853 #                  to enhance security, or simply for vanity.         #
854 #                                                                     #
855 #  maxtargets    - The maxtargets field is optional, and if not       #
856 #                  defined, defaults to 20. It indicates the maximum  #
857 #                  number of targets which may be given to commands   #
858 #                  such as PRIVMSG, KICK etc.                         #
859 #                                                                     #
860 #  hidesplits    - When set to 'yes', will hide split server names    #
861 #                  from non-opers. Non-opers will see '*.net *.split' #
862 #                  instead of the server names in the quit message,   #
863 #                  identical to the way IRCu displays them.           #
864 #                                                                     #
865 #  hidebans      - When set to 'yes', will hide gline, kline, zline   #
866 #                  and qline quit messages from non-opers. For        #
867 #                  example, user A who is not an oper will just see   #
868 #                  (G-Lined) while user B who is an oper will see the #
869 #                  text (G-Lined: Reason here) instead.               #
870 #                                                                     #
871 #  hidewhois     - When defined with a non-empty value, the given     #
872 #                  text will be used in place of the user's server    #
873 #                  in WHOIS, when a user is WHOISed by a non-oper.    #
874 #                  For example, most nets will want to set this to    #
875 #                  something like '*.netname.net' to conceal the      #
876 #                  actual server the user is on.                      #
877 #                                                                     #
878 #  flatlinks     - When you are using m_spanningtree.so, and this     #
879 #                  value is set to yes, true or 1, /MAP and /LINKS    #
880 #                  will be flattened when shown to a non-opers.       #
881 #                                                                     #
882 #  hideulines    - When you are using m_spanningtree.so, and this     #
883 #                  value is set to yes, true or 1, then U-lined       #
884 #                  servers will be hidden in /LINKS and /MAP for non  #
885 #                  opers. Please be aware that this will also hide    #
886 #                  any leaf servers of a U-lined server, e.g. jupes.  #
887 #                                                                     #
888 #  nouserdns     - If set to yes, true or 1, no user DNS lookups      #
889 #                  will be performed for connecting users. This can   #
890 #                  save a lot of resources on very busy IRC servers.  #
891 #                                                                     #
892 #  syntaxhints   - If set to yes, true or 1, when a user does not     #
893 #                  give enough parameters for a command, a syntax     #
894 #                  hint will be given (using the RPL_TEXT numeric)    #
895 #                  as well as the standard ERR_NEEDMOREPARAMS.        #
896 #                                                                     #
897 #  announcets    - If this value is defined to yes, true, or 1, then  #
898 #                  a channels' timestamp is updated, the users on     #
899 #                  the channel will be informed of the change via     #
900 #                  a server notice to the channel with the old and    #
901 #                  new TS values in the timestamp. If you think this  #
902 #                  is just pointless noise, define the value to 0.    #
903 #                                                                     #
904 #  ircumsgprefix - Use undernet style message prefix for channel      #
905 #                  NOTICE and PRIVMSG adding the prefix to the line   #
906 #                  of text sent out. Eg. NOTICE @#test :@ testing     #
907 #                  vs. the off setting: NOTICE @#test :testing        #
908 #                                                                     #
909 #  hostintopic   - If this is set to yes (the default) then the full  #
910 #                  nick!user@host is shown for who set a TOPIC last.  #
911 #                  if set to no, then only the nickname is shown.     #
912 #                                                                     #
913 # announceinvites                                                     #
914 #                - If this option is set, then invites are announced  #
915 #                  to the channel when a user invites another user.   #
916 #                  If you consider this to be unnecessary noise,      #
917 #                  set this to 'none'. To announce to all ops, set    #
918 #                  this to 'ops' and to announce to all users set the #
919 #                  value to 'all'.                                    #
920 #                                                                     #
921 #                  The value 'dynamic' varies between 'ops' and 'all' #
922 #                  settings depending on if the channel is +i or not. #
923 #                  When the channel is +i, messages go only to ops,   #
924 #                  and when the channel is not +i, messages go to     #
925 #                  everyone. In short, the messages will go to every  #
926 #                  user who has power of INVITE on the channel. This  #
927 #                  is the recommended setting.                        #
928 #                                                                     #
929 #  disablehmac   - If you are linking your InspIRCd to older versions #
930 #                  then you can specify this option and set it to     #
931 #                  yes. 1.1.6 and above support HMAC and challenge-   #
932 #                  response for password authentication. These can    #
933 #                  greatly enhance security of your server to server  #
934 #                  connections when you are not using SSL (as is the  #
935 #                  case with a lot of larger networks). Linking to    #
936 #                  older versions of InspIRCd should not *usually* be #
937 #                  a problem, but if you have problems with HMAC      #
938 #                  authentication, this option can be used to turn it #
939 #                  off.                                               #
940 #                                                                     #
941 #  hidemodes     - If this option is enabled, then the listmodes      #
942 #                  given (e.g. +eI), will be hidden from users below  #
943 #                  halfop. This is not recommended to be set on mode  #
944 #                  +b, as it may break some features in popular       #
945 #                  clients such as mIRC.                              #
946 #                                                                     #
947 #  quietbursts   - When synching or splitting from the network, a     #
948 #                  server can generate a lot of connect and quit      #
949 #                  snotices to the +C and +Q snomasks. Setting this   #
950 #                  value to yes squelches those messages, which can   #
951 #                  make them more useful for opers, however it will   #
952 #                  degrade their use by certain third party programs  #
953 #                  such as BOPM which rely on them to scan users when #
954 #                  a split heals in certain configurations.           #
955 #                                                                     #
956 #  serverpingfreq- This value, when set, allows you to change the     #
957 #                  frequency of server to server PING messages. This  #
958 #                  can help if you are having certain network issues. #
959 #                                                                     #
960 #  pingwarning   - This should be set to a number between 1 and 59 if #
961 #                  defined, and if it is defined will cause the server#
962 #                  to send out a warning via snomask +l if a server   #
963 #                  does not answer to PING after this many seconds.   #
964 #                  This can be useful for finding servers which are   #
965 #                  at risk of pinging out due to network issues.      #
966 #                                                                     #
967 #  exemptchanops - This option allows channel operators to be exempted#
968 #                  from certain channel modes.                        #
969 #                  Supported modes are +SfFgNc. Defaults to off.      #
970 #                                                                     #
971 #  defaultmodes  - The default modes to be given to each channel on   #
972 #                  creation. Defaults to 'nt'. There should be no +   #
973 #                  or - symbols in this sequence, if you add them     #
974 #                  they will be ignored. You may add parameters for   #
975 #                  modes which take them.                             #
976 #                                                                     #
977 #  moronbanner   - The NOTICE to show to users who are glined, zlined #
978 #                  klined or qlined when they are disconnected. This  #
979 #                  is totally freeform, you may place any text here   #
980 #                  you wish.                                          #
981 #                                                                     #
982
983 <options prefixquit="Quit: "
984          prefixpart="\""
985          suffixpart="\""
986          loglevel="default"
987          netbuffersize="10240"
988          maxwho="128"
989          noservices="no"
990          qprefix=""
991          aprefix=""
992          deprotectself="no"
993          deprotectothers="no"
994          somaxconn="128"
995          softlimit="12800"
996          userstats="Pu"
997          operspywhois="no"
998          customversion=""
999          maxtargets="20"
1000          hidesplits="no"
1001          hidebans="no"
1002          hidewhois=""
1003          flatlinks="no"
1004          hideulines="no"
1005          nouserdns="no"
1006          syntaxhints="no"
1007          cyclehosts="yes"
1008          ircumsgprefix="no"
1009          announcets="yes"
1010          disablehmac="no"
1011          hostintopic="yes"
1012          hidemodes="eI"
1013          quietbursts="yes"
1014          pingwarning="15"
1015          serverpingfreq="60"
1016          allowhalfop="yes"
1017          defaultmodes="nt"
1018          announceinvites="dynamic"
1019          moronbanner="You're banned! Email haha@abuse.com with the ERROR line below for help."
1020          exemptchanops="">
1021
1022 #-#-#-#-#-#-#-#-#-#-#-#-#-  WHOWAS OPTIONS   -#-#-#-#-#-#-#-#-#-#-#-#-#
1023 #                                                                     #
1024 # This tag lets you define the behaviour of the /whowas command of    #
1025 # your server.                                                        #
1026 #                                                                     #
1027 # groupsize      - Controls the maximum entries per nick shown when   #
1028 #                  performing a /whowas nick. Setting this to 0 dis-  #
1029 #                  ables whowas completely.                           #
1030 #                                                                     #
1031 # maxgroups      - The maximum number of nickgroups that can be added #
1032 #                  to the list. If max is reached, oldest group will  #
1033 #                  be deleted first like a FIFO. A groupsize of 3 and #
1034 #                  a maxgroups of 5000 will allow for 5000 nicks to   #
1035 #                  be stored with a history of 3, thus giving a total #
1036 #                  of 3 * 5000 = 15000 entries. A setting of 0 dis-   #
1037 #                  ables whowas completely.                           #
1038 #                                                                     #
1039 # maxkeep        - The maximum time a nick is kept in the whowas list #
1040 #                  before being pruned. Time may be specified in      #
1041 #                  seconds, or in the following format: 1y2w3d4h5m6s  #
1042 #                  meaning one year, two weeks, three days, 4 hours,  #
1043 #                  5 minutes and 6 seconds. All fields in this format #
1044 #                  are optional. Minimum is 1 hour, if less InspIRCd  #
1045 #                  will default back to 1 hour.                       #
1046 #                                                                     #
1047 #<whowas groupsize="10"                                               #
1048 #        maxgroups="100000"                                           #
1049 #        maxkeep="3d">                                                #
1050
1051
1052 #-#-#-#-#-#-#-#-#-#-#-#-#-  MODULE OPTIONS   -#-#-#-#-#-#-#-#-#-#-#-#-#
1053 #                                                                     #
1054 #  These tags define which modules will be loaded on startup by your  #
1055 #  server. Add modules without any paths. When you make your ircd     #
1056 #  using the 'make' command, all compiled modules will be moved into  #
1057 #  the folder you specified when you ran ./configure. The module tag  #
1058 #  automatically looks for modules in this location.                  #
1059 #  If you attempt to load a module outside of this location, either   #
1060 #  in the config, or via /LOADMODULE, you will receive an error.      #
1061 #                                                                     #
1062 #  By default, ALL modules are commented out. You must uncomment them #
1063 #  or add lines to your config to load modules. Please refer to       #
1064 #  http://www.inspircd.org/wiki/Modules_List for a list of modules and#
1065 #  each modules link for any additional conf tags they require.       #
1066 #                                                                     #
1067 #  You may use wildcards in a <module> tag to load all modules which  #
1068 #  match a glob pattern (e.g. m_sa????.so would load m_sajoin,        #
1069 #  m_sapart, m_saquit and m_sanick)                                   #
1070 #                                                                     #
1071 #    ____                _   _____ _     _       ____  _ _   _        #
1072 #   |  _ \ ___  __ _  __| | |_   _| |__ (_)___  | __ )(_) |_| |       #
1073 #   | |_) / _ \/ _` |/ _` |   | | | '_ \| / __| |  _ \| | __| |       #
1074 #   |  _ <  __/ (_| | (_| |   | | | | | | \__ \ | |_) | | |_|_|       #
1075 #   |_| \_\___|\__,_|\__,_|   |_| |_| |_|_|___/ |____/|_|\__(_)       #
1076 #                                                                     #
1077 # To link servers to InspIRCd, you MUST load the m_spanningtree       #
1078 # module, as shown below. If you DO NOT do this, server links will    #
1079 # NOT work at all. ie. The ports will NOT bind, and /connect will not #
1080 # work properly. This is by design, to allow for the implementation   #
1081 # of other linking protocols in modules in the future.                #
1082
1083 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1084 # Spanning Tree module - allows linking of servers using the spanning
1085 # tree protocol (see the READ THIS BIT section above).
1086 #
1087 #<module name="m_spanningtree.so">
1088
1089
1090 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1091 # MD5 Module - Allows other modules to generate MD5 hashes, usually for
1092 # cryptographic uses and security.
1093 #
1094 # IMPORTANT:
1095 # Other modules such as m_cloaking.so and m_opermd5.so may rely on
1096 # this module being loaded to function.
1097 #
1098 #<module name="m_md5.so">
1099 #
1100 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1101 # SHA256 Module - Allows other modules to generate SHA256 hashes,
1102 # usually for cryptographic uses and security.
1103 #
1104 # IMPORTANT:
1105 # Other modules such as m_opermd5.so may rely on this module being
1106 # loaded to function.
1107 #
1108 #<module name="m_sha256.so">
1109
1110 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1111 # Alias module: Allows you to define server-side command aliases
1112 #<module name="m_alias.so">
1113 #
1114 #-#-#-#-#-#-#-#-#-#-#-  ALIAS DEFINITIONS  -#-#-#-#-#-#-#-#-#-#-#-#-#-#
1115 #                                                                     #
1116 # If you have the m_alias.so module loaded, you may also define       #
1117 # aliases as shown below. They are commonly used to provide shortcut  #
1118 # commands to services, however they are not limited to just this use.#
1119 # An alias tag requires the following values to be defined in it:     #
1120 #                                                                     #
1121 # text        -      The text to detect as the actual command line,   #
1122 #                    Cant contain spaces, but case insensitive.       #
1123 #                    You may have multiple aliases with the same      #
1124 #                    command name (text="" value), however the first  #
1125 #                    found will be executed if its format value is    #
1126 #                    matched, or it has no format value. Aliases are  #
1127 #                    read from the top of the file to the bottom.     #
1128 #                                                                     #
1129 # format      -      If this is defined, the parameters of the alias  #
1130 #                    must match this glob pattern. For example if you #
1131 #                    want the first parameter to start with a # for   #
1132 #                    the alias to be executed, set format="#*" in the #
1133 #                    alias definition. Note that the :'s which are    #
1134 #                    part of IRC formatted lines will be preserved    #
1135 #                    for matching of this text. This value is         #
1136 #                    optional.                                        #
1137 #                                                                     #
1138 # replace     -      The text to replace 'text' with. Usually this    #
1139 #                    will be "PRIVMSG ServiceName :$2-" or similar.   #
1140 #                    You may use the variables $1 through $9 in the   #
1141 #                    replace string, which refer to the first through #
1142 #                    ninth word in the original string typed by the   #
1143 #                    user. You may also use $1- through $9- which     #
1144 #                    refer to the first word onwards, through to the  #
1145 #                    ninth word onwards, e.g. if the user types the   #
1146 #                    command "foo bar baz qux quz" then $3- will hold #
1147 #                    "baz qux quz" and $2 will contain "bar". You may #
1148 #                    also use the special variables: $nick, $ident,   #
1149 #                    $host and $vhost, and you may separate multiple  #
1150 #                    commands with \n. If you wish to use the ACTUAL  #
1151 #                    characters \ and n together in a line, you must  #
1152 #                    use the sequence "\\n".                          #
1153 #                                                                     #
1154 # requires    -      If you provide a value for 'requires' this means #
1155 #                    the given nickname MUST be online for the alias  #
1156 #                    to successfully trigger. If they are not, then   #
1157 #                    the user receives a 'no such nick' 401 numeric.  #
1158 #                                                                     #
1159 # uline       -      Defining this value with 'yes', 'true' or '1'    #
1160 #                    will ensure that the user given in 'requires'    #
1161 #                    must also be on a u-lined server, as well as     #
1162 #                    actually being on the network. If the user is    #
1163 #                    online, but not on a u-lined server, then an     #
1164 #                    oper-alert is sent out as this is possibly signs #
1165 #                    of a user trying to impersonate a service.       #
1166 #                                                                     #
1167 # operonly    -      Defining this value, with a value of 'yes', '1'  #
1168 #                    or true will make the alias oper only. If a non- #
1169 #                    oper attempts to use the alias, it will appear   #
1170 #                    to not exist.                                    #
1171 #                                                                     #
1172 #<alias text="NICKSERV" replace="PRIVMSG NickServ :$2-" requires="NickServ" uline="yes">
1173 #<alias text="CHANSERV" replace="PRIVMSG ChanServ :$2-" requires="ChanServ" uline="yes">
1174 #<alias text="OPERSERV" replace="PRIVMSG OperServ :$2-" requires="OperServ" uline="yes" operonly="yes">
1175 #<alias text="NS" replace="PRIVMSG NickServ :$2-" requires="NickServ" uline="yes">
1176 #<alias text="CS" replace="PRIVMSG ChanServ :$2-" requires="ChanServ" uline="yes">
1177 #<alias text="OS" replace="PRIVMSG OperServ :$2-" requires="OperServ" uline="yes" operonly="yes">
1178 #
1179 # An example of using the format value to create an alias with two
1180 # different behaviours depending on the format of the parameters.
1181 #
1182 #<alias text="ID" format="#*" replace="PRIVMSG ChanServ :IDENTIFY $2 $3"
1183 #  requires="ChanServ" uline="yes">
1184 #
1185 #<alias text="ID" replace="PRIVMSG NickServ :IDENTIFY $2"
1186 #  requires="NickServ" uline="yes">
1187 #
1188 # This alias fixes a glitch in xchat 2.6.x and above and the way it
1189 # assumes IDENTIFY must be prefixed by a colon (:) character. It should
1190 # be placed ABOVE the default NICKSERV alias (the first example) listed
1191 # above.
1192 #
1193 #<alias text="NICKSERV" format=":IDENTIFY *" replace="PRIVMSG NickServ :IDENTIFY $3-"
1194 #  requires="NickServ" uline="yes">
1195
1196 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1197 # Alltime module: Shows time on all connected servers at once
1198 #<module name="m_alltime.so">
1199
1200 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1201 # Antibear security module: Prevents 'bear.txt' based trojans from
1202 # connecting to your network by sending them a numeric they can't handle.
1203 #<module name="m_antibear.so">
1204
1205 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1206 # Antibottler module: Labels bottler leech bots
1207 #<module name="m_antibottler.so">
1208
1209 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1210 # Auditorium module: Adds channel mode +u which makes everyone else
1211 # except you in the channel invisible, used for large meetings etc.
1212 #<module name="m_auditorium.so">
1213 #
1214 # Auditorium settings:
1215 #
1216 #<auditorium showops="no" operoverride="no">
1217 #
1218 # showops:
1219 #   Setting this value to yes makes m_auditorium behave like unrealircd
1220 #   +u channel mode, e.g. ops see users joining, parting, etc, and users
1221 #   joining the channel see the ops. Without this flag, the mode acts
1222 #   like ircnet's +a (anonymous channels), showing only the user in the
1223 #   names list, and not even showing the ops in the list, or showing the
1224 #   ops that the user has joined.
1225 # operoverride:
1226 #   Setting this value to yes makes m_auditorium affect the userlist for
1227 #   regular users only. Opers will view all users in the channel normally.
1228
1229 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1230 # Ban except module: Adds support for channel ban exceptions (+e)
1231 #<module name="m_banexception.so">
1232
1233 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1234 # Ban redirection module: Allows bans which redirect to a specified
1235 # channel. e.g. +b nick!ident@host#channelbanneduserissentto
1236 #<module name="m_banredirect.so">
1237
1238 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1239 # Block amsg module: Attempt to block all usage of /amsg and /ame
1240 #<module name="m_blockamsg.so">
1241 #
1242 #-#-#-#-#-#-#-#-#-#-#-  BLOCKAMSG CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
1243 #                                                                     #
1244 # If you have the m_blockamsg.so module loaded, you can configure it  #
1245 # with the <blockamsg> tag:                                           #
1246 #                                                                     #
1247 # delay          -   How many seconds between two messages to force   #
1248 #                    them to be recognised as unrelated.              #
1249 # action         -   Any of 'notice', 'noticeopers', 'silent', 'kill' #
1250 #                    or 'killopers'. Define how to take action when   #
1251 #                    a user uses /amsg or /ame.                       #
1252 #
1253 #<blockamsg delay="3" action="killopers">
1254
1255 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1256 # Block CAPS module: Blocking all-CAPS messages with cmode +P
1257 #<module name="m_blockcaps.so">
1258 #                                                                     #
1259 #-#-#-#-#-#-#-#-#-#-#-  BLOCKCAPS CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
1260 #                                                                     #
1261 # percent        - How many percent of text must be caps before text  #
1262 #                  will be blocked.                                   #
1263 #                                                                     #
1264 # minlen         - The minimum length a line must be for the block    #
1265 #                  percent to have any effect.                        #
1266 #                                                                     #
1267 # capsmap        - A list of chars to be considered CAPS, this was    #
1268 #                  you can add CAPS for your language. Also you can   #
1269 #                  add things like ! and space to further lock down   #
1270 #                  on caps usage.                                     #
1271 #<blockcaps percent="50"
1272 #           minlen="5"
1273 #           capsmap="ABCDEFGHIJKLMNOPQRSTUVWXYZ! ">
1274
1275 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1276 # Block colour module: Blocking colour-coded messages with cmode +c
1277 #<module name="m_blockcolor.so">
1278
1279 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1280 # Botmode module: Adds the user mode +B
1281 #<module name="m_botmode.so">
1282
1283 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1284 # CallerID module: Adds usermode +g which activates hybrid-style 
1285 # callerid (== block all private messages unless you /accept first)
1286 #<module name="m_callerid.so">
1287
1288 #-#-#-#-#-#-#-#-#-#-#- CALLERID  CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
1289 # maxaccepts     - Maximum number of entires a user can add to his    #
1290 #                  /accept list. Default is 16 entries.               #
1291 # operoverride   - Can opers (note: ALL opers) ignore callerid mode?  #
1292 #                  Default is no.                                     #
1293 # tracknick      - Preserve /accept entries when a user changes nick? #
1294 #                  If no (the default), the user is removed from      #
1295 #                  everyone's accept list if he changes nickname.     #
1296 # cooldown       - Amount of time (in seconds) that must pass since   #
1297 #                  the last notification sent to a user before he can #
1298 #                  be sent another. Default is 60 (1 minute).         #
1299 #<callerid maxaccepts="16"
1300 #          operoverride="no"
1301 #          tracknick="no"
1302 #          cooldown="60"
1303
1304 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1305 # CBAN module: Lets you disallow channels from being used at runtime.
1306 #<module name="m_cban.so">
1307
1308 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1309 # Censor module: Adds the channel mode +G
1310 #<module name="m_censor.so">
1311 #
1312 #-#-#-#-#-#-#-#-#-#-#-  CENSOR  CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#-#
1313 #                                                                     #
1314 # Optional - If you specify to use the m_censor module, then you must #
1315 # specify some censor tags. See also:                                 #
1316 # http://www.inspircd.org/wiki/Censor_Module                          #
1317 #
1318 #<include file="censor.conf">
1319
1320 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1321 # CGI:IRC module: Adds support for automatic host changing in CGI:IRC
1322 # (http://cgiirc.sourceforge.net).
1323 #<module name="m_cgiirc.so">
1324 #
1325 #-#-#-#-#-#-#-#-#-#-#-# CGIIRC  CONFIGURATION #-#-#-#-#-#-#-#-#-#-#-#-#
1326 #
1327 # Optional - If you specify to use m_cgiirc, then you must specify one
1328 # or more cgihost tags which indicate authorised CGI:IRC servers which
1329 # will be connecting to your network, and an optional cgiirc tag.
1330 # For more information see: http://www.inspircd.org/wiki/CGI-IRC_Module
1331 #
1332 # Set to yes if you want to notice opers when CGI clients connect
1333 # <cgiirc opernotice="no">
1334 #
1335 # The type field indicates where the module should get the real
1336 # client's IP address from, for further information, please see the
1337 # CGI:IRC documentation.
1338 #
1339 # <cgihost type="pass" mask="www.mysite.com">       # Get IP from PASS
1340 # <cgihost type="webirc" mask="somebox.mysite.com"> # Get IP from WEBIRC
1341 # <cgihost type="ident" mask="otherbox.mysite.com"> # Get IP from ident
1342 # <cgihost type="passfirst" mask="www.mysite.com">  # See the docs
1343 #
1344 # IMPORTANT NOTE:
1345 # ---------------
1346 #
1347 # When you connect CGI:IRC clients, there are two connect classes which
1348 # apply to these clients. When the client initially connects, the connect
1349 # class which matches the cgi:irc site's host is checked. Therefore you
1350 # must raise the maximum local/global clients for this ip as high as you
1351 # want to allow cgi clients. After the client has connected and is
1352 # determined to be a cgi:irc client, the class which matches the client's
1353 # real IP is then checked. You may set this class to a lower value, so that
1354 # the real IP of the client can still be restricted to, for example, 3
1355 # sessions maximum.
1356 #
1357
1358
1359 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1360 # Channel create module: Adds snomask +j, which will notify opers of
1361 # any new channels that are created
1362 #<module name="m_chancreate.so">
1363
1364 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1365 # Channel filter module: Allows channel-op defined message
1366 # filtering using simple string matches (channel mode +g)
1367 #<module name="m_chanfilter.so">
1368
1369 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1370 # Chanprotect module: gives +q and +a channel modes
1371 #<module name="m_chanprotect.so">
1372
1373 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1374 # Check module: gives /check
1375 # Check is useful for looking up information on channels,
1376 # users, IP addresses and hosts.
1377 #<module name="m_check.so">
1378
1379 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1380 # CHGHOST module: Adds the /CHGHOST command
1381 #<module name="m_chghost.so">
1382 #
1383 #-#-#-#-#-#-#-#-# /CHGHOST - /SETHOST  CONFIGURATION #-#-#-#-#-#-#-#-#
1384 # Optional - If you want to use special chars for hostnames you can  #
1385 # specify your own custom list of chars with the <hostname> tag:     #
1386 #                                                                    #
1387 # charmap        - A list of chars accepted as valid by the /CHGHOST #
1388 #                  and /SETHOST commands. Also note that the list is # 
1389 #                  case-sensitive.                                   #
1390 #<hostname charmap="abcdefghijklmnopqrstuvwxyz.-_/0123456789">
1391
1392 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1393 # CHGIDENT module: Adds the /CHGIDENT command
1394 #<module name="m_chgident.so">
1395
1396 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1397 # CHGNAME module: Adds the /CHGNAME command
1398 #<module name="m_chgname.so">
1399
1400 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1401 # Cloaking module: Adds usermode +x and cloaking support.
1402 # Relies on the module m_md5.so being loaded before m_cloaking.so in
1403 # the configuration file.
1404 #<module name="m_cloaking.so">
1405 #
1406 #-#-#-#-#-#-#-#-#-#-#- CLOAKING  CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
1407 #                                                                     #
1408 # Optional - If you specify the m_cloaking.so module as above, you    #
1409 # must define cloak keys, and optionally a cloak prefix as shown      #
1410 # below. When using cloaking, the cloak keys are MANDITORY and must   #
1411 # be included. However, if prefix is not included, it will default    #
1412 # to your networks name from the <server> tag. You can also include   #
1413 # the following optional values:                                      #
1414 #                                                                     #
1415 #   ipalways         - Always cloak the IP address, not the hostname, #
1416 #                      which doesn't reveal the user's ISP, but       #
1417 #                      results in hosts that are harder to read and   #
1418 #                      ban.                                           #
1419 #                                                                     #
1420 #   lowercase        - Display the cloaked hostnames in lowercase     #
1421 #                      characters instead of uppercase                #
1422 #                                                                     #
1423 # <cloak key1="0x2AF39F40"                                            #
1424 #        key2="0x78E10B32"                                            #
1425 #        key3="0x4F2D2E82"                                            #
1426 #        key4="0x043A4C81"                                            #
1427 #        prefix="mynet"                                               #
1428 #        ipalways="false"                                             #
1429 #        lowercase="false">                                           #
1430 #                                                                     #
1431 # Please note that the key values will accept any number, and should  #
1432 # be large numbers. Using small numbers such as "7" or "1924" will    #
1433 # seriously weaken the security of your cloak. It is recommended you  #
1434 # use hexdecimal numbers prefixed by "0x", as shown in this example,  #
1435 # with each key eight hex digits long.                                #
1436
1437 #-#-#-#-#-#-#-#-#-#-#-#- CLOSE MODULE #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1438 # Close module: Allows an oper to close all unregistered connections.
1439 #<module name="m_close.so">
1440
1441 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1442 # Clones module: Adds an oper command /CLONES for detecting cloned
1443 # users. Warning: This module may be resource intensive when its
1444 # command is issued, use with care.
1445 #<module name="m_clones.so">
1446
1447 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1448 # Common channels module: Adds user mode +c, which, when set, requires
1449 # that users must share a common channel with you to PRIVMSG or NOTICE
1450 # you.
1451 #<module name="m_commonchans.so">
1452
1453 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1454 # Conn-Join: Allows you to force users to join one or more channels
1455 # automatically upon connecting to the server.
1456 #<module name="m_conn_join.so">
1457 #
1458 #-#-#-#-#-#-#-#-#-#-#-#- CONNJOIN CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
1459 #
1460 # If you have m_conn_join.so loaded, you can configure it using the
1461 # follow values:
1462 #
1463 #<autojoin channel="#one,#two,#three">
1464
1465 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1466 # Conn-Usermodes: Set modes on users when they connect
1467 # When this module is loaded <connect:allow> tags may have an optional
1468 # modes="" value, which contains modes to add or remove from users
1469 # when they connect to the server.
1470 #<module name="m_conn_umodes.so">
1471
1472 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1473 # Conn-Wait-for-Pong: Don't let a user connect until they PONG
1474 #<module name="m_conn_waitpong.so">
1475 #
1476 #-#-#-#-#-#-#-#-#-#-#-   WAITPONG CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
1477 #                                                                     #
1478 # If you have the m_conn_waitpong.so module loaded, configure it with #
1479 # the <waitpong> tag:                                                 #
1480 #                                                                     #
1481 # sendsnotice    -   Whether to send a snotice on connect, like other #
1482 #                    older ircds                                      #
1483 #                                                                     #
1484 # killonbadreply -   Whether to kill the user if they send the wrong  #
1485 #                    PONG reply.                                      #
1486 #                                                                     #
1487 #<waitpong sendsnotice="yes" killonbadreply="yes">
1488
1489
1490 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1491 # Channel cycle module. Server side /hop, with +ilk etc bypass.
1492 #<module name="m_cycle.so">
1493
1494 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1495 # Connection throttle module. Configuration:
1496 #<module name="m_connflood.so">
1497 #
1498 #-#-#-#-#-#-#-#-#-#-#- CONTHROTTLE CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
1499 #  seconds, maxconns -  Amount of connections per <seconds>.
1500 #
1501 #  timeout           -  Time to wait after the throttle was activated
1502 #                       before deactivating it. Be aware that the time
1503 #                       is seconds + timeout.
1504 #
1505 #  quitmsg           -  The message that users get if they attempt to
1506 #                       connect while the throttle is active.
1507 #
1508 #  bootwait          -  Amount of time to wait before enforcing the
1509 #                       throttling when the server just booted.
1510 #
1511 #<connflood seconds="30" maxconns="3" timeout="30"
1512 #   quitmsg="Throttled" bootwait="10">
1513
1514 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1515 # Custom title module: Adds the /TITLE command which allows for trusted
1516 #                      users to gain a custom whois line and a optional
1517 #                      vhost can be specified.
1518 #<module name="m_customtitle.so">
1519 #
1520 #-#-#-#-#-#-#-#-#-#-  CUSTOM TITLE CONFIGURATION   -#-#-#-#-#-#-#-#-#-#
1521 #  name              - The username used to identify 
1522 #  password          - The password used to identify
1523 #  host              - Allowed hostmask [optional]
1524 #  title             - Title shown in whois
1525 #  vhost             - Displayed host [optional]
1526 #
1527 #<title name="foo" password="bar" title="Official Chat Helper">
1528 #<title name="bar" password="foo" host="ident@host.name" title="Official Chat Helper" vhost="helper.network.chat">
1529
1530 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1531 # DCCALLOW module: Adds the /DCCALLOW command
1532 #<module name="m_dccallow.so">
1533 #
1534 #-#-#-#-#-#-#-#-#-#-#-  DCCALLOW CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
1535 #  blockchat         - Whether to block DCC CHAT as well as DCC SEND
1536 #  length            - Default duration of entries in DCCALLOW list
1537 #  action            - Default action to take if no action is specified
1538 #                      can be 'block' or 'allow'
1539 #
1540 # File configuration:
1541 #  pattern           - The glob pattern to match against
1542 #  action            - Action to take if a user attempts to send a file
1543 #                      that matches this pattern, can be 'block' or 'allow'
1544 #
1545 #<dccallow blockchat="yes" length="5m" action="block">
1546 #<banfile pattern="*.exe" action="block">
1547 #<banfile pattern="*.txt" action="allow">
1548 #
1549 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1550
1551 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1552 # Deaf module: adds support for ircu style usermode +d - deaf to
1553 # channel messages and channel notices.
1554 #<module name="m_deaf.so">
1555
1556 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1557 # Delay join module: Adds the channel mode +D which delays all JOIN
1558 # messages from users until they speak. If they quit or part before
1559 # speaking, their quit or part message will not be shown to the channel
1560 # which helps cut down noise on large channels in a more friendly way
1561 # than the auditorium mode. Only channel ops may set the +D mode.
1562 #<module name="m_delayjoin.so">
1563
1564 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1565 # Deny Channels: Deny Channels from being used by users
1566 #<module name="m_denychans.so"> 
1567 #
1568 #-#-#-#-#-#-#-#-#-#-#-   DENYCHAN DEFINITIONS  -#-#-#-#-#-#-#-#-#-#-#-#
1569 #                                                                     #
1570 # If you have the m_denychans.so module loaded, you need to specify   #
1571 # the channels to deny:                                               #
1572 #                                                                     #
1573 # name        -      The channel name to deny. (glob masks are ok)    #
1574 #                                                                     #
1575 # allowopers  -      If operators are allowed to override the deny.   #
1576 #                                                                     #
1577 # reason      -      Reason given for the deny.                       #
1578 #                                                                     #
1579 # redirect    -      Redirect the user to a different channel         #
1580 #                                                                     #
1581 #<badchan name="#gods*" allowopers="yes" reason="Tortoises!">         #
1582 #<badchan name="#heaven" redirect="#hell" reason="Nice try!">         #
1583 #                                                                     #
1584 # Redirects will not work if the target channel is set +L.            #
1585 #                                                                     #
1586 # Additionally, you may specify channels which are allowed, even if   #
1587 # a badchan tag specifies it would be denied:                         #
1588 #<goodchan name="#godsleeps">                                         #
1589 # Glob masks are accepted here also.
1590
1591 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1592 # Devoice Module: Let users devoice themselves.
1593 #<module name="m_devoice.so">
1594
1595 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1596 # DNS Blacklist Module: Provides support for looking up IPs on one or #
1597 # more blacklists.                                                    #
1598 #<module name="m_dnsbl.so">                                           #
1599 #                                                                     #
1600 # For configuration options please see the wiki page for m_dnsbl at   #
1601 # http://inspircd.org/wiki/DNS_Blacklist_Module                       #
1602
1603 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1604 # Filter module: Provides glob-based message filtering
1605 #<module name="m_filter.so">
1606 # OR
1607 # PCRE filter module: Filters messages using regular expressions
1608 #<module name="m_filter_pcre.so">
1609 #
1610 # You may only use one or the other with these modules, network-wide.
1611 #
1612 #-#-#-#-#-#-#-#-#-#-#-  FILTER  CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#-#
1613 #                                                                     #
1614 # Optional - If you specify to use the m_filter or m_filter_pcre      #
1615 # modules, then specfiy below the path to the filter.conf file,       #
1616 # or define some <filter> tags.                                       #
1617 #                                                                     #
1618 #<include file="filter.conf">
1619
1620 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1621 # Foobar module: does nothing - historical relic
1622 #<module name="m_foobar.so">
1623
1624 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1625 # GeoIP module: Allows the server admin to ban users by country code.
1626 #<module name="m_geoip.so">
1627 #
1628 #-#-#-#-#-#-#-#-#-#-#-#  GEOIP CONFIGURATION  #-#-#-#-#-#-#-#-#-#-#-#-#
1629 #                                                                     #
1630 # <geoip banunknown="false">                                          #
1631 #                                                                     #
1632 # Set this value to true or yes to block unknown IP ranges which are  #
1633 # not in the database (usually LAN addresses, localhost, etc)         #
1634 #                                                                     #
1635 # <geoban country="TR" reason="This country not permitted">           #
1636 #                                                                     #
1637 # Use one or more of these tags to ban countries by country code.     #
1638 # The country code must be in capitals and should be an ISO country   #
1639 # code such as TR, GB, or US.                                         #
1640
1641 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1642 # Globops module: gives /GLOBOPS and usermode +g
1643 #<module name="m_globops.so">
1644
1645 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1646 # Global load module: Allows loading and unloading of modules network-
1647 # wide (USE WITH EXTREME CAUTION!)
1648 #<module name="m_globalload.so">
1649
1650 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1651 # HELPOP module: Provides the /HELPOP command
1652 #<module name="m_helpop.so">
1653 #
1654 #-#-#-#-#-#-#-#-#-#-#-#-  HELPOP  CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
1655 #                                                                     #
1656 # Optional - If you specify to use the m_helpop.so module, then       #
1657 # specify below the path to the helpop.conf file, or if you like to   #
1658 # make a mess, define your helpop tags in this conf.                  #
1659 #                                                                     #
1660 #<include file="helpop.conf">
1661
1662 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1663 # HIDECHANS module: Allows opers to hide their channels list from non-
1664 # opers by setting user mode +I on themselves.
1665 # <module name="m_hidechans.so">
1666
1667 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1668 # HIDEOPER module: Allows opers to hide their oper status from non-
1669 # opers by setting user mode +H on themselves.
1670 # <module name="m_hideoper.so">
1671
1672 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1673 # Hostchange module: Allows a different style of cloaking
1674 #<module name="m_hostchange.so">
1675 #
1676 #-#-#-#-#-#-#-#-#-#-#-  HOSTCHANGE  CONFIGURATION  -#-#-#-#-#-#-#-#-#-#
1677 #                                                                     #
1678 # Optional - If you choose to use the m_hostchange.so module.         #
1679 # Config Help -  See http://www.inspircd.org/wiki/Host_Changer_Module #
1680 #                                                                     #
1681 #<host suffix="polarbears.org" separator="." prefix="">
1682 #<hostchange mask="*@fbi.gov" action="addnick">
1683 #<hostchange mask="*r00t@*" action="suffix">
1684 #<hostchange mask="a@b.com" action="set" value="blah.blah.blah">
1685 #<hostchange mask="localhost" ports="7000,7001,7005-7007" action="set" value="blahblah.foo">
1686
1687 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1688 # httpd module: Provides http server support for InspIRCd
1689 #<module name="m_httpd.so">
1690 #
1691 #-#-#-#-#-#-#-#-#-#-#-#-  HTTPD   CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
1692 #
1693 # Optional - If you choose to use the m_httpd.so module,  then you must
1694 # specify the port number and other details of your http server:
1695 #
1696 #<http ip="192.168.1.10" host="brainwave" port="32006"
1697 #      index="/home/brain/inspircd/http/index.html">
1698 #
1699 # You may have as many of these tags as you wish, each with a different
1700 # IP, port, host or index file. Each one will act as an independent
1701 # HTTP server.
1702 #
1703
1704 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1705 # http stats module: Provides basic stats pages over HTTP
1706 # Requires m_httpd.so to be loaded for it to function.
1707 #<module name="m_httpd_stats.so">
1708 #
1709 #-#-#-#-#-#-#-#-#-#-#-#- HTTPD STATS CONFIGURATION -#-#-#-#-#-#-#-#-#-#
1710 #
1711 #<httpstats stylesheet="http://remote.style/sheet.css">
1712 #
1713
1714 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1715 # Ident: Provides RFC 1413 ident lookup support
1716 #<module name="m_ident.so">
1717 #
1718 #-#-#-#-#-#-#-#-#-#-#-#-   IDENT CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
1719 #                                                                     #
1720 # Optional - If you are using the m_ident.so module, then you can     #
1721 # specify the timeout for ident lookups here. If not defined, it will #
1722 # default to one second. This is a non-blocking timeout which holds   #
1723 # the user in a 'connecting' state until the lookup is complete.      #
1724 # The bind value indicates which IP to bind outbound requests to.     #
1725 #                                                                     #
1726 #<ident timeout="5" bind="">                                          #
1727
1728 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1729 # Invite except module: Adds support for channel invite exceptions (+I)
1730 #<module name="m_inviteexception.so">
1731
1732 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1733 # Invisible module - Adds support for usermode +Q (quiet) which lets an
1734 # oper go 'invisible' similar to unrealircd 3.1's +I mode. Note that
1735 # opers are still able to see invisible users, and if an oper with +Q
1736 # deopers, they will become visible. 
1737
1738 # IMPORTANT NOTE: To allow this mode to be used by a type of oper, you
1739 # must first add the value canquiet="yes" to that oper's type tag.
1740 #
1741 #<module name="m_invisible.so">
1742
1743 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1744 # Join flood module: Adds support for join flood protection (+j)
1745 #<module name="m_joinflood.so">
1746
1747 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1748 # Jump Server module: Adds support for the RPL_REDIR numeric
1749 #<module name="m_jumpserver.so">
1750
1751 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1752 # Anti-Auto-Rejoin: Adds support for prevention of auto-rejoin (+J)
1753 #<module name="m_kicknorejoin.so">
1754
1755 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1756 # Knock module: adds the /KNOCK command and +K channel mode
1757 #<module name="m_knock.so">
1758
1759 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1760 # LDAP authentication module: Adds the ability to authenticate users  #
1761 # via LDAP. This is an extra module which must be enabled explicitly  #
1762 # by symlinking it from modules/extra, and requires the OpenLDAP libs #
1763 #                                                                     #
1764 #<module name="m_ldapauth.so">                                        #
1765 #                                                                     #
1766 # Configuration:                                                      #
1767 #                                                                     #
1768 # <ldapauth baserdn="ou=People,dc=brainbox,dc=cc"                     #
1769 #           attribute="uid"                                           #
1770 #           server="ldap://brainwave.brainbox.cc"                     #
1771 #           allowpattern="Guest*"                                     #
1772 #           killreason="Access denied"                                #
1773 #           searchscope="subtree"                                     #
1774 #           binddn="cn=Manager,dc=brainbox,dc=cc"                     #
1775 #           bindauth="mysecretpass"                                   #
1776 #           verbose="yes">                                            #
1777 #                                                                     #
1778 # The baserdn indicates the base DN to search in for users. Usually   #
1779 # this is 'ou=People,dc=yourdomain,dc=yourtld'.                       #
1780 #                                                                     #
1781 # The attribute value indicates the attribute which is used to locate #
1782 # a user account by name. On POSIX systems this is usually 'uid'.     #
1783 #                                                                     #
1784 # The server parameter indicates the LDAP server to connect to. The   #
1785 # ldap:// style scheme before the hostname proper is MANDITORY.       #
1786 #                                                                     #
1787 # The allowpattern value allows you to specify a wildcard mask which  #
1788 # will always be allowed to connect regardless of if they have an     #
1789 # account, for example guest users.                                   #
1790 #                                                                     #
1791 # Killreason indicates the QUIT reason to give to users if they fail  #
1792 # to authenticate.                                                    #
1793 #                                                                     #
1794 # The searchscope value indicates the subtree to search under. On our #
1795 # test system this is 'subtree'. Your mileage may vary.               #
1796 #                                                                     #
1797 # Setting the verbose value causes an oper notice to be sent out for  #
1798 # every failed authentication to the server, with an error string.    #
1799 #                                                                     #
1800 # The binddn and bindauth indicate the DN to bind to for searching,   #
1801 # and the password for the distinguished name. Some LDAP servers will #
1802 # allow anonymous searching in which case these two values do not     #
1803 # need defining, otherwise they should be set similar to the examples #
1804 # above.                                                              #
1805
1806 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1807 # Lock server module: Adds /LOCKSERV and /UNLOCKSERV commands that is #
1808 # used to temporarily close/open for new connections to the server.   #
1809 # These commands require OPER status and that the LOCKSERV UNLOCKSERV #
1810 # are specified in a <class> tag that the oper is part of. This is so #
1811 # you can control who has access to this possible dangerous command.  #
1812 # If your server is locked and you got disconnected, do a REHASH from #
1813 # shell to open up again.
1814 #<module name="m_lockserv.so">
1815
1816 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1817 # Msg flood module: Adds message/notice flood protection (+f)
1818 #<module name="m_messageflood.so">
1819
1820 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1821 # MsSQL module: Allows other SQL modules to access MS SQL Server 
1822 # through a unified API. You must copy the source for this module
1823 # from the directory src/modules/extra, plus the file m_sqlv2.h
1824 #<module name="m_mssql.so">
1825 #
1826 #-#-#-#-#-#-#-#-#-#-#-#- SQL CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#-#
1827 #                                                                     #
1828 # m_mssql.so is more complex than described here, see wiki for more   #
1829 # info http://www.inspircd.org/wiki/SQLServer_Service_Provider_Module #
1830 #
1831 #<database name="db" username="user" password="pass" hostname="localhost" id="db1">
1832
1833 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1834 # MySQL module: Allows other SQL modules to access MySQL databases
1835 # through a unified API. You must copy the source for this module
1836 # from the directory src/modules/extra, plus the file m_sqlv2.h
1837 #<module name="m_mysql.so">
1838 #
1839 #-#-#-#-#-#-#-#-#-#-#-#- SQL CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#-#
1840 #                                                                     #
1841 # m_mysql.so is more complex than described here, see the wiki for    #
1842 # more: http://www.inspircd.org/wiki/SQL_Service_Provider_Module      #
1843 #
1844 #<database name="mydb" username="myuser" password="mypass" hostname="localhost" id="my_database2">
1845
1846 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1847 # NAMESX module: Provides support for the NAMESX extension which allows
1848 # clients to see all the prefixes set on a user without getting confused.
1849 # This is supported by mIRC, x-chat, klient, and maybe more.
1850 #<module name="m_namesx.so">
1851
1852 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1853 # Nickchange flood protection module: Allows up to X nick changes in Y seconds.
1854 # Provides channel mode +F.
1855 #<module name="m_nickflood.so">
1856
1857 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1858 # Nicklock module: Let opers change a user's nick and then stop that
1859 # user from changing their nick again.
1860 #<module name="m_nicklock.so">
1861
1862 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1863 # No ctcp module: Adds the channel mode +C to block CTCPs
1864 #<module name="m_noctcp.so">
1865
1866 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1867 # Noinvite module: Gives channel mode +V
1868 #<module name="m_noinvite.so">
1869
1870 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1871 # No kicks module: Adds the +Q channel mode
1872 #<module name="m_nokicks.so">
1873
1874 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1875 # No nicks module: Adds the +N channel mode
1876 #<module name="m_nonicks.so">
1877
1878 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1879 # No Notice module: adds the channel mode +T
1880 #<module name="m_nonotice.so">
1881
1882 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1883 # Oper channels mode: Adds the +O channel mode
1884 #<module name="m_operchans.so">
1885
1886 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1887 # Oper Join module: Forces opers to join a channel on oper-up
1888 #<module name="m_operjoin.so">
1889 #
1890 #-#-#-#-#-#-#-#-#-#-#   OPERJOIN CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
1891 #                                                                     #
1892 # If you are using the m_operjoin.so module, specify options here:    #
1893 #                                                                     #
1894 # channel     -      The channel name to join, can also be a comma    #
1895 #                    seperated list eg. "#channel1,#channel2".        #
1896 #                                                                     #
1897 # override    -      Lets the oper join walking thru any modes that   #
1898 #                    might be set, even bans. Use "yes" or "no".      #
1899 #                                                                     #
1900 #<operjoin channel="#channel" override="no">
1901
1902 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1903 # Oper MOTD module: Provides support for seperate message of the day
1904 # on oper-up
1905 #<module name="m_opermotd.so">
1906 #
1907 #-#-#-#-#-#-#-#-#-#-#   OPERMOTD CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
1908 #                                                                     #
1909 # If you are using the m_opermotd.so module, specify the motd here    #
1910 #                                                                     #
1911 #<opermotd file="oper.motd">
1912
1913 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1914 # Override module: Adds support for oper override
1915 #<module name="m_override.so">
1916 #
1917 #-#-#-#-#-#-#-#-#-#-#   OVERRIDE CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
1918 #                                                                     #
1919 # m_override.so is too complex it describe here, see the wiki:        #
1920 # http://www.inspircd.org/wiki/Oper_Override_Module                   #
1921
1922 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1923 # Oper levels module: Gives each oper a level and prevents
1924 # actions being taken against higher level opers
1925 # Specify the level as the 'level' parameter of the <type> tag
1926 #<module name="m_operlevels.so">
1927
1928 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1929 # Oper modes module: Allows you to specify modes to add/remove on oper
1930 # Specify the modes as the 'modes' parameter of the <type> tag
1931 # and/or as the 'modes' parameter of the <oper> tag.
1932 #<module name="m_opermodes.so">
1933
1934 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1935 # Oper password hash module: Allows hashed oper passwords
1936 # Relies on the module m_md5.so and/or m_sha256.so being loaded before
1937 # m_password_hash.so in the configuration file.
1938 #<module name="m_password_hash.so">
1939 #
1940 #-#-#-#-#-#-#-#-#-#-# OPER HASH CONFIGURATION #-#-#-#-#-#-#-#-#-#-#-#-#
1941 #
1942 # To use this module, you must define a hash type for each oper's
1943 # password you want to hash. For example:
1944 #
1945 #     <oper name="Brain"
1946 #           host="ident@dialup15.isp.com"
1947 #           hash="sha256"
1948 #           password="a41d730937a53b79f788c0ab13e9e1d5"
1949 #           type="NetAdmin">
1950
1951 # The types of hashing available vary depending on which hashing modules
1952 # you load, but usually if you load m_sha256.so and m_md5.so, both md5
1953 # and sha256 type hashing will be available (the most secure of which
1954 # is SHA256).
1955
1956 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1957 # PostgreSQL module: Allows other SQL modules to access PgSQL databases
1958 # through a unified API. You must copy the source for this module
1959 # from the directory src/modules/extra, plus the file m_sqlv2.h
1960 #<module name="m_pgsql.so">
1961 #
1962 #-#-#-#-#-#-#-#-#-#-#-#- SQL CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#-#
1963 #                                                                     #
1964 # m_pgsql.so is more complex than described here, see the wiki for    #
1965 # more: http://www.inspircd.org/wiki/SQL_Service_Provider_Module      #
1966 #
1967 #<database name="mydb" username="myuser" password="mypass" hostname="localhost" id="my_database" ssl="no">
1968
1969 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1970 # Random Quote module: provides a random quote on connect.
1971 # NOTE: Some of these may mimic fatal errors and confuse users and 
1972 # opers alike! - BEWARE!
1973 #<module name="m_randquote.so">
1974 #
1975 #-#-#-#-#-#-#-#-#-#-  RANDOMQUOTES CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
1976 #                                                                     #
1977 # Optional - If you specify to use the m_randquote.so module, then    #
1978 # specify below the path to the randquotes.conf file.                 #
1979 #                                                                     #
1980 #<randquote file="randquotes.conf">
1981
1982 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1983 # Redirect module: Adds channel redirection (mode +L)
1984 #<module name="m_redirect.so">
1985
1986 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1987 # Registered users only channel creation
1988 # Allows only registered users and opers to create new channels.
1989 #<module name="m_regonlycreate.so">
1990
1991 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1992 # Remove module: Adds the /REMOVE command which is a peaceful
1993 # alternative to /KICK
1994 #<module name="m_remove.so">
1995
1996 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1997 # Restrict banned users module:
1998 # Disallows banned users on a channel from messaging the channel,
1999 # changing nick, or changing the topic, if loaded.
2000 #<module name="m_restrictbanned.so">
2001
2002 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2003 # Restricted channels module: Allows only opers to create channels
2004 #<module name="m_restrictchans.so">
2005
2006 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2007 # Restrict message module: Allows users to only message opers
2008 #<module name="m_restrictmsg.so">
2009
2010 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2011 # Provide /LIST throttling (to prevent flooding) and /LIST safety to
2012 # prevent excess flood when the list is large.
2013 #<module name="m_safelist.so">
2014 #
2015 #-#-#-#-#-#-#-#-#-#-# SAFELIST CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#-#
2016 #
2017 # When using Safelist, you may set the following values;
2018 #
2019 # The first value, 'throttle', sets the amount of time in seconds a user
2020 # must wait between LIST commands. For example, if this is set to 60
2021 # (the default) then the user may not /LIST more than once a minute.
2022 # If not defined, the default value is 60 seconds.
2023 #
2024 # The second value, 'maxlisters', indicates the maximum number of users
2025 # which may be retrieving a LIST at once. It is not recommended you raise
2026 # this value, as increasing it too high can make your network vulnerable
2027 # to floodbots which waste your bandwidth and CPU time with LIST requests.
2028 #
2029 #<safelist throttle="60" maxlisters="50">
2030
2031 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2032 # SAJOIN module: Adds the /SAJOIN command
2033 #<module name="m_sajoin.so">
2034
2035 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2036 # SAMODE module: Adds the oper /SAMODE command
2037 #<module name="m_samode.so">
2038
2039 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2040 # SANICK module: Allows opers to change user's nicks
2041 #<module name="m_sanick.so">
2042
2043 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2044 # SAPART module: Adds the oper /SAPART command
2045 #<module name="m_sapart.so">
2046
2047 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2048 # SAQUIT module: Adds the oper /SAQUIT command (abusable!!!)
2049 #<module name="m_saquit.so">
2050
2051 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2052 # Secure list module: Prevent /LIST in the first minute of connection,
2053 # crippling most spambots and trojan spreader bots.
2054 #<module name="m_securelist.so">
2055 #
2056 #-#-#-#-#-#-#-#-#-# SECURELIST CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#-#
2057 #                                                                     #
2058 # Securelist can be harmful to some irc search engines such as        #
2059 # netsplit.de and searchirc.com. To prevent securelist blocking these #
2060 # sites from listing, define exception tags as shown below:           #
2061 <securehost exception="*@*.searchirc.org">
2062 <securehost exception="*@*.netsplit.de">
2063 <securehost exception="*@echo940.server4you.de">
2064 #                                                                     #
2065 # Define the following variable to change how long a user must wait   #
2066 # before issuing a LIST. If not defined, defaults to 60 seconds.      #
2067 #                                                                     #
2068 #<securelist waittime="60">                                           #
2069
2070 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2071 # See nicks module: Allow for SNOMASK +N which shows nick changes.
2072 #<module name="m_seenicks.so">
2073
2074 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2075 # Set Idle module: Adds a command for opers to change their
2076 # idle time (mainly a toy)
2077 #<module name="m_setidle.so">
2078
2079 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2080 # Services support module: Adds several usermodes such as +R and +M
2081 # this module implements the 'identified' state via user mode +r, which
2082 # is similar to the DALnet and dreamforge systems.
2083 #     
2084 # N O T E!!
2085 #  >>  This CAN NOT be used at the same time as m_services_account <<
2086 # N O T E!!
2087 #<module name="m_services.so">
2088
2089 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2090 # Services support module: Adds several usermodes such as +R and +M
2091 # this module implements the 'identified' state via account names (AC)
2092 # and is similar in operation to the way asuka and ircu handle services.
2093 #                                                                       
2094 # N O T E!!
2095 #  >>  This CAN NOT be used at the same time as m_services <<
2096 # N O T E!!
2097 #<module name="m_services_account.so">
2098
2099 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2100 # Sethost module: Adds the /SETHOST command
2101 # See m_chghost for how to customise valid chars for hostnames
2102 #<module name="m_sethost.so">
2103
2104 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2105 # Setident module: Adds the /SETIDENT command
2106 #<module name="m_setident.so">
2107
2108 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2109 # SETNAME module: Adds the /SETNAME command
2110 #<module name="m_setname.so">
2111
2112 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2113 # Show Whois module: Adds the +W usermode which allows opers
2114 # to see when they are whois'ed (can be annoying).
2115 #<module name="m_showwhois.so">
2116
2117 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2118 # Spy module: Adds the commands SPYLIST and SPYNAMES that let opers
2119 # see who is in a +s channel, and list +s channels, show keys of keyed
2120 # channels the oper is not a member of etc. Like most standard 'abusive'
2121 # features of many other ircds, this is modular in InspIRCd.
2122 #<module name="m_spy.so">
2123
2124 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2125 # SSL channel mode module: Adds support for SSL-only channels (+z).
2126 # does not do anything useful without a working SSL module (see below)
2127 #<module name="m_sslmodes.so">
2128
2129 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2130 # Dummy ssl module: If you have other servers on your network which
2131 # have SSL, but your server does not have ssl enabled, you should load
2132 # this module, which will handle SSL metadata (e.g. the "Is using ssl"
2133 # field in the WHOIS information).
2134 #<module name="m_ssl_dummy.so">
2135
2136 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2137 # GnuTLS ssl module: Adds support for client-server SSL using GnuTLS,
2138 # if enabled. You must copy the source for this module from the directory
2139 # src/modules/extra, or answer 'yes' in ./configure when asked if you
2140 # want to enable this, or it will not load.
2141 #<module name="m_ssl_gnutls.so">
2142 #
2143 #-#-#-#-#-#-#-#-#-#-#-  GNUTLS CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
2144 #                                                                     #
2145 # m_ssl_gnutls.so is too complex it describe here, see the wiki:      #
2146 # http://www.inspircd.org/wiki/GnuTLS_SSL_Module                      #
2147 #                                                                     #
2148 # NOTE: If you want to use this module to encrypt and sign your       #
2149 # server to server traffic, you MUST load it before m_spanningtree in #
2150 # your configuration file!                                            #
2151
2152 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2153 # SSL Info module: Allows users to retrieve information about other
2154 # user's peer SSL certificates and keys. This can be used by client
2155 # scripts to validate users. For this to work, one of m_ssl_gnutls.so
2156 # or m_ssl_openssl.so must be loaded. You must symlink the source for
2157 # this module from the directory src/modules/extra.
2158 #<module name="m_sslinfo.so">
2159
2160 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2161 # OpenSSL ssl module: Adds support for client-server SSL using OpenSSL,
2162 # if enabled. You must copy the source for this module from the directory
2163 # src/modules/extra, or answer 'yes' in ./configure when asked if you
2164 # want to enable this, or it will not load.
2165 #<module name="m_ssl_openssl.so">
2166 #
2167 #-#-#-#-#-#-#-#-#-#-#- OPENSSL CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
2168 #                                                                     #
2169 # m_ssl_openssl.so is too complex it describe here, see the wiki:     #
2170 # http://www.inspircd.org/wiki/OpenSSL_SSL_Module                     #
2171 #                                                                     #
2172 # NOTE: If you want to use this module to encrypt and sign your       #
2173 # server to server traffic, you MUST load it before m_spanningtree in #
2174 # your configuration file!                                            #
2175
2176 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2177 # SSL Cert Oper module: Allows opers to oper up using the key fingerprint
2178 # stored within their SSL certificate and key pair.
2179 # When using this module, one of m_ssl_gnutls.so or m_ssl_openssl.so must
2180 # be loaded. An extra value should be added to enabled opers, which
2181 # is in the following format: fingerprint="<hash>". For more information,
2182 # see the example in the oper blocks.
2183 #<module name="m_ssl_oper_cert.so">
2184
2185 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2186 # Strip colour module: Adds the channel mode +S
2187 #<module name="m_stripcolor.so">
2188
2189 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2190 # SILENCE module: Adds support for /SILENCE
2191 #<module name="m_silence.so">
2192 #
2193 # Configuration tags:
2194 #
2195 #<silence maxentries="32">
2196 #
2197 # Sets the maximum number of entries on a users silence list.
2198
2199 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2200 # SQLite3 module: Allows other SQL modules to access SQLite3          #
2201 # databases through a unified API. You must link the source for this  #
2202 # module from the directory src/modules/extra to src/modules, plus    #
2203 # the file m_sqlv2.h                                                  #
2204 #<module name="m_sqlite3.so">
2205 #
2206 #-#-#-#-#-#-#-#-#-#-#-#- SQL CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#-#
2207 #                                                                     #
2208 # m_sqlite.so is more complex than described here, see the wiki for   #
2209 # more: http://www.inspircd.org/wiki/SQLite3_Service_Provider_Module  #
2210 #
2211 #<database hostname="/full/path/to/database.db" id="anytext">
2212
2213 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2214 # SQLutils module: Provides some utilities to SQL client modules, such
2215 # as mapping queries to users and channels. You must copy the source
2216 # for this module from the directory src/modules/extra/m_sqlutils.cpp
2217 # and src/modules/extra/m_sqlutils.h into /src/modules
2218 # Needed for, and loaded before: SQLauth and SQLoper
2219 #<module name="m_sqlutils.so">
2220
2221 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2222 # SQL authentication module: Allows IRCd connections to be tied into
2223 # a database table (for example a forum). You must copy the source for
2224 # this module from the directory src/modules/extra
2225 # Depends on the SQLutils module being loaded first.
2226 #<module name="m_sqlauth.so">
2227 #
2228 #-#-#-#-#-#-#-#-#-#-#- SQLAUTH CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
2229 #                                                                     #
2230 # m_sqlauth.so is too complex it describe here, see the wiki:         #
2231 # http://www.inspircd.org/wiki/SQL_Authentication_Module              #
2232
2233 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2234 # SQL logging module: Allows you to log network-wide data for your
2235 # network in a fully normalised set of SQL tables. You must copy the
2236 # source for this module from the directory src/modules/extra
2237 #<module name="m_sqllog.so">
2238 #
2239 #-#-#-#-#-#-#-#-#-#-#-  SQLLOG CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
2240 #                                                                     #
2241 # dbid       - Database ID to use (see m_sql)                         #
2242 #                                                                     #
2243 # See also: http://www.inspircd.org/wiki/SQL_Logging_Module           #
2244 #                                                                     #
2245 #<sqllog dbid="1">
2246
2247 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2248 # SQL oper module: Allows you to store oper credentials in an SQL table
2249 # You must copy the source for this module from the directory src/modules/extra
2250 # Depends on the SQLutils module being loaded first.
2251 #<module name="m_sqloper.so">
2252 #
2253 #-#-#-#-#-#-#-#-#-#-#- SQLOPER CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
2254 #                                                                     #
2255 # dbid       - Database ID to use (see m_sql)                         #
2256 # hash       - Hashing provider to use for password hashing           #
2257 #                                                                     #
2258 # See also: http://www.inspircd.org/wiki/SQL_Oper_Storage_Module      #
2259 #                                                                     #
2260 #<sqloper dbid="1" hash="md5">
2261
2262 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2263 # SVSHold module: Implements SVSHOLD. Like Q:Lines, but can only be   #
2264 # added/removed by Services.                                          #
2265 #<module name="m_svshold.so">
2266
2267 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2268 # SWHOIS module: Allows you to add arbitary lines to user WHOIS.
2269 #<module name="m_swhois.so">
2270
2271 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2272 # Taxonomy module: Adds the /TAXONOMY command, used to view all
2273 #                  metadata attached to a user.
2274 #<module name="m_taxonomy.so">
2275
2276 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2277 # Test command module: Does nothing significant. Read: pointless.
2278 #<module name="m_testcommand.so">
2279
2280 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2281 # Timed bans module: Adds timed bans and the /TBAN command
2282 #<module name="m_timedbans.so">
2283
2284 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2285 # Test line module: Adds the /TLINE command, used to test how many
2286 # users a /GLINE or /ZLINE etc would match.
2287 #<module name="m_tline.so">
2288
2289 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2290 # UHNAMES support module: Adds support for the IRCX style UHNAMES
2291 # extension, which displays ident and hostname in the names list for
2292 # each user, saving clients from doing a WHO on the channel. Note that
2293 # this module is not widely supported yet. If a client does not support
2294 # UHNAMES it will not enable it, this will not break incompatible
2295 # clients.
2296 #<module name="m_uhnames.so">
2297
2298 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2299 # Uninvite module: Adds the /UNINVITE command which lets users remove
2300 # pending invites from channels without waiting for the user to join.
2301 #<module name="m_uninvite.so">
2302
2303 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2304 # Userip module: Adds the /USERIP command
2305 #<module name="m_userip.so">
2306
2307 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2308 # Vhost module: Adds the VHOST command which allows for adding virtual
2309 # hosts which are accessible using a username and password in the config.
2310 #<module name="m_vhost.so">
2311 #
2312 #-#-#-#-#-#-#-#-#-#-#- VHOST CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#-#
2313 #                                                                     #
2314 # user       - Username for the vhost.                                #
2315 #                                                                     #
2316 # pass       - Password for the vhost.                                #
2317 #                                                                     #
2318 # host       - Vhost to set.                                          #
2319 #
2320 #<vhost user="some_username" pass="some_password" host="some.host">
2321
2322 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2323 # Watch module: Adds the WATCH command, which is used by clients to 
2324 # maintain notify lists.
2325 #<module name="m_watch.so">
2326 #
2327 # Configuration tags:
2328 #
2329 #<watch maxentries="32">
2330 #
2331 # Sets the maximum number of entries on a user's watch list.
2332
2333 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2334 # XMLSocket module: Adds support for connections using the shockwave
2335 # flash XMLSocket. Note that this does not work if the client you are
2336 # using has retarded ideas of the IRC protocol. Your client must still
2337 # send RFC-correct lines to the server, this module only changes the
2338 # line ending from newlines to null terminators.
2339 #
2340 #<module name="m_xmlsocket.so">
2341
2342 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2343 # ZipLinks module: Adds support for zlib deflate on server to server
2344 # connections. Both ends of the connection must load this module.
2345 #
2346 #<module name="m_ziplink.so">
2347 #
2348 # To use this module, you must enable it as a transport type in your
2349 # <link> tags or <bind> tags using the transport name 'zip'.
2350 # See the documentation of <link> and <bind>, respectively.
2351 #
2352
2353 #-#-#-#-#-#-#-#-#-#-#-#-#-#-  BAN OPTIONS  -#-#-#-#-#-#-#-#-#-#-#-#-#-#
2354 #                                                                     #
2355 # The ban tags define nick masks, host masks and ip ranges which are  #
2356 # banned from your server. All details in these tags are local to     #
2357 # Your server.                                                        #
2358 #                                                                     #
2359 #                                                                     #
2360 # badip lines ban an ip range (same as a zline)                       #
2361 #                                                                     #
2362 # ipmask       -          The ip range to ban (wildcards possible)    #
2363 #                         CIDR is supported in the IP mask.           #
2364 # reason       -          Reason to display when disconnected         #
2365 #                                                                     #
2366 # badnick lines ban a nick mask (same as a qline)                     #
2367 #                                                                     #
2368 # nick         -          Nick mask to ban (wildcards possible)       #
2369 # reason       -          Reason to display on /NICK                  #
2370 #                                                                     #
2371 # badhost lines ban a user@host mask (same as a kline)                #
2372 #                                                                     #
2373 # host         -          ident@hostname (wildcards possible)         #
2374 #                         If you specify an IP, CIDR is supported.    #
2375 # reason       -          Reason to display on disconnection          #
2376 #                                                                     #
2377 # exception lines define a hostmask that is excempt from [kzg]lines   #
2378 #                                                                     #
2379 # host         -          ident@hostname (wildcards possible)         #
2380 #                         If you specify an IP, CIDR is supported.    #
2381 # reason       -          Reason, shown only in /stats e              #
2382 #                                                                     #
2383
2384 <badip ipmask="69.69.69.69" reason="No porn here thanks.">
2385
2386 <badnick nick="ChanServ" reason="Reserved For Services">
2387 <badnick nick="NickServ" reason="Reserved For Services">
2388 <badnick nick="OperServ" reason="Reserved For Services">
2389 <badnick nick="MemoServ" reason="Reserved For Services">
2390
2391 <badhost host="*@hundredz.n.hundredz.o.1337.kiddies.com" reason="Too many 1337 kiddiots">
2392 <badhost host="*@localhost" reason="No irc from localhost!">
2393 <badhost host="*@172.32.0.0/16" reason="This subnet is bad.">
2394
2395 <exception host="*@ircop.host.com" reason="Opers hostname">
2396
2397 #-#-#-#-#-#-#-#-#-#-#- INSANE BAN OPTIONS  -#-#-#-#-#-#-#-#-#-#-#-#-#-#
2398 #                                                                     #
2399 # This optional tag allows you to specify how wide a gline, eline,    #
2400 # kline, zline or qline can be before it is forbidden from being      #
2401 # set. By setting hostmasks="yes", you can allow all G, K, E lines,   #
2402 # no matter how many users the ban would cover. This is not           #
2403 # recommended! By setting ipmasks="yes", you can allow all Z lines,   #
2404 # no matter how many users these cover too. Needless to say we        #
2405 # don't recommend you do this, or, set nickmasks="yes", which will    #
2406 # allow any qline.                                                    #
2407 #                                                                     #
2408 # The trigger value indicates how wide any mask will be before it is  #
2409 # prevented from being set. The default value is 95.5% if this tag is #
2410 # not defined in your configuration file, meaning that if your        #
2411 # network has 1000 users, a gline matching over 955 of them will be   #
2412 # prevented from being added.                                         #
2413 #                                                                     #
2414 # Please note that remote servers (and services) are exempt from      #
2415 # these restrictions and expected to enforce their own policies       #
2416 # locally!                                                            #
2417 #                                                                     #
2418
2419 <insane hostmasks="no" ipmasks="no" nickmasks="no" trigger="95.5">
2420
2421 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#- YAWN  -#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2422 #                                                                     #
2423 #   You should already know what to do here :)                        #
2424
2425 <die value="User error. Insert new user and press any key. (you didn't edit your config properly.)">
2426
2427
2428 #########################################################################
2429 #                                                                       #
2430 #                     - InspIRCd Development Team -                     #
2431 #                        http://www.inspircd.org                        #
2432 #                                                                       #
2433 #########################################################################