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