1 ########################################################################
3 # ___ ___ ____ ____ _ #
4 # |_ _|_ __ ___ _ __|_ _| _ \ / ___|__| | #
5 # | || '_ \/ __| '_ \| || |_) | | / _` | #
6 # | || | | \__ \ |_) | || _ <| |__| (_| | #
7 # |___|_| |_|___/ .__/___|_| \_\\____\__,_| #
10 # / ___|___ _ __ / _(_) __ _ _ _ _ __ __ _| |_(_) ___ _ __ #
11 # | | / _ \| '_ \| |_| |/ _` | | | | '__/ _` | __| |/ _ \| '_ \ #
12 # | |__| (_) | | | | _| | (_| | |_| | | | (_| | |_| | (_) | | | | #
13 # \____\___/|_| |_|_| |_|\__, |\__,_|_| \__,_|\__|_|\___/|_| |_| #
16 ##################################||####################################
18 ##################################||####################################
20 # This is an example of the config file for InspIRCd. #
21 # Change the options to suit your network #
23 # Last updated on : 04/09/2006 #
24 # Written by : CC (cc@backchat.co.za) #
25 # Updated by : katsklaw (katsklaw@gmail.com) #
26 # Updated by : brain (brain@inspircd.org) #
28 # ____ _ _____ _ _ ____ _ _ _ #
29 # | _ \ ___ __ _ __| | |_ _| |__ (_)___ | __ )(_) |_| | #
30 # | |_) / _ \/ _` |/ _` | | | | '_ \| / __| | _ \| | __| | #
31 # | _ < __/ (_| | (_| | | | | | | | \__ \ | |_) | | |_|_| #
32 # |_| \_\___|\__,_|\__,_| |_| |_| |_|_|___/ |____/|_|\__(_) #
34 # Lines prefixed with READ THIS BIT, as shown above, are IMPORTANT #
35 # lines, and you REALLY SHOULD READ THEM. Yes, THIS MEANS YOU. Even #
36 # if you've configured InspIRCd before, these probably indicate #
37 # something new or different to this version and you SHOULD READ IT. #
39 ########################################################################
41 # Unalphabeticalise the modules list at your own risk #
43 ########################################################################
46 #-#-#-#-#-#-#-#-#-#-#-#- SERVER DESCRIPTION -#-#-#-#-#-#-#-#-#-#-#-#-
48 # Here is where you enter the information about your server. #
50 # Syntax is as follows: #
52 # <server name="server.name" #
53 # description="Server Description" #
54 # network="MyNetwork"> #
57 <server name="penguin.omega.org.za"
58 description="Waddle World"
62 #-#-#-#-#-#-#-#-#-#-#-#- ADMIN INFORMATION -#-#-#-#-#-#-#-#-#-#-#-#
64 # Describes the Server Administrator's real name (optionally), #
65 # nick, and email address. #
67 # Syntax is as follows: #
68 # <admin name="real name" #
70 # email="email@address.com"> #
73 <admin name="Johnny English"
75 email="MI5@the.best.secret.agent">
78 #-#-#-#-#-#-#-#-#-#-#-#- PORT CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-
80 # Enter the port and address bindings here. #
82 # bind address - specifies which address ports bind to. Leaving this #
83 # field blank binds the port to all IPs available. #
85 # port - The port number to bind to. You may specify a port #
86 # range here, e.g. "6667-6669,7000,7001". If you do #
87 # this, the server will count each port within your #
88 # range as a seperate binding, making the above #
89 # example equivalent to five seperate bind tags. #
90 # A failure on one port in the range does not prevent #
91 # the entire range from being bound, just that one #
94 # type - can be 'clients' or 'servers'. The clients type is #
95 # a standard tcp based socket, the servers type is a #
96 # also a TCP based connection but of a different #
97 # format. SSL support is provided by modules, to #
98 # enable SSL support, please read the module section #
99 # of this configuration file. #
101 # ssl - When using m_ssl_gnutls.so or m_ssl_openssl.so #
102 # modules, you must define this value to use ssl on #
103 # that port. valid values are 'gnutls' or 'openssl' #
104 # respectively. If the module is not loaded, this #
105 # setting is ignored. #
107 # transport - If you have m_spanningtree.so loaded, along with #
108 # either of the SSL modules (m_ssl_gnutls or #
109 # m_ssl_openssl) or m_ziplinks.so, then you may make #
110 # use of this value. #
111 # setting it to 'openssl' or 'gnutls' or 'zip' #
112 # indicates that the port should accept connections #
113 # using the given transport name. Transports are #
114 # layers which sit on top of a socket and change the #
115 # way data is sent and received, e.g. encryption, #
116 # compression, and other such things. Because this #
117 # may not be limited in use to just encryption, #
118 # the 'ssl' value used for client ports does not #
119 # exist for servers, and this value is used instead. #
120 # ____ _ _____ _ _ ____ _ _ _ #
121 # | _ \ ___ __ _ __| | |_ _| |__ (_)___ | __ )(_) |_| | #
122 # | |_) / _ \/ _` |/ _` | | | | '_ \| / __| | _ \| | __| | #
123 # | _ < __/ (_| | (_| | | | | | | | \__ \ | |_) | | |_|_| #
124 # |_| \_\___|\__,_|\__,_| |_| |_| |_|_|___/ |____/|_|\__(_) #
126 # If you want to link servers to InspIRCd you must load the #
127 # m_spanningtree module! Please see the modules list below for #
128 # information on how to load this module! If you do not load this #
129 # module, server ports will NOT be bound! #
131 # Leaving address empty binds to all available interfaces #
133 # Syntax is as follows: #
135 # <bind address="ip address" port="port" type="clients"> #
136 # <bind address="ip address" port="port" type="servers"> #
138 # If InspIRCd is built for IPV6, and you wish to accept IPV4 clients, #
139 # then you must specify your IPV6 clients in the following form: #
140 # ::ffff:1.2.3.4, where 1.2.3.4 is the IPV4 address to bind the #
141 # port on. If InspIRCd is built for IPV4 connections (this is the #
142 # default) then you do not need to prefix your addresses like this. #
145 <bind address="" port="6000" type="clients">
146 <bind address="" port="6660-6669" type="clients" ssl="gnutls">
148 # When linking servers, the openssl and gnutls transports are largely
149 # link-compatible and can be used alongside each other or either/or
150 # on each end of the link without any significant issues.
152 <bind address="" port="7000,7001" type="servers">
153 <bind address="1.2.3.4" port="7005" type="servers" transport="openssl">
156 #-#-#-#-#-#-#-#-#-#- DIE/RESTART CONFIGURATION -#-#-#-#-#-#-#-#-#-#-
158 # You can configure the passwords here which you wish to use for #
159 # the die and restart commands. Only trusted ircops who will #
160 # need this ability should know the die and restart password. #
162 # Syntax is as follows: #
163 # <power diepass="die password" restartpass="restart password" #
164 # pause="secs before dying"> #
167 <power diepass="diepass" restartpass="restartpass" pause="2">
170 #-#-#-#-#-#-#-#-#-# INCLUDE CONFIGURATION #-#-#-#-#-#-#-#-#-#-#-#-#-#
172 # This optional tag allows you to include another config file #
173 # allowing you to keep your configuration tidy. The configuration #
174 # file you include will be treated as part of the configuration file #
175 # which includes it, in simple terms the inclusion is transparent. #
177 # All paths to config files are relative to the directory of the main #
178 # config file inspircd.conf, unless the filename starts with a forward#
179 # slash (/) in which case it is treated as an absolute path. #
181 # Syntax is as follows: #
182 #<include file="file.conf"> #
185 #-#-#-#-#-#-#-#-#-#- CONNECTIONS CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
187 # This is where you can configure which connections are allowed #
188 # and denied access onto your server. #
189 # The password is optional. #
190 # You may have as many of these as you require. #
191 # To allow/deny all connections use a * #
193 # Syntax is as follows: #
195 # <connect allow="ip mask"> #
196 # <connect allow="ip mask" password="blahblah"> #
197 # <connect allow="ip mask" password="blah" timeout="10"> #
198 # <connect allow="ip mask" timeout="blah" flood="5"> #
199 # <connect allow="ip mask" threshold="8" pingfreq="120"> #
200 # <connect allow="ip mask" sendq="99999" revcq="696969"> #
201 # <connect allow="ip mask" localmax="3" globalmax="3"> #
202 # <connect deny="ip mask"> #
204 # IP masks may be specified in CIDR format or wildcard format, #
205 # for IPV4 and IPV6. #
207 # You may optionally include timeout="x" on any allow line, which #
208 # specifies the amount of time given before an unknown connection #
209 # is closed if USER/NICK/PASS are not given. This value is in secs #
211 # You should also include a flood="x" line which indicates #
212 # the number of lines a user may place into their buffer at once #
213 # before they are disconnected for excess flood. This feature can #
214 # not be disabled, however it can be set to extremely high values, #
215 # rendering it effectively disabled. A recommended value is 10. #
216 # A counter is maintained for each user which is reset every #
217 # 'threshold' seconds and specifying this threshold value with #
218 # threshold="X" indicates how often the counter is reset. For #
219 # example, with flood="5" and threshold="8", the user may not send #
220 # more than 5 lines in 8 secs. #
222 # You may optionally specify the sendq size and ping frequency of #
223 # each connect:allow line using the pingfreq="X" and sendq="X" #
224 # settings as shown in the full example below. #
225 # The ping frequency is specified in seconds, and the sendq size #
226 # in bytes. It is recommended, although not enforced, that you #
227 # should never set your sendq size to less than 8k. Send Queues are #
228 # dynamically allocated and can grow as needed up to the maximum #
231 # The optional recvq value is the maximum size which users in this #
232 # group may grow their receive queue to. This is recommended to be #
233 # kept pretty low compared to the sendq, as users will always #
234 # receive more than they send in normal circumstances. The default #
235 # if not specified is 4096. #
237 # IMPORTANT NOTE, CALL THE CONFUSION POLICE! #
238 # The sendq is the data waiting to be sent TO THE USER. #
239 # The recvq is the data being received FROM THE USER. #
240 # The names sendq and recvq are from the SERVER'S PERSPECTIVE not #
241 # that of the user... Just to clear up any confusion or complaints #
242 # that these are backwards :p #
244 # The localmax and globalmax values can be used to enforce local #
245 # and global session limits on connections. The session limits are #
246 # counted against all users, but applied only to users within the #
247 # class. For example, if you had a class 'A' which has a session #
248 # limit of 3, and a class 'B' which has a session limit of 5, and #
249 # somehow, two users managed to get into class B which also match #
250 # class A, there is only one connection left for this IP now in A, #
251 # but if they can connect again to B, there are three. You get the #
255 <connect allow="196.12.*" password="secret">
256 <connect allow="*" timeout="60" flood="20" threshold="1" pingfreq="120" sendq="262144" recvq="8192" localmax="3" globalmax="3">
258 <connect deny="69.254.*">
259 <connect deny="3ffe::0/32">
262 #-#-#-#-#-#-#-#-#-#-#-#- CLASS CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-
264 # Classes are a group of commands which are grouped together #
265 # and given a unique name. They used to define which commands #
266 # are available to certain types of Operators. #
268 # Syntax is as follows: #
270 # <class name="name" commands="oper commands"> #
272 # ____ _ _____ _ _ ____ _ _ _ #
273 # | _ \ ___ __ _ __| | |_ _| |__ (_)___ | __ )(_) |_| | #
274 # | |_) / _ \/ _` |/ _` | | | | '_ \| / __| | _ \| | __| | #
275 # | _ < __/ (_| | (_| | | | | | | | \__ \ | |_) | | |_|_| #
276 # |_| \_\___|\__,_|\__,_| |_| |_| |_|_|___/ |____/|_|\__(_) #
278 # You are not forced to give these classes the names given below. #
279 # You can create your own named classes, if you want, in fact that #
280 # is the whole idea of this system! #
282 # Note: It is possible to make a class which covers all available #
283 # commands. To do this, specify commands="*". This is not really #
284 # recommended, as it negates the whole purpose of the class system, #
285 # however it is provided for fast configuration (e.g. in test nets) #
288 <class name="Shutdown" commands="DIE RESTART REHASH LOADMODULE UNLOADMODULE RELOAD">
289 <class name="ServerLink" commands="CONNECT SQUIT RCONNECT MKPASSWD MKSHA256">
290 <class name="BanControl" commands="KILL GLINE KLINE ZLINE QLINE ELINE">
291 <class name="OperChat" commands="WALLOPS GLOBOPS SETIDLE SPYLIST SPYNAMES">
292 <class name="HostCloak" commands="SETHOST SETIDENT SETNAME CHGHOST CHGIDENT">
295 #-#-#-#-#-#-#-#-#-#-#-#- OPERATOR COMPOSITION -#-#-#-#-#-#-#-#-#-#-#
297 # This is where you specify which types of operators you have on #
298 # your server, as well as the commands they are allowed to use. #
299 # This works alongside with the classes specified above. #
301 # type name - a name for the combined class types #
302 # a type name cannot contain spaces, however if you #
303 # put an _ symbol in the name, it will be translated #
304 # to a space when displayed in a WHOIS. #
306 # classes - specified above, used for flexibility for the #
307 # server admin to decide on which operators get #
308 # what commands. Class names are case sensitive, #
309 # seperate multiple class names with spaces. #
311 # host - optional hostmask operators will receive on oper-up. #
313 # Syntax is as follows: #
315 # <type name="name" classes="class names" host="oper hostmask"> #
317 # ____ _ _____ _ _ ____ _ _ _ #
318 # | _ \ ___ __ _ __| | |_ _| |__ (_)___ | __ )(_) |_| | #
319 # | |_) / _ \/ _` |/ _` | | | | '_ \| / __| | _ \| | __| | #
320 # | _ < __/ (_| | (_| | | | | | | | \__ \ | |_) | | |_|_| #
321 # |_| \_\___|\__,_|\__,_| |_| |_| |_|_|___/ |____/|_|\__(_) #
323 # You are not forced to give these types the names given below. #
324 # You can create your own named types, if you want, in fact that #
325 # is the whole idea of this system! #
328 <type name="NetAdmin" classes="OperChat BanControl HostCloak Shutdown ServerLink" host="netadmin.omega.org.za">
329 <type name="GlobalOp" classes="OperChat BanControl HostCloak ServerLink" host="ircop.omega.org.za">
330 <type name="Helper" classes="HostCloak" host="helper.omega.org.za">
333 #-#-#-#-#-#-#-#-#-#-#- OPERATOR CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
335 # Opers are defined here. This is a very important section. #
336 # Remember to only make operators out of truthworthy people. #
338 # name - oper name, This is case sensitive, so it is best to #
341 # password - password to oper-up, also case sensitive. #
342 # encryption is supported via modules. You may load #
343 # modules for MD5 or SHA256 encryption, and if you do, #
344 # this value will be a hash value, otherwise put a #
345 # plaintext password in this value. #
347 # host - hosts of client allowed to oper-up. #
348 # wildcards accepted, seperate multiple hosts with a #
349 # space. You may also specify CIDR ip addresses. #
351 # fingerprint - When using the m_ssl_oper_cert.so module, you may #
352 # specify a key fingerprint here. This can be obtained #
353 # using the /fingerprint command whilst the module is #
354 # loaded, or from the notice given to you when you #
355 # connect to the ircd using a client certificate, #
356 # and will lock this oper block to only the user who #
357 # has that specific key/certificate pair. #
358 # This enhances security a great deal, however it #
359 # requires that opers use clients which can send ssl #
360 # client certificates, if this is configured for that #
361 # oper. Note that if the m_ssl_oper.so module is not #
362 # loaded, and/or one of m_ssl_openssl or m_ssl_gnutls #
363 # is not loaded, this configuration option has no #
364 # effect and will be ignored. #
366 # type - Defines the kind of operator. This must match a type #
367 # tag you defined above, and is case sensitive. #
369 # Syntax is as follows: #
370 # <oper name="login" #
372 # host="hostmask@of.oper" #
373 # fingerprint="hexsequence" #
374 # type="oper type"> #
377 <oper name="katsklaw"
379 host="ident@dialup15.isp.com *@localhost *@server.com *@3ffe::0/16"
383 #-#-#-#-#-#-#-#-#-#-#- SERVER LINK CONFIGURATION -#-#-#-#-#-#-#-#-#-#
385 # Defines which servers can link to this one, and which servers this #
386 # server may create outbound links to. #
388 # name - The name is the canocial name of the server, does #
389 # not have to resolve - but it is expected to be set #
390 # in the remote servers connection info. #
392 # ipaddr - Valid host or ip address for remote server. These #
393 # hosts are resolved on rehash, and cached, if you #
394 # specify a hostname, so if you find that your server #
395 # is still trying to connect to an old IP after you #
396 # have updated your dns, try rehashing and then #
397 # attempting the connect again. #
399 # port - The TCP port for the remote server. #
401 # sendpass - Password to send to create an outbound connection #
404 # recvpass - Password to receive to accept an inbound connection #
405 # from this server. #
407 # autoconnect - Sets the server to autoconnect. Where x is the num. #
408 # (optional) of seconds between attempts. e.g. 300 = 5 minutes. #
410 # transport - If defined, this is a transport name implemented by #
411 # another module. Transports are layers on top of #
412 # plaintext connections, which alter them in certain #
413 # ways. Currently the three supported transports are #
414 # 'openssl' and 'gnutls' which are types of SSL #
415 # encryption, and 'zip' which is for compression. #
416 # If you define a transport, both ends of the #
417 # connection must use a compatible transport for the #
418 # link to succeed. OpenSSL and GnuTLS are link- #
419 # compatible with each other. #
421 # hidden - When using m_spanningtree.so for linking. you may #
422 # set this to 'yes', and if you do, the IP address/ #
423 # hostname of this connection will NEVER be shown to #
424 # any opers on the network. In /STATS c its address #
425 # will show as *@<hidden>, and during CONNECT and #
426 # inbound connections, its IP will show as <hidden> #
427 # UNLESS the connection fails (e.g. due to a bad #
428 # password or servername) #
430 # allowmask - When this is defined, it indicates a range of IP #
431 # addresses to allow for this link (You may use CIDR #
432 # or wildcard form for this address). #
433 # e.g. if your server is going to connect to you from #
434 # the range 1.2.3.1 through 1.2.3.255, put 1.2.3.0/24 #
435 # into this value. If it is not defined, then only #
436 # the ipaddr field of the server shall be allowed. #
438 # failover - If you define this option, it must be the name of a #
439 # different link tag in your configuration. This #
440 # option causes the ircd to attempt a connection to #
441 # the failover link in the event that the connection #
442 # to this server fails. For example, you could define #
443 # two hub uplinks to a leaf server, and set an #
444 # american server to autoconnect, with a european #
445 # hub as its failover. In this situation, your ircd #
446 # will only try the link to the european hub if the #
447 # american hub is unreachable. NOTE that for the #
448 # intents and purposes of this option, an unreachable #
449 # server is one which DOES NOT ANSWER THE CONNECTION. #
450 # If the server answers the connection with accept(), #
451 # EVEN IF THE CREDENTIALS ARE INVALID, the failover #
452 # link will not be tried! Failover settings will also #
453 # apply to autoconnected servers as well as manually #
456 # timeout - If this is defined, then outbound connections will #
457 # time out if they are not connected within this many #
458 # seconds. If this is not defined, the default of ten #
461 # to u:line a server (give it extra privilages required for running #
462 # services, Q, etc) you must include the <uline server> tag as shown #
463 # in the example below. You can have as many of these as you like. #
465 # WARNING: Unlike other ircds, u:lining a server allows ALL users on #
466 # that server to operoverride modes. This should only be used for #
467 # services and protected oper servers! #
469 # NOTE: If you have built InspIRCd with IPV6 support, and you want #
470 # to link to an IPV4 server, you must specify the IP address in the #
471 # form '::ffff:1.2.3.4' where 1.2.3.4 is the IP address of the target #
472 # server. If you have built InspIRCd for IPV4 (this is the default) #
473 # you should not prefix your IP addresses in this fashion. #
475 # ____ _ _____ _ _ ____ _ _ _ #
476 # | _ \ ___ __ _ __| | |_ _| |__ (_)___ | __ )(_) |_| | #
477 # | |_) / _ \/ _` |/ _` | | | | '_ \| / __| | _ \| | __| | #
478 # | _ < __/ (_| | (_| | | | | | | | \__ \ | |_) | | |_|_| #
479 # |_| \_\___|\__,_|\__,_| |_| |_| |_|_|___/ |____/|_|\__(_) #
481 # If you want to link servers to InspIRCd you must load the #
482 # m_spanningtree module! Please see the modules list below for #
483 # information on how to load this module! If you do not load this #
484 # module, server links will NOT work! #
486 # Also, if you define any transports, you must load the modules for #
487 # these transports BEFORE you load m_spanningtree, e.g. place them #
488 # above it in the configuration file. Currently this means the three #
489 # modules m_ssl_gnutls, m_ziplinks and m_ssl_openssl, depending on #
490 # which you choose to use. #
493 <link name="hub.penguin.org"
494 ipaddr="penguin.box.com"
496 allowmask="69.58.44.0/24"
498 failover="hub.other.net"
501 sendpass="outgoing!password"
502 recvpass="incoming!password">
504 <link name="services.antarctic.com"
507 allowmask="127.0.0.0/8"
509 recvpass="polarbears">
511 <uline server="services.antarctic.com">
514 #-#-#-#-#-#-#-#-#-#- MISCELLANEOUS CONFIGURATION -#-#-#-#-#-#-#-#-#-#
516 # These options let you define the path to your motd and rules #
517 # files. If these are relative paths, they are relative to the #
518 # configurtion directory. #
521 <files motd="inspircd.motd"
522 rules="inspircd.rules">
524 #-#-#-#-#-#-#-#-#-#-#-#-#-#-# DNS SERVER -#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
526 # Define your DNS server address here. InspIRCd has its own resolver. #
527 # If you do not define this value, the first dns server from your #
528 # /etc/resolv.conf file is read. If no entries are found in this file #
529 # or the file cannot be opened, the default value '127.0.0.1' is used #
530 # instead. The timeout value is in seconds. #
532 # ____ _ _____ _ _ ____ _ _ _ #
533 # | _ \ ___ __ _ __| | |_ _| |__ (_)___ | __ )(_) |_| | #
534 # | |_) / _ \/ _` |/ _` | | | | '_ \| / __| | _ \| | __| | #
535 # | _ < __/ (_| | (_| | | | | | | | \__ \ | |_) | | |_|_| #
536 # |_| \_\___|\__,_|\__,_| |_| |_| |_|_|___/ |____/|_|\__(_) #
538 # When choosing a server, be sure to choose one which will do a #
539 # RECURSIVE LOOKUP. InspIRCd's resolver does not currently do these #
540 # recursive lookups itself, to save time and resources. The dns #
541 # server recommended by the InspIRCd team is bind, available from the #
542 # ISC website. If your DNS server does not do a recursive lookup, you #
543 # will be able to notice this by the fact that none of your users are #
544 # resolving even though the DNS server appears to be up! Most ISP and #
545 # hosting provider DNS servers support recursive lookups. #
547 # NOTE: If you have built InspIRCd with IPV6 support, and you want #
548 # to use an IPV4 nameserver, you must specify the IP address in the #
549 # form '::ffff:1.2.3.4' where 1.2.3.4 is the IP address of the target #
550 # server. If you have built InspIRCd for IPV4 (this is the default) #
551 # you should not prefix your IP addresses in this fashion. #
553 # IF YOUR RESOLV.CONF CONTAINS ONLY IPV4 ADDRESSES, AND YOU ARE USING #
554 # IPV6, YOU MUST DEFINE THE <DNS SERVER> TAG, AND USE THE ::FFFF #
555 # PREFIX NOTATION. IF YOU DO NOT, HOSTS WILL *NOT* RESOLVE. #
558 <dns server="127.0.0.1" timeout="5">
560 # An example of using IPV4 nameservers over IPV6
561 #<dns server="::ffff:127.0.0.1" timeout="5">
563 #-#-#-#-#-#-#-#-#-#-#-#-#-#-# PID FILE -#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
565 # Define the path to the PID file here. The PID file can be used to #
566 # rehash the ircd from the shell or to terminate the ircd from the #
567 # shell using shell scripts, perl scripts etc, and to monitor the #
568 # ircd's state via cron jobs. If this is a relative path, it will be #
569 # relative to the configuration directory, and if it is not defined, #
570 # the default of 'inspircd.pid' is used. #
573 #<pid file="/path/to/inspircd.pid">
575 #-#-#-#-#-#-#-#-#-#-#-#-#- BANLIST LIMITS #-#-#-#-#-#-#-#-#-#-#-#-#-#-#
577 # Use these tags to customise the ban limits on a per channel basis. #
578 # the tags are read from top to bottom, and any tag found which #
579 # matches the channels name applies the banlimit to that channel. #
580 # It is advisable to put an entry with the channel as '*' at the #
581 # bottom of the list. If none are specified or no maxbans tag is #
582 # matched, the banlist size defaults to 64 entries. #
585 <banlist chan="#morons" limit="128">
586 <banlist chan="*" limit="69">
588 #-#-#-#-#-#-#-#-#-#-#- DISABLED COMMANDS -#-#-#-#-#-#-#-#-#-#-#-#-#-#
590 # This tag is optional, and specifies one or more commands which are #
591 # not available to non-operators. For example you may wish to disable #
592 # NICK and prevent non-opers from changing their nicknames. #
593 # Note that any disabled commands take effect only after the user has #
594 # 'registered' (e.g. after the initial USER/NICK/PASS on connection) #
595 # so for example disabling NICK will not cripple your network. #
598 #<disabled commands="TOPIC MODE">
601 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#- RTFM LINE -#-#-#-#-#-#-#-#-#-#-#-#-#-#
603 # Just remove this... Its here to make you read ALL of the config #
606 <die value="You should probably edit your config *PROPERLY* and try again.">
610 #-#-#-#-#-#-#-#-#-#-#-#-#- SERVER OPTIONS -#-#-#-#-#-#-#-#-#-#-#-#-#
612 # Settings to define which features are useable on your server. #
614 # prefixquit - a prefix for a client's quit message #
616 # loglevel - specifies what detail of messages to log in the #
617 # log file. You may select from debug, verbose, #
618 # default, sparse and none. #
620 # allowhalfop - allows the +h channel mode #
622 # noservices - If noservices is true, yes, or 1, then the first #
623 # user into a channel gets founder status. This is #
624 # only useful on networks running the m_chanprotect #
625 # module without services. #
627 # qaprefixes - If qaprefixes is true, yes, or 1, then users #
628 # with +q or +a will get the ~ or & prefixes #
629 # used in unreal. This is only useful on networks #
630 # running the m_chanprotect module #
632 # deprotectself - If this value is set to yes, true, or 1, then any #
633 # user with +q or +a may remove the +q or +a from #
634 # themselves. The default setting is to not enable #
635 # this feature, which stops even the founder taking #
636 # away their founder status without using services. #
638 # cyclehosts - If this is set to true, yes or 1, then when a #
639 # user's hostname changes, they will appear to quit #
640 # and then rejoin with their new host. This prevents #
641 # clients from being confused by host changes, #
642 # especially in the case of bots, and it is #
643 # recommended that this option is enabled. #
645 # netbuffersize - size of the buffer used to receive data from #
646 # clients. The ircd may only read() this amount #
647 # of text in one go at any time. (OPTIONAL) #
649 # maxwho - The maximum number of results returned by a /WHO #
650 # query. This is to prevent /WHO being used as a #
651 # spam vector or means of flooding an ircd. The #
652 # default is 128, it is not recommended to raise it #
653 # above 1024. Values up to 65535 are permitted. #
655 # somaxconn - The maximum number of sockets that may be waiting #
656 # in the accept queue. This usually allows the ircd #
657 # to soak up more connections in a shorter space of #
658 # time when increased but please be aware there is a #
659 # system defined maximum value to this, the same way #
660 # there is a system defined maximum number of file #
661 # descriptors. Some systems may only allow this to #
662 # be up to 5 (ugh) while others such as FreeBSD will #
663 # default to a much nicer 128. #
665 # moduledir - This optional value indicates a runtime change of #
666 # the location where modules are to be found. This #
667 # does not add a supplementary directory. There can #
668 # only be one module path. #
670 # softlimit - This optional feature allows a defined softlimit. #
671 # if defined sets a soft maxconnections value, has #
672 # to be less than the ./configure maxclients #
674 # userstats - The userstats field is optional and specifies #
675 # which stats characters in /STATS may be requested #
676 # by non-operators. Stats characters in this field #
677 # are case sensitive and are allowed to users #
678 # independent of if they are in a module or the core #
680 # operspywhois - If this is set then when an IRC operator uses #
681 # /WHOIS on a user they will see all channels, even #
682 # ones if channels are secret (+s), private (+p) or #
683 # if the target user is invisible +i. #
685 # customversion - If you specify this configuration item, and it is #
686 # not set to an empty value, then when a user does #
687 # a /VERSION command on the ircd, this string will #
688 # be displayed as the second portion of the output, #
689 # replacing the system 'uname', compile flags and #
690 # socket engine/dns engine names. You may use this #
691 # to enhance security, or simply for vanity. #
693 # maxtargets - The maxtargets field is optional, and if not #
694 # defined, defaults to 20. It indicates the maximum #
695 # number of targets which may be given to commands #
696 # such as PRIVMSG, KICK etc. #
698 # hidesplits - When set to 'yes', will hide split server names #
699 # from non-opers. Non-opers will see '*.net *.split' #
700 # instead of the server names in the quit message, #
701 # identical to the way IRCu displays them. #
703 # hidebans - When set to 'yes', will hide gline, kline, zline #
704 # and qline quit messages from non-opers. For #
705 # example, user A who is not an oper will just see #
706 # (G-Lined) while user B who is an oper will see the #
707 # text (G-Lined: Reason here) instead. #
709 # hidewhois - When defined with a non-empty value, the given #
710 # text will be used in place of the user's server #
711 # in WHOIS, when a user is WHOISed by a non-oper. #
712 # For example, most nets will want to set this to #
713 # something like '*.netname.net' to conceal the #
714 # actual server the user is on. #
716 # flatlinks - When you are using m_spanningtree.so, and this #
717 # value is set to true, yes or 1, /MAP and /LINKS #
718 # will be flattened when shown to a non-oper. #
720 # hideulines - When you are using m_spanningtree.so, and this #
721 # value is set to true, yes or 1, then U-lined #
722 # servers will be hidden in /LINKS and /MAP. For non #
723 # opers. Please be aware that this will also hide #
724 # any leaf servers of a U-lined server, e.g. jupes. #
726 # nouserdns - If set to 'yes', 'true' or '1', no user dns #
727 # lookups will be performed for connecting users. #
728 # this can save a lot of resources on very busy irc #
731 # syntaxhints - If set to 'yes', 'true' or '1', when a user does #
732 # not give enough parameters for a command, a syntax #
733 # hint will be given (using the RPL_TEXT numeric) #
734 # as well as the standard ERR_NEEDMOREPARAMS. #
736 # announcets - If this value is defined to 'yes', 'true' or '1', #
737 # then if a channel's timestamp is updated the users #
738 # on the channel will be informed of the change via #
739 # a server notice to the channel with the old and #
740 # new TS values in the timestamp. If you think this #
741 # is just pointless noise, define the value to 0. #
743 # ircumsgprefix - Use undernet style message prefix for channel #
744 # NOTICE and PRIVMSG adding the prefix to the line #
745 # of text sent out. Eg. NOTICE @#test :@ testing #
746 # vs off: NOTICE @#test :testing #
748 # notimesync - If this value is 'yes', 'true', or '1', time #
749 # synchronization is disabled on this server. This #
750 # means any servers you are linked to will not #
751 # automatically synchronize time with you, and in #
752 # most cases will just result in more bounced modes #
753 # on netsplits. This option should be the same on #
757 <options prefixquit="Quit: "
759 netbuffersize="10240"
783 #-#-#-#-#-#-#-#-#-#-#-#-#- WHOWAS OPTIONS -#-#-#-#-#-#-#-#-#-#-#-#-#
785 # This tag lets you define the behaviour of the /whowas command of #
788 # groupsize - Controls the maximum entries per nick shown when #
789 # performing a /whowas nick. Setting this to 0 dis- #
790 # ables whowas completely. #
792 # maxgroups - The maximum number of nickgroups that can be added #
793 # to the list. If max is reached, oldest group will #
794 # be deleted first like a FIFO. A groupsize of 3 and #
795 # a maxgroups of 5000 will allow for 5000 nicks to #
796 # be stored with a history of 3, thus giving a total #
797 # of 3 * 5000 = 15000 entries. A setting of 0 dis- #
798 # ables whowas completely. #
800 # maxkeep - The maximum time a nick is kept in the whowas list #
801 # before being pruned. Time may be specified in #
802 # seconds, or in the following format: 1y2w3d4h5m6s #
803 # meaning one year, two weeks, three days, 4 hours, #
804 # 5 minutes and 6 seconds. All fields in this format #
805 # are optional. Minimum is 1 hour, if less InspIRCd #
806 # will default back to 1 hour. #
808 #<whowas groupsize="10" #
809 # maxgroups="100000" #
813 #-#-#-#-#-#-#-#-#-#-#-#-#- MODULE OPTIONS -#-#-#-#-#-#-#-#-#-#-#-#-#
815 # These tags define which modules will be loaded on startup by your #
816 # server. Add modules without any paths. When you make your ircd #
817 # using the 'make' command, all compiled modules will be moved into #
818 # the folder you specified when you ran ./configure. The module tag #
819 # automatically looks for modules in this location. #
820 # If you attempt to load a module outside of this location, either #
821 # in the config, or via /LOADMODULE, you will receive an error. #
823 # By default, ALL modules are commented out. You must uncomment them #
824 # or add lines to your config to load modules. Please refer to #
825 # http://www.inspircd.org/wiki/Modules_List for a list of modules and#
826 # each modules link for any additional conf tags they require. #
828 # You may use wildcards in a <module> tag to load all modules which #
829 # match a glob pattern (e.g. m_sa????.so would load m_sajoin, #
830 # m_sapart, m_saquit and m_sanick) #
832 # ____ _ _____ _ _ ____ _ _ _ #
833 # | _ \ ___ __ _ __| | |_ _| |__ (_)___ | __ )(_) |_| | #
834 # | |_) / _ \/ _` |/ _` | | | | '_ \| / __| | _ \| | __| | #
835 # | _ < __/ (_| | (_| | | | | | | | \__ \ | |_) | | |_|_| #
836 # |_| \_\___|\__,_|\__,_| |_| |_| |_|_|___/ |____/|_|\__(_) #
838 # To link servers to InspIRCd, you MUST load the m_spanningtree #
839 # module, as shown below. If you DO NOT do this, server links will #
840 # NOT work at all. ie. The ports will NOT bind, and /connect will not #
841 # work properly. This is by design, to allow for the implementation #
842 # of other linking protocols in modules in the future. #
844 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
845 # Spanning Tree module - allows linking of servers using the spanning
846 # tree protocol (see the READ THIS BIT section above).
848 #<module name="m_spanningtree.so">
851 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
852 # MD5 Module - Allows other modules to generate MD5 hashes, usually for
853 # cryptographic uses and security.
856 # Other modules such as m_cloaking.so and m_opermd5.so may rely on
857 # this module being loaded to function.
859 #<module name="m_md5.so">
861 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
862 # SHA256 Module - Allows other modules to generate SHA256 hashes,
863 # usually for cryptographic uses and security.
866 # Other modules such as m_opermd5.so may rely on this module being
867 # loaded to function.
869 #<module name="m_sha256.so">
871 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
872 # Alias module: Allows you to define server-side command aliases
873 #<module name="m_alias.so">
875 #-#-#-#-#-#-#-#-#-#-#- ALIAS DEFINITIONS -#-#-#-#-#-#-#-#-#-#-#-#-#-#
877 # If you have the m_alias.so module loaded, you may also define #
878 # aliases as shown below. They are commonly used to provide shortcut #
879 # commands to services, however they are not limited to just this use.#
880 # An alias tag requires the following values to be defined in it: #
882 # text - The text to detect as the actual command line, #
883 # Cant contain spaces, but case insensitive. #
884 # You may have multiple aliases with the same #
885 # command name (text="" value), however the first #
886 # found will be executed if its format value is #
887 # matched, or it has no format value. Aliases are #
888 # read from the top of the file to the bottom. #
890 # format - If this is defined, the parameters of the alias #
891 # must match this glob pattern. For example if you #
892 # want the first parameter to start with a # for #
893 # the alias to be executed, set format="#*" in the #
894 # alias definition. Note that the :'s which are #
895 # part of IRC formatted lines will be preserved #
896 # for matching of this text. This value is #
899 # replace - The text to replace 'text' with. Usually this #
900 # will be "PRIVMSG ServiceName :$2-" or similar. #
901 # You may use the variables $1 through $9 in the #
902 # replace string, which refer to the first through #
903 # ninth word in the original string typed by the #
904 # user. You may also use $1- through $9- which #
905 # refer to the first word onwards, through to the #
906 # ninth word onwards, e.g. if the user types the #
907 # command "foo bar baz qux quz" then $3- will hold #
908 # "baz qux quz" and $2 will contain "bar". You may #
909 # also use the special variables: $nick, $ident, #
910 # $host and $vhost, and you may seperate multiple #
911 # commands with \n. If you wish to use the ACTUAL #
912 # characters \ and n together in a line, you must #
913 # use the sequence "\\n". #
915 # requires - If you provide a value for 'requires' this means #
916 # the given nickname MUST be online for the alias #
917 # to successfully trigger. If they are not, then #
918 # the user receives a 'no such nick' 401 numeric. #
920 # uline - Defining this value with 'yes', 'true' or '1' #
921 # will ensure that the user given in 'requires' #
922 # must also be on a u-lined server, as well as #
923 # actually being on the network. If the user is #
924 # online, but not on a u-lined server, then an #
925 # oper-alert is sent out as this is possibly signs #
926 # of a user trying to impersonate a service. #
928 # operonly - Defining this value, with a value of 'yes', '1' #
929 # or true will make the alias oper only. If a non- #
930 # oper attempts to use the alias, it will appear #
933 #<alias text="NICKSERV" replace="PRIVMSG NickServ :$2-" requires="NickServ" uline="yes">
934 #<alias text="CHANSERV" replace="PRIVMSG ChanServ :$2-" requires="ChanServ" uline="yes">
935 #<alias text="OPERSERV" replace="PRIVMSG OperServ :$2-" requires="OperServ" uline="yes" operonly="yes">
936 #<alias text="NS" replace="PRIVMSG NickServ :$2-" requires="NickServ" uline="yes">
937 #<alias text="CS" replace="PRIVMSG ChanServ :$2-" requires="ChanServ" uline="yes">
938 #<alias text="OS" replace="PRIVMSG OperServ :$2-" requires="OperServ" uline="yes" operonly="yes">
940 # An example of using the format value to create an alias with two
941 # different behaviours depending on the format of the parameters.
943 #<alias text="ID" format="#*" replace="PRIVMSG ChanServ :IDENTIFY $2 $3"
944 # requires="ChanServ" uline="yes">
946 #<alias text="ID" replace="PRIVMSG NickServ :IDENTIFY $2"
947 # requires="NickServ" uline="yes">
950 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
951 # Alltime module: Shows time on all connected servers at once
952 #<module name="m_alltime.so">
954 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
955 # Antibear security module: Prevents 'bear.txt' based trojans from
956 # connecting to your network by sending them a numeric they can't handle.
957 #<module name="m_antibear.so">
959 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
960 # Antibottler module: Labels bottler leech bots
961 #<module name="m_antibottler.so">
963 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
964 # Ban except module: Adds support for channel ban exceptions (+e)
965 #<module name="m_banexception.so">
967 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
968 # Ban redirection module: Allows bans which redirect to a specified
969 # channel. e.g. +b nick!ident@host#channelbanneduserissentto
970 #<module name="m_banredirect.so">
972 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
973 # Block amsg module: Attempt to block all usage of /amsg and /ame
974 #<module name="m_blockamsg.so">
976 #-#-#-#-#-#-#-#-#-#-#- BLOCKAMSG CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
978 # If you have the m_blockamsg.so module loaded, you can configure it #
979 # with the <blockamsg> tag: #
981 # delay - How many seconds between two messages to force #
982 # them to be recognised as unrelated. #
983 # action - Any of 'notice', 'noticeopers', 'silent', 'kill' #
984 # or 'killopers'. Define how to take action when #
985 # a user uses /amsg or /ame. #
987 #<blockamsg delay="3" action="killopers">
989 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
990 # Block CAPS module: Blocking all-CAPS messages with cmode +P
991 #<module name="m_blockcaps.so">
993 #-#-#-#-#-#-#-#-#-#-#- BLOCKCAPS CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
995 # percent - How many percent of text must be caps before text #
998 # minlen - The minimum length a line must be for the block #
999 # percent to have any effect. #
1001 #<blockcaps percent="95" minlen="5">
1003 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1004 # Block colour module: Blocking colour-coded messages with cmode +c
1005 #<module name="m_blockcolor.so">
1007 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1008 # Botmode module: Adds the user mode +B
1009 #<module name="m_botmode.so">
1011 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1012 # CBAN module: Lets you disallow channels from being used at runtime.
1013 #<module name="m_cban.so">
1015 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1016 # Censor module: Adds the channel mode +G
1017 #<module name="m_censor.so">
1019 #-#-#-#-#-#-#-#-#-#-#- CENSOR CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
1021 # Optional - If you specify to use the m_censor module, then you must #
1022 # specify some censor tags. See also: #
1023 # http://www.inspircd.org/wiki/Censor_Module #
1025 #<include file="censor.conf">
1027 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1028 # Channel filter module: Allows channel-op defined message
1029 # filtering using simple string matches (channel mode +g)
1030 #<module name="m_chanfilter.so">
1032 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1033 # Chanprotect module: gives +q and +a channel modes
1034 #<module name="m_chanprotect.so">
1036 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1037 # CHGHOST module: Adds the /CHGHOST command
1038 #<module name="m_chghost.so">
1040 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1041 # CHGIDENT module: Adds the /CHGIDENT command
1042 #<module name="m_chgident.so">
1044 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1045 # Cloaking module: Adds usermode +x and cloaking support.
1046 # Relies on the module m_md5.so being loaded before m_cloaking.so in
1047 # the configuration file.
1048 #<module name="m_cloaking.so">
1050 #-#-#-#-#-#-#-#-#-#-#- CLOAKING CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
1052 # Optional - If you specify the m_cloaking.so module as above, you #
1053 # must define cloak keys, and optionally a cloak prefix as shown #
1054 # below. When using cloaking, the cloak keys are MANDITORY and must #
1055 # be included. However, if prefix is not included, it will default #
1056 # to your networks name from the <server> tag. #
1058 # <cloak key1="0x2AF39F40" #
1059 # key2="0x78E10B32" #
1060 # key3="0x4F2D2E82" #
1061 # key4="0x043A4C81" #
1064 # Please note that the key values will accept any number, and should #
1065 # be large numbers. Using small numbers such as "7" or "1924" will #
1066 # seriously weaken the security of your cloak. It is recommended you #
1067 # use hexdecimal numbers prefixed by "0x", as shown in this example, #
1068 # with each key eight hex digits long. #
1070 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1071 # Conn-Lusers: Shows the LUSERS output on connect
1072 #<module name="m_conn_lusers.so">
1074 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1075 # Conn-Usermodes: Set modes on users when they connect
1076 # When this module is loaded <connect:allow> tags may have an optional
1077 # modes="" value, which contains modes to add or remove from users
1078 # when they connect to the server.
1079 #<module name="m_conn_umodes.so">
1081 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1082 # Conn-Wait-for-Pong: Don't let a user connect until they PONG
1083 #<module name="m_conn_waitpong.so">
1085 #-#-#-#-#-#-#-#-#-#-#- WAITPONG CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
1087 # If you have the m_conn_waitpong.so module loaded, configure it with #
1088 # the <waitpong> tag: #
1090 # sendsnotice - Whether to send a snotice on connect, like other #
1093 # killonbadreply - Whether to kill the user if they send the wrong #
1096 #<waitpong sendsnotice="yes" killonbadreply="yes">
1098 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1099 # Connection throttle module. Configuration:
1100 #<module name="m_connflood.so">
1102 #-#-#-#-#-#-#-#-#-#-#- CONTHROTTLE CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
1103 # seconds, maxconns - Amount of connections per <seconds>.
1105 # timeout - Time to wait after the throttle was activated
1106 # before deactivating it. Be aware that the time
1107 # is seconds + timeout.
1109 # quitmsg - The message that users get if they attempt to
1110 # connect while the throttle is active.
1112 # bootwait - Amount of time to wait before enforcing the
1113 # throttling when the server just booted.
1115 #<connflood seconds="30" maxconns="3" timeout="30"
1116 # quitmsg="Throttled" bootwait="10">
1118 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1119 # DCCALLOW module: Adds the /DCCALLOW command
1120 #<module name="m_dccallow.so">
1122 #-#-#-#-#-#-#-#-#-#-#- DCCALLOW CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
1123 # blockchat - Whether to block DCC CHAT as well as DCC SEND
1124 # length - Default duration of entries in DCCALLOW list
1125 # action - Default action to take if no action is specified
1126 # can be 'block' or 'allow'
1128 # File configuration:
1129 # pattern - The glob pattern to match against
1130 # action - Action to take if a user attempts to send a file
1131 # that matches this pattern, can be 'block' or 'allow'
1133 #<dccallow blockchat="yes" length="5m" action="block">
1134 #<banfile pattern="*.exe" action="block">
1135 #<banfile pattern="*.txt" action="allow">
1137 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1139 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1140 # Deaf module: adds support for ircu style usermode +d - deaf to
1141 # channel messages and channel notices.
1142 #<module name="m_deaf.so">
1144 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1145 # Deny Channels: Deny Channels from being used by users
1146 #<module name="m_denychans.so">
1148 #-#-#-#-#-#-#-#-#-#-#- DENYCHAN DEFINITIONS -#-#-#-#-#-#-#-#-#-#-#-#
1150 # If you have the m_denychans.so module loaded, you need to specify #
1151 # the channels to deny: #
1153 # name - The channel name to deny. #
1155 # allowopers - If operators are allowed to override the deny. #
1157 # reason - Reason given for the deny. #
1159 #<badchan name="#gods" allowopers="yes" reason="Tortoises!">
1161 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1162 # Devoice Module: Let users devoice themselves.
1163 #<module name="m_devoice.so">
1165 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1166 # DNS Blacklist Module: Provides support for looking up IPs on one or #
1167 # more blacklists. #
1168 #<module name="m_dnsbl.so"> #
1170 # For configuration options please see the wiki page for m_dnsbl at #
1171 # http://inspircd.org/wiki/DNS_Blacklist_Module #
1173 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1174 # Filter module: Provides glob-based message filtering
1175 #<module name="m_filter.so">
1177 # PCRE filter module: Filters messages using regular expressions
1178 #<module name="m_filter_pcre.so">
1180 # You may only use one or the other with these modules, network-wide.
1182 #-#-#-#-#-#-#-#-#-#-#- FILTER CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
1184 # Optional - If you specify to use the m_filter or m_filter_pcre #
1185 # modules, then specfiy below the path to the filter.conf file, #
1186 # or define some <filter> tags. #
1188 #<include file="filter.conf">
1190 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1191 # Foobar module: does nothing - historical relic
1192 #<module name="m_foobar.so">
1194 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1195 # Globops module: gives /GLOBOPS and usermode +g
1196 #<module name="m_globops.so">
1198 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1199 # Global load module: Allows loading and unloading of modules network-
1200 # wide (USE WITH EXTREME CAUTION!)
1201 #<module name="m_globalload.so">
1203 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1204 # HELPOP module: Provides the /HELPOP command
1205 #<module name="m_helpop.so">
1207 #-#-#-#-#-#-#-#-#-#-#-#- HELPOP CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
1209 # Optional - If you specify to use the m_helpop.so module, then #
1210 # specify below the path to the helpop.conf file, or if you like to #
1211 # make a mess, define your helpop tags in this conf. #
1213 #<include file="helpop.conf">
1215 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1216 # HIDECHANS module: Allows opers to hide their channels list from non-
1217 # opers by setting user mode +I on themselves.
1218 # <module name="m_hidechans.so">
1220 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1221 # HIDEOPER module: Allows opers to hide their oper status from non-
1222 # opers by setting user mode +H on themselves.
1223 # <module name="m_hideoper.so">
1225 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1226 # Hostchange module: Allows a different style of cloaking
1227 #<module name="m_hostchange.so">
1229 #-#-#-#-#-#-#-#-#-#-#- HOSTCHANGE CONFIGURATION -#-#-#-#-#-#-#-#-#-#
1231 # Optional - If you choose to use the m_hostchange.so module. #
1232 # Config Help - See http://www.inspircd.org/wiki/Host_Changer_Module #
1234 #<host suffix="polarbears.org">
1235 #<hostchange mask="*@fbi.gov" action="addnick">
1236 #<hostchange mask="*r00t@*" action="suffix">
1237 #<hostchange mask="a@b.com" action="set" value="blah.blah.blah">
1239 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1240 # httpd module: Provides http server support for InspIRCd
1241 #<module name="m_httpd.so">
1243 #-#-#-#-#-#-#-#-#-#-#-#- HTTPD CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
1245 # Optional - If you choose to use the m_httpd.so module, then you must
1246 # specify the port number and other details of your http server:
1248 #<http ip="192.168.1.10" host="brainwave" port="32006"
1249 # index="/home/brain/inspircd/http/index.html">
1251 # You may have as many of these tags as you wish, each with a different
1252 # IP, port, host or index file. Each one will act as an independent
1256 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1257 # http stats module: Provides basic stats pages over HTTP
1258 # Requires m_httpd.so to be loaded for it to function.
1259 #<module name="m_httpd_stats.so">
1261 #-#-#-#-#-#-#-#-#-#-#-#- HTTPD STATS CONFIGURATION -#-#-#-#-#-#-#-#-#-#
1263 #<httpstats stylesheet="http://remote.style/sheet.css">
1266 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1267 # Ident: Provides RFC 1413 ident lookup support
1268 #<module name="m_ident.so">
1270 #-#-#-#-#-#-#-#-#-#-#-#- IDENT CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
1272 # Optional - If you are using the m_ident.so module, then you can #
1273 # specify the timeout for ident lookups here. If not defined, it will #
1274 # default to one second. This is a non-blocking timeout which holds #
1275 # the user in a 'connecting' state until the lookup is complete. #
1277 #<ident timeout="5">
1279 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1280 # Invite except module: Adds support for channel invite exceptions (+I)
1281 #<module name="m_inviteexception.so">
1283 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1284 # Join flood module: Adds support for join flood protection (+j)
1285 #<module name="m_joinflood.so">
1287 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1288 # Anti-Auto-Rejoin: Adds support for prevention of auto-rejoin (+J)
1289 #<module name="m_kicknorejoin.so">
1291 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1292 # Knock module: adds the /KNOCK command and +K channel mode
1293 #<module name="m_knock.so">
1295 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1296 # Lock server module: Adds /LOCKSERV and /UNLOCKSERV commands that is #
1297 # used to temporarily close/open for new connections to the server. #
1298 # These commands require OPER status and that the LOCKSERV UNLOCKSERV #
1299 # are specified in a <class> tag that the oper is part of. This is so #
1300 # you can control who has access to this possible dangerous command. #
1301 # If your server is locked and you got disconnected, do a REHASH from #
1302 # shell to open up again.
1303 #<module name="m_lockserv.so">
1305 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1306 # Msg flood module: Adds message/notice flood protection (+f)
1307 #<module name="m_messageflood.so">
1309 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1310 # MySQL module: Allows other SQL modules to access MySQL databases
1311 # through a unified API. You must copy the source for this module
1312 # from the directory src/modules/extra, plus the file m_sqlv2.h
1313 #<module name="m_mysql.so">
1315 #-#-#-#-#-#-#-#-#-#-#-#- SQL CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#-#
1317 # m_mysql.so is more complex than described here, see the wiki for #
1318 # more: http://www.inspircd.org/wiki/SQL_Service_Provider_Module #
1320 #<database name="mydb" username="myuser" password="mypass" hostname="localhost" id="my_database2">
1322 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1323 # NAMESX module: Provides support for the NAMESX extension which allows
1324 # clients to see all the prefixes set on a user without getting confused.
1325 # This is supported by mIRC, x-chat, klient, and maybe more.
1326 #<module name="m_namesx.so">
1328 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1329 # Nicklock module: Let opers change a user's nick and then stop that
1330 # user from changing their nick again.
1331 #<module name="m_nicklock.so">
1333 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1334 # No ctcp module: Adds the channel mode +C to block CTCPs
1335 #<module name="m_noctcp.so">
1337 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1338 # Noinvite module: Gives channel mode +V
1339 #<module name="m_noinvite.so">
1341 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1342 # No kicks module: Adds the +Q channel mode
1343 #<module name="m_nokicks.so">
1345 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1346 # No nicks module: Adds the +N channel mode
1347 #<module name="m_nonicks.so">
1349 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1350 # No Notice module: adds the channel mode +T
1351 #<module name="m_nonotice.so">
1353 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1354 # Oper channels mode: Adds the +O channel mode
1355 #<module name="m_operchans.so">
1357 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1358 # Oper hash module: Allows hashed oper passwords
1359 # Relies on the module m_md5.so and/or m_sha256.so being loaded before
1360 # m_oper_hash.so in the configuration file.
1361 #<module name="m_oper_hash.so">
1363 #-#-#-#-#-#-#-#-#-#-# OPER HASH CONFIGURATION #-#-#-#-#-#-#-#-#-#-#-#-#
1365 # To use this module, you must define a hash type for each oper's
1366 # password you want to hash. For example:
1368 # <oper name="katsklaw"
1369 # host="ident@dialup15.isp.com"
1371 # password="a41d730937a53b79f788c0ab13e9e1d5"
1374 # The types of hashing available vary depending on which hashing modules
1375 # you load, but usually if you load m_sha256.so and m_md5.so, both md5
1376 # and sha256 type hashing will be available (the most secure of which
1379 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1380 # Oper Join module: Forces opers to join a channel on oper-up
1381 #<module name="m_operjoin.so">
1383 #-#-#-#-#-#-#-#-#-#-# OPERJOIN CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
1385 # If you are using the m_operjoin.so module, specify the channel here #
1387 #<operjoin channel="#channel">
1389 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1390 # Oper MOTD module: Provides support for seperate message of the day
1392 #<module name="m_opermotd.so">
1394 #-#-#-#-#-#-#-#-#-#-# OPERMOTD CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
1396 # If you are using the m_opermotd.so module, specify the motd here #
1398 #<opermotd file="oper.motd">
1400 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1401 # Override module: Adds support for oper override
1402 #<module name="m_override.so">
1404 #-#-#-#-#-#-#-#-#-#-# OVERRIDE CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
1406 # m_override.so is too complex it describe here, see the wiki: #
1407 # http://www.inspircd.org/wiki/Oper_Override_Module #
1409 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1410 # Oper levels module: Gives each oper a level and prevents
1411 # actions being taken against higher level opers
1412 # Specify the level as the 'level' parameter of the <type> tag
1413 #<module name="m_operlevels.so">
1415 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1416 # Oper modes module: Allows you to specify modes to add/remove on oper
1417 # Specify the modes as the 'modes' parameter of the <type> tag
1418 #<module name="m_opermodes.so">
1420 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1421 # PostgreSQL module: Allows other SQL modules to access PgSQL databases
1422 # through a unified API. You must copy the source for this module
1423 # from the directory src/modules/extra, plus the file m_sqlv2.h
1424 #<module name="m_pgsql.so">
1426 #-#-#-#-#-#-#-#-#-#-#-#- SQL CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#-#
1428 # m_pgsql.so is more complex than described here, see the wiki for #
1429 # more: http://www.inspircd.org/wiki/SQL_Service_Provider_Module #
1431 #<database name="mydb" username="myuser" password="mypass" hostname="localhost" id="my_database" ssl="no">
1433 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1434 # Random Quote module: provides a random quote on connect.
1435 # NOTE: Some of these may mimic fatal errors and confuse users and
1436 # opers alike! - BEWARE!
1437 #<module name="m_randquote.so">
1439 #-#-#-#-#-#-#-#-#-#- RANDOMQUOTES CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
1441 # Optional - If you specify to use the m_randquote.so module, then #
1442 # specify below the path to the randquotes.conf file. #
1444 #<randquote file="randquotes.conf">
1446 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1447 # Redirect module: Adds channel redirection (mode +L)
1448 #<module name="m_redirect.so">
1450 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1451 # Remove module: Adds the /REMOVE command which is a peaceful
1452 # alternative to /KICK
1453 #<module name="m_remove.so">
1455 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1456 # Restrict banned users module:
1457 # Disallows banned users on a channel from messaging the channel,
1458 # changing nick, or changing the topic, if loaded.
1459 #<module name="m_restrictbanned.so">
1461 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1462 # Restricted channels module: Allows only opers to create channels
1463 #<module name="m_restrictchans.so">
1465 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1466 # Restrict message module: Allows users to only message opers
1467 #<module name="m_restrictmsg.so">
1469 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1470 # Provide /LIST throttling (to prevent flooding) and /LIST safety to
1471 # prevent excess flood when the list is large.
1472 #<module name="m_safelist.so">
1474 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1475 # SAJOIN module: Adds the /SAJOIN command
1476 #<module name="m_sajoin.so">
1478 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1479 # SAMODE module: Adds the oper /SAMODE command
1480 #<module name="m_samode.so">
1482 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1483 # SANICK module: Allows opers to change user's nicks
1484 #<module name="m_sanick.so">
1486 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1487 # SAPART module: Adds the oper /SAPART command
1488 #<module name="m_sapart.so">
1490 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1491 # SAQUIT module: Adds the oper /SAQUIT command (abusable!!!)
1492 #<module name="m_saquit.so">
1494 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1495 # Secure list module: Prevent /LIST in the first minute of connection,
1496 # crippling most spambots and trojan spreader bots.
1497 #<module name="m_securelist.so">
1499 #-#-#-#-#-#-#-#-#-# SECURELIST CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#-#
1501 # Securelist can be harmful to some irc search engines such as #
1502 # netsplit.de and searchirc.com. To prevent securelist blocking these #
1503 # sites from listing, define exception tags as shown below: #
1504 <securelist exception="*@*.searchirc.org">
1505 <securelist exception="*@*.netsplit.de">
1507 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1508 # Set Idle module: Adds a command for opers to change their
1509 # idle time (mainly a toy)
1510 #<module name="m_setidle.so">
1512 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1513 # Services support module: Adds several usermodes such as +R and +M
1514 # this module implements the 'identified' state via user mode +r, which
1515 # is similar to the DALnet and dreamforge systems.
1516 #<module name="m_services.so">
1518 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1519 # Services support module: Adds several usermodes such as +R and +M
1520 # this module implements the 'identified' state via account names (AC)
1521 # and is similar in operation to the way asuka and ircu handle services.
1522 # it cannot be used at the same time as m_services, above.
1523 #<module name="m_services_account.so">
1525 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1526 # Sethost module: Adds the /SETHOST command
1527 #<module name="m_sethost.so">
1529 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1530 # Setident module: Adds the /SETIDENT command
1531 #<module name="m_setident.so">
1533 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1534 # SETNAME module: Adds the /SETNAME command
1535 #<module name="m_setname.so">
1537 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1538 # Show Whois module: Adds the +W usermode which allows opers
1539 # to see when they are whois'ed (can be annoying).
1540 #<module name="m_showwhois.so">
1542 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1543 # Spy module: Adds the commands SPYLIST and SPYNAMES that let opers
1544 # see who is in a +s channel, and list +s channels, show keys of keyed
1545 # channels the oper is not a member of etc. (standard 'abusive' features
1546 # of many other ircds, modulized here in InspIRCd).
1547 #<module name="m_spy.so">
1549 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1550 # SSL channel mode module: Adds support for SSL-only channels (+z).
1551 # does not do anything useful without a working SSL module (see below)
1552 #<module name="m_sslmodes.so">
1554 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1555 # Dummy ssl module: If you have other servers on your network which
1556 # have SSL, but your server does not have ssl enabled, you should load
1557 # this module, which will handle SSL metadata (e.g. the "Is using ssl"
1558 # field in the WHOIS information).
1559 #<module name="m_ssl_dummy.so">
1561 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1562 # GnuTLS ssl module: Adds support for client-server SSL using GnuTLS,
1563 # if enabled. You must copy the source for this module from the directory
1564 # src/modules/extra, or answer 'yes' in ./configure when asked if you
1565 # want to enable this, or it will not load.
1566 #<module name="m_ssl_gnutls.so">
1568 #-#-#-#-#-#-#-#-#-#-#- GNUTLS CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
1570 # m_ssl_gnutls.so is too complex it describe here, see the wiki: #
1571 # http://www.inspircd.org/wiki/GnuTLS_SSL_Module #
1573 # NOTE: If you want to use this module to encrypt and sign your #
1574 # server to server traffic, you MUST load it before m_spanningtree in #
1575 # your configuration file! #
1577 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1578 # SSL Info module: Allows users to retrieve information about other
1579 # user's peer SSL certificates and keys. This can be used by client
1580 # scripts to validate users. For this to work, one of m_ssl_gnutls.so
1581 # or m_ssl_openssl.so must be loaded. You must symlink the source for
1582 # this module from the directory src/modules/extra.
1583 #<module name="m_sslinfo.so">
1585 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1586 # OpenSSL ssl module: Adds support for client-server SSL using OpenSSL,
1587 # if enabled. You must copy the source for this module from the directory
1588 # src/modules/extra, or answer 'yes' in ./configure when asked if you
1589 # want to enable this, or it will not load.
1590 #<module name="m_ssl_openssl.so">
1592 #-#-#-#-#-#-#-#-#-#-#- OPENSSL CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
1594 # m_ssl_openssl.so is too complex it describe here, see the wiki: #
1595 # http://www.inspircd.org/wiki/OpenSSL_SSL_Module #
1597 # NOTE: If you want to use this module to encrypt and sign your #
1598 # server to server traffic, you MUST load it before m_spanningtree in #
1599 # your configuration file! #
1601 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1602 # SSL Cert Oper module: Allows opers to oper up using the key fingerprint
1603 # stored within their SSL certificate and key pair.
1604 # When using this module, one of m_ssl_gnutls.so or m_ssl_openssl.so must
1605 # be loaded. An extra value should be added to enabled opers, which
1606 # is in the following format: fingerprint="<hash>". For more information,
1607 # see the example in the oper blocks.
1608 #<module name="m_ssl_oper_cert.so">
1610 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1611 # Strip colour module: Adds the channel mode +S
1612 #<module name="m_stripcolor.so">
1614 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1615 # SILENCE module: Adds support for /SILENCE
1616 #<module name="m_silence.so">
1618 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1619 # Extended SILENCE module: Adds support for /SILENCE with additional
1620 # features to silence based on invites, channel messages, etc.
1621 #<module name="m_silence_ext.so">
1623 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1624 # SQLite3 module: Allows other SQL modules to access SQLite3 #
1625 # databases through a unified API. You must link the source for this #
1626 # module from the directory src/modules/extra to src/modules, plus #
1627 # the file m_sqlv2.h #
1628 #<module name="m_sqlite3.so">
1630 #-#-#-#-#-#-#-#-#-#-#-#- SQL CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#-#
1632 # m_sqlite.so is more complex than described here, see the wiki for #
1633 # more: http://www.inspircd.org/wiki/SQLite3_Service_Provider_Module #
1635 #<database hostname="/full/path/to/database.db" id="anytext">
1637 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1638 # SQLutils module: Provides some utilities to SQL client modules, such
1639 # as mapping queries to users and channels. You must copy the source
1640 # for this module from the directory src/modules/extra/m_sqlutils.cpp
1641 # and src/modules/extra/m_sqlutils.h into /src/modules
1642 # Needed for, and loaded before: SQLauth and SQLoper
1643 #<module name="m_sqlutils.so">
1645 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1646 # SQL authentication module: Allows IRCd connections to be tied into
1647 # a database table (for example a forum). You must copy the source for
1648 # this module from the directory src/modules/extra
1649 # Depends on the SQLutils module being loaded first.
1650 #<module name="m_sqlauth.so">
1652 #-#-#-#-#-#-#-#-#-#-#- SQLAUTH CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
1654 # m_sqlauth.so is too complex it describe here, see the wiki: #
1655 # http://www.inspircd.org/wiki/SQL_Authentication_Module #
1657 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1658 # SQL logging module: Allows you to log network-wide data for your
1659 # network in a fully normalized set of SQL tables. You must copy the
1660 # source for this module from the directory src/modules/extra
1661 #<module name="m_sqllog.so">
1663 #-#-#-#-#-#-#-#-#-#-#- SQLLOG CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
1665 # dbid - Database ID to use (see m_sql) #
1667 # See also: http://www.inspircd.org/wiki/SQL_Logging_Module #
1671 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1672 # SQL oper module: Allows you to store oper credentials in an SQL table
1673 # You must copy the source for this module from the directory src/modules/extra
1674 # Depends on the SQLutils module being loaded first.
1675 #<module name="m_sqloper.so">
1677 #-#-#-#-#-#-#-#-#-#-#- SQLOPER CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
1679 # dbid - Database ID to use (see m_sql) #
1681 # See also: http://www.inspircd.org/wiki/SQL_Oper_Storage_Module #
1685 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1686 # SWHOIS module: Allows you to add arbitary lines to user WHOIS.
1687 #<module name="m_swhois.so">
1689 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1690 # Test command module: Does nothing significant. Read: pointless.
1691 #<module name="m_testcommand.so">
1693 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1694 # Timed bans module: Adds timed bans and the /TBAN command
1695 #<module name="m_timedbans.so">
1697 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1698 # Test line module: Adds the /TLINE command, used to test how many
1699 # users a /GLINE or /ZLINE etc would match.
1700 #<module name="m_tline.so">
1702 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1703 # Uninvite module: Adds the /UNINVITE command which lets users remove
1704 # pending invites from channels without waiting for the user to join.
1705 #<module name="m_uninvite.so">
1707 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1708 # Userip module: Adds the /USERIP command
1709 #<module name="m_userip.so">
1711 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1712 # Vhost module: Adds the VHOST command which allows for adding virtual
1713 # hosts which are accessible using a username and password in the config.
1714 #<module name="m_vhost.so">
1716 #-#-#-#-#-#-#-#-#-#-#- VHOST CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#-#
1718 # user - Username for the vhost. #
1720 # pass - Password for the vhost. #
1722 # host - Vhost to set. #
1724 #<vhost user="some_username" pass="some_password" host="some.host">
1726 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1727 # Watch module: Adds the WATCH command, which is used by clients to
1728 # maintain notify lists.
1729 #<module name="m_watch.so">
1731 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1732 # ZipLinks module: Adds support for zlib deflate on server to server
1733 # connections. Both ends of the connection must load this module.
1735 #<module name="m_ziplink.so">
1737 # To use this module, you must enable it as a transport type in your
1738 # <link> tags or <bind> tags using the transport name 'zip'.
1739 # See the documentation of <link> and <bind>, respectively.
1742 #-#-#-#-#-#-#-#-#-#-#-#-#-#- BAN OPTIONS -#-#-#-#-#-#-#-#-#-#-#-#-#-#
1744 # The ban tags define nick masks, host masks and ip ranges which are #
1745 # banned from your server. All details in these tags are local to #
1749 # badip lines ban an ip range (same as a zline) #
1751 # ipmask - The ip range to ban (wildcards possible) #
1752 # CIDR is supported in the IP mask. #
1753 # reason - Reason to display when disconnected #
1755 # badnick lines ban a nick mask (same as a qline) #
1757 # nick - Nick mask to ban (wildcards possible) #
1758 # reason - Reason to display on /NICK #
1760 # badhost lines ban a user@host mask (same as a kline) #
1762 # host - ident@hostname (wildcards possible) #
1763 # If you specify an IP, CIDR is supported. #
1764 # reason - Reason to display on disconnection #
1766 # exception lines define a hostmask that is excempt from [kzg]lines #
1768 # host - ident@hostname (wildcards possible) #
1769 # If you specify an IP, CIDR is supported. #
1770 # reason - Reason, shown only in /stats e #
1773 <badip ipmask="69.69.69.69" reason="No porn here thanks.">
1775 <badnick nick="ChanServ" reason="Reserved For Services">
1776 <badnick nick="NickServ" reason="Reserved For Services">
1777 <badnick nick="OperServ" reason="Reserved For Services">
1778 <badnick nick="MemoServ" reason="Reserved For Services">
1780 <badhost host="*@hundredz.n.hundredz.o.1337.kiddies.com" reason="Too many 1337 kiddiots">
1781 <badhost host="*@localhost" reason="No irc from localhost!">
1782 <badhost host="*@172.32.0.0/16" reason="This subnet is bad.">
1784 <exception host="*@ircop.host.com" reason="Opers hostname">
1786 #-#-#-#-#-#-#-#-#-#-#- INSANE BAN OPTIONS -#-#-#-#-#-#-#-#-#-#-#-#-#-#
1788 # This optional tag allows you to specify how wide a gline, eline, #
1789 # kline, zline or qline can be before it is forbidden from being #
1790 # set. By setting hostmasks="yes", you can allow all G, K, E lines, #
1791 # no matter how many users the ban would cover. This is not #
1792 # recommended! By setting ipmasks="yes", you can allow all Z lines, #
1793 # no matter how many users these cover too. Needless to say we #
1794 # don't recommend you do this, or, set nickmasks="yes", which will #
1795 # allow any qline. #
1797 # The trigger value indicates how wide any mask will be before it is #
1798 # prevented from being set. The default value is 95.5% if this tag is #
1799 # not defined in your configuration file, meaning that if your #
1800 # network has 1000 users, a gline matching over 955 of them will be #
1801 # prevented from being added. #
1803 # Please note that remote servers (and services) are exempt from #
1804 # these restrictions and expected to enforce their own policies #
1808 <insane hostmasks="no" ipmasks="no" nickmasks="no" trigger="95.5">
1810 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#- YAWN -#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1812 # You should already know what to do here :) #
1814 <die value="No, i wasnt joking. You should probably edit your config *PROPERLY* and try again.">
1817 #########################################################################
1819 # - InspIRCd Development Team - #
1820 # http://www.inspircd.org #
1822 #########################################################################