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 : 03 Feb 2007 #
25 # ____ _ _____ _ _ ____ _ _ _ #
26 # | _ \ ___ __ _ __| | |_ _| |__ (_)___ | __ )(_) |_| | #
27 # | |_) / _ \/ _` |/ _` | | | | '_ \| / __| | _ \| | __| | #
28 # | _ < __/ (_| | (_| | | | | | | | \__ \ | |_) | | |_|_| #
29 # |_| \_\___|\__,_|\__,_| |_| |_| |_|_|___/ |____/|_|\__(_) #
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. #
36 ########################################################################
38 # Unalphabeticalise the modules list at your own risk #
40 ########################################################################
43 #-#-#-#-#-#-#-#-#-#-#-#- SERVER DESCRIPTION -#-#-#-#-#-#-#-#-#-#-#-#-
45 # Here is where you enter the information about your server. #
47 # Syntax is as follows: #
49 # <server name="server.name" #
50 # description="Server Description" #
51 # network="MyNetwork"> #
54 <server name="penguin.omega.org.za"
55 description="Waddle World"
59 #-#-#-#-#-#-#-#-#-#-#-#- ADMIN INFORMATION -#-#-#-#-#-#-#-#-#-#-#-#
61 # Describes the Server Administrator's real name (optionally), #
62 # nick, and email address. #
64 # Syntax is as follows: #
65 # <admin name="real name" #
67 # email="email@address.com"> #
70 <admin name="Johnny English"
72 email="MI5@the.best.secret.agent">
75 #-#-#-#-#-#-#-#-#-#-#-#- PORT CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-
77 # Enter the port and address bindings here. #
79 # bind address - specifies which address ports bind to. Leaving this #
80 # field blank binds the port to all IPs available. #
82 # port - The port number to bind to. You may specify a port #
83 # range here, e.g. "6667-6669,7000,7001". If you do #
84 # this, the server will count each port within your #
85 # range as a seperate binding, making the above #
86 # example equivalent to five seperate bind tags. #
87 # A failure on one port in the range does not prevent #
88 # the entire range from being bound, just that one #
91 # type - can be 'clients' or 'servers'. The clients type is #
92 # a standard tcp based socket, the servers type is a #
93 # also a TCP based connection but of a different #
94 # format. SSL support is provided by modules, to #
95 # enable SSL support, please read the module section #
96 # of this configuration file. #
98 # ssl - When using m_ssl_gnutls.so or m_ssl_openssl.so #
99 # modules, you must define this value to use ssl on #
100 # that port. valid values are 'gnutls' or 'openssl' #
101 # respectively. If the module is not loaded, this #
102 # setting is ignored. #
104 # transport - If you have m_spanningtree.so loaded, along with #
105 # either of the SSL modules (m_ssl_gnutls or #
106 # m_ssl_openssl) or m_ziplinks.so, then you may make #
107 # use of this value. #
108 # setting it to 'openssl' or 'gnutls' or 'zip' #
109 # indicates that the port should accept connections #
110 # using the given transport name. Transports are #
111 # layers which sit on top of a socket and change the #
112 # way data is sent and received, e.g. encryption, #
113 # compression, and other such things. Because this #
114 # may not be limited in use to just encryption, #
115 # the 'ssl' value used for client ports does not #
116 # exist for servers, and this value is used instead. #
117 # ____ _ _____ _ _ ____ _ _ _ #
118 # | _ \ ___ __ _ __| | |_ _| |__ (_)___ | __ )(_) |_| | #
119 # | |_) / _ \/ _` |/ _` | | | | '_ \| / __| | _ \| | __| | #
120 # | _ < __/ (_| | (_| | | | | | | | \__ \ | |_) | | |_|_| #
121 # |_| \_\___|\__,_|\__,_| |_| |_| |_|_|___/ |____/|_|\__(_) #
123 # If you want to link servers to InspIRCd you must load the #
124 # m_spanningtree module! Please see the modules list below for #
125 # information on how to load this module! If you do not load this #
126 # module, server ports will NOT be bound! #
128 # Leaving address empty binds to all available interfaces #
130 # Syntax is as follows: #
132 # <bind address="ip address" port="port" type="clients"> #
133 # <bind address="ip address" port="port" type="servers"> #
135 # If InspIRCd is built for IPV6, and you wish to accept IPV4 clients, #
136 # then you must specify your IPV6 clients in the following form: #
137 # ::ffff:1.2.3.4, where 1.2.3.4 is the IPV4 address to bind the #
138 # port on. If InspIRCd is built for IPV4 connections (this is the #
139 # default) then you do not need to prefix your addresses like this. #
142 <bind address="" port="6000" type="clients">
143 <bind address="" port="6660-6669" type="clients" ssl="gnutls">
145 # When linking servers, the openssl and gnutls transports are largely
146 # link-compatible and can be used alongside each other or either/or
147 # on each end of the link without any significant issues.
149 <bind address="" port="7000,7001" type="servers">
150 <bind address="1.2.3.4" port="7005" type="servers" transport="openssl">
153 #-#-#-#-#-#-#-#-#-#- DIE/RESTART CONFIGURATION -#-#-#-#-#-#-#-#-#-#-
155 # You can configure the passwords here which you wish to use for #
156 # the die and restart commands. Only trusted ircops who will #
157 # need this ability should know the die and restart password. #
159 # Syntax is as follows: #
160 # <power diepass="die password" restartpass="restart password" #
161 # pause="secs before dying"> #
164 <power diepass="diepass" restartpass="restartpass" pause="2">
167 #-#-#-#-#-#-#-#-#-# INCLUDE CONFIGURATION #-#-#-#-#-#-#-#-#-#-#-#-#-#
169 # This optional tag allows you to include another config file #
170 # allowing you to keep your configuration tidy. The configuration #
171 # file you include will be treated as part of the configuration file #
172 # which includes it, in simple terms the inclusion is transparent. #
174 # All paths to config files are relative to the directory of the main #
175 # config file inspircd.conf, unless the filename starts with a forward#
176 # slash (/) in which case it is treated as an absolute path. #
178 # Syntax is as follows: #
179 #<include file="file.conf"> #
182 #-#-#-#-#-#-#-#-#-#- CONNECTIONS CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
184 # This is where you can configure which connections are allowed #
185 # and denied access onto your server. #
186 # The password is optional. #
187 # You may have as many of these as you require. #
188 # To allow/deny all connections use a * #
190 # Syntax is as follows: #
192 # <connect allow="ip mask"> #
193 # <connect allow="ip mask" password="blahblah"> #
194 # <connect allow="ip mask" password="blah" timeout="10"> #
195 # <connect allow="ip mask" timeout="blah" flood="5"> #
196 # <connect allow="ip mask" threshold="8" pingfreq="120"> #
197 # <connect allow="ip mask" sendq="99999" revcq="696969"> #
198 # <connect allow="ip mask" localmax="3" globalmax="3"> #
199 # <connect deny="ip mask"> #
201 # IP masks may be specified in CIDR format or wildcard format, #
202 # for IPV4 and IPV6. #
204 # You may optionally include timeout="x" on any allow line, which #
205 # specifies the amount of time given before an unknown connection #
206 # is closed if USER/NICK/PASS are not given. This value is in secs #
208 # You should also include a flood="x" line which indicates #
209 # the number of lines a user may place into their buffer at once #
210 # before they are disconnected for excess flood. This feature can #
211 # not be disabled, however it can be set to extremely high values, #
212 # rendering it effectively disabled. A recommended value is 10. #
213 # A counter is maintained for each user which is reset every #
214 # 'threshold' seconds and specifying this threshold value with #
215 # threshold="X" indicates how often the counter is reset. For #
216 # example, with flood="5" and threshold="8", the user may not send #
217 # more than 5 lines in 8 secs. #
219 # You may optionally specify the sendq size and ping frequency of #
220 # each connect:allow line using the pingfreq="X" and sendq="X" #
221 # settings as shown in the full example below. #
222 # The ping frequency is specified in seconds, and the sendq size #
223 # in bytes. It is recommended, although not enforced, that you #
224 # should never set your sendq size to less than 8k. Send Queues are #
225 # dynamically allocated and can grow as needed up to the maximum #
228 # The optional recvq value is the maximum size which users in this #
229 # group may grow their receive queue to. This is recommended to be #
230 # kept pretty low compared to the sendq, as users will always #
231 # receive more than they send in normal circumstances. The default #
232 # if not specified is 4096. #
234 # IMPORTANT NOTE, CALL THE CONFUSION POLICE! #
235 # The sendq is the data waiting to be sent TO THE USER. #
236 # The recvq is the data being received FROM THE USER. #
237 # The names sendq and recvq are from the SERVER'S PERSPECTIVE not #
238 # that of the user... Just to clear up any confusion or complaints #
239 # that these are backwards :p #
241 # The localmax and globalmax values can be used to enforce local #
242 # and global session limits on connections. The session limits are #
243 # counted against all users, but applied only to users within the #
244 # class. For example, if you had a class 'A' which has a session #
245 # limit of 3, and a class 'B' which has a session limit of 5, and #
246 # somehow, two users managed to get into class B which also match #
247 # class A, there is only one connection left for this IP now in A, #
248 # but if they can connect again to B, there are three. You get the #
252 <connect allow="196.12.*" password="secret">
253 <connect allow="*" timeout="60" flood="20" threshold="1" pingfreq="120" sendq="262144" recvq="8192" localmax="3" globalmax="3">
255 <connect deny="69.254.*">
256 <connect deny="3ffe::0/32">
259 #-#-#-#-#-#-#-#-#-#-#-#- CLASS CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-
261 # Classes are a group of commands which are grouped together #
262 # and given a unique name. They used to define which commands #
263 # are available to certain types of Operators. #
265 # Syntax is as follows: #
267 # <class name="name" commands="oper commands"> #
269 # ____ _ _____ _ _ ____ _ _ _ #
270 # | _ \ ___ __ _ __| | |_ _| |__ (_)___ | __ )(_) |_| | #
271 # | |_) / _ \/ _` |/ _` | | | | '_ \| / __| | _ \| | __| | #
272 # | _ < __/ (_| | (_| | | | | | | | \__ \ | |_) | | |_|_| #
273 # |_| \_\___|\__,_|\__,_| |_| |_| |_|_|___/ |____/|_|\__(_) #
275 # You are not forced to give these classes the names given below. #
276 # You can create your own named classes, if you want, in fact that #
277 # is the whole idea of this system! #
279 # Note: It is possible to make a class which covers all available #
280 # commands. To do this, specify commands="*". This is not really #
281 # recommended, as it negates the whole purpose of the class system, #
282 # however it is provided for fast configuration (e.g. in test nets) #
285 <class name="Shutdown" commands="DIE RESTART REHASH LOADMODULE UNLOADMODULE RELOAD">
286 <class name="ServerLink" commands="CONNECT SQUIT RCONNECT MKPASSWD MKSHA256">
287 <class name="BanControl" commands="KILL GLINE KLINE ZLINE QLINE ELINE">
288 <class name="OperChat" commands="WALLOPS GLOBOPS SETIDLE SPYLIST SPYNAMES">
289 <class name="HostCloak" commands="SETHOST SETIDENT SETNAME CHGHOST CHGIDENT">
292 #-#-#-#-#-#-#-#-#-#-#-#- OPERATOR COMPOSITION -#-#-#-#-#-#-#-#-#-#-#
294 # This is where you specify which types of operators you have on #
295 # your server, as well as the commands they are allowed to use. #
296 # This works alongside with the classes specified above. #
298 # type name - a name for the combined class types #
299 # a type name cannot contain spaces, however if you #
300 # put an _ symbol in the name, it will be translated #
301 # to a space when displayed in a WHOIS. #
303 # classes - specified above, used for flexibility for the #
304 # server admin to decide on which operators get #
305 # what commands. Class names are case sensitive, #
306 # seperate multiple class names with spaces. #
308 # host - optional hostmask operators will receive on oper-up. #
310 # Syntax is as follows: #
312 # <type name="name" classes="class names" host="oper hostmask"> #
314 # ____ _ _____ _ _ ____ _ _ _ #
315 # | _ \ ___ __ _ __| | |_ _| |__ (_)___ | __ )(_) |_| | #
316 # | |_) / _ \/ _` |/ _` | | | | '_ \| / __| | _ \| | __| | #
317 # | _ < __/ (_| | (_| | | | | | | | \__ \ | |_) | | |_|_| #
318 # |_| \_\___|\__,_|\__,_| |_| |_| |_|_|___/ |____/|_|\__(_) #
320 # You are not forced to give these types the names given below. #
321 # You can create your own named types, if you want, in fact that #
322 # is the whole idea of this system! #
325 <type name="NetAdmin" classes="OperChat BanControl HostCloak Shutdown ServerLink" host="netadmin.omega.org.za">
326 <type name="GlobalOp" classes="OperChat BanControl HostCloak ServerLink" host="ircop.omega.org.za">
327 <type name="Helper" classes="HostCloak" host="helper.omega.org.za">
330 #-#-#-#-#-#-#-#-#-#-#- OPERATOR CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
332 # Opers are defined here. This is a very important section. #
333 # Remember to only make operators out of truthworthy people. #
335 # name - oper name, This is case sensitive, so it is best to #
338 # password - password to oper-up, also case sensitive. #
339 # encryption is supported via modules. You may load #
340 # modules for MD5 or SHA256 encryption, and if you do, #
341 # this value will be a hash value, otherwise put a #
342 # plaintext password in this value. #
344 # host - hosts of client allowed to oper-up. #
345 # wildcards accepted, seperate multiple hosts with a #
346 # space. You may also specify CIDR ip addresses. #
348 # fingerprint - When using the m_ssl_oper_cert.so module, you may #
349 # specify a key fingerprint here. This can be obtained #
350 # using the /fingerprint command whilst the module is #
351 # loaded, or from the notice given to you when you #
352 # connect to the ircd using a client certificate, #
353 # and will lock this oper block to only the user who #
354 # has that specific key/certificate pair. #
355 # This enhances security a great deal, however it #
356 # requires that opers use clients which can send ssl #
357 # client certificates, if this is configured for that #
358 # oper. Note that if the m_ssl_oper.so module is not #
359 # loaded, and/or one of m_ssl_openssl or m_ssl_gnutls #
360 # is not loaded, this configuration option has no #
361 # effect and will be ignored. #
363 # type - Defines the kind of operator. This must match a type #
364 # tag you defined above, and is case sensitive. #
366 # Syntax is as follows: #
367 # <oper name="login" #
369 # host="hostmask@of.oper" #
370 # fingerprint="hexsequence" #
371 # type="oper type"> #
376 host="ident@dialup15.isp.com *@localhost *@server.com *@3ffe::0/16"
380 #-#-#-#-#-#-#-#-#-#-#- SERVER LINK CONFIGURATION -#-#-#-#-#-#-#-#-#-#
382 # Defines which servers can link to this one, and which servers this #
383 # server may create outbound links to. #
385 # name - The name is the canocial name of the server, does #
386 # not have to resolve - but it is expected to be set #
387 # in the remote servers connection info. #
389 # ipaddr - Valid host or ip address for remote server. These #
390 # hosts are resolved on rehash, and cached, if you #
391 # specify a hostname, so if you find that your server #
392 # is still trying to connect to an old IP after you #
393 # have updated your dns, try rehashing and then #
394 # attempting the connect again. #
396 # port - The TCP port for the remote server. #
398 # sendpass - Password to send to create an outbound connection #
401 # recvpass - Password to receive to accept an inbound connection #
402 # from this server. #
404 # autoconnect - Sets the server to autoconnect. Where x is the num. #
405 # (optional) of seconds between attempts. e.g. 300 = 5 minutes. #
407 # transport - If defined, this is a transport name implemented by #
408 # another module. Transports are layers on top of #
409 # plaintext connections, which alter them in certain #
410 # ways. Currently the three supported transports are #
411 # 'openssl' and 'gnutls' which are types of SSL #
412 # encryption, and 'zip' which is for compression. #
413 # If you define a transport, both ends of the #
414 # connection must use a compatible transport for the #
415 # link to succeed. OpenSSL and GnuTLS are link- #
416 # compatible with each other. #
418 # hidden - When using m_spanningtree.so for linking. you may #
419 # set this to 'yes', and if you do, the IP address/ #
420 # hostname of this connection will NEVER be shown to #
421 # any opers on the network. In /STATS c its address #
422 # will show as *@<hidden>, and during CONNECT and #
423 # inbound connections, its IP will show as <hidden> #
424 # UNLESS the connection fails (e.g. due to a bad #
425 # password or servername) #
427 # allowmask - When this is defined, it indicates a range of IP #
428 # addresses to allow for this link (You may use CIDR #
429 # or wildcard form for this address). #
430 # e.g. if your server is going to connect to you from #
431 # the range 1.2.3.1 through 1.2.3.255, put 1.2.3.0/24 #
432 # into this value. If it is not defined, then only #
433 # the ipaddr field of the server shall be allowed. #
435 # failover - If you define this option, it must be the name of a #
436 # different link tag in your configuration. This #
437 # option causes the ircd to attempt a connection to #
438 # the failover link in the event that the connection #
439 # to this server fails. For example, you could define #
440 # two hub uplinks to a leaf server, and set an #
441 # american server to autoconnect, with a european #
442 # hub as its failover. In this situation, your ircd #
443 # will only try the link to the european hub if the #
444 # american hub is unreachable. NOTE that for the #
445 # intents and purposes of this option, an unreachable #
446 # server is one which DOES NOT ANSWER THE CONNECTION. #
447 # If the server answers the connection with accept(), #
448 # EVEN IF THE CREDENTIALS ARE INVALID, the failover #
449 # link will not be tried! Failover settings will also #
450 # apply to autoconnected servers as well as manually #
453 # timeout - If this is defined, then outbound connections will #
454 # time out if they are not connected within this many #
455 # seconds. If this is not defined, the default of ten #
458 # to u:line a server (give it extra privilages required for running #
459 # services, Q, etc) you must include the <uline server> tag as shown #
460 # in the example below. You can have as many of these as you like. #
462 # WARNING: Unlike other ircds, u:lining a server allows ALL users on #
463 # that server to operoverride modes. This should only be used for #
464 # services and protected oper servers! #
466 # NOTE: If you have built InspIRCd with IPV6 support, and you want #
467 # to link to an IPV4 server, you must specify the IP address in the #
468 # form '::ffff:1.2.3.4' where 1.2.3.4 is the IP address of the target #
469 # server. If you have built InspIRCd for IPV4 (this is the default) #
470 # you should not prefix your IP addresses in this fashion. #
472 # ____ _ _____ _ _ ____ _ _ _ #
473 # | _ \ ___ __ _ __| | |_ _| |__ (_)___ | __ )(_) |_| | #
474 # | |_) / _ \/ _` |/ _` | | | | '_ \| / __| | _ \| | __| | #
475 # | _ < __/ (_| | (_| | | | | | | | \__ \ | |_) | | |_|_| #
476 # |_| \_\___|\__,_|\__,_| |_| |_| |_|_|___/ |____/|_|\__(_) #
478 # If you want to link servers to InspIRCd you must load the #
479 # m_spanningtree module! Please see the modules list below for #
480 # information on how to load this module! If you do not load this #
481 # module, server links will NOT work! #
483 # Also, if you define any transports, you must load the modules for #
484 # these transports BEFORE you load m_spanningtree, e.g. place them #
485 # above it in the configuration file. Currently this means the three #
486 # modules m_ssl_gnutls, m_ziplinks and m_ssl_openssl, depending on #
487 # which you choose to use. #
490 <link name="hub.penguin.org"
491 ipaddr="penguin.box.com"
493 allowmask="69.58.44.0/24"
495 failover="hub.other.net"
498 sendpass="outgoing!password"
499 recvpass="incoming!password">
501 <link name="services.antarctic.com"
504 allowmask="127.0.0.0/8"
506 recvpass="polarbears">
508 <uline server="services.antarctic.com">
511 #-#-#-#-#-#-#-#-#-#- MISCELLANEOUS CONFIGURATION -#-#-#-#-#-#-#-#-#-#
513 # These options let you define the path to your motd and rules #
514 # files. If these are relative paths, they are relative to the #
515 # configurtion directory. #
518 <files motd="inspircd.motd"
519 rules="inspircd.rules">
521 #-#-#-#-#-#-#-#-#-#-#-#-#-#-# DNS SERVER -#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
523 # Define your DNS server address here. InspIRCd has its own resolver. #
524 # If you do not define this value, the first dns server from your #
525 # /etc/resolv.conf file is read. If no entries are found in this file #
526 # or the file cannot be opened, the default value '127.0.0.1' is used #
527 # instead. The timeout value is in seconds. #
529 # ____ _ _____ _ _ ____ _ _ _ #
530 # | _ \ ___ __ _ __| | |_ _| |__ (_)___ | __ )(_) |_| | #
531 # | |_) / _ \/ _` |/ _` | | | | '_ \| / __| | _ \| | __| | #
532 # | _ < __/ (_| | (_| | | | | | | | \__ \ | |_) | | |_|_| #
533 # |_| \_\___|\__,_|\__,_| |_| |_| |_|_|___/ |____/|_|\__(_) #
535 # When choosing a server, be sure to choose one which will do a #
536 # RECURSIVE LOOKUP. InspIRCd's resolver does not currently do these #
537 # recursive lookups itself, to save time and resources. The dns #
538 # server recommended by the InspIRCd team is bind, available from the #
539 # ISC website. If your DNS server does not do a recursive lookup, you #
540 # will be able to notice this by the fact that none of your users are #
541 # resolving even though the DNS server appears to be up! Most ISP and #
542 # hosting provider DNS servers support recursive lookups. #
544 # NOTE: If you have built InspIRCd with IPV6 support, and you want #
545 # to use an IPV4 nameserver, you must specify the IP address in the #
546 # form '::ffff:1.2.3.4' where 1.2.3.4 is the IP address of the target #
547 # server. If you have built InspIRCd for IPV4 (this is the default) #
548 # you should not prefix your IP addresses in this fashion. #
550 # IF YOUR RESOLV.CONF CONTAINS ONLY IPV4 ADDRESSES, AND YOU ARE USING #
551 # IPV6, YOU MUST DEFINE THE <DNS SERVER> TAG, AND USE THE ::FFFF #
552 # PREFIX NOTATION. IF YOU DO NOT, HOSTS WILL *NOT* RESOLVE. #
555 <dns server="127.0.0.1" timeout="5">
557 # An example of using IPV4 nameservers over IPV6
558 #<dns server="::ffff:127.0.0.1" timeout="5">
560 #-#-#-#-#-#-#-#-#-#-#-#-#-#-# PID FILE -#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
562 # Define the path to the PID file here. The PID file can be used to #
563 # rehash the ircd from the shell or to terminate the ircd from the #
564 # shell using shell scripts, perl scripts etc, and to monitor the #
565 # ircd's state via cron jobs. If this is a relative path, it will be #
566 # relative to the configuration directory, and if it is not defined, #
567 # the default of 'inspircd.pid' is used. #
570 #<pid file="/path/to/inspircd.pid">
572 #-#-#-#-#-#-#-#-#-#-#-#-#- BANLIST LIMITS #-#-#-#-#-#-#-#-#-#-#-#-#-#-#
574 # Use these tags to customise the ban limits on a per channel basis. #
575 # the tags are read from top to bottom, and any tag found which #
576 # matches the channels name applies the banlimit to that channel. #
577 # It is advisable to put an entry with the channel as '*' at the #
578 # bottom of the list. If none are specified or no maxbans tag is #
579 # matched, the banlist size defaults to 64 entries. #
582 <banlist chan="#morons" limit="128">
583 <banlist chan="*" limit="69">
585 #-#-#-#-#-#-#-#-#-#-#- DISABLED COMMANDS -#-#-#-#-#-#-#-#-#-#-#-#-#-#
587 # This tag is optional, and specifies one or more commands which are #
588 # not available to non-operators. For example you may wish to disable #
589 # NICK and prevent non-opers from changing their nicknames. #
590 # Note that any disabled commands take effect only after the user has #
591 # 'registered' (e.g. after the initial USER/NICK/PASS on connection) #
592 # so for example disabling NICK will not cripple your network. #
595 #<disabled commands="TOPIC MODE">
598 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#- RTFM LINE -#-#-#-#-#-#-#-#-#-#-#-#-#-#
600 # Just remove this... Its here to make you read ALL of the config #
603 <die value="You should probably edit your config *PROPERLY* and try again.">
607 #-#-#-#-#-#-#-#-#-#-#-#-#- SERVER OPTIONS -#-#-#-#-#-#-#-#-#-#-#-#-#
609 # Settings to define which features are useable on your server. #
611 # prefixquit - a prefix for a client's quit message #
613 # loglevel - specifies what detail of messages to log in the #
614 # log file. You may select from debug, verbose, #
615 # default, sparse and none. #
617 # allowhalfop - allows the +h channel mode #
619 # noservices - If noservices is true, yes, or 1, then the first #
620 # user into a channel gets founder status. This is #
621 # only useful on networks running the m_chanprotect #
622 # module without services. #
624 # qaprefixes - If qaprefixes is true, yes, or 1, then users #
625 # with +q or +a will get the ~ or & prefixes #
626 # used in unreal. This is only useful on networks #
627 # running the m_chanprotect module #
629 # deprotectself - If this value is set to yes, true, or 1, then any #
630 # user with +q or +a may remove the +q or +a from #
631 # themselves. The default setting is to not enable #
632 # this feature, which stops even the founder taking #
633 # away their founder status without using services. #
635 # cyclehosts - If this is set to true, yes or 1, then when a #
636 # user's hostname changes, they will appear to quit #
637 # and then rejoin with their new host. This prevents #
638 # clients from being confused by host changes, #
639 # especially in the case of bots, and it is #
640 # recommended that this option is enabled. #
642 # netbuffersize - size of the buffer used to receive data from #
643 # clients. The ircd may only read() this amount #
644 # of text in one go at any time. (OPTIONAL) #
646 # maxwho - The maximum number of results returned by a /WHO #
647 # query. This is to prevent /WHO being used as a #
648 # spam vector or means of flooding an ircd. The #
649 # default is 128, it is not recommended to raise it #
650 # above 1024. Values up to 65535 are permitted. #
652 # somaxconn - The maximum number of sockets that may be waiting #
653 # in the accept queue. This usually allows the ircd #
654 # to soak up more connections in a shorter space of #
655 # time when increased but please be aware there is a #
656 # system defined maximum value to this, the same way #
657 # there is a system defined maximum number of file #
658 # descriptors. Some systems may only allow this to #
659 # be up to 5 (ugh) while others such as FreeBSD will #
660 # default to a much nicer 128. #
662 # moduledir - This optional value indicates a runtime change of #
663 # the location where modules are to be found. This #
664 # does not add a supplementary directory. There can #
665 # only be one module path. #
667 # softlimit - This optional feature allows a defined softlimit. #
668 # if defined sets a soft maxconnections value, has #
669 # to be less than the ./configure maxclients #
671 # userstats - The userstats field is optional and specifies #
672 # which stats characters in /STATS may be requested #
673 # by non-operators. Stats characters in this field #
674 # are case sensitive and are allowed to users #
675 # independent of if they are in a module or the core #
677 # operspywhois - If this is set then when an IRC operator uses #
678 # /WHOIS on a user they will see all channels, even #
679 # ones if channels are secret (+s), private (+p) or #
680 # if the target user is invisible +i. #
682 # customversion - If you specify this configuration item, and it is #
683 # not set to an empty value, then when a user does #
684 # a /VERSION command on the ircd, this string will #
685 # be displayed as the second portion of the output, #
686 # replacing the system 'uname', compile flags and #
687 # socket engine/dns engine names. You may use this #
688 # to enhance security, or simply for vanity. #
690 # maxtargets - The maxtargets field is optional, and if not #
691 # defined, defaults to 20. It indicates the maximum #
692 # number of targets which may be given to commands #
693 # such as PRIVMSG, KICK etc. #
695 # hidesplits - When set to 'yes', will hide split server names #
696 # from non-opers. Non-opers will see '*.net *.split' #
697 # instead of the server names in the quit message, #
698 # identical to the way IRCu displays them. #
700 # hidebans - When set to 'yes', will hide gline, kline, zline #
701 # and qline quit messages from non-opers. For #
702 # example, user A who is not an oper will just see #
703 # (G-Lined) while user B who is an oper will see the #
704 # text (G-Lined: Reason here) instead. #
706 # hidewhois - When defined with a non-empty value, the given #
707 # text will be used in place of the user's server #
708 # in WHOIS, when a user is WHOISed by a non-oper. #
709 # For example, most nets will want to set this to #
710 # something like '*.netname.net' to conceal the #
711 # actual server the user is on. #
713 # flatlinks - When you are using m_spanningtree.so, and this #
714 # value is set to true, yes or 1, /MAP and /LINKS #
715 # will be flattened when shown to a non-oper. #
717 # hideulines - When you are using m_spanningtree.so, and this #
718 # value is set to true, yes or 1, then U-lined #
719 # servers will be hidden in /LINKS and /MAP. For non #
720 # opers. Please be aware that this will also hide #
721 # any leaf servers of a U-lined server, e.g. jupes. #
723 # nouserdns - If set to 'yes', 'true' or '1', no user dns #
724 # lookups will be performed for connecting users. #
725 # this can save a lot of resources on very busy irc #
728 # syntaxhints - If set to 'yes', 'true' or '1', when a user does #
729 # not give enough parameters for a command, a syntax #
730 # hint will be given (using the RPL_TEXT numeric) #
731 # as well as the standard ERR_NEEDMOREPARAMS. #
733 # announcets - If this value is defined to 'yes', 'true' or '1', #
734 # then if a channel's timestamp is updated the users #
735 # on the channel will be informed of the change via #
736 # a server notice to the channel with the old and #
737 # new TS values in the timestamp. If you think this #
738 # is just pointless noise, define the value to 0. #
740 # ircumsgprefix - Use undernet style message prefix for channel #
741 # NOTICE and PRIVMSG adding the prefix to the line #
742 # of text sent out. Eg. NOTICE @#test :@ testing #
743 # vs off: NOTICE @#test :testing #
745 # notimesync - If this value is 'yes', 'true', or '1', time #
746 # synchronization is disabled on this server. This #
747 # means any servers you are linked to will not #
748 # automatically synchronize time with you, and in #
749 # most cases will just result in more bounced modes #
750 # on netsplits. This option should be the same on #
754 <options prefixquit="Quit: "
756 netbuffersize="10240"
780 #-#-#-#-#-#-#-#-#-#-#-#-#- WHOWAS OPTIONS -#-#-#-#-#-#-#-#-#-#-#-#-#
782 # This tag lets you define the behaviour of the /whowas command of #
785 # groupsize - Controls the maximum entries per nick shown when #
786 # performing a /whowas nick. Setting this to 0 dis- #
787 # ables whowas completely. #
789 # maxgroups - The maximum number of nickgroups that can be added #
790 # to the list. If max is reached, oldest group will #
791 # be deleted first like a FIFO. A groupsize of 3 and #
792 # a maxgroups of 5000 will allow for 5000 nicks to #
793 # be stored with a history of 3, thus giving a total #
794 # of 3 * 5000 = 15000 entries. A setting of 0 dis- #
795 # ables whowas completely. #
797 # maxkeep - The maximum time a nick is kept in the whowas list #
798 # before being pruned. Time may be specified in #
799 # seconds, or in the following format: 1y2w3d4h5m6s #
800 # meaning one year, two weeks, three days, 4 hours, #
801 # 5 minutes and 6 seconds. All fields in this format #
802 # are optional. Minimum is 1 hour, if less InspIRCd #
803 # will default back to 1 hour. #
805 #<whowas groupsize="10" #
806 # maxgroups="100000" #
810 #-#-#-#-#-#-#-#-#-#-#-#-#- MODULE OPTIONS -#-#-#-#-#-#-#-#-#-#-#-#-#
812 # These tags define which modules will be loaded on startup by your #
813 # server. Add modules without any paths. When you make your ircd #
814 # using the 'make' command, all compiled modules will be moved into #
815 # the folder you specified when you ran ./configure. The module tag #
816 # automatically looks for modules in this location. #
817 # If you attempt to load a module outside of this location, either #
818 # in the config, or via /LOADMODULE, you will receive an error. #
820 # By default, ALL modules are commented out. You must uncomment them #
821 # or add lines to your config to load modules. Please refer to #
822 # http://www.inspircd.org/wiki/Modules_List for a list of modules and#
823 # each modules link for any additional conf tags they require. #
825 # You may use wildcards in a <module> tag to load all modules which #
826 # match a glob pattern (e.g. m_sa????.so would load m_sajoin, #
827 # m_sapart, m_saquit and m_sanick) #
829 # ____ _ _____ _ _ ____ _ _ _ #
830 # | _ \ ___ __ _ __| | |_ _| |__ (_)___ | __ )(_) |_| | #
831 # | |_) / _ \/ _` |/ _` | | | | '_ \| / __| | _ \| | __| | #
832 # | _ < __/ (_| | (_| | | | | | | | \__ \ | |_) | | |_|_| #
833 # |_| \_\___|\__,_|\__,_| |_| |_| |_|_|___/ |____/|_|\__(_) #
835 # To link servers to InspIRCd, you MUST load the m_spanningtree #
836 # module, as shown below. If you DO NOT do this, server links will #
837 # NOT work at all. ie. The ports will NOT bind, and /connect will not #
838 # work properly. This is by design, to allow for the implementation #
839 # of other linking protocols in modules in the future. #
841 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
842 # Spanning Tree module - allows linking of servers using the spanning
843 # tree protocol (see the READ THIS BIT section above).
845 #<module name="m_spanningtree.so">
848 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
849 # MD5 Module - Allows other modules to generate MD5 hashes, usually for
850 # cryptographic uses and security.
853 # Other modules such as m_cloaking.so and m_opermd5.so may rely on
854 # this module being loaded to function.
856 #<module name="m_md5.so">
858 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
859 # SHA256 Module - Allows other modules to generate SHA256 hashes,
860 # usually for cryptographic uses and security.
863 # Other modules such as m_opermd5.so may rely on this module being
864 # loaded to function.
866 #<module name="m_sha256.so">
868 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
869 # Alias module: Allows you to define server-side command aliases
870 #<module name="m_alias.so">
872 #-#-#-#-#-#-#-#-#-#-#- ALIAS DEFINITIONS -#-#-#-#-#-#-#-#-#-#-#-#-#-#
874 # If you have the m_alias.so module loaded, you may also define #
875 # aliases as shown below. They are commonly used to provide shortcut #
876 # commands to services, however they are not limited to just this use.#
877 # An alias tag requires the following values to be defined in it: #
879 # text - The text to detect as the actual command line, #
880 # Cant contain spaces, but case insensitive. #
881 # You may have multiple aliases with the same #
882 # command name (text="" value), however the first #
883 # found will be executed if its format value is #
884 # matched, or it has no format value. Aliases are #
885 # read from the top of the file to the bottom. #
887 # format - If this is defined, the parameters of the alias #
888 # must match this glob pattern. For example if you #
889 # want the first parameter to start with a # for #
890 # the alias to be executed, set format="#*" in the #
891 # alias definition. Note that the :'s which are #
892 # part of IRC formatted lines will be preserved #
893 # for matching of this text. This value is #
896 # replace - The text to replace 'text' with. Usually this #
897 # will be "PRIVMSG ServiceName :$2-" or similar. #
898 # You may use the variables $1 through $9 in the #
899 # replace string, which refer to the first through #
900 # ninth word in the original string typed by the #
901 # user. You may also use $1- through $9- which #
902 # refer to the first word onwards, through to the #
903 # ninth word onwards, e.g. if the user types the #
904 # command "foo bar baz qux quz" then $3- will hold #
905 # "baz qux quz" and $2 will contain "bar". You may #
906 # also use the special variables: $nick, $ident, #
907 # $host and $vhost, and you may seperate multiple #
908 # commands with \n. If you wish to use the ACTUAL #
909 # characters \ and n together in a line, you must #
910 # use the sequence "\\n". #
912 # requires - If you provide a value for 'requires' this means #
913 # the given nickname MUST be online for the alias #
914 # to successfully trigger. If they are not, then #
915 # the user receives a 'no such nick' 401 numeric. #
917 # uline - Defining this value with 'yes', 'true' or '1' #
918 # will ensure that the user given in 'requires' #
919 # must also be on a u-lined server, as well as #
920 # actually being on the network. If the user is #
921 # online, but not on a u-lined server, then an #
922 # oper-alert is sent out as this is possibly signs #
923 # of a user trying to impersonate a service. #
925 # operonly - Defining this value, with a value of 'yes', '1' #
926 # or true will make the alias oper only. If a non- #
927 # oper attempts to use the alias, it will appear #
930 #<alias text="NICKSERV" replace="PRIVMSG NickServ :$2-" requires="NickServ" uline="yes">
931 #<alias text="CHANSERV" replace="PRIVMSG ChanServ :$2-" requires="ChanServ" uline="yes">
932 #<alias text="OPERSERV" replace="PRIVMSG OperServ :$2-" requires="OperServ" uline="yes" operonly="yes">
933 #<alias text="NS" replace="PRIVMSG NickServ :$2-" requires="NickServ" uline="yes">
934 #<alias text="CS" replace="PRIVMSG ChanServ :$2-" requires="ChanServ" uline="yes">
935 #<alias text="OS" replace="PRIVMSG OperServ :$2-" requires="OperServ" uline="yes" operonly="yes">
937 # An example of using the format value to create an alias with two
938 # different behaviours depending on the format of the parameters.
940 #<alias text="ID" format="#*" replace="PRIVMSG ChanServ :IDENTIFY $2 $3"
941 # requires="ChanServ" uline="yes">
943 #<alias text="ID" replace="PRIVMSG NickServ :IDENTIFY $2"
944 # requires="NickServ" uline="yes">
947 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
948 # Alltime module: Shows time on all connected servers at once
949 #<module name="m_alltime.so">
951 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
952 # Antibear security module: Prevents 'bear.txt' based trojans from
953 # connecting to your network by sending them a numeric they can't handle.
954 #<module name="m_antibear.so">
956 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
957 # Antibottler module: Labels bottler leech bots
958 #<module name="m_antibottler.so">
960 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
961 # Ban except module: Adds support for channel ban exceptions (+e)
962 #<module name="m_banexception.so">
964 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
965 # Ban redirection module: Allows bans which redirect to a specified
966 # channel. e.g. +b nick!ident@host#channelbanneduserissentto
967 #<module name="m_banredirect.so">
969 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
970 # Block amsg module: Attempt to block all usage of /amsg and /ame
971 #<module name="m_blockamsg.so">
973 #-#-#-#-#-#-#-#-#-#-#- BLOCKAMSG CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
975 # If you have the m_blockamsg.so module loaded, you can configure it #
976 # with the <blockamsg> tag: #
978 # delay - How many seconds between two messages to force #
979 # them to be recognised as unrelated. #
980 # action - Any of 'notice', 'noticeopers', 'silent', 'kill' #
981 # or 'killopers'. Define how to take action when #
982 # a user uses /amsg or /ame. #
984 #<blockamsg delay="3" action="killopers">
986 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
987 # Block CAPS module: Blocking all-CAPS messages with cmode +P
988 #<module name="m_blockcaps.so">
990 #-#-#-#-#-#-#-#-#-#-#- BLOCKCAPS CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
992 # percent - How many percent of text must be caps before text #
995 # minlen - The minimum length a line must be for the block #
996 # percent to have any effect. #
998 #<blockcaps percent="95" minlen="5">
1000 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1001 # Block colour module: Blocking colour-coded messages with cmode +c
1002 #<module name="m_blockcolor.so">
1004 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1005 # Botmode module: Adds the user mode +B
1006 #<module name="m_botmode.so">
1008 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1009 # CBAN module: Lets you disallow channels from being used at runtime.
1010 #<module name="m_cban.so">
1012 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1013 # Censor module: Adds the channel mode +G
1014 #<module name="m_censor.so">
1016 #-#-#-#-#-#-#-#-#-#-#- CENSOR CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
1018 # Optional - If you specify to use the m_censor module, then you must #
1019 # specify some censor tags. See also: #
1020 # http://www.inspircd.org/wiki/Censor_Module #
1022 #<include file="censor.conf">
1024 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1025 # Channel filter module: Allows channel-op defined message
1026 # filtering using simple string matches (channel mode +g)
1027 #<module name="m_chanfilter.so">
1029 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1030 # Chanprotect module: gives +q and +a channel modes
1031 #<module name="m_chanprotect.so">
1033 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1034 # CHGHOST module: Adds the /CHGHOST command
1035 #<module name="m_chghost.so">
1037 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1038 # CHGIDENT module: Adds the /CHGIDENT command
1039 #<module name="m_chgident.so">
1041 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1042 # Cloaking module: Adds usermode +x and cloaking support.
1043 # Relies on the module m_md5.so being loaded before m_cloaking.so in
1044 # the configuration file.
1045 #<module name="m_cloaking.so">
1047 #-#-#-#-#-#-#-#-#-#-#- CLOAKING CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
1049 # Optional - If you specify the m_cloaking.so module as above, you #
1050 # must define cloak keys, and optionally a cloak prefix as shown #
1051 # below. When using cloaking, the cloak keys are MANDITORY and must #
1052 # be included. However, if prefix is not included, it will default #
1053 # to your networks name from the <server> tag. #
1055 # <cloak key1="0x2AF39F40" #
1056 # key2="0x78E10B32" #
1057 # key3="0x4F2D2E82" #
1058 # key4="0x043A4C81" #
1061 # Please note that the key values will accept any number, and should #
1062 # be large numbers. Using small numbers such as "7" or "1924" will #
1063 # seriously weaken the security of your cloak. It is recommended you #
1064 # use hexdecimal numbers prefixed by "0x", as shown in this example, #
1065 # with each key eight hex digits long. #
1067 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1068 # Conn-Lusers: Shows the LUSERS output on connect
1069 #<module name="m_conn_lusers.so">
1071 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1072 # Conn-Usermodes: Set modes on users when they connect
1073 # When this module is loaded <connect:allow> tags may have an optional
1074 # modes="" value, which contains modes to add or remove from users
1075 # when they connect to the server.
1076 #<module name="m_conn_umodes.so">
1078 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1079 # Conn-Wait-for-Pong: Don't let a user connect until they PONG
1080 #<module name="m_conn_waitpong.so">
1082 #-#-#-#-#-#-#-#-#-#-#- WAITPONG CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
1084 # If you have the m_conn_waitpong.so module loaded, configure it with #
1085 # the <waitpong> tag: #
1087 # sendsnotice - Whether to send a snotice on connect, like other #
1090 # killonbadreply - Whether to kill the user if they send the wrong #
1093 #<waitpong sendsnotice="yes" killonbadreply="yes">
1095 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1096 # Connection throttle module. Configuration:
1097 #<module name="m_connflood.so">
1099 #-#-#-#-#-#-#-#-#-#-#- CONTHROTTLE CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
1100 # seconds, maxconns - Amount of connections per <seconds>.
1102 # timeout - Time to wait after the throttle was activated
1103 # before deactivating it. Be aware that the time
1104 # is seconds + timeout.
1106 # quitmsg - The message that users get if they attempt to
1107 # connect while the throttle is active.
1109 # bootwait - Amount of time to wait before enforcing the
1110 # throttling when the server just booted.
1112 #<connflood seconds="30" maxconns="3" timeout="30"
1113 # quitmsg="Throttled" bootwait="10">
1115 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1116 # DCCALLOW module: Adds the /DCCALLOW command
1117 #<module name="m_dccallow.so">
1119 #-#-#-#-#-#-#-#-#-#-#- DCCALLOW CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
1120 # blockchat - Whether to block DCC CHAT as well as DCC SEND
1121 # length - Default duration of entries in DCCALLOW list
1122 # action - Default action to take if no action is specified
1123 # can be 'block' or 'allow'
1125 # File configuration:
1126 # pattern - The glob pattern to match against
1127 # action - Action to take if a user attempts to send a file
1128 # that matches this pattern, can be 'block' or 'allow'
1130 #<dccallow blockchat="yes" length="5m" action="block">
1131 #<banfile pattern="*.exe" action="block">
1132 #<banfile pattern="*.txt" action="allow">
1134 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1136 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1137 # Deaf module: adds support for ircu style usermode +d - deaf to
1138 # channel messages and channel notices.
1139 #<module name="m_deaf.so">
1141 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1142 # Deny Channels: Deny Channels from being used by users
1143 #<module name="m_denychans.so">
1145 #-#-#-#-#-#-#-#-#-#-#- DENYCHAN DEFINITIONS -#-#-#-#-#-#-#-#-#-#-#-#
1147 # If you have the m_denychans.so module loaded, you need to specify #
1148 # the channels to deny: #
1150 # name - The channel name to deny. #
1152 # allowopers - If operators are allowed to override the deny. #
1154 # reason - Reason given for the deny. #
1156 #<badchan name="#gods" allowopers="yes" reason="Tortoises!">
1158 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1159 # Devoice Module: Let users devoice themselves.
1160 #<module name="m_devoice.so">
1162 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1163 # DNS Blacklist Module: Provides support for looking up IPs on one or #
1164 # more blacklists. #
1165 #<module name="m_dnsbl.so"> #
1167 # For configuration options please see the wiki page for m_dnsbl at #
1168 # http://inspircd.org/wiki/DNS_Blacklist_Module #
1170 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1171 # Filter module: Provides glob-based message filtering
1172 #<module name="m_filter.so">
1174 # PCRE filter module: Filters messages using regular expressions
1175 #<module name="m_filter_pcre.so">
1177 # You may only use one or the other with these modules, network-wide.
1179 #-#-#-#-#-#-#-#-#-#-#- FILTER CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
1181 # Optional - If you specify to use the m_filter or m_filter_pcre #
1182 # modules, then specfiy below the path to the filter.conf file, #
1183 # or define some <filter> tags. #
1185 #<include file="filter.conf">
1187 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1188 # Foobar module: does nothing - historical relic
1189 #<module name="m_foobar.so">
1191 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1192 # Globops module: gives /GLOBOPS and usermode +g
1193 #<module name="m_globops.so">
1195 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1196 # Global load module: Allows loading and unloading of modules network-
1197 # wide (USE WITH EXTREME CAUTION!)
1198 #<module name="m_globalload.so">
1200 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1201 # HELPOP module: Provides the /HELPOP command
1202 #<module name="m_helpop.so">
1204 #-#-#-#-#-#-#-#-#-#-#-#- HELPOP CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
1206 # Optional - If you specify to use the m_helpop.so module, then #
1207 # specify below the path to the helpop.conf file, or if you like to #
1208 # make a mess, define your helpop tags in this conf. #
1210 #<include file="helpop.conf">
1212 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1213 # HIDECHANS module: Allows opers to hide their channels list from non-
1214 # opers by setting user mode +I on themselves.
1215 # <module name="m_hidechans.so">
1217 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1218 # HIDEOPER module: Allows opers to hide their oper status from non-
1219 # opers by setting user mode +H on themselves.
1220 # <module name="m_hideoper.so">
1222 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1223 # Hostchange module: Allows a different style of cloaking
1224 #<module name="m_hostchange.so">
1226 #-#-#-#-#-#-#-#-#-#-#- HOSTCHANGE CONFIGURATION -#-#-#-#-#-#-#-#-#-#
1228 # Optional - If you choose to use the m_hostchange.so module. #
1229 # Config Help - See http://www.inspircd.org/wiki/Host_Changer_Module #
1231 #<host suffix="polarbears.org">
1232 #<hostchange mask="*@fbi.gov" action="addnick">
1233 #<hostchange mask="*r00t@*" action="suffix">
1234 #<hostchange mask="a@b.com" action="set" value="blah.blah.blah">
1236 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1237 # httpd module: Provides http server support for InspIRCd
1238 #<module name="m_httpd.so">
1240 #-#-#-#-#-#-#-#-#-#-#-#- HTTPD CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
1242 # Optional - If you choose to use the m_httpd.so module, then you must
1243 # specify the port number and other details of your http server:
1245 #<http ip="192.168.1.10" host="brainwave" port="32006"
1246 # index="/home/brain/inspircd/http/index.html">
1248 # You may have as many of these tags as you wish, each with a different
1249 # IP, port, host or index file. Each one will act as an independent
1253 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1254 # http stats module: Provides basic stats pages over HTTP
1255 # Requires m_httpd.so to be loaded for it to function.
1256 #<module name="m_httpd_stats.so">
1258 #-#-#-#-#-#-#-#-#-#-#-#- HTTPD STATS CONFIGURATION -#-#-#-#-#-#-#-#-#-#
1260 #<httpstats stylesheet="http://remote.style/sheet.css">
1263 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1264 # Ident: Provides RFC 1413 ident lookup support
1265 #<module name="m_ident.so">
1267 #-#-#-#-#-#-#-#-#-#-#-#- IDENT CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
1269 # Optional - If you are using the m_ident.so module, then you can #
1270 # specify the timeout for ident lookups here. If not defined, it will #
1271 # default to one second. This is a non-blocking timeout which holds #
1272 # the user in a 'connecting' state until the lookup is complete. #
1274 #<ident timeout="5">
1276 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1277 # Invite except module: Adds support for channel invite exceptions (+I)
1278 #<module name="m_inviteexception.so">
1280 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1281 # Join flood module: Adds support for join flood protection (+j)
1282 #<module name="m_joinflood.so">
1284 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1285 # Anti-Auto-Rejoin: Adds support for prevention of auto-rejoin (+J)
1286 #<module name="m_kicknorejoin.so">
1288 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1289 # Knock module: adds the /KNOCK command and +K channel mode
1290 #<module name="m_knock.so">
1292 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1293 # Lock server module: Adds /LOCKSERV and /UNLOCKSERV commands that is #
1294 # used to temporarily close/open for new connections to the server. #
1295 # These commands require OPER status and that the LOCKSERV UNLOCKSERV #
1296 # are specified in a <class> tag that the oper is part of. This is so #
1297 # you can control who has access to this possible dangerous command. #
1298 # If your server is locked and you got disconnected, do a REHASH from #
1299 # shell to open up again.
1300 #<module name="m_lockserv.so">
1302 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1303 # Msg flood module: Adds message/notice flood protection (+f)
1304 #<module name="m_messageflood.so">
1306 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1307 # MySQL module: Allows other SQL modules to access MySQL databases
1308 # through a unified API. You must copy the source for this module
1309 # from the directory src/modules/extra, plus the file m_sqlv2.h
1310 #<module name="m_mysql.so">
1312 #-#-#-#-#-#-#-#-#-#-#-#- SQL CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#-#
1314 # m_mysql.so is more complex than described here, see the wiki for #
1315 # more: http://www.inspircd.org/wiki/SQL_Service_Provider_Module #
1317 #<database name="mydb" username="myuser" password="mypass" hostname="localhost" id="my_database2">
1319 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1320 # NAMESX module: Provides support for the NAMESX extension which allows
1321 # clients to see all the prefixes set on a user without getting confused.
1322 # This is supported by mIRC, x-chat, klient, and maybe more.
1323 #<module name="m_namesx.so">
1325 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1326 # Nicklock module: Let opers change a user's nick and then stop that
1327 # user from changing their nick again.
1328 #<module name="m_nicklock.so">
1330 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1331 # No ctcp module: Adds the channel mode +C to block CTCPs
1332 #<module name="m_noctcp.so">
1334 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1335 # Noinvite module: Gives channel mode +V
1336 #<module name="m_noinvite.so">
1338 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1339 # No kicks module: Adds the +Q channel mode
1340 #<module name="m_nokicks.so">
1342 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1343 # No nicks module: Adds the +N channel mode
1344 #<module name="m_nonicks.so">
1346 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1347 # No Notice module: adds the channel mode +T
1348 #<module name="m_nonotice.so">
1350 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1351 # Oper channels mode: Adds the +O channel mode
1352 #<module name="m_operchans.so">
1354 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1355 # Oper hash module: Allows hashed oper passwords
1356 # Relies on the module m_md5.so and/or m_sha256.so being loaded before
1357 # m_oper_hash.so in the configuration file.
1358 #<module name="m_oper_hash.so">
1360 #-#-#-#-#-#-#-#-#-#-# OPER HASH CONFIGURATION #-#-#-#-#-#-#-#-#-#-#-#-#
1362 # To use this module, you must define a hash type for each oper's
1363 # password you want to hash. For example:
1365 # <oper name="Brain"
1366 # host="ident@dialup15.isp.com"
1368 # password="a41d730937a53b79f788c0ab13e9e1d5"
1371 # The types of hashing available vary depending on which hashing modules
1372 # you load, but usually if you load m_sha256.so and m_md5.so, both md5
1373 # and sha256 type hashing will be available (the most secure of which
1376 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1377 # Oper Join module: Forces opers to join a channel on oper-up
1378 #<module name="m_operjoin.so">
1380 #-#-#-#-#-#-#-#-#-#-# OPERJOIN CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
1382 # If you are using the m_operjoin.so module, specify the channel here #
1384 #<operjoin channel="#channel">
1386 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1387 # Oper MOTD module: Provides support for seperate message of the day
1389 #<module name="m_opermotd.so">
1391 #-#-#-#-#-#-#-#-#-#-# OPERMOTD CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
1393 # If you are using the m_opermotd.so module, specify the motd here #
1395 #<opermotd file="oper.motd">
1397 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1398 # Override module: Adds support for oper override
1399 #<module name="m_override.so">
1401 #-#-#-#-#-#-#-#-#-#-# OVERRIDE CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
1403 # m_override.so is too complex it describe here, see the wiki: #
1404 # http://www.inspircd.org/wiki/Oper_Override_Module #
1406 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1407 # Oper levels module: Gives each oper a level and prevents
1408 # actions being taken against higher level opers
1409 # Specify the level as the 'level' parameter of the <type> tag
1410 #<module name="m_operlevels.so">
1412 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1413 # Oper modes module: Allows you to specify modes to add/remove on oper
1414 # Specify the modes as the 'modes' parameter of the <type> tag
1415 #<module name="m_opermodes.so">
1417 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1418 # PostgreSQL module: Allows other SQL modules to access PgSQL databases
1419 # through a unified API. You must copy the source for this module
1420 # from the directory src/modules/extra, plus the file m_sqlv2.h
1421 #<module name="m_pgsql.so">
1423 #-#-#-#-#-#-#-#-#-#-#-#- SQL CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#-#
1425 # m_pgsql.so is more complex than described here, see the wiki for #
1426 # more: http://www.inspircd.org/wiki/SQL_Service_Provider_Module #
1428 #<database name="mydb" username="myuser" password="mypass" hostname="localhost" id="my_database" ssl="no">
1430 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1431 # Random Quote module: provides a random quote on connect.
1432 # NOTE: Some of these may mimic fatal errors and confuse users and
1433 # opers alike! - BEWARE!
1434 #<module name="m_randquote.so">
1436 #-#-#-#-#-#-#-#-#-#- RANDOMQUOTES CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
1438 # Optional - If you specify to use the m_randquote.so module, then #
1439 # specify below the path to the randquotes.conf file. #
1441 #<randquote file="randquotes.conf">
1443 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1444 # Redirect module: Adds channel redirection (mode +L)
1445 #<module name="m_redirect.so">
1447 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1448 # Remove module: Adds the /REMOVE command which is a peaceful
1449 # alternative to /KICK
1450 #<module name="m_remove.so">
1452 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1453 # Restrict banned users module:
1454 # Disallows banned users on a channel from messaging the channel,
1455 # changing nick, or changing the topic, if loaded.
1456 #<module name="m_restrictbanned.so">
1458 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1459 # Restricted channels module: Allows only opers to create channels
1460 #<module name="m_restrictchans.so">
1462 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1463 # Restrict message module: Allows users to only message opers
1464 #<module name="m_restrictmsg.so">
1466 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1467 # Provide /LIST throttling (to prevent flooding) and /LIST safety to
1468 # prevent excess flood when the list is large.
1469 #<module name="m_safelist.so">
1471 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1472 # SAJOIN module: Adds the /SAJOIN command
1473 #<module name="m_sajoin.so">
1475 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1476 # SAMODE module: Adds the oper /SAMODE command
1477 #<module name="m_samode.so">
1479 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1480 # SANICK module: Allows opers to change user's nicks
1481 #<module name="m_sanick.so">
1483 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1484 # SAPART module: Adds the oper /SAPART command
1485 #<module name="m_sapart.so">
1487 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1488 # SAQUIT module: Adds the oper /SAQUIT command (abusable!!!)
1489 #<module name="m_saquit.so">
1491 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1492 # Secure list module: Prevent /LIST in the first minute of connection,
1493 # crippling most spambots and trojan spreader bots.
1494 #<module name="m_securelist.so">
1496 #-#-#-#-#-#-#-#-#-# SECURELIST CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#-#
1498 # Securelist can be harmful to some irc search engines such as #
1499 # netsplit.de and searchirc.com. To prevent securelist blocking these #
1500 # sites from listing, define exception tags as shown below: #
1501 <securelist exception="*@*.searchirc.org">
1502 <securelist exception="*@*.netsplit.de">
1504 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1505 # Set Idle module: Adds a command for opers to change their
1506 # idle time (mainly a toy)
1507 #<module name="m_setidle.so">
1509 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1510 # Services support module: Adds several usermodes such as +R and +M
1511 # this module implements the 'identified' state via user mode +r, which
1512 # is similar to the DALnet and dreamforge systems.
1513 #<module name="m_services.so">
1515 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1516 # Services support module: Adds several usermodes such as +R and +M
1517 # this module implements the 'identified' state via account names (AC)
1518 # and is similar in operation to the way asuka and ircu handle services.
1519 # it cannot be used at the same time as m_services, above.
1520 #<module name="m_services_account.so">
1522 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1523 # Sethost module: Adds the /SETHOST command
1524 #<module name="m_sethost.so">
1526 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1527 # Setident module: Adds the /SETIDENT command
1528 #<module name="m_setident.so">
1530 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1531 # SETNAME module: Adds the /SETNAME command
1532 #<module name="m_setname.so">
1534 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1535 # Show Whois module: Adds the +W usermode which allows opers
1536 # to see when they are whois'ed (can be annoying).
1537 #<module name="m_showwhois.so">
1539 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1540 # Spy module: Adds the commands SPYLIST and SPYNAMES that let opers
1541 # see who is in a +s channel, and list +s channels, show keys of keyed
1542 # channels the oper is not a member of etc. (standard 'abusive' features
1543 # of many other ircds, modulized here in InspIRCd).
1544 #<module name="m_spy.so">
1546 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1547 # SSL channel mode module: Adds support for SSL-only channels (+z).
1548 # does not do anything useful without a working SSL module (see below)
1549 #<module name="m_sslmodes.so">
1551 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1552 # Dummy ssl module: If you have other servers on your network which
1553 # have SSL, but your server does not have ssl enabled, you should load
1554 # this module, which will handle SSL metadata (e.g. the "Is using ssl"
1555 # field in the WHOIS information).
1556 #<module name="m_ssl_dummy.so">
1558 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1559 # GnuTLS ssl module: Adds support for client-server SSL using GnuTLS,
1560 # if enabled. You must copy the source for this module from the directory
1561 # src/modules/extra, or answer 'yes' in ./configure when asked if you
1562 # want to enable this, or it will not load.
1563 #<module name="m_ssl_gnutls.so">
1565 #-#-#-#-#-#-#-#-#-#-#- GNUTLS CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
1567 # m_ssl_gnutls.so is too complex it describe here, see the wiki: #
1568 # http://www.inspircd.org/wiki/GnuTLS_SSL_Module #
1570 # NOTE: If you want to use this module to encrypt and sign your #
1571 # server to server traffic, you MUST load it before m_spanningtree in #
1572 # your configuration file! #
1574 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1575 # SSL Info module: Allows users to retrieve information about other
1576 # user's peer SSL certificates and keys. This can be used by client
1577 # scripts to validate users. For this to work, one of m_ssl_gnutls.so
1578 # or m_ssl_openssl.so must be loaded. You must symlink the source for
1579 # this module from the directory src/modules/extra.
1580 #<module name="m_sslinfo.so">
1582 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1583 # OpenSSL ssl module: Adds support for client-server SSL using OpenSSL,
1584 # if enabled. You must copy the source for this module from the directory
1585 # src/modules/extra, or answer 'yes' in ./configure when asked if you
1586 # want to enable this, or it will not load.
1587 #<module name="m_ssl_openssl.so">
1589 #-#-#-#-#-#-#-#-#-#-#- OPENSSL CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
1591 # m_ssl_openssl.so is too complex it describe here, see the wiki: #
1592 # http://www.inspircd.org/wiki/OpenSSL_SSL_Module #
1594 # NOTE: If you want to use this module to encrypt and sign your #
1595 # server to server traffic, you MUST load it before m_spanningtree in #
1596 # your configuration file! #
1598 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1599 # SSL Cert Oper module: Allows opers to oper up using the key fingerprint
1600 # stored within their SSL certificate and key pair.
1601 # When using this module, one of m_ssl_gnutls.so or m_ssl_openssl.so must
1602 # be loaded. An extra value should be added to enabled opers, which
1603 # is in the following format: fingerprint="<hash>". For more information,
1604 # see the example in the oper blocks.
1605 #<module name="m_ssl_oper_cert.so">
1607 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1608 # Strip colour module: Adds the channel mode +S
1609 #<module name="m_stripcolor.so">
1611 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1612 # SILENCE module: Adds support for /SILENCE
1613 #<module name="m_silence.so">
1615 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1616 # Extended SILENCE module: Adds support for /SILENCE with additional
1617 # features to silence based on invites, channel messages, etc.
1618 #<module name="m_silence_ext.so">
1620 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1621 # SQLite3 module: Allows other SQL modules to access SQLite3 #
1622 # databases through a unified API. You must link the source for this #
1623 # module from the directory src/modules/extra to src/modules, plus #
1624 # the file m_sqlv2.h #
1625 #<module name="m_sqlite3.so">
1627 #-#-#-#-#-#-#-#-#-#-#-#- SQL CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#-#
1629 # m_sqlite.so is more complex than described here, see the wiki for #
1630 # more: http://www.inspircd.org/wiki/SQLite3_Service_Provider_Module #
1632 #<database hostname="/full/path/to/database.db" id="anytext">
1634 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1635 # SQLutils module: Provides some utilities to SQL client modules, such
1636 # as mapping queries to users and channels. You must copy the source
1637 # for this module from the directory src/modules/extra/m_sqlutils.cpp
1638 # and src/modules/extra/m_sqlutils.h into /src/modules
1639 # Needed for, and loaded before: SQLauth and SQLoper
1640 #<module name="m_sqlutils.so">
1642 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1643 # SQL authentication module: Allows IRCd connections to be tied into
1644 # a database table (for example a forum). You must copy the source for
1645 # this module from the directory src/modules/extra
1646 # Depends on the SQLutils module being loaded first.
1647 #<module name="m_sqlauth.so">
1649 #-#-#-#-#-#-#-#-#-#-#- SQLAUTH CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
1651 # m_sqlauth.so is too complex it describe here, see the wiki: #
1652 # http://www.inspircd.org/wiki/SQL_Authentication_Module #
1654 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1655 # SQL logging module: Allows you to log network-wide data for your
1656 # network in a fully normalized set of SQL tables. You must copy the
1657 # source for this module from the directory src/modules/extra
1658 #<module name="m_sqllog.so">
1660 #-#-#-#-#-#-#-#-#-#-#- SQLLOG CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
1662 # dbid - Database ID to use (see m_sql) #
1664 # See also: http://www.inspircd.org/wiki/SQL_Logging_Module #
1668 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1669 # SQL oper module: Allows you to store oper credentials in an SQL table
1670 # You must copy the source for this module from the directory src/modules/extra
1671 # Depends on the SQLutils module being loaded first.
1672 #<module name="m_sqloper.so">
1674 #-#-#-#-#-#-#-#-#-#-#- SQLOPER CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
1676 # dbid - Database ID to use (see m_sql) #
1678 # See also: http://www.inspircd.org/wiki/SQL_Oper_Storage_Module #
1682 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1683 # SWHOIS module: Allows you to add arbitary lines to user WHOIS.
1684 #<module name="m_swhois.so">
1686 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1687 # Test command module: Does nothing significant. Read: pointless.
1688 #<module name="m_testcommand.so">
1690 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1691 # Timed bans module: Adds timed bans and the /TBAN command
1692 #<module name="m_timedbans.so">
1694 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1695 # Test line module: Adds the /TLINE command, used to test how many
1696 # users a /GLINE or /ZLINE etc would match.
1697 #<module name="m_tline.so">
1699 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1700 # Uninvite module: Adds the /UNINVITE command which lets users remove
1701 # pending invites from channels without waiting for the user to join.
1702 #<module name="m_uninvite.so">
1704 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1705 # Userip module: Adds the /USERIP command
1706 #<module name="m_userip.so">
1708 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1709 # Vhost module: Adds the VHOST command which allows for adding virtual
1710 # hosts which are accessible using a username and password in the config.
1711 #<module name="m_vhost.so">
1713 #-#-#-#-#-#-#-#-#-#-#- VHOST CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#-#
1715 # user - Username for the vhost. #
1717 # pass - Password for the vhost. #
1719 # host - Vhost to set. #
1721 #<vhost user="some_username" pass="some_password" host="some.host">
1723 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1724 # Watch module: Adds the WATCH command, which is used by clients to
1725 # maintain notify lists.
1726 #<module name="m_watch.so">
1728 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1729 # ZipLinks module: Adds support for zlib deflate on server to server
1730 # connections. Both ends of the connection must load this module.
1732 #<module name="m_ziplink.so">
1734 # To use this module, you must enable it as a transport type in your
1735 # <link> tags or <bind> tags using the transport name 'zip'.
1736 # See the documentation of <link> and <bind>, respectively.
1739 #-#-#-#-#-#-#-#-#-#-#-#-#-#- BAN OPTIONS -#-#-#-#-#-#-#-#-#-#-#-#-#-#
1741 # The ban tags define nick masks, host masks and ip ranges which are #
1742 # banned from your server. All details in these tags are local to #
1746 # badip lines ban an ip range (same as a zline) #
1748 # ipmask - The ip range to ban (wildcards possible) #
1749 # CIDR is supported in the IP mask. #
1750 # reason - Reason to display when disconnected #
1752 # badnick lines ban a nick mask (same as a qline) #
1754 # nick - Nick mask to ban (wildcards possible) #
1755 # reason - Reason to display on /NICK #
1757 # badhost lines ban a user@host mask (same as a kline) #
1759 # host - ident@hostname (wildcards possible) #
1760 # If you specify an IP, CIDR is supported. #
1761 # reason - Reason to display on disconnection #
1763 # exception lines define a hostmask that is excempt from [kzg]lines #
1765 # host - ident@hostname (wildcards possible) #
1766 # If you specify an IP, CIDR is supported. #
1767 # reason - Reason, shown only in /stats e #
1770 <badip ipmask="69.69.69.69" reason="No porn here thanks.">
1772 <badnick nick="ChanServ" reason="Reserved For Services">
1773 <badnick nick="NickServ" reason="Reserved For Services">
1774 <badnick nick="OperServ" reason="Reserved For Services">
1775 <badnick nick="MemoServ" reason="Reserved For Services">
1777 <badhost host="*@hundredz.n.hundredz.o.1337.kiddies.com" reason="Too many 1337 kiddiots">
1778 <badhost host="*@localhost" reason="No irc from localhost!">
1779 <badhost host="*@172.32.0.0/16" reason="This subnet is bad.">
1781 <exception host="*@ircop.host.com" reason="Opers hostname">
1783 #-#-#-#-#-#-#-#-#-#-#- INSANE BAN OPTIONS -#-#-#-#-#-#-#-#-#-#-#-#-#-#
1785 # This optional tag allows you to specify how wide a gline, eline, #
1786 # kline, zline or qline can be before it is forbidden from being #
1787 # set. By setting hostmasks="yes", you can allow all G, K, E lines, #
1788 # no matter how many users the ban would cover. This is not #
1789 # recommended! By setting ipmasks="yes", you can allow all Z lines, #
1790 # no matter how many users these cover too. Needless to say we #
1791 # don't recommend you do this, or, set nickmasks="yes", which will #
1792 # allow any qline. #
1794 # The trigger value indicates how wide any mask will be before it is #
1795 # prevented from being set. The default value is 95.5% if this tag is #
1796 # not defined in your configuration file, meaning that if your #
1797 # network has 1000 users, a gline matching over 955 of them will be #
1798 # prevented from being added. #
1800 # Please note that remote servers (and services) are exempt from #
1801 # these restrictions and expected to enforce their own policies #
1805 <insane hostmasks="no" ipmasks="no" nickmasks="no" trigger="95.5">
1807 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#- YAWN -#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1809 # You should already know what to do here :) #
1811 <die value="No, i wasnt joking. You should probably edit your config *PROPERLY* and try again.">
1814 #########################################################################
1816 # - InspIRCd Development Team - #
1817 # http://www.inspircd.org #
1819 #########################################################################