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 #
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 # networkemail="Email address shown on g/k/z/q lines" #
52 # network="MyNetwork"> #
55 <server name="penguin.omega.org.za"
56 description="Waddle World"
60 #-#-#-#-#-#-#-#-#-#-#-#- ADMIN INFORMATION -#-#-#-#-#-#-#-#-#-#-#-#
62 # Describes the Server Administrator's real name (optionally), #
63 # nick, and email address. #
65 # Syntax is as follows: #
66 # <admin name="real name" #
68 # email="email@address.com"> #
71 <admin name="Johnny English"
73 email="MI5@the.best.secret.agent">
76 #-#-#-#-#-#-#-#-#-#-#-#- PORT CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-
78 # Enter the port and address bindings here. #
80 # bind address - specifies which address ports bind to. Leaving this #
81 # field blank binds the port to all IPs available. #
83 # port - The port number to bind to. You may specify a port #
84 # range here, e.g. "6667-6669,7000,7001". If you do #
85 # this, the server will count each port within your #
86 # range as a seperate binding, making the above #
87 # example equivalent to five seperate bind tags. #
88 # A failure on one port in the range does not prevent #
89 # the entire range from being bound, just that one #
92 # type - can be 'clients' or 'servers'. The clients type is #
93 # a standard tcp based socket, the servers type is a #
94 # also a TCP based connection but of a different #
95 # format. SSL support is provided by modules, to #
96 # enable SSL support, please read the module section #
97 # of this configuration file. #
99 # ssl - When using m_ssl_gnutls.so or m_ssl_openssl.so #
100 # modules, you must define this value to use ssl on #
101 # that port. valid values are 'gnutls' or 'openssl' #
102 # respectively. If the module is not loaded, this #
103 # setting is ignored. #
105 # transport - If you have m_spanningtree.so loaded, along with #
106 # either of the SSL modules (m_ssl_gnutls or #
107 # m_ssl_openssl) or m_ziplinks.so, then you may make #
108 # use of this value. #
109 # setting it to 'openssl' or 'gnutls' or 'zip' #
110 # indicates that the port should accept connections #
111 # using the given transport name. Transports are #
112 # layers which sit on top of a socket and change the #
113 # way data is sent and received, e.g. encryption, #
114 # compression, and other such things. Because this #
115 # may not be limited in use to just encryption, #
116 # the 'ssl' value used for client ports does not #
117 # exist for servers, and this value is used instead. #
118 # ____ _ _____ _ _ ____ _ _ _ #
119 # | _ \ ___ __ _ __| | |_ _| |__ (_)___ | __ )(_) |_| | #
120 # | |_) / _ \/ _` |/ _` | | | | '_ \| / __| | _ \| | __| | #
121 # | _ < __/ (_| | (_| | | | | | | | \__ \ | |_) | | |_|_| #
122 # |_| \_\___|\__,_|\__,_| |_| |_| |_|_|___/ |____/|_|\__(_) #
124 # If you want to link servers to InspIRCd you must load the #
125 # m_spanningtree module! Please see the modules list below for #
126 # information on how to load this module! If you do not load this #
127 # module, server ports will NOT be bound! #
129 # Leaving address empty binds to all available interfaces #
131 # Syntax is as follows: #
133 # <bind address="ip address" port="port" type="clients"> #
134 # <bind address="ip address" port="port" type="servers"> #
136 # If InspIRCd is built for IPV6, and you wish to accept IPV4 clients, #
137 # then you can specify IPV4 ip addresses here to bind. You may also #
138 # use the 4in6 notation, ::ffff:1.2.3.4, where 1.2.3.4 is the IPV4 #
139 # address to bind the port, but as of InspIRCd 1.1.1, this is not #
142 # ------------------------------------------------------------------- #
144 # PLEASE NOTE: If you have build InspIRCd as an ipv6 server, and you #
145 # specify an empty bind address, the binding will be bound to ALL THE #
146 # IPV6 IP ADDRESSES, and not the ipv4 addresses. If you are using an #
147 # ipv6 enabled InspIRCd and want to bind to multiple IPV4 addresses #
148 # in this way, you must specify them by hand. If you have built the #
149 # server for ipv4 connections only, then specifying an empty bind #
150 # address binds the port to all ipv4 IP addresses, as expected. #
153 <bind address="" port="6000" type="clients">
154 <bind address="" port="6660-6669" type="clients" ssl="gnutls">
156 # When linking servers, the openssl and gnutls transports are largely
157 # link-compatible and can be used alongside each other or either/or
158 # on each end of the link without any significant issues.
160 <bind address="" port="7000,7001" type="servers">
161 <bind address="1.2.3.4" port="7005" type="servers" transport="openssl">
164 #-#-#-#-#-#-#-#-#-#- DIE/RESTART CONFIGURATION -#-#-#-#-#-#-#-#-#-#-
166 # You can configure the passwords here which you wish to use for #
167 # the die and restart commands. Only trusted ircops who will #
168 # need this ability should know the die and restart password. #
170 # Syntax is as follows: #
171 # <power diepass="die password" restartpass="restart password" #
172 # pause="secs before dying"> #
175 <power diepass="" restartpass="" pause="2">
178 #-#-#-#-#-#-#-#-#-# INCLUDE CONFIGURATION #-#-#-#-#-#-#-#-#-#-#-#-#-#
180 # This optional tag allows you to include another config file #
181 # allowing you to keep your configuration tidy. The configuration #
182 # file you include will be treated as part of the configuration file #
183 # which includes it, in simple terms the inclusion is transparent. #
185 # All paths to config files are relative to the directory of the main #
186 # config file inspircd.conf, unless the filename starts with a forward#
187 # slash (/) in which case it is treated as an absolute path. #
189 # Syntax is as follows: #
190 #<include file="file.conf"> #
193 #-#-#-#-#-#-#-#-#-#- CONNECTIONS CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
195 # This is where you can configure which connections are allowed #
196 # and denied access onto your server. The password is optional. #
197 # You may have as many of these as you require. To allow/deny all #
198 # connections, use a '*' or 0.0.0.0/0. #
200 # Syntax is as follows: #
202 # <connect allow="1.2.3.0/24" password="blahblah" #
203 # timeout="10" timeout="blah" flood="5" #
204 # threshold="8" pingfreq="120" sendq="99999" #
205 # revcq="696969" localmax="3" globalmax="3" #
208 # <connect deny="127.0.0.1" port="6667"> #
210 # IP masks may be specified in CIDR format or wildcard format, #
211 # for IPV4 and IPV6. You *cannot* use hostnames in the allow or #
212 # deny field, as the state is applied before the user's DNS has #
215 # You may optionally include timeout="x" on any allow line, which #
216 # specifies the amount of time given before an unknown connection #
217 # is closed if USER/NICK/PASS are not given. This value is in secs #
219 # You should also include a flood="x" line which indicates #
220 # the number of lines a user may place into their buffer at once #
221 # before they are disconnected for excess flood. This feature can #
222 # not be disabled, however it can be set to extremely high values, #
223 # rendering it effectively disabled. A recommended value is 10. #
224 # A counter is maintained for each user which is reset every #
225 # 'threshold' seconds and specifying this threshold value with #
226 # threshold="X" indicates how often the counter is reset. For #
227 # example, with flood="5" and threshold="8", the user may not send #
228 # more than 5 lines in 8 secs. #
230 # You may optionally specify the sendq size and ping frequency of #
231 # each connect:allow line using the pingfreq="X" and sendq="X" #
232 # settings as shown in the full example below. #
233 # The ping frequency is specified in seconds, and the sendq size #
234 # in bytes. It is recommended, although not enforced, that you #
235 # should never set your sendq size to less than 8k. Send Queues are #
236 # dynamically allocated and can grow as needed up to the maximum #
239 # The optional recvq value is the maximum size which users in this #
240 # group may grow their receive queue to. This is recommended to be #
241 # kept pretty low compared to the sendq, as users will always #
242 # receive more than they send in normal circumstances. The default #
243 # if not specified is 4096. #
245 # The sendq is the data waiting to be sent TO THE USER. #
246 # The recvq is the data being received FROM THE USER. #
247 # The names sendq and recvq are from the SERVER'S PERSPECTIVE not #
248 # that of the user... Just to clear up any confusion or complaints #
249 # that these are backwards :p #
251 # The localmax and globalmax values can be used to enforce local #
252 # and global session limits on connections. The session limits are #
253 # counted against all users, but applied only to users within the #
254 # class. For example, if you had a class 'A' which has a session #
255 # limit of 3, and a class 'B' which has a session limit of 5, and #
256 # somehow, two users managed to get into class B which also match #
257 # class A, there is only one connection left for this IP now in A, #
258 # but if they can connect again to B, there are three. You get the #
261 # The optional port value determines which port the connect tag is #
262 # handling. If left out the connect tag covers all bound ports else #
263 # only incoming connections on the specified port will match. Port #
264 # tags may be used on connect allow and connect deny tags. #
267 <connect allow="196.12.*" password="secret" port="6667">
279 <connect deny="69.254.*">
280 <connect deny="3ffe::0/32">
283 #-#-#-#-#-#-#-#-#-#-#-#- CLASS CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-
285 # Classes are a group of commands which are grouped together #
286 # and given a unique name. They used to define which commands #
287 # are available to certain types of Operators. #
289 # Syntax is as follows: #
291 # <class name="name" commands="oper commands"> #
293 # ____ _ _____ _ _ ____ _ _ _ #
294 # | _ \ ___ __ _ __| | |_ _| |__ (_)___ | __ )(_) |_| | #
295 # | |_) / _ \/ _` |/ _` | | | | '_ \| / __| | _ \| | __| | #
296 # | _ < __/ (_| | (_| | | | | | | | \__ \ | |_) | | |_|_| #
297 # |_| \_\___|\__,_|\__,_| |_| |_| |_|_|___/ |____/|_|\__(_) #
299 # You are not forced to give these classes the names given below. #
300 # You can create your own named classes, if you want, in fact that #
301 # is the whole idea of this system! #
303 # Note: It is possible to make a class which covers all available #
304 # commands. To do this, specify commands="*". This is not really #
305 # recommended, as it negates the whole purpose of the class system, #
306 # however it is provided for fast configuration (e.g. in test nets) #
309 <class name="Shutdown" commands="DIE RESTART REHASH LOADMODULE UNLOADMODULE RELOAD">
310 <class name="ServerLink" commands="CONNECT SQUIT RCONNECT MKPASSWD MKSHA256">
311 <class name="BanControl" commands="KILL GLINE KLINE ZLINE QLINE ELINE">
312 <class name="OperChat" commands="WALLOPS GLOBOPS SETIDLE SPYLIST SPYNAMES">
313 <class name="HostCloak" commands="SETHOST SETIDENT SETNAME CHGHOST CHGIDENT">
316 #-#-#-#-#-#-#-#-#-#-#-#- OPERATOR COMPOSITION -#-#-#-#-#-#-#-#-#-#-#
318 # This is where you specify which types of operators you have on #
319 # your server, as well as the commands they are allowed to use. #
320 # This works alongside with the classes specified above. #
322 # type name - a name for the combined class types #
323 # a type name cannot contain spaces, however if you #
324 # put an _ symbol in the name, it will be translated #
325 # to a space when displayed in a WHOIS. #
327 # classes - specified above, used for flexibility for the #
328 # server admin to decide on which operators get #
329 # what commands. Class names are case sensitive, #
330 # seperate multiple class names with spaces. #
332 # host - optional hostmask operators will receive on oper-up. #
334 # Syntax is as follows: #
336 # <type name="name" classes="class names" host="oper hostmask"> #
338 # ____ _ _____ _ _ ____ _ _ _ #
339 # | _ \ ___ __ _ __| | |_ _| |__ (_)___ | __ )(_) |_| | #
340 # | |_) / _ \/ _` |/ _` | | | | '_ \| / __| | _ \| | __| | #
341 # | _ < __/ (_| | (_| | | | | | | | \__ \ | |_) | | |_|_| #
342 # |_| \_\___|\__,_|\__,_| |_| |_| |_|_|___/ |____/|_|\__(_) #
344 # You are not forced to give these types the names given below. #
345 # You can create your own named types, if you want, in fact that #
346 # is the whole idea of this system! #
349 <type name="NetAdmin" classes="OperChat BanControl HostCloak Shutdown ServerLink" host="netadmin.omega.org.za">
350 <type name="GlobalOp" classes="OperChat BanControl HostCloak ServerLink" host="ircop.omega.org.za">
351 <type name="Helper" classes="HostCloak" host="helper.omega.org.za">
354 #-#-#-#-#-#-#-#-#-#-#- OPERATOR CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
356 # Opers are defined here. This is a very important section. #
357 # Remember to only make operators out of truthworthy people. #
359 # name - oper name, This is case sensitive, so it is best to #
362 # password - password to oper-up, also case sensitive. #
363 # encryption is supported via modules. You may load #
364 # modules for MD5 or SHA256 encryption, and if you do, #
365 # this value will be a hash value, otherwise put a #
366 # plaintext password in this value. #
368 # host - hosts of client allowed to oper-up. #
369 # wildcards accepted, seperate multiple hosts with a #
370 # space. You may also specify CIDR ip addresses. #
372 # fingerprint - When using the m_ssl_oper_cert.so module, you may #
373 # specify a key fingerprint here. This can be obtained #
374 # using the /fingerprint command whilst the module is #
375 # loaded, or from the notice given to you when you #
376 # connect to the ircd using a client certificate, #
377 # and will lock this oper block to only the user who #
378 # has that specific key/certificate pair. #
379 # This enhances security a great deal, however it #
380 # requires that opers use clients which can send ssl #
381 # client certificates, if this is configured for that #
382 # oper. Note that if the m_ssl_oper.so module is not #
383 # loaded, and/or one of m_ssl_openssl or m_ssl_gnutls #
384 # is not loaded, this configuration option has no #
385 # effect and will be ignored. #
387 # type - Defines the kind of operator. This must match a type #
388 # tag you defined above, and is case sensitive. #
390 # Syntax is as follows: #
391 # <oper name="login" #
393 # host="hostmask@of.oper" #
394 # fingerprint="hexsequence" #
395 # type="oper type"> #
400 host="ident@dialup15.isp.com *@localhost *@server.com *@3ffe::0/16"
404 #-#-#-#-#-#-#-#-#-#-#- SERVER LINK CONFIGURATION -#-#-#-#-#-#-#-#-#-#
406 # Defines which servers can link to this one, and which servers this #
407 # server may create outbound links to. #
409 # name - The name is the canocial name of the server, does #
410 # not have to resolve - but it is expected to be set #
411 # in the remote servers connection info. #
413 # ipaddr - Valid host or ip address for remote server. These #
414 # hosts are resolved on rehash, and cached, if you #
415 # specify a hostname, so if you find that your server #
416 # is still trying to connect to an old IP after you #
417 # have updated your dns, try rehashing and then #
418 # attempting the connect again. #
420 # port - The TCP port for the remote server. #
422 # sendpass - Password to send to create an outbound connection #
425 # recvpass - Password to receive to accept an inbound connection #
426 # from this server. #
428 # autoconnect - Sets the server to autoconnect. Where x is the num. #
429 # (optional) of seconds between attempts. e.g. 300 = 5 minutes. #
431 # transport - If defined, this is a transport name implemented by #
432 # another module. Transports are layers on top of #
433 # plaintext connections, which alter them in certain #
434 # ways. Currently the three supported transports are #
435 # 'openssl' and 'gnutls' which are types of SSL #
436 # encryption, and 'zip' which is for compression. #
437 # If you define a transport, both ends of the #
438 # connection must use a compatible transport for the #
439 # link to succeed. OpenSSL and GnuTLS are link- #
440 # compatible with each other. #
442 # statshidden - When using m_spanningtree.so for linking. you may #
443 # set this to 'yes', and if you do, the IP address/ #
444 # hostname of this connection will NEVER be shown to #
445 # any opers on the network. In /STATS c its address #
446 # will show as *@<hidden>, and during CONNECT and #
447 # inbound connections, its IP will show as <hidden> #
448 # UNLESS the connection fails (e.g. due to a bad #
449 # password or servername) #
451 # allowmask - When this is defined, it indicates a range of IP #
452 # addresses to allow for this link (You may use CIDR #
453 # or wildcard form for this address). #
454 # e.g. if your server is going to connect to you from #
455 # the range 1.2.3.1 through 1.2.3.255, put 1.2.3.0/24 #
456 # into this value. If it is not defined, then only #
457 # the ipaddr field of the server shall be allowed. #
459 # failover - If you define this option, it must be the name of a #
460 # different link tag in your configuration. This #
461 # option causes the ircd to attempt a connection to #
462 # the failover link in the event that the connection #
463 # to this server fails. For example, you could define #
464 # two hub uplinks to a leaf server, and set an #
465 # american server to autoconnect, with a european #
466 # hub as its failover. In this situation, your ircd #
467 # will only try the link to the european hub if the #
468 # american hub is unreachable. NOTE that for the #
469 # intents and purposes of this option, an unreachable #
470 # server is one which DOES NOT ANSWER THE CONNECTION. #
471 # If the server answers the connection with accept(), #
472 # EVEN IF THE CREDENTIALS ARE INVALID, the failover #
473 # link will not be tried! Failover settings will also #
474 # apply to autoconnected servers as well as manually #
477 # timeout - If this is defined, then outbound connections will #
478 # time out if they are not connected within this many #
479 # seconds. If this is not defined, the default of ten #
482 # bind - If you specify this value, then when creating an #
483 # outbound connection to the given server, the IP you #
484 # place here will be bound to. This is for multi- #
485 # homed servers which may have multiple IP addresses. #
486 # If you do not define this value, the first IP that #
487 # is not empty or localhost from your <bind> tags #
488 # will be bound to. This is usually acceptable, #
489 # however if your server has multiple network cards #
490 # then you may have to manually specify the bind #
491 # value instead of leaving it to automatic binding. #
492 # You can usually tell if you need to set this by #
493 # looking for the error 'Could not assign requested #
494 # address' in your log when connecting to servers. #
496 # hidden - If this is set to true, yes, or 1, then the server #
497 # is completely hidden from non-opers. It does not #
498 # show in LINKS and it does not show in MAP. Also, #
499 # any servers which are child servers of this one #
500 # in the network will *also* be hidden. Use with #
501 # care! You can use this to 'mask off' sections of #
502 # the network so that users only see a small portion #
503 # of a much larger net. It should NOT be relied upon #
504 # as a security tool, unless it is being used for #
505 # example to hide a non-client hub, for which clients #
506 # do not have an IP address or resolvable hostname. #
508 # to u:line a server (give it extra privilages required for running #
509 # services, Q, etc) you must include the <uline server> tag as shown #
510 # in the example below. You can have as many of these as you like. #
512 # WARNING: Unlike other ircds, u:lining a server allows ALL users on #
513 # that server to operoverride modes. This should only be used for #
514 # services and protected oper servers! #
516 # ------------------------------------------------------------------- #
518 # NOTE: If you have built your server as an ipv6 server, then when a #
519 # DNS lookup of a server's host occurs, AAAA records (ipv6) are #
520 # priorotized over A records (ipv4). Therefore, if the server you are #
521 # connecting to has both an IPV6 ip address and an IPV4 ip address in #
522 # its DNS entry, the IPV6 address will *always* be selected. To #
523 # change this behaviour simply specify the IPV4 IP address rather #
524 # than the hostname of the server. #
526 # ------------------------------------------------------------------- #
528 # ____ _ _____ _ _ ____ _ _ _ #
529 # | _ \ ___ __ _ __| | |_ _| |__ (_)___ | __ )(_) |_| | #
530 # | |_) / _ \/ _` |/ _` | | | | '_ \| / __| | _ \| | __| | #
531 # | _ < __/ (_| | (_| | | | | | | | \__ \ | |_) | | |_|_| #
532 # |_| \_\___|\__,_|\__,_| |_| |_| |_|_|___/ |____/|_|\__(_) #
534 # If you want to link servers to InspIRCd you must load the #
535 # m_spanningtree module! Please see the modules list below for #
536 # information on how to load this module! If you do not load this #
537 # module, server links will NOT work! #
539 # Also, if you define any transports, you must load the modules for #
540 # these transports BEFORE you load m_spanningtree, e.g. place them #
541 # above it in the configuration file. Currently this means the three #
542 # modules m_ssl_gnutls, m_ziplinks and m_ssl_openssl, depending on #
543 # which you choose to use. #
546 <link name="hub.penguin.org"
547 ipaddr="penguin.box.com"
549 allowmask="69.58.44.0/24"
551 failover="hub.other.net"
557 sendpass="outgoing!password"
558 recvpass="incoming!password">
560 <link name="services.antarctic.com"
563 allowmask="127.0.0.0/8"
565 recvpass="polarbears">
568 #-#-#-#-#-#-#-#-#-#-#-#- ULINES CONFIGURATION #-#-#-#-#-#-#-#-#-#-#-#-#
569 # This tag defines a ulined server. A U-Lined server has special #
570 # permissions, and should be used with caution. Services servers are #
571 # usually u-lined in this manner. #
573 # The 'silent' value if set to yes indicates that this server should #
574 # not generate quit and connect notices, which can cut down on noise #
575 # to opers on the network. #
577 <uline server="services.antarctic.com" silent="yes">
580 #-#-#-#-#-#-#-#-#-#- MISCELLANEOUS CONFIGURATION -#-#-#-#-#-#-#-#-#-#
582 # These options let you define the path to your motd and rules #
583 # files. If these are relative paths, they are relative to the #
584 # configurtion directory. #
587 <files motd="inspircd.motd.example"
588 rules="inspircd.rules.example">
590 #-#-#-#-#-#-#-#-#-#-#-# MAXIMUM CHANNELS -#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
592 # This optional configuration tag lets you define the maximum number #
593 # of channels that both opers and users may be on at any one time. #
594 # the default is 20 for user and 60 for opers if this tag is not #
595 # defined. Remote users are not restricted in any manner. #
601 #-#-#-#-#-#-#-#-#-#-#-#-#-#-# DNS SERVER -#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
603 # Define your DNS server address here. InspIRCd has its own resolver. #
604 # If you do not define this value, then then InspIRCd will attempt to #
605 # determine your DNS server from your operating system. On POSIX #
606 # platforms, InspIRCd will read /etc/resolv.conf, and populate this #
607 # value with the first DNS server address found. On Windows platforms #
608 # InspIRCd will check the registry, and use the DNS server of the #
609 # first active network interface, if one exists. #
610 # If a DNS server cannot be determined from these checks, the default #
611 # value '127.0.0.1' is used instead. The timeout value is in seconds. #
613 # ____ _ _____ _ _ ____ _ _ _ #
614 # | _ \ ___ __ _ __| | |_ _| |__ (_)___ | __ )(_) |_| | #
615 # | |_) / _ \/ _` |/ _` | | | | '_ \| / __| | _ \| | __| | #
616 # | _ < __/ (_| | (_| | | | | | | | \__ \ | |_) | | |_|_| #
617 # |_| \_\___|\__,_|\__,_| |_| |_| |_|_|___/ |____/|_|\__(_) #
619 # When choosing a server, be sure to choose one which will do a #
620 # RECURSIVE LOOKUP. InspIRCd's resolver does not currently do these #
621 # recursive lookups itself, to save time and resources. The dns #
622 # server recommended by the InspIRCd team is bind, available from the #
623 # ISC website. If your DNS server does not do a recursive lookup, you #
624 # will be able to notice this by the fact that none of your users are #
625 # resolving even though the DNS server appears to be up! Most ISP and #
626 # hosting provider DNS servers support recursive lookups. #
628 # ------------------------------------------------------------------- #
630 # NOTE: if you have built InspIRCd with IPV6 support, then both #
631 # ipv6 and ipv4 addresses are allowed here, and also in the system #
632 # resolv.conf file. Remember that an ipv4 dns server can still #
633 # resolve ipv6 addresses, and vice versa. #
636 <dns server="127.0.0.1" timeout="5">
638 # An example of using an IPV6 nameserver
639 #<dns server="::1" timeout="5">
641 #-#-#-#-#-#-#-#-#-#-#-#-#-#-# PID FILE -#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
643 # Define the path to the PID file here. The PID file can be used to #
644 # rehash the ircd from the shell or to terminate the ircd from the #
645 # shell using shell scripts, perl scripts etc, and to monitor the #
646 # ircd's state via cron jobs. If this is a relative path, it will be #
647 # relative to the configuration directory, and if it is not defined, #
648 # the default of 'inspircd.pid' is used. #
651 #<pid file="/path/to/inspircd.pid">
653 #-#-#-#-#-#-#-#-#-#-#-#-#- BANLIST LIMITS #-#-#-#-#-#-#-#-#-#-#-#-#-#-#
655 # Use these tags to customise the ban limits on a per channel basis. #
656 # the tags are read from top to bottom, and any tag found which #
657 # matches the channels name applies the banlimit to that channel. #
658 # It is advisable to put an entry with the channel as '*' at the #
659 # bottom of the list. If none are specified or no maxbans tag is #
660 # matched, the banlist size defaults to 64 entries. #
663 <banlist chan="#morons" limit="128">
664 <banlist chan="*" limit="69">
666 #-#-#-#-#-#-#-#-#-#-#- DISABLED COMMANDS -#-#-#-#-#-#-#-#-#-#-#-#-#-#
668 # This tag is optional, and specifies one or more commands which are #
669 # not available to non-operators. For example you may wish to disable #
670 # NICK and prevent non-opers from changing their nicknames. #
671 # Note that any disabled commands take effect only after the user has #
672 # 'registered' (e.g. after the initial USER/NICK/PASS on connection) #
673 # so for example disabling NICK will not cripple your network. #
676 #<disabled commands="TOPIC MODE">
679 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#- RTFM LINE -#-#-#-#-#-#-#-#-#-#-#-#-#-#
681 # Just remove this... Its here to make you read ALL of the config #
684 <die value="You should probably edit your config *PROPERLY* and try again.">
688 #-#-#-#-#-#-#-#-#-#-#-#-#- SERVER OPTIONS -#-#-#-#-#-#-#-#-#-#-#-#-#
690 # Settings to define which features are useable on your server. #
692 # prefixquit - A prefix to be placed on the start of a client's #
695 # suffixquit - A suffix to be placed on the end of a client's #
698 # fixedquit - A fixed quit message to display for all client #
699 # QUITS. If specified, overrides both prefixquit #
700 # and suffixquit options. #
702 # loglevel - specifies what detail of messages to log in the #
703 # log file. You may select from debug, verbose, #
704 # default, sparse and none. #
706 # allowhalfop - allows the +h channel mode #
708 # noservices - If noservices is true, yes, or 1, then the first #
709 # user into a channel gets founder status. This is #
710 # only useful on networks running the m_chanprotect #
711 # module without services. #
713 # qaprefixes - If qaprefixes is true, yes, or 1, then users #
714 # with +q or +a will get the ~ or & prefixes #
715 # used in unreal. This is only useful on networks #
716 # running the m_chanprotect module #
718 # deprotectself - If this value is set to yes, true, or 1, then any #
719 # user with +q or +a may remove the +q or +a from #
720 # themselves. The default setting is to not enable #
721 # this feature, which stops even the founder taking #
722 # away their founder status without using services. #
724 # deprotectothers-If this value is set to yes, true, or 1, then any #
725 # user with +q or +a may remove the +q or +a from #
726 # other users. The default setting is to not enable #
727 # this feature, so that only +q may remove +a, and #
728 # nothing but services may remove +q. #
730 # cyclehosts - If this is set to true, yes or 1, then when a #
731 # user's hostname changes, they will appear to quit #
732 # and then rejoin with their new host. This prevents #
733 # clients from being confused by host changes, #
734 # especially in the case of bots, and it is #
735 # recommended that this option is enabled. #
737 # netbuffersize - size of the buffer used to receive data from #
738 # clients. The ircd may only read() this amount #
739 # of text in one go at any time. (OPTIONAL) #
741 # maxwho - The maximum number of results returned by a /WHO #
742 # query. This is to prevent /WHO being used as a #
743 # spam vector or means of flooding an ircd. The #
744 # default is 128, it is not recommended to raise it #
745 # above 1024. Values up to 65535 are permitted. If #
746 # this value is omitted, any size WHO is allowed by #
749 # somaxconn - The maximum number of sockets that may be waiting #
750 # in the accept queue. This usually allows the ircd #
751 # to soak up more connections in a shorter space of #
752 # time when increased but please be aware there is a #
753 # system defined maximum value to this, the same way #
754 # there is a system defined maximum number of file #
755 # descriptors. Some systems may only allow this to #
756 # be up to 5 (ugh) while others such as FreeBSD will #
757 # default to a much nicer 128. #
759 # moduledir - This optional value indicates a runtime change of #
760 # the location where modules are to be found. This #
761 # does not add a supplementary directory. There can #
762 # only be one module path. #
764 # softlimit - This optional feature allows a defined softlimit. #
765 # if defined sets a soft maxconnections value, has #
766 # to be less than the ./configure maxclients #
768 # userstats - The userstats field is optional and specifies #
769 # which stats characters in /STATS may be requested #
770 # by non-operators. Stats characters in this field #
771 # are case sensitive and are allowed to users #
772 # independent of if they are in a module or the core #
774 # operspywhois - If this is set then when an IRC operator uses #
775 # /WHOIS on a user they will see all channels, even #
776 # ones if channels are secret (+s), private (+p) or #
777 # if the target user is invisible +i. #
779 # customversion - If you specify this configuration item, and it is #
780 # not set to an empty value, then when a user does #
781 # a /VERSION command on the ircd, this string will #
782 # be displayed as the second portion of the output, #
783 # replacing the system 'uname', compile flags and #
784 # socket engine/dns engine names. You may use this #
785 # to enhance security, or simply for vanity. #
787 # maxtargets - The maxtargets field is optional, and if not #
788 # defined, defaults to 20. It indicates the maximum #
789 # number of targets which may be given to commands #
790 # such as PRIVMSG, KICK etc. #
792 # hidesplits - When set to 'yes', will hide split server names #
793 # from non-opers. Non-opers will see '*.net *.split' #
794 # instead of the server names in the quit message, #
795 # identical to the way IRCu displays them. #
797 # hidebans - When set to 'yes', will hide gline, kline, zline #
798 # and qline quit messages from non-opers. For #
799 # example, user A who is not an oper will just see #
800 # (G-Lined) while user B who is an oper will see the #
801 # text (G-Lined: Reason here) instead. #
803 # hidewhois - When defined with a non-empty value, the given #
804 # text will be used in place of the user's server #
805 # in WHOIS, when a user is WHOISed by a non-oper. #
806 # For example, most nets will want to set this to #
807 # something like '*.netname.net' to conceal the #
808 # actual server the user is on. #
810 # flatlinks - When you are using m_spanningtree.so, and this #
811 # value is set to true, yes or 1, /MAP and /LINKS #
812 # will be flattened when shown to a non-oper. #
814 # hideulines - When you are using m_spanningtree.so, and this #
815 # value is set to true, yes or 1, then U-lined #
816 # servers will be hidden in /LINKS and /MAP. For non #
817 # opers. Please be aware that this will also hide #
818 # any leaf servers of a U-lined server, e.g. jupes. #
820 # nouserdns - If set to 'yes', 'true' or '1', no user dns #
821 # lookups will be performed for connecting users. #
822 # this can save a lot of resources on very busy irc #
825 # syntaxhints - If set to 'yes', 'true' or '1', when a user does #
826 # not give enough parameters for a command, a syntax #
827 # hint will be given (using the RPL_TEXT numeric) #
828 # as well as the standard ERR_NEEDMOREPARAMS. #
830 # announcets - If this value is defined to 'yes', 'true' or '1', #
831 # then if a channel's timestamp is updated the users #
832 # on the channel will be informed of the change via #
833 # a server notice to the channel with the old and #
834 # new TS values in the timestamp. If you think this #
835 # is just pointless noise, define the value to 0. #
837 # ircumsgprefix - Use undernet style message prefix for channel #
838 # NOTICE and PRIVMSG adding the prefix to the line #
839 # of text sent out. Eg. NOTICE @#test :@ testing #
840 # vs. the off setting: NOTICE @#test :testing #
842 # hostintopic - If this is set to yes (the default) then the full #
843 # nick!user@host is shown for who set a TOPIC last. #
844 # if set to no, then only the nickname is shown. #
847 # - If this option is set to yes (the default), then #
848 # invites are announced to the channel when a user #
849 # invites annother user. If you consider this to be #
850 # unnecessary noise, explicitly set this to no. #
852 # disablehmac - If you are linking your InspIRCd to older versions #
853 # then you can specify this option and set it to #
854 # yes. 1.1.6 and above support HMAC and challenge- #
855 # response for password authentication. These can #
856 # greatly enhance security of your server to server #
857 # connections when you are not using SSL (as is the #
858 # case with a lot of larger networks). Linking to #
859 # older versions of InspIRCd should not *usually* be #
860 # a problem, but if you have problems with HMAC #
861 # authentication, this option can be used to turn it #
864 # hidemodes - If this option is enabled, then the listmodes #
865 # given (e.g. +eI), will be hidden from users below #
866 # halfop. This is not recommended to be set on mode #
867 # +b, as it may break some features in popular #
868 # clients such as mIRC. #
870 # quietbursts - When synching or splitting from the network, a #
871 # server can generate a lot of connect and quit #
872 # snotices to the +C and +Q snomasks. Setting this #
873 # value to yes squelches those messages, which can #
874 # make them more useful for opers, however it will #
875 # degrade their use by certain third party programs #
876 # such as BOPM which rely on them to scan users when #
877 # a split heals in certain configurations. #
879 # pingwarning - This should be set to a number between 1 and 59 if #
880 # defined, and if it is defined will cause the server#
881 # to send out a warning via snomask +l if a server #
882 # does not answer to PING after this many seconds. #
883 # This can be useful for finding servers which are #
884 # at risk of pinging out due to network issues. #
886 # exemptchanops - This option allows channel operators to be exempted#
887 # from certain channel modes. #
888 # Supported modes are +SfgNc. Defaults to off. #
890 # defaultmodes - The default modes to be given to each channel on #
891 # creation. Defaults to 'nt'. There should be no + #
892 # or - symbols in this sequence, if you add them #
893 # they will be ignored. You may add parameters for #
894 # parameterised modes. #
896 # moronbanner - The NOTICE to show to users who are glined, zlined #
897 # klined or qlined when they are disconnected. This #
898 # is totally freeform, you may place any text here #
902 <options prefixquit="Quit: "
904 netbuffersize="10240"
933 moronbanner="You're banned! Email haha@abuse.com with the ERROR line below for help."
936 #-#-#-#-#-#-#-#-#-#-#-#-#-#- TIME SYNC OPTIONS -#-#-#-#-#-#-#-#-#-#-#-#
937 # Time sychronization options for m_spanningtree linking. #
939 # Because IRC is very time and clock dependent, InspIRCd provides its #
940 # own methods for syncronization of time between servers as shown #
941 # in the example below, for servers that don't have ntpd running. #
943 # enable - If this value is 'yes', 'true', or '1', time #
944 # synchronization is enabled on this server. This #
945 # means any servers you are linked to will #
946 # automatically synchronize time, however you should #
947 # use ntpd instead where possible, NOT this option. #
949 # master - If this value is set to yes, then this server will #
950 # act as the authoritative time source for the whole #
951 # network. All other servers will respect its time #
952 # without question, and match their times to it. #
953 # only one server should have the master value set #
956 <timesync enable="no" master="no">
958 #-#-#-#-#-#-#-#-#-#-#-#-#- WHOWAS OPTIONS -#-#-#-#-#-#-#-#-#-#-#-#-#
960 # This tag lets you define the behaviour of the /whowas command of #
963 # groupsize - Controls the maximum entries per nick shown when #
964 # performing a /whowas nick. Setting this to 0 dis- #
965 # ables whowas completely. #
967 # maxgroups - The maximum number of nickgroups that can be added #
968 # to the list. If max is reached, oldest group will #
969 # be deleted first like a FIFO. A groupsize of 3 and #
970 # a maxgroups of 5000 will allow for 5000 nicks to #
971 # be stored with a history of 3, thus giving a total #
972 # of 3 * 5000 = 15000 entries. A setting of 0 dis- #
973 # ables whowas completely. #
975 # maxkeep - The maximum time a nick is kept in the whowas list #
976 # before being pruned. Time may be specified in #
977 # seconds, or in the following format: 1y2w3d4h5m6s #
978 # meaning one year, two weeks, three days, 4 hours, #
979 # 5 minutes and 6 seconds. All fields in this format #
980 # are optional. Minimum is 1 hour, if less InspIRCd #
981 # will default back to 1 hour. #
983 #<whowas groupsize="10" #
984 # maxgroups="100000" #
988 #-#-#-#-#-#-#-#-#-#-#-#-#- MODULE OPTIONS -#-#-#-#-#-#-#-#-#-#-#-#-#
990 # These tags define which modules will be loaded on startup by your #
991 # server. Add modules without any paths. When you make your ircd #
992 # using the 'make' command, all compiled modules will be moved into #
993 # the folder you specified when you ran ./configure. The module tag #
994 # automatically looks for modules in this location. #
995 # If you attempt to load a module outside of this location, either #
996 # in the config, or via /LOADMODULE, you will receive an error. #
998 # By default, ALL modules are commented out. You must uncomment them #
999 # or add lines to your config to load modules. Please refer to #
1000 # http://www.inspircd.org/wiki/Modules_List for a list of modules and#
1001 # each modules link for any additional conf tags they require. #
1003 # You may use wildcards in a <module> tag to load all modules which #
1004 # match a glob pattern (e.g. m_sa????.so would load m_sajoin, #
1005 # m_sapart, m_saquit and m_sanick) #
1007 # ____ _ _____ _ _ ____ _ _ _ #
1008 # | _ \ ___ __ _ __| | |_ _| |__ (_)___ | __ )(_) |_| | #
1009 # | |_) / _ \/ _` |/ _` | | | | '_ \| / __| | _ \| | __| | #
1010 # | _ < __/ (_| | (_| | | | | | | | \__ \ | |_) | | |_|_| #
1011 # |_| \_\___|\__,_|\__,_| |_| |_| |_|_|___/ |____/|_|\__(_) #
1013 # To link servers to InspIRCd, you MUST load the m_spanningtree #
1014 # module, as shown below. If you DO NOT do this, server links will #
1015 # NOT work at all. ie. The ports will NOT bind, and /connect will not #
1016 # work properly. This is by design, to allow for the implementation #
1017 # of other linking protocols in modules in the future. #
1019 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1020 # Spanning Tree module - allows linking of servers using the spanning
1021 # tree protocol (see the READ THIS BIT section above).
1023 #<module name="m_spanningtree.so">
1026 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1027 # MD5 Module - Allows other modules to generate MD5 hashes, usually for
1028 # cryptographic uses and security.
1031 # Other modules such as m_cloaking.so and m_opermd5.so may rely on
1032 # this module being loaded to function.
1034 #<module name="m_md5.so">
1036 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1037 # SHA256 Module - Allows other modules to generate SHA256 hashes,
1038 # usually for cryptographic uses and security.
1041 # Other modules such as m_opermd5.so may rely on this module being
1042 # loaded to function.
1044 #<module name="m_sha256.so">
1046 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1047 # Alias module: Allows you to define server-side command aliases
1048 #<module name="m_alias.so">
1050 #-#-#-#-#-#-#-#-#-#-#- ALIAS DEFINITIONS -#-#-#-#-#-#-#-#-#-#-#-#-#-#
1052 # If you have the m_alias.so module loaded, you may also define #
1053 # aliases as shown below. They are commonly used to provide shortcut #
1054 # commands to services, however they are not limited to just this use.#
1055 # An alias tag requires the following values to be defined in it: #
1057 # text - The text to detect as the actual command line, #
1058 # Cant contain spaces, but case insensitive. #
1059 # You may have multiple aliases with the same #
1060 # command name (text="" value), however the first #
1061 # found will be executed if its format value is #
1062 # matched, or it has no format value. Aliases are #
1063 # read from the top of the file to the bottom. #
1065 # format - If this is defined, the parameters of the alias #
1066 # must match this glob pattern. For example if you #
1067 # want the first parameter to start with a # for #
1068 # the alias to be executed, set format="#*" in the #
1069 # alias definition. Note that the :'s which are #
1070 # part of IRC formatted lines will be preserved #
1071 # for matching of this text. This value is #
1074 # replace - The text to replace 'text' with. Usually this #
1075 # will be "PRIVMSG ServiceName :$2-" or similar. #
1076 # You may use the variables $1 through $9 in the #
1077 # replace string, which refer to the first through #
1078 # ninth word in the original string typed by the #
1079 # user. You may also use $1- through $9- which #
1080 # refer to the first word onwards, through to the #
1081 # ninth word onwards, e.g. if the user types the #
1082 # command "foo bar baz qux quz" then $3- will hold #
1083 # "baz qux quz" and $2 will contain "bar". You may #
1084 # also use the special variables: $nick, $ident, #
1085 # $host and $vhost, and you may seperate multiple #
1086 # commands with \n. If you wish to use the ACTUAL #
1087 # characters \ and n together in a line, you must #
1088 # use the sequence "\\n". #
1090 # requires - If you provide a value for 'requires' this means #
1091 # the given nickname MUST be online for the alias #
1092 # to successfully trigger. If they are not, then #
1093 # the user receives a 'no such nick' 401 numeric. #
1095 # uline - Defining this value with 'yes', 'true' or '1' #
1096 # will ensure that the user given in 'requires' #
1097 # must also be on a u-lined server, as well as #
1098 # actually being on the network. If the user is #
1099 # online, but not on a u-lined server, then an #
1100 # oper-alert is sent out as this is possibly signs #
1101 # of a user trying to impersonate a service. #
1103 # operonly - Defining this value, with a value of 'yes', '1' #
1104 # or true will make the alias oper only. If a non- #
1105 # oper attempts to use the alias, it will appear #
1108 #<alias text="NICKSERV" replace="PRIVMSG NickServ :$2-" requires="NickServ" uline="yes">
1109 #<alias text="CHANSERV" replace="PRIVMSG ChanServ :$2-" requires="ChanServ" uline="yes">
1110 #<alias text="OPERSERV" replace="PRIVMSG OperServ :$2-" requires="OperServ" uline="yes" operonly="yes">
1111 #<alias text="NS" replace="PRIVMSG NickServ :$2-" requires="NickServ" uline="yes">
1112 #<alias text="CS" replace="PRIVMSG ChanServ :$2-" requires="ChanServ" uline="yes">
1113 #<alias text="OS" replace="PRIVMSG OperServ :$2-" requires="OperServ" uline="yes" operonly="yes">
1115 # An example of using the format value to create an alias with two
1116 # different behaviours depending on the format of the parameters.
1118 #<alias text="ID" format="#*" replace="PRIVMSG ChanServ :IDENTIFY $2 $3"
1119 # requires="ChanServ" uline="yes">
1121 #<alias text="ID" replace="PRIVMSG NickServ :IDENTIFY $2"
1122 # requires="NickServ" uline="yes">
1124 # This alias fixes a glitch in xchat 2.6.x and above and the way it
1125 # assumes IDENTIFY must be prefixed by a colon (:) character. It should
1126 # be placed ABOVE the default NICKSERV alias (the first example) listed
1129 #<alias text="NICKSERV" format=":IDENTIFY *" replace="PRIVMSG NickServ :IDENTIFY $3-"
1130 # requires="NickServ" uline="yes">
1132 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1133 # Alltime module: Shows time on all connected servers at once
1134 #<module name="m_alltime.so">
1136 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1137 # Antibear security module: Prevents 'bear.txt' based trojans from
1138 # connecting to your network by sending them a numeric they can't handle.
1139 #<module name="m_antibear.so">
1141 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1142 # Antibottler module: Labels bottler leech bots
1143 #<module name="m_antibottler.so">
1145 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1146 # Auditorium module: Adds channel mode +u which makes everyone else
1147 # except you in the channel invisible, used for large meetings etc.
1148 #<module name="m_auditorium.so">
1150 # Auditorium settings:
1152 #<auditorium showops="no">
1154 # Setting this value to yes makes m_auditorium behave like unrealircd
1155 # +u channel mode, e.g. ops see users joining, parting, etc, and users
1156 # joining the channel see the ops. Without this flag, the mode acts
1157 # like ircnet's +a (anonymous channels), showing only the user in the
1158 # names list, and not even showing the ops in the list, or showing the
1159 # ops that the user has joined.
1161 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1162 # Ban except module: Adds support for channel ban exceptions (+e)
1163 #<module name="m_banexception.so">
1165 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1166 # Ban redirection module: Allows bans which redirect to a specified
1167 # channel. e.g. +b nick!ident@host#channelbanneduserissentto
1168 #<module name="m_banredirect.so">
1170 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1171 # Block amsg module: Attempt to block all usage of /amsg and /ame
1172 #<module name="m_blockamsg.so">
1174 #-#-#-#-#-#-#-#-#-#-#- BLOCKAMSG CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
1176 # If you have the m_blockamsg.so module loaded, you can configure it #
1177 # with the <blockamsg> tag: #
1179 # delay - How many seconds between two messages to force #
1180 # them to be recognised as unrelated. #
1181 # action - Any of 'notice', 'noticeopers', 'silent', 'kill' #
1182 # or 'killopers'. Define how to take action when #
1183 # a user uses /amsg or /ame. #
1185 #<blockamsg delay="3" action="killopers">
1187 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1188 # Block CAPS module: Blocking all-CAPS messages with cmode +P
1189 #<module name="m_blockcaps.so">
1191 #-#-#-#-#-#-#-#-#-#-#- BLOCKCAPS CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
1193 # percent - How many percent of text must be caps before text #
1194 # will be blocked. #
1196 # minlen - The minimum length a line must be for the block #
1197 # percent to have any effect. #
1199 # capsmap - A list of chars to be considered CAPS, this was #
1200 # you can add CAPS for your language. Also you can #
1201 # add things like ! and space to further lock down #
1203 #<blockcaps percent="50"
1205 # capsmap="ABCDEFGHIJKLMNOPQRSTUVWXYZ! ">
1207 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1208 # Block colour module: Blocking colour-coded messages with cmode +c
1209 #<module name="m_blockcolor.so">
1211 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1212 # Botmode module: Adds the user mode +B
1213 #<module name="m_botmode.so">
1215 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1216 # CBAN module: Lets you disallow channels from being used at runtime.
1217 #<module name="m_cban.so">
1219 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1220 # Censor module: Adds the channel mode +G
1221 #<module name="m_censor.so">
1223 #-#-#-#-#-#-#-#-#-#-#- CENSOR CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
1225 # Optional - If you specify to use the m_censor module, then you must #
1226 # specify some censor tags. See also: #
1227 # http://www.inspircd.org/wiki/Censor_Module #
1229 #<include file="censor.conf">
1231 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1232 # CGI:IRC module: Adds support for automatic host changing in CGI:IRC
1233 # (http://cgiirc.sourceforge.net).
1234 #<module name="m_cgiirc.so">
1236 #-#-#-#-#-#-#-#-#-#-#-# CGIIRC CONFIGURATION #-#-#-#-#-#-#-#-#-#-#-#-#
1238 # Optional - If you specify to use m_cgiirc, then you must specify one
1239 # or more cgihost tags which indicate authorized CGI:IRC servers which
1240 # will be connecting to your network, and an optional cgiirc tag.
1241 # For more information see: http://www.inspircd.org/wiki/CGI-IRC_Module
1243 # Set to yes if you want to notice opers when CGI clients connect
1244 # <cgiirc opernotice="no">
1246 # The type field indicates where the module should get the real
1247 # client's IP address from, for further information, please see the
1248 # CGI:IRC documentation.
1250 # <cgihost type="pass" mask="www.mysite.com"> # Get IP from PASS
1251 # <cgihost type="webirc" mask="somebox.mysite.com"> # Get IP from WEBIRC
1252 # <cgihost type="ident" mask="otherbox.mysite.com"> # Get IP from ident
1253 # <cgihost type="passfirst" mask="www.mysite.com"> # See the docs
1258 # When you connect CGI:IRC clients, there are two connect classes which
1259 # apply to these clients. When the client initially connects, the connect
1260 # class which matches the cgi:irc site's host is checked. Therefore you
1261 # must raise the maximum local/global clients for this ip as high as you
1262 # want to allow cgi clients. After the client has connected and is
1263 # determined to be a cgi:irc client, the class which matches the client's
1264 # real IP is then checked. You may set this class to a lower value, so that
1265 # the real IP of the client can still be restricted to, for example, 3
1270 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1271 # Channel create module: Adds snomask +j, which will notify opers of
1272 # any new channels that are created
1273 #<module name="m_chancreate.so">
1275 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1276 # Channel filter module: Allows channel-op defined message
1277 # filtering using simple string matches (channel mode +g)
1278 #<module name="m_chanfilter.so">
1280 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1281 # Chanprotect module: gives +q and +a channel modes
1282 #<module name="m_chanprotect.so">
1284 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1285 # Check module: gives /check
1286 # Check is useful for looking up information on channels,
1287 # users, IP addresses and hosts.
1288 #<module name="m_check.so">
1290 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1291 # CHGHOST module: Adds the /CHGHOST command
1292 #<module name="m_chghost.so">
1294 #-#-#-#-#-#-#-#-# /CHGHOST - /SETHOST CONFIGURATION #-#-#-#-#-#-#-#-#
1295 # Optional - If you want to use special chars for hostnames you can #
1296 # specify your own custom list of chars with the <hostname> tag: #
1298 # charmap - A list of chars accepted as valid by the /CHGHOST #
1299 # and /SETHOST commands. Also note that the list is #
1301 #<hostname charmap="abcdefghijklmnopqrstuvwxyz.-_/0123456789">
1303 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1304 # CHGIDENT module: Adds the /CHGIDENT command
1305 #<module name="m_chgident.so">
1307 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1308 # CHGNAME module: Adds the /CHGNAME command
1309 #<module name="m_chgname.so">
1311 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1312 # Cloaking module: Adds usermode +x and cloaking support.
1313 # Relies on the module m_md5.so being loaded before m_cloaking.so in
1314 # the configuration file.
1315 #<module name="m_cloaking.so">
1317 #-#-#-#-#-#-#-#-#-#-#- CLOAKING CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
1319 # Optional - If you specify the m_cloaking.so module as above, you #
1320 # must define cloak keys, and optionally a cloak prefix as shown #
1321 # below. When using cloaking, the cloak keys are MANDITORY and must #
1322 # be included. However, if prefix is not included, it will default #
1323 # to your networks name from the <server> tag. #
1325 # <cloak key1="0x2AF39F40" #
1326 # key2="0x78E10B32" #
1327 # key3="0x4F2D2E82" #
1328 # key4="0x043A4C81" #
1331 # Please note that the key values will accept any number, and should #
1332 # be large numbers. Using small numbers such as "7" or "1924" will #
1333 # seriously weaken the security of your cloak. It is recommended you #
1334 # use hexdecimal numbers prefixed by "0x", as shown in this example, #
1335 # with each key eight hex digits long. #
1337 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1338 # Clones module: Adds an oper command /CLONES for detecting cloned
1339 # users. Warning: This module may be resource intensive when its
1340 # command is issued, use with care.
1341 #<module name="m_clones.so">
1343 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1344 # Conn-Join: Allows you to force users to join one or more channels
1345 # automatically upon connecting to the server.
1346 #<module name="m_conn_join.so">
1348 #-#-#-#-#-#-#-#-#-#-#-#- CONNJOIN CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
1350 # If you have m_conn_join.so loaded, you can configure it using the
1353 #<autojoin channel="#one,#two,#three">
1355 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1356 # Conn-Usermodes: Set modes on users when they connect
1357 # When this module is loaded <connect:allow> tags may have an optional
1358 # modes="" value, which contains modes to add or remove from users
1359 # when they connect to the server.
1360 #<module name="m_conn_umodes.so">
1362 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1363 # Conn-Wait-for-Pong: Don't let a user connect until they PONG
1364 #<module name="m_conn_waitpong.so">
1366 #-#-#-#-#-#-#-#-#-#-#- WAITPONG CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
1368 # If you have the m_conn_waitpong.so module loaded, configure it with #
1369 # the <waitpong> tag: #
1371 # sendsnotice - Whether to send a snotice on connect, like other #
1374 # killonbadreply - Whether to kill the user if they send the wrong #
1377 #<waitpong sendsnotice="yes" killonbadreply="yes">
1380 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1381 # Channel cycle module. Server side /hop, with +ilk etc bypass.
1382 #<module name="m_cycle.so">
1384 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1385 # Connection throttle module. Configuration:
1386 #<module name="m_connflood.so">
1388 #-#-#-#-#-#-#-#-#-#-#- CONTHROTTLE CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
1389 # seconds, maxconns - Amount of connections per <seconds>.
1391 # timeout - Time to wait after the throttle was activated
1392 # before deactivating it. Be aware that the time
1393 # is seconds + timeout.
1395 # quitmsg - The message that users get if they attempt to
1396 # connect while the throttle is active.
1398 # bootwait - Amount of time to wait before enforcing the
1399 # throttling when the server just booted.
1401 #<connflood seconds="30" maxconns="3" timeout="30"
1402 # quitmsg="Throttled" bootwait="10">
1404 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1405 # Custom title module: Adds the /TITLE command which allows for trusted
1406 # users to gain a custom whois line and a optional
1407 # vhost can be specified.
1408 #<module name="m_customtitle.so">
1410 #-#-#-#-#-#-#-#-#-#- CUSTOM TITLE CONFIGURATION -#-#-#-#-#-#-#-#-#-#
1411 # name - The username used to identify
1412 # password - The password used to identify
1413 # host - Allowed hostmask [optional]
1414 # title - Title shown in whois
1415 # vhost - Displayed host [optional]
1417 #<title name="foo" password="bar" title="Official Chat Helper">
1418 #<title name="bar" password="foo" host="ident@host.name" title="Official Chat Helper" vhost="helper.network.chat">
1420 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1421 # DCCALLOW module: Adds the /DCCALLOW command
1422 #<module name="m_dccallow.so">
1424 #-#-#-#-#-#-#-#-#-#-#- DCCALLOW CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
1425 # blockchat - Whether to block DCC CHAT as well as DCC SEND
1426 # length - Default duration of entries in DCCALLOW list
1427 # action - Default action to take if no action is specified
1428 # can be 'block' or 'allow'
1430 # File configuration:
1431 # pattern - The glob pattern to match against
1432 # action - Action to take if a user attempts to send a file
1433 # that matches this pattern, can be 'block' or 'allow'
1435 #<dccallow blockchat="yes" length="5m" action="block">
1436 #<banfile pattern="*.exe" action="block">
1437 #<banfile pattern="*.txt" action="allow">
1439 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1441 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1442 # Deaf module: adds support for ircu style usermode +d - deaf to
1443 # channel messages and channel notices.
1444 #<module name="m_deaf.so">
1446 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1447 # Deny Channels: Deny Channels from being used by users
1448 #<module name="m_denychans.so">
1450 #-#-#-#-#-#-#-#-#-#-#- DENYCHAN DEFINITIONS -#-#-#-#-#-#-#-#-#-#-#-#
1452 # If you have the m_denychans.so module loaded, you need to specify #
1453 # the channels to deny: #
1455 # name - The channel name to deny. #
1457 # allowopers - If operators are allowed to override the deny. #
1459 # reason - Reason given for the deny. #
1461 #<badchan name="#gods" allowopers="yes" reason="Tortoises!">
1463 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1464 # Devoice Module: Let users devoice themselves.
1465 #<module name="m_devoice.so">
1467 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1468 # DNS Blacklist Module: Provides support for looking up IPs on one or #
1469 # more blacklists. #
1470 #<module name="m_dnsbl.so"> #
1472 # For configuration options please see the wiki page for m_dnsbl at #
1473 # http://inspircd.org/wiki/DNS_Blacklist_Module #
1475 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1476 # Filter module: Provides glob-based message filtering
1477 #<module name="m_filter.so">
1479 # PCRE filter module: Filters messages using regular expressions
1480 #<module name="m_filter_pcre.so">
1482 # You may only use one or the other with these modules, network-wide.
1484 #-#-#-#-#-#-#-#-#-#-#- FILTER CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
1486 # Optional - If you specify to use the m_filter or m_filter_pcre #
1487 # modules, then specfiy below the path to the filter.conf file, #
1488 # or define some <filter> tags. #
1490 #<include file="filter.conf">
1492 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1493 # Foobar module: does nothing - historical relic
1494 #<module name="m_foobar.so">
1496 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1497 # Globops module: gives /GLOBOPS and usermode +g
1498 #<module name="m_globops.so">
1500 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1501 # Global load module: Allows loading and unloading of modules network-
1502 # wide (USE WITH EXTREME CAUTION!)
1503 #<module name="m_globalload.so">
1505 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1506 # HELPOP module: Provides the /HELPOP command
1507 #<module name="m_helpop.so">
1509 #-#-#-#-#-#-#-#-#-#-#-#- HELPOP CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
1511 # Optional - If you specify to use the m_helpop.so module, then #
1512 # specify below the path to the helpop.conf file, or if you like to #
1513 # make a mess, define your helpop tags in this conf. #
1515 #<include file="helpop.conf">
1517 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1518 # HIDECHANS module: Allows opers to hide their channels list from non-
1519 # opers by setting user mode +I on themselves.
1520 # <module name="m_hidechans.so">
1522 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1523 # HIDEOPER module: Allows opers to hide their oper status from non-
1524 # opers by setting user mode +H on themselves.
1525 # <module name="m_hideoper.so">
1527 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1528 # Hostchange module: Allows a different style of cloaking
1529 #<module name="m_hostchange.so">
1531 #-#-#-#-#-#-#-#-#-#-#- HOSTCHANGE CONFIGURATION -#-#-#-#-#-#-#-#-#-#
1533 # Optional - If you choose to use the m_hostchange.so module. #
1534 # Config Help - See http://www.inspircd.org/wiki/Host_Changer_Module #
1536 #<host suffix="polarbears.org" separator="." prefix="">
1537 #<hostchange mask="*@fbi.gov" action="addnick">
1538 #<hostchange mask="*r00t@*" action="suffix">
1539 #<hostchange mask="a@b.com" action="set" value="blah.blah.blah">
1541 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1542 # httpd module: Provides http server support for InspIRCd
1543 #<module name="m_httpd.so">
1545 #-#-#-#-#-#-#-#-#-#-#-#- HTTPD CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
1547 # Optional - If you choose to use the m_httpd.so module, then you must
1548 # specify the port number and other details of your http server:
1550 #<http ip="192.168.1.10" host="brainwave" port="32006"
1551 # index="/home/brain/inspircd/http/index.html">
1553 # You may have as many of these tags as you wish, each with a different
1554 # IP, port, host or index file. Each one will act as an independent
1558 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1559 # http stats module: Provides basic stats pages over HTTP
1560 # Requires m_httpd.so to be loaded for it to function.
1561 #<module name="m_httpd_stats.so">
1563 #-#-#-#-#-#-#-#-#-#-#-#- HTTPD STATS CONFIGURATION -#-#-#-#-#-#-#-#-#-#
1565 #<httpstats stylesheet="http://remote.style/sheet.css">
1568 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1569 # Ident: Provides RFC 1413 ident lookup support
1570 #<module name="m_ident.so">
1572 #-#-#-#-#-#-#-#-#-#-#-#- IDENT CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
1574 # Optional - If you are using the m_ident.so module, then you can #
1575 # specify the timeout for ident lookups here. If not defined, it will #
1576 # default to one second. This is a non-blocking timeout which holds #
1577 # the user in a 'connecting' state until the lookup is complete. #
1578 # The bind value indicates which IP to bind outbound requests to. #
1580 #<ident timeout="5" bind=""> #
1582 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1583 # Invite except module: Adds support for channel invite exceptions (+I)
1584 #<module name="m_inviteexception.so">
1586 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1587 # Invisible module - Adds support for usermode +Q (quiet) which lets an
1588 # oper go 'invisible' similar to unrealircd 3.1's +I mode. Note that
1589 # opers are still able to see invisible users, and if an oper with +Q
1590 # deopers, they will become visible.
1592 # IMPORTANT NOTE: To allow this mode to be used by a type of oper, you
1593 # must first add the value canquiet="yes" to that oper's type tag.
1595 #<module name="m_invisible.so">
1597 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1598 # Join flood module: Adds support for join flood protection (+j)
1599 #<module name="m_joinflood.so">
1601 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1602 # Jump Server module: Adds support for the RPL_REDIR numeric
1603 #<module name="m_jumpserver.so">
1605 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1606 # Anti-Auto-Rejoin: Adds support for prevention of auto-rejoin (+J)
1607 #<module name="m_kicknorejoin.so">
1609 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1610 # Knock module: adds the /KNOCK command and +K channel mode
1611 #<module name="m_knock.so">
1613 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1614 # Lock server module: Adds /LOCKSERV and /UNLOCKSERV commands that is #
1615 # used to temporarily close/open for new connections to the server. #
1616 # These commands require OPER status and that the LOCKSERV UNLOCKSERV #
1617 # are specified in a <class> tag that the oper is part of. This is so #
1618 # you can control who has access to this possible dangerous command. #
1619 # If your server is locked and you got disconnected, do a REHASH from #
1620 # shell to open up again.
1621 #<module name="m_lockserv.so">
1623 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1624 # Msg flood module: Adds message/notice flood protection (+f)
1625 #<module name="m_messageflood.so">
1627 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1628 # MySQL module: Allows other SQL modules to access MySQL databases
1629 # through a unified API. You must copy the source for this module
1630 # from the directory src/modules/extra, plus the file m_sqlv2.h
1631 #<module name="m_mysql.so">
1633 #-#-#-#-#-#-#-#-#-#-#-#- SQL CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#-#
1635 # m_mysql.so is more complex than described here, see the wiki for #
1636 # more: http://www.inspircd.org/wiki/SQL_Service_Provider_Module #
1638 #<database name="mydb" username="myuser" password="mypass" hostname="localhost" id="my_database2">
1640 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1641 # NAMESX module: Provides support for the NAMESX extension which allows
1642 # clients to see all the prefixes set on a user without getting confused.
1643 # This is supported by mIRC, x-chat, klient, and maybe more.
1644 #<module name="m_namesx.so">
1646 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1647 # Nicklock module: Let opers change a user's nick and then stop that
1648 # user from changing their nick again.
1649 #<module name="m_nicklock.so">
1651 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1652 # No ctcp module: Adds the channel mode +C to block CTCPs
1653 #<module name="m_noctcp.so">
1655 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1656 # Noinvite module: Gives channel mode +V
1657 #<module name="m_noinvite.so">
1659 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1660 # No kicks module: Adds the +Q channel mode
1661 #<module name="m_nokicks.so">
1663 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1664 # No nicks module: Adds the +N channel mode
1665 #<module name="m_nonicks.so">
1667 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1668 # No Notice module: adds the channel mode +T
1669 #<module name="m_nonotice.so">
1671 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1672 # Oper channels mode: Adds the +O channel mode
1673 #<module name="m_operchans.so">
1675 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1676 # Oper hash module: Allows hashed oper passwords
1677 # Relies on the module m_md5.so and/or m_sha256.so being loaded before
1678 # m_oper_hash.so in the configuration file.
1679 #<module name="m_oper_hash.so">
1681 #-#-#-#-#-#-#-#-#-#-# OPER HASH CONFIGURATION #-#-#-#-#-#-#-#-#-#-#-#-#
1683 # To use this module, you must define a hash type for each oper's
1684 # password you want to hash. For example:
1686 # <oper name="Brain"
1687 # host="ident@dialup15.isp.com"
1689 # password="a41d730937a53b79f788c0ab13e9e1d5"
1692 # The types of hashing available vary depending on which hashing modules
1693 # you load, but usually if you load m_sha256.so and m_md5.so, both md5
1694 # and sha256 type hashing will be available (the most secure of which
1697 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1698 # Oper Join module: Forces opers to join a channel on oper-up
1699 #<module name="m_operjoin.so">
1701 #-#-#-#-#-#-#-#-#-#-# OPERJOIN CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
1703 # If you are using the m_operjoin.so module, specify the channel here #
1705 #<operjoin channel="#channel">
1707 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1708 # Oper MOTD module: Provides support for seperate message of the day
1710 #<module name="m_opermotd.so">
1712 #-#-#-#-#-#-#-#-#-#-# OPERMOTD CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
1714 # If you are using the m_opermotd.so module, specify the motd here #
1716 #<opermotd file="oper.motd">
1718 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1719 # Override module: Adds support for oper override
1720 #<module name="m_override.so">
1722 #-#-#-#-#-#-#-#-#-#-# OVERRIDE CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
1724 # m_override.so is too complex it describe here, see the wiki: #
1725 # http://www.inspircd.org/wiki/Oper_Override_Module #
1727 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1728 # Oper levels module: Gives each oper a level and prevents
1729 # actions being taken against higher level opers
1730 # Specify the level as the 'level' parameter of the <type> tag
1731 #<module name="m_operlevels.so">
1733 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1734 # Oper modes module: Allows you to specify modes to add/remove on oper
1735 # Specify the modes as the 'modes' parameter of the <type> tag
1736 #<module name="m_opermodes.so">
1738 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1739 # PostgreSQL module: Allows other SQL modules to access PgSQL databases
1740 # through a unified API. You must copy the source for this module
1741 # from the directory src/modules/extra, plus the file m_sqlv2.h
1742 #<module name="m_pgsql.so">
1744 #-#-#-#-#-#-#-#-#-#-#-#- SQL CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#-#
1746 # m_pgsql.so is more complex than described here, see the wiki for #
1747 # more: http://www.inspircd.org/wiki/SQL_Service_Provider_Module #
1749 #<database name="mydb" username="myuser" password="mypass" hostname="localhost" id="my_database" ssl="no">
1751 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1752 # Random Quote module: provides a random quote on connect.
1753 # NOTE: Some of these may mimic fatal errors and confuse users and
1754 # opers alike! - BEWARE!
1755 #<module name="m_randquote.so">
1757 #-#-#-#-#-#-#-#-#-#- RANDOMQUOTES CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
1759 # Optional - If you specify to use the m_randquote.so module, then #
1760 # specify below the path to the randquotes.conf file. #
1762 #<randquote file="randquotes.conf">
1764 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1765 # Redirect module: Adds channel redirection (mode +L)
1766 #<module name="m_redirect.so">
1768 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1769 # Registered users only channel creation
1770 # Allows only registered users and opers to create new channels.
1771 #<module name="m_regonlycreate.so">
1773 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1774 # Remove module: Adds the /REMOVE command which is a peaceful
1775 # alternative to /KICK
1776 #<module name="m_remove.so">
1778 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1779 # Restrict banned users module:
1780 # Disallows banned users on a channel from messaging the channel,
1781 # changing nick, or changing the topic, if loaded.
1782 #<module name="m_restrictbanned.so">
1784 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1785 # Restricted channels module: Allows only opers to create channels
1786 #<module name="m_restrictchans.so">
1788 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1789 # Restrict message module: Allows users to only message opers
1790 #<module name="m_restrictmsg.so">
1792 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1793 # Provide /LIST throttling (to prevent flooding) and /LIST safety to
1794 # prevent excess flood when the list is large.
1795 #<module name="m_safelist.so">
1797 #-#-#-#-#-#-#-#-#-#-# SAFELIST CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#-#
1799 # When using Safelist, you may set the following values;
1801 # The first value, 'throttle', sets the amount of time in seconds a user
1802 # must wait between LIST commands. For example, if this is set to 60
1803 # (the default) then the user may not /LIST more than once a minute.
1804 # If not defined, the default value is 60 seconds.
1806 # The second value, 'maxlisters', indicates the maximum number of users
1807 # which may be retrieving a LIST at once. It is not recommended you raise
1808 # this value, as increasing it too high can make your network vulnerable
1809 # to floodbots which waste your bandwidth and CPU time with LIST requests.
1811 #<safelist throttle="60" maxlisters="50">
1813 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1814 # SAJOIN module: Adds the /SAJOIN command
1815 #<module name="m_sajoin.so">
1817 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1818 # SAMODE module: Adds the oper /SAMODE command
1819 #<module name="m_samode.so">
1821 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1822 # SANICK module: Allows opers to change user's nicks
1823 #<module name="m_sanick.so">
1825 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1826 # SAPART module: Adds the oper /SAPART command
1827 #<module name="m_sapart.so">
1829 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1830 # SAQUIT module: Adds the oper /SAQUIT command (abusable!!!)
1831 #<module name="m_saquit.so">
1833 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1834 # Secure list module: Prevent /LIST in the first minute of connection,
1835 # crippling most spambots and trojan spreader bots.
1836 #<module name="m_securelist.so">
1838 #-#-#-#-#-#-#-#-#-# SECURELIST CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#-#
1840 # Securelist can be harmful to some irc search engines such as #
1841 # netsplit.de and searchirc.com. To prevent securelist blocking these #
1842 # sites from listing, define exception tags as shown below: #
1843 <securehost exception="*@*.searchirc.org">
1844 <securehost exception="*@*.netsplit.de">
1845 <securehost exception="*@echo940.server4you.de">
1847 # Define the following variable to change how long a user must wait #
1848 # before issuing a LIST. If not defined, defaults to 60 seconds. #
1850 #<securelist waittime="60"> #
1852 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1853 # See nicks module: Allow for SNOMASK +N which shows nick changes.
1854 #<module name="m_seenicks.so">
1856 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1857 # Set Idle module: Adds a command for opers to change their
1858 # idle time (mainly a toy)
1859 #<module name="m_setidle.so">
1861 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1862 # Services support module: Adds several usermodes such as +R and +M
1863 # this module implements the 'identified' state via user mode +r, which
1864 # is similar to the DALnet and dreamforge systems.
1865 #<module name="m_services.so">
1867 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1868 # Services support module: Adds several usermodes such as +R and +M
1869 # this module implements the 'identified' state via account names (AC)
1870 # and is similar in operation to the way asuka and ircu handle services.
1871 # it cannot be used at the same time as m_services, above.
1872 #<module name="m_services_account.so">
1874 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1875 # Sethost module: Adds the /SETHOST command
1876 # See m_chghost for how to customise valid chars for hostnames
1877 #<module name="m_sethost.so">
1879 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1880 # Setident module: Adds the /SETIDENT command
1881 #<module name="m_setident.so">
1883 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1884 # SETNAME module: Adds the /SETNAME command
1885 #<module name="m_setname.so">
1887 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1888 # Show Whois module: Adds the +W usermode which allows opers
1889 # to see when they are whois'ed (can be annoying).
1890 #<module name="m_showwhois.so">
1892 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1893 # Spy module: Adds the commands SPYLIST and SPYNAMES that let opers
1894 # see who is in a +s channel, and list +s channels, show keys of keyed
1895 # channels the oper is not a member of etc. (standard 'abusive' features
1896 # of many other ircds, modulized here in InspIRCd).
1897 #<module name="m_spy.so">
1899 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1900 # SSL channel mode module: Adds support for SSL-only channels (+z).
1901 # does not do anything useful without a working SSL module (see below)
1902 #<module name="m_sslmodes.so">
1904 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1905 # Dummy ssl module: If you have other servers on your network which
1906 # have SSL, but your server does not have ssl enabled, you should load
1907 # this module, which will handle SSL metadata (e.g. the "Is using ssl"
1908 # field in the WHOIS information).
1909 #<module name="m_ssl_dummy.so">
1911 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1912 # GnuTLS ssl module: Adds support for client-server SSL using GnuTLS,
1913 # if enabled. You must copy the source for this module from the directory
1914 # src/modules/extra, or answer 'yes' in ./configure when asked if you
1915 # want to enable this, or it will not load.
1916 #<module name="m_ssl_gnutls.so">
1918 #-#-#-#-#-#-#-#-#-#-#- GNUTLS CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
1920 # m_ssl_gnutls.so is too complex it describe here, see the wiki: #
1921 # http://www.inspircd.org/wiki/GnuTLS_SSL_Module #
1923 # NOTE: If you want to use this module to encrypt and sign your #
1924 # server to server traffic, you MUST load it before m_spanningtree in #
1925 # your configuration file! #
1927 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1928 # SSL Info module: Allows users to retrieve information about other
1929 # user's peer SSL certificates and keys. This can be used by client
1930 # scripts to validate users. For this to work, one of m_ssl_gnutls.so
1931 # or m_ssl_openssl.so must be loaded. You must symlink the source for
1932 # this module from the directory src/modules/extra.
1933 #<module name="m_sslinfo.so">
1935 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1936 # OpenSSL ssl module: Adds support for client-server SSL using OpenSSL,
1937 # if enabled. You must copy the source for this module from the directory
1938 # src/modules/extra, or answer 'yes' in ./configure when asked if you
1939 # want to enable this, or it will not load.
1940 #<module name="m_ssl_openssl.so">
1942 #-#-#-#-#-#-#-#-#-#-#- OPENSSL CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
1944 # m_ssl_openssl.so is too complex it describe here, see the wiki: #
1945 # http://www.inspircd.org/wiki/OpenSSL_SSL_Module #
1947 # NOTE: If you want to use this module to encrypt and sign your #
1948 # server to server traffic, you MUST load it before m_spanningtree in #
1949 # your configuration file! #
1951 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1952 # SSL Cert Oper module: Allows opers to oper up using the key fingerprint
1953 # stored within their SSL certificate and key pair.
1954 # When using this module, one of m_ssl_gnutls.so or m_ssl_openssl.so must
1955 # be loaded. An extra value should be added to enabled opers, which
1956 # is in the following format: fingerprint="<hash>". For more information,
1957 # see the example in the oper blocks.
1958 #<module name="m_ssl_oper_cert.so">
1960 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1961 # Strip colour module: Adds the channel mode +S
1962 #<module name="m_stripcolor.so">
1964 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1965 # SILENCE module: Adds support for /SILENCE
1966 #<module name="m_silence.so">
1968 # Configuration tags:
1970 #<silence maxentries="32">
1972 # Sets the maximum number of entries on a users silence list.
1974 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1975 # Extended SILENCE module: Adds support for /SILENCE with additional
1976 # features to silence based on invites, channel messages, etc.
1977 #<module name="m_silence_ext.so">
1979 # The configuration tags for this module are identical to those of
1980 # m_silence, shown above.
1982 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1983 # SQLite3 module: Allows other SQL modules to access SQLite3 #
1984 # databases through a unified API. You must link the source for this #
1985 # module from the directory src/modules/extra to src/modules, plus #
1986 # the file m_sqlv2.h #
1987 #<module name="m_sqlite3.so">
1989 #-#-#-#-#-#-#-#-#-#-#-#- SQL CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#-#
1991 # m_sqlite.so is more complex than described here, see the wiki for #
1992 # more: http://www.inspircd.org/wiki/SQLite3_Service_Provider_Module #
1994 #<database hostname="/full/path/to/database.db" id="anytext">
1996 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1997 # SQLutils module: Provides some utilities to SQL client modules, such
1998 # as mapping queries to users and channels. You must copy the source
1999 # for this module from the directory src/modules/extra/m_sqlutils.cpp
2000 # and src/modules/extra/m_sqlutils.h into /src/modules
2001 # Needed for, and loaded before: SQLauth and SQLoper
2002 #<module name="m_sqlutils.so">
2004 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2005 # SQL authentication module: Allows IRCd connections to be tied into
2006 # a database table (for example a forum). You must copy the source for
2007 # this module from the directory src/modules/extra
2008 # Depends on the SQLutils module being loaded first.
2009 #<module name="m_sqlauth.so">
2011 #-#-#-#-#-#-#-#-#-#-#- SQLAUTH CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
2013 # m_sqlauth.so is too complex it describe here, see the wiki: #
2014 # http://www.inspircd.org/wiki/SQL_Authentication_Module #
2016 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2017 # SQL logging module: Allows you to log network-wide data for your
2018 # network in a fully normalized set of SQL tables. You must copy the
2019 # source for this module from the directory src/modules/extra
2020 #<module name="m_sqllog.so">
2022 #-#-#-#-#-#-#-#-#-#-#- SQLLOG CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
2024 # dbid - Database ID to use (see m_sql) #
2026 # See also: http://www.inspircd.org/wiki/SQL_Logging_Module #
2030 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2031 # SQL oper module: Allows you to store oper credentials in an SQL table
2032 # You must copy the source for this module from the directory src/modules/extra
2033 # Depends on the SQLutils module being loaded first.
2034 #<module name="m_sqloper.so">
2036 #-#-#-#-#-#-#-#-#-#-#- SQLOPER CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
2038 # dbid - Database ID to use (see m_sql) #
2040 # See also: http://www.inspircd.org/wiki/SQL_Oper_Storage_Module #
2044 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2045 # SVSHold module: Implements SVSHOLD. Like Q:Lines, but can only be #
2046 # added/removed by Services. #
2047 #<module name="m_svshold.so">
2050 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2051 # SWHOIS module: Allows you to add arbitary lines to user WHOIS.
2052 #<module name="m_swhois.so">
2054 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2055 # Test command module: Does nothing significant. Read: pointless.
2056 #<module name="m_testcommand.so">
2058 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2059 # Timed bans module: Adds timed bans and the /TBAN command
2060 #<module name="m_timedbans.so">
2062 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2063 # Test line module: Adds the /TLINE command, used to test how many
2064 # users a /GLINE or /ZLINE etc would match.
2065 #<module name="m_tline.so">
2067 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2068 # UHNAMES support module: Adds support for the IRCX style UHNAMES
2069 # extension, which displays ident and hostname in the names list for
2070 # each user, saving clients from doing a WHO on the channel. Note that
2071 # this module is not widely supported yet. If a client does not support
2072 # UHNAMES it will not enable it, this will not break incompatible
2074 #<module name="m_uhnames.so">
2076 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2077 # Uninvite module: Adds the /UNINVITE command which lets users remove
2078 # pending invites from channels without waiting for the user to join.
2079 #<module name="m_uninvite.so">
2081 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2082 # Userip module: Adds the /USERIP command
2083 #<module name="m_userip.so">
2085 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2086 # Vhost module: Adds the VHOST command which allows for adding virtual
2087 # hosts which are accessible using a username and password in the config.
2088 #<module name="m_vhost.so">
2090 #-#-#-#-#-#-#-#-#-#-#- VHOST CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#-#
2092 # user - Username for the vhost. #
2094 # pass - Password for the vhost. #
2096 # host - Vhost to set. #
2098 #<vhost user="some_username" pass="some_password" host="some.host">
2100 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2101 # Watch module: Adds the WATCH command, which is used by clients to
2102 # maintain notify lists.
2103 #<module name="m_watch.so">
2105 # Configuration tags:
2107 #<watch maxentries="32">
2109 # Sets the maximum number of entries on a user's watch list.
2111 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2112 # XMLSocket module: Adds support for connections using the shockwave
2113 # flash XMLSocket. Note that this does not work if the client you are
2114 # using has retarded ideas of the IRC protocol. Your client must still
2115 # send RFC-correct lines to the server, this module only changes the
2116 # line ending from newlines to null terminators.
2118 #<module name="m_xmlsocket.so">
2120 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2121 # ZipLinks module: Adds support for zlib deflate on server to server
2122 # connections. Both ends of the connection must load this module.
2124 #<module name="m_ziplink.so">
2126 # To use this module, you must enable it as a transport type in your
2127 # <link> tags or <bind> tags using the transport name 'zip'.
2128 # See the documentation of <link> and <bind>, respectively.
2131 #-#-#-#-#-#-#-#-#-#-#-#-#-#- BAN OPTIONS -#-#-#-#-#-#-#-#-#-#-#-#-#-#
2133 # The ban tags define nick masks, host masks and ip ranges which are #
2134 # banned from your server. All details in these tags are local to #
2138 # badip lines ban an ip range (same as a zline) #
2140 # ipmask - The ip range to ban (wildcards possible) #
2141 # CIDR is supported in the IP mask. #
2142 # reason - Reason to display when disconnected #
2144 # badnick lines ban a nick mask (same as a qline) #
2146 # nick - Nick mask to ban (wildcards possible) #
2147 # reason - Reason to display on /NICK #
2149 # badhost lines ban a user@host mask (same as a kline) #
2151 # host - ident@hostname (wildcards possible) #
2152 # If you specify an IP, CIDR is supported. #
2153 # reason - Reason to display on disconnection #
2155 # exception lines define a hostmask that is excempt from [kzg]lines #
2157 # host - ident@hostname (wildcards possible) #
2158 # If you specify an IP, CIDR is supported. #
2159 # reason - Reason, shown only in /stats e #
2162 <badip ipmask="69.69.69.69" reason="No porn here thanks.">
2164 <badnick nick="ChanServ" reason="Reserved For Services">
2165 <badnick nick="NickServ" reason="Reserved For Services">
2166 <badnick nick="OperServ" reason="Reserved For Services">
2167 <badnick nick="MemoServ" reason="Reserved For Services">
2169 <badhost host="*@hundredz.n.hundredz.o.1337.kiddies.com" reason="Too many 1337 kiddiots">
2170 <badhost host="*@localhost" reason="No irc from localhost!">
2171 <badhost host="*@172.32.0.0/16" reason="This subnet is bad.">
2173 <exception host="*@ircop.host.com" reason="Opers hostname">
2175 #-#-#-#-#-#-#-#-#-#-#- INSANE BAN OPTIONS -#-#-#-#-#-#-#-#-#-#-#-#-#-#
2177 # This optional tag allows you to specify how wide a gline, eline, #
2178 # kline, zline or qline can be before it is forbidden from being #
2179 # set. By setting hostmasks="yes", you can allow all G, K, E lines, #
2180 # no matter how many users the ban would cover. This is not #
2181 # recommended! By setting ipmasks="yes", you can allow all Z lines, #
2182 # no matter how many users these cover too. Needless to say we #
2183 # don't recommend you do this, or, set nickmasks="yes", which will #
2184 # allow any qline. #
2186 # The trigger value indicates how wide any mask will be before it is #
2187 # prevented from being set. The default value is 95.5% if this tag is #
2188 # not defined in your configuration file, meaning that if your #
2189 # network has 1000 users, a gline matching over 955 of them will be #
2190 # prevented from being added. #
2192 # Please note that remote servers (and services) are exempt from #
2193 # these restrictions and expected to enforce their own policies #
2197 <insane hostmasks="no" ipmasks="no" nickmasks="no" trigger="95.5">
2199 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#- YAWN -#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
2201 # You should already know what to do here :) #
2203 <die value="User error. Insert new user and press any key. (you didn't edit your config properly.)">
2206 #########################################################################
2208 # - InspIRCd Development Team - #
2209 # http://www.inspircd.org #
2211 #########################################################################