1 ########################################################################
3 # ___ ___ ____ ____ _ #
4 # |_ _|_ __ ___ _ __|_ _| _ \ / ___|__| | #
5 # | || '_ \/ __| '_ \| || |_) | | / _` | #
6 # | || | | \__ \ |_) | || _ <| |__| (_| | #
7 # |___|_| |_|___/ .__/___|_| \_\\____\__,_| #
10 # / ___|___ _ __ / _(_) __ _ _ _ _ __ __ _| |_(_) ___ _ __ #
11 # | | / _ \| '_ \| |_| |/ _` | | | | '__/ _` | __| |/ _ \| '_ \ #
12 # | |__| (_) | | | | _| | (_| | |_| | | | (_| | |_| | (_) | | | | #
13 # \____\___/|_| |_|_| |_|\__, |\__,_|_| \__,_|\__|_|\___/|_| |_| #
16 ##################################||####################################
18 ##################################||####################################
20 # This is an example of the config file for InspIRCd. #
21 # Change the options to suit your network #
23 # Last updated on : 09/01/2006 #
24 # Written by : CC (cc@backchat.co.za) #
25 # Updated by : katsklaw (katsklaw@gmail.com) #
26 # Updated by : brain (brain@inspircd.org) #
28 # ____ _ _____ _ _ ____ _ _ _ #
29 # | _ \ ___ __ _ __| | |_ _| |__ (_)___ | __ )(_) |_| | #
30 # | |_) / _ \/ _` |/ _` | | | | '_ \| / __| | _ \| | __| | #
31 # | _ < __/ (_| | (_| | | | | | | | \__ \ | |_) | | |_|_| #
32 # |_| \_\___|\__,_|\__,_| |_| |_| |_|_|___/ |____/|_|\__(_) #
34 # Lines prefixed with READ THIS BIT, as shown above, are IMPORTANT #
35 # lines, and you REALLY SHOULD READ THEM. Yes, THIS MEANS YOU. Even #
36 # if you've configured InspIRCd before, these probably indicate #
37 # something new or different to this version and you SHOULD READ IT. #
39 ########################################################################
41 # Unalphabeticalise the modules list at your own risk #
43 ########################################################################
46 #-#-#-#-#-#-#-#-#-#-#-#- SERVER DESCRIPTION -#-#-#-#-#-#-#-#-#-#-#-#-
48 # Here is where you enter the information about your server. #
50 # Syntax is as follows: #
52 # <server name="server.name" #
53 # description="Server Description" #
54 # network="MyNetwork"> #
57 <server name="penguin.omega.org.za"
58 description="Waddle World"
62 #-#-#-#-#-#-#-#-#-#-#-#- ADMIN INFORMATION -#-#-#-#-#-#-#-#-#-#-#-#
64 # Describes the Server Administrator's real name, nick #
65 # and email address. #
67 # Syntax is as follows: #
68 # <admin name="real name" #
70 # email="email@address.com"> #
73 <admin name="Johnny English"
75 email="MI5@the.best.secret.agent">
78 #-#-#-#-#-#-#-#-#-#-#-#- PORT CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-
80 # Enter the port and address bindings here. #
82 # bind address - specifies which the address which ports bind. #
83 # may be a hostname or an IP address. Resolution of #
84 # hostnames may block for up to one second per IP #
85 # as port binding occurs before the socket engine is #
86 # initialized and therefore nonblocking DNS is not #
87 # available at this point until startup is complete. #
88 # port - The port number to bind to #
89 # type - can be 'clients' or 'servers'. The clients type is #
90 # a standard tcp based socket, the servers type is a #
91 # also a TCP based connection but of a different #
93 # ____ _ _____ _ _ ____ _ _ _ #
94 # | _ \ ___ __ _ __| | |_ _| |__ (_)___ | __ )(_) |_| | #
95 # | |_) / _ \/ _` |/ _` | | | | '_ \| / __| | _ \| | __| | #
96 # | _ < __/ (_| | (_| | | | | | | | \__ \ | |_) | | |_|_| #
97 # |_| \_\___|\__,_|\__,_| |_| |_| |_|_|___/ |____/|_|\__(_) #
99 # If you want to link servers to InspIRCd you must load the #
100 # m_spanningtree module! Please see the modules list below for #
101 # information on how to load this module! If you do not load this #
102 # module, server ports will NOT be bound! #
104 # Leaving address empty binds to all available interfaces #
106 # Syntax is as follows: #
108 # <bind address="ip or host" port="port" type="clients"> #
109 # <bind address="ip or host" port="port" type="servers"> #
111 # If InspIRCd is built for IPV6, and you wish to accept IPV4 clients, #
112 # then you must specify your IPV6 clients in the following form: #
113 # ::ffff:1.2.3.4, where 1.2.3.4 is the IPV4 address to bind the #
114 # port on. If InspIRCd is built for IPV4 connections (this is the #
115 # default) then you do not need to prefix your addresses like this. #
118 <bind address="" port="6660" type="clients">
119 <bind address="" port="7000" type="servers">
120 <bind address="" port="7001" type="servers">
123 #-#-#-#-#-#-#-#-#-#- DIE/RESTART CONFIGURATION -#-#-#-#-#-#-#-#-#-#-
125 # You can configure the passwords here which you wish to use for #
126 # the die and restart commands. Only trusted ircops who will #
127 # need this ability should know the die and restart password. #
129 # Syntax is as follows: #
130 # <power diepass="die password" restartpass="restart password" #
131 # pause="secs before dying"> #
134 <power diepass="diepass" restartpass="restartpass" pause="2">
137 #-#-#-#-#-#-#-#-#-# INCLUDE CONFIGURATION #-#-#-#-#-#-#-#-#-#-#-#-#-#
139 # This optional tag allows you to include another config file #
140 # allowing you to keep your configuration tidy. The configuration #
141 # file you include will be treated as part of the configuration file #
142 # which includes it, in simple terms the inclusion is transparent. #
144 # All paths to config files are relative to the directory of the main #
145 # config file inspircd.conf, unless the filename starts with a forward#
146 # slash (/) in which case it is treated as an absolute path. #
148 # Syntax is as follows: #
149 # <include file="file.conf"> #
152 #-#-#-#-#-#-#-#-#-#- CONNECTIONS CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
154 # This is where you can configure which connections are allowed #
155 # and denied access onto your server. #
156 # The password is optional. #
157 # You may have as many of these as you require. #
158 # To allow/deny all connections use a * #
160 # Syntax is as follows: #
162 # <connect allow="ip mask"> #
163 # <connect allow="ip mask" password="blahblah"> #
164 # <connect allow="ip mask" password="blah" timeout="10"> #
165 # <connect allow="ip mask" timeout="blah" flood="5"> #
166 # <connect allow="ip mask" threshold="8" pingfreq="120"> #
167 # <connect allow="ip mask" sendq="99999" revcq="696969"> #
168 # <connect allow="ip mask" localmax="3" globalmax="3"> #
169 # <connect deny="ip mask"> #
171 # IP masks may be specified in CIDR format for IPV4 and IPV6. #
173 # You may optionally include timeout="x" on any allow line, which #
174 # specifies the amount of time given before an unknown connection #
175 # is closed if USER/NICK/PASS are not given. This value is in secs #
177 # You should also include a flood="x" line which indicates #
178 # the number of lines a user may place into their buffer at once #
179 # before they are disconnected for excess flood. This feature can #
180 # not be disabled, however it can be set to exremely high values, #
181 # rendering it effectively disabled. A recommended value is 10. #
182 # A counter is maintained for each user which is reset every #
183 # 'threshold' seconds and specifying this threshold value with #
184 # threshold="X" indicates how often the counter is reset. For #
185 # example, with flood="5" and threshold="8", the user may not send #
186 # more than 5 lines in 8 secs. #
188 # You may optionally specify the sendq size and ping frequency of #
189 # each connect:allow line using the pingfreq="X" and sendq="X" #
190 # settings as shown in the full example below. #
191 # The ping frequency is specified in seconds, and the sendq size #
192 # in bytes. It is recommended, although not enforced, that you #
193 # should never set your sendq size to less than 8k. Send Queues are #
194 # dynamically allocated and can grow as needed up to the maximum #
197 # The optional recvq value is the maximum size which users in this #
198 # group may grow their receive queue to. This is recommended to be #
199 # kept pretty low compared to the sendq, as users will always #
200 # recieve more than they send in normal circumstances. The default #
201 # if not specified is 4096. #
203 # IMPORTANT NOTE, CALL THE CONFUSION POLICE! #
204 # The sendq is the data waiting to be sent TO THE USER. #
205 # The recvq is the data being received FROM THE USER. #
206 # The names sendq and recvq are from the SERVER'S PERSPECTIVE not #
207 # that of the user... Just to clear up any confusion or complaints #
208 # that these are backwards :p #
210 # The localmax and globalmax values can be used to enforce local #
211 # and global session limits on connections. The session limits are #
212 # counted against all users, but applied only to users within the #
213 # class. For example, if you had a class 'A' which has a session #
214 # limit of 3, and a class 'B' which has a session limit of 5, and #
215 # somehow, two users managed to get into class B which also match #
216 # class A, there is only one connection left for this IP now in A, #
217 # but if they can connect again to B, there are three. You get the #
221 <connect allow="196.12.*" password="secret">
222 <connect allow="*" timeout="60" flood="10" threshold="60" pingfreq="120" sendq="262144" recvq="4096" localmax="3" globalmax="3">
224 <connect deny="69.254.*">
225 <connect deny="3ffe::0/32">
228 #-#-#-#-#-#-#-#-#-#-#-#- CLASS CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-
230 # Classes are a group of commands which are grouped together #
231 # and given a unique name. They used to define which commands #
232 # are available to certain types of Operators. #
234 # Syntax is as follows: #
236 # <class name="name" commands="oper commands"> #
238 # ____ _ _____ _ _ ____ _ _ _ #
239 # | _ \ ___ __ _ __| | |_ _| |__ (_)___ | __ )(_) |_| | #
240 # | |_) / _ \/ _` |/ _` | | | | '_ \| / __| | _ \| | __| | #
241 # | _ < __/ (_| | (_| | | | | | | | \__ \ | |_) | | |_|_| #
242 # |_| \_\___|\__,_|\__,_| |_| |_| |_|_|___/ |____/|_|\__(_) #
244 # You are not forced to give these classes the names given below. #
245 # You can create your own named classes, if you want, in fact that #
246 # is the whole idea of this system! #
249 <class name="Shutdown" commands="DIE RESTART REHASH">
250 <class name="ServerLink" commands="CONNECT SQUIT">
251 <class name="BanControl" commands="KILL GLINE KLINE ZLINE QLINE ELINE">
252 <class name="OperChat" commands="WALLOPS GLOBOPS">
253 <class name="HostCloak" commands="SETHOST SETIDENT SETNAME">
256 #-#-#-#-#-#-#-#-#-#-#-#- OPERATOR COMPOSITION -#-#-#-#-#-#-#-#-#-#-#
258 # This is where you specify which types of operators you have on #
259 # your server, as well as the commands they are allowed to use. #
260 # This works alongside with the classes specified above. #
262 # type name - a name for the combined class types #
263 # a type name cannot contain spaces, however if you #
264 # put an _ symbol in the name, it will be translated #
265 # to a space when displayed in a WHOIS. #
267 # classes - specified above, used for flexibility for the #
268 # server admin to decide on which operators get #
271 # host - optional hostmask operators will recieve on oper-up. #
273 # Syntax is as follows: #
275 # <type name="name" classes="class name" host="oper hostmask"> #
277 # ____ _ _____ _ _ ____ _ _ _ #
278 # | _ \ ___ __ _ __| | |_ _| |__ (_)___ | __ )(_) |_| | #
279 # | |_) / _ \/ _` |/ _` | | | | '_ \| / __| | _ \| | __| | #
280 # | _ < __/ (_| | (_| | | | | | | | \__ \ | |_) | | |_|_| #
281 # |_| \_\___|\__,_|\__,_| |_| |_| |_|_|___/ |____/|_|\__(_) #
283 # You are not forced to give these types the names given below. #
284 # You can create your own named types, if you want, in fact that #
285 # is the whole idea of this system! #
288 <type name="NetAdmin" classes="OperChat BanControl HostCloak Shutdown ServerLink" host="netadmin.omega.org.za">
289 <type name="GlobalOp" classes="OperChat BanControl HostCloak ServerLink" host="ircop.omega.org.za">
290 <type name="Helper" classes="HostCloak" host="helper.omega.org.za">
293 #-#-#-#-#-#-#-#-#-#-#- OPERATOR CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
295 # Opers are defined here. This is a very important section. #
296 # Remember to only make operators out of truthworthy people. #
298 # name - oper name, best to use lower-case #
300 # password - password to oper-up, #
301 # encryption not supported by inspircd. However, there #
302 # are modules that allow for oper password encryption. #
304 # host - host of client allowed to oper-up. #
305 # wildcards accepted, seperate multiple hosts with space #
306 # You may also specify CIDR ip addresses, however, if #
307 # you do this, ident values are not allowed in the mask. #
309 # type - specified above, defines the kind of operator #
311 # Syntax is as follows: #
312 # <oper name="login" #
314 # host="hostmask@of.oper" #
315 # type="oper type"> #
318 <oper name="katsklaw"
320 host="ident@dialup15.isp.com *@localhost *@server.com 3ffe::0/16"
324 #-#-#-#-#-#-#-#-#-#-#- SERVER LINK CONFIGURATION -#-#-#-#-#-#-#-#-#-#
326 # Defines which servers can link to this one, and which servers this #
327 # server may create outbound links to. #
329 # name - The name is the canocial name of the server, does #
330 # not have to resolve - but it is expected to be sent #
331 # in the remote servers connection info. #
332 # ipaddr - Valid host or ip address for remote server. * #
334 # port - The TCP port for the remote server. #
336 # sendpass - Password to send to create an outbound connection #
339 # recvpass - Password to receive to accept an inbound connection #
340 # from this server. #
342 # autoconnect - Sets the server to autoconnect. Where x is the num. #
343 # (optional) of seconds between attempts. e.g. 300 = 5 minutes. #
345 # encryptionkey - Encryption key to be used for AES encryption, where #
346 # supported. Links using the spanning tree protocol #
347 # support AES. The encryption key must be EXACTLY 8, #
348 # 16 or 32 characters in length for a 64, 128 or 256 #
349 # bit key, respectively. #
351 # hidden - When using m_spanningtree.so for linking. you may #
352 # set this to 'yes', and if you do, the IP address/ #
353 # hostname of this connection will NEVER be shown to #
354 # any opers on the network. In /STATS c its address #
355 # will show as *@<hidden>, and during CONNECT and #
356 # inbound connections, its IP will show as <hidden> #
357 # UNLESS the connection fails (e.g. due to a bad #
358 # password or servername) #
360 # allowmask - When this is defined, it indicates a range of IP #
361 # addresses to allow for this link (in CIDR form). #
362 # e.g. if your server is going to connect to you from #
363 # the range 1.2.3.1 through 1.2.3.255, put 1.2.3.0/24 #
364 # into this value. If it is not defined, then only #
365 # the ipaddr field of the server shall be allowed. #
367 # to u:line a server (give it extra privilages required for running #
368 # services, Q, etc) you must include the <uline server> tag as shown #
369 # in the example below. You can have as many of these as you like. #
371 # WARNING: Unlike other ircds, u:lining a server allows ALL users on #
372 # that server to operoverride modes. This should only be used for #
373 # services and protected oper servers! #
375 # NOTE: If you have built InspIRCd with IPV6 support, and you want #
376 # to link to an IPV4 server, you must specify the IP address in the #
377 # form '::ffff:1.2.3.4' where 1.2.3.4 is the IP address of the target #
378 # server. If you have built InspIRCd for IPV4 (this is the default) #
379 # you should not prefix your IP addresses in this fashion. #
381 # ____ _ _____ _ _ ____ _ _ _ #
382 # | _ \ ___ __ _ __| | |_ _| |__ (_)___ | __ )(_) |_| | #
383 # | |_) / _ \/ _` |/ _` | | | | '_ \| / __| | _ \| | __| | #
384 # | _ < __/ (_| | (_| | | | | | | | \__ \ | |_) | | |_|_| #
385 # |_| \_\___|\__,_|\__,_| |_| |_| |_|_|___/ |____/|_|\__(_) #
387 # If you want to link servers to InspIRCd you must load the #
388 # m_spanningtree module! Please see the modules list below for #
389 # information on how to load this module! If you do not load this #
390 # module, server links will NOT work! #
393 <link name="hub.penguin.org"
394 ipaddr="penguin.box.com"
396 allowmask="69.58.44.0/24"
398 sendpass="outgoing!password"
399 recvpass="incoming!password">
401 <link name="services.antarctic.com"
404 allowmask="127.0.0.0/8"
406 recvpass="polarbears">
408 <uline server="services.antarctic.com">
411 #-#-#-#-#-#-#-#-#-#- MISCELLANEOUS CONFIGURATION -#-#-#-#-#-#-#-#-#-#
413 # These options let you define the path to your motd and rules #
417 <files motd="/home/cc/inspircd/conf/inspircd.motd"
418 rules="/home/cc/inspircd/conf/inspircd.rules">
420 #-#-#-#-#-#-#-#-#-#-#-#-#-#-# DNS SERVER -#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
422 # Define your DNS server address here. InspIRCd has its own resolver. #
423 # If you do not define this value, the first dns server from your #
424 # /etc/resolv.conf file is read. If no entries are found in this file #
425 # or the file cannot be opened, the default value '127.0.0.1' is used #
426 # instead. The timeout value is in seconds. #
428 # ____ _ _____ _ _ ____ _ _ _ #
429 # | _ \ ___ __ _ __| | |_ _| |__ (_)___ | __ )(_) |_| | #
430 # | |_) / _ \/ _` |/ _` | | | | '_ \| / __| | _ \| | __| | #
431 # | _ < __/ (_| | (_| | | | | | | | \__ \ | |_) | | |_|_| #
432 # |_| \_\___|\__,_|\__,_| |_| |_| |_|_|___/ |____/|_|\__(_) #
434 # When choosing a server, be sure to choose one which will do a #
435 # RECURSIVE LOOKUP. InspIRCd's resolver does not currently do these #
436 # recursive lookups itself, to save time and resources. The dns #
437 # server recommended by the InspIRCd team is bind, available from the #
438 # ISC website. If your DNS server does not do a recursive lookup, you #
439 # will be able to notice this by the fact that none of your users are #
440 # resolving even though the DNS server appears to be up! Most ISP and #
441 # hosting provider DNS servers support recursive lookups. #
443 # NOTE: If you have built InspIRCd with IPV6 support, and you want #
444 # to use an IPV4 nameserver, you must specify the IP address in the #
445 # form '::ffff:1.2.3.4' where 1.2.3.4 is the IP address of the target #
446 # server. If you have built InspIRCd for IPV4 (this is the default) #
447 # you should not prefix your IP addresses in this fashion. #
449 # IF YOUR RESOLV.CONF CONTAINS ONLY IPV4 ADDRESSES, AND YOU ARE USING #
450 # IPV6, YOU MUST DEFINE THE <DNS SERVER> TAG, AND USE THE ::FFFF #
451 # PREFIX NOTATION. IF YOU DO NOT, HOSTS WILL *NOT* RESOLVE. #
454 <dns server="127.0.0.1" timeout="5">
456 # An example of using IPV4 nameservers over IPV6
457 #<dns server="::ffff:127.0.0.1" timeout="5">
459 #-#-#-#-#-#-#-#-#-#-#-#-#-#-# PID FILE -#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
461 # Define the path to the PID file here. The PID file can be used to #
462 # rehash the ircd from the shell or to terminate the ircd from the #
463 # shell using shell scripts, perl scripts etc, and to monitor the #
464 # ircd's state via cron jobs. #
467 <pid file="/path/to/inspircd.pid">
469 #-#-#-#-#-#-#-#-#-#-#-#-#- BANLIST LIMITS #-#-#-#-#-#-#-#-#-#-#-#-#-#-#
471 # Use these tags to customise the ban limits on a per channel basis. #
472 # the tags are read from top to bottom, and any tag found which #
473 # matches the channels name applies the banlimit to that channel. #
474 # It is advisable to put an entry with the channel as '*' at the #
475 # bottom of the list. If none are specified or no maxbans tag is #
476 # matched, the banlist size defaults to 64 entries. #
479 <banlist chan="#morons" limit="128">
480 <banlist chan="*" limit="69">
482 #-#-#-#-#-#-#-#-#-#-#- DISABLED COMMANDS -#-#-#-#-#-#-#-#-#-#-#-#-#-#
484 # This tag is optional, and specifies one or more commands which are #
485 # not available to non-operators. For example you may wish to disable #
486 # NICK and prevent non-opers from changing their nicknames. #
487 # Note that any disabled commands take effect only after the user has #
488 # 'registered' (e.g. after the initial USER/NICK/PASS on connection) #
489 # so for example disabling NICK will not cripple your network. #
492 #<disabled commands="TOPIC MODE">
495 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#- RTFM LINE -#-#-#-#-#-#-#-#-#-#-#-#-#-#
497 # Just remove this... Its here to make you read ALL of the config #
500 <die value="You should probably edit your config *PROPERLY* and try again.">
504 #-#-#-#-#-#-#-#-#-#-#-#-#- SERVER OPTIONS -#-#-#-#-#-#-#-#-#-#-#-#-#
506 # Settings to define which features are useable on your server. #
508 # prefixquit - a prefix for a client's quit message #
510 # loglevel - specifies what detail of messages to log in the #
511 # log file. You may select from debug, verbose, #
512 # default, sparse and none. #
514 # allowhalfop - allows the +h channel mode #
516 # noservices - If noservices is true, yes, or 1, then the first #
517 # user into a channel gets founder status. This is #
518 # only useful on networks running the m_chanprotect #
519 # module without services. #
521 # netbuffersize - size of the buffer used to receive data from #
522 # clients. The ircd may only read() this amount #
523 # of text in one go at any time. (OPTIONAL) #
525 # maxwho - The maximum number of results returned by a /WHO #
526 # query. This is to prevent /WHO being used as a #
527 # spam vector or means of flooding an ircd. The #
528 # default is 128, it is not recommended to raise it #
529 # above 1024. Values up to 65535 are permitted. #
531 # somaxconn - The maximum number of sockets that may be waiting #
532 # in the accept queue. This usually allows the ircd #
533 # to soak up more connections in a shorter space of #
534 # time when increased but please be aware there is a #
535 # system defined maximum value to this, the same way #
536 # there is a system defined maximum number of file #
537 # descriptors. Some systems may only allow this to #
538 # be up to 5 (ugh) while others such as FreeBSD will #
539 # default to a much nicer 128. #
541 # moduledir - This optional value indicates a runtime change of #
542 # the location where modules are to be found. This #
543 # does not add a supplementary directory. There can #
544 # only be one module path. #
546 # softlimit - This optional feature allows a defined softlimit. #
547 # if defined sets a soft maxconnections value, has #
548 # to be less than the ./configure maxclients #
550 # operonlystats - The operonlystats field is optional and specifies #
551 # which stats characters in /STATS may only be #
552 # requested by an IRC operator. Stats characters in #
553 # this field are case sensitive and enforced as #
554 # oper-only independent of if they are in a module #
557 # operspywhois - If this is set then when an IRC operator uses #
558 # /WHOIS on a user they will see all channels, even #
559 # ones if channels are secret (+s), private (+p) or #
560 # if the target user is invisible +i. #
562 # customversion - If you specify this configuration item, and it is #
563 # not set to an empty value, then when a user does #
564 # a /VERSION command on the ircd, this string will #
565 # be displayed as the second portion of the output, #
566 # replacing the system 'uname', compile flags and #
567 # socket engine/dns engine names. You may use this #
568 # to enhance security, or simply for vanity. #
570 # maxtargets - The maxtargets field is optional, and if not #
571 # defined, defaults to 20. It indicates the maximum #
572 # number of targets which may be given to commands #
573 # such as PRIVMSG, KICK etc. #
575 # hidesplits - When set to 'yes', will hide split server names #
576 # from non-opers. Non-opers will see '*.net *.split' #
577 # instead of the server names in the quit message, #
578 # identical to the way IRCu displays them. #
580 # hidebans - When set to 'yes', will hide gline, kline, zline #
581 # and qline quit messages from non-opers. For #
582 # example, user A who is not an oper will just see #
583 # (G-Lined) while user B who is an oper will see the #
584 # text (G-Lined: Reason here) instead. #
586 # hidewhois - When defined with a non-empty value, the given #
587 # text will be used in place of the user's server #
588 # in WHOIS, when a user is WHOISed by a non-oper. #
589 # For example, most nets will want to set this to #
590 # something like '*.netname.net' to conceal the #
591 # actual server the user is on. #
593 # flatlinks - When you are using m_spanningtree.so, and this #
594 # value is set to true, yes or 1, /MAP and /LINKS #
595 # will be flattened when shown to a non-oper. #
597 # hideulines - When you are using m_spanningtree.so, and this #
598 # value is set to true, yes or 1, then U-lined #
599 # servers will be hidden in /LINKS and /MAP. For non #
600 # opers. Please be aware that this will also hide #
601 # any leaf servers of a U-lined server, e.g. jupes. #
603 # tempdir - If defined, indicates a path where modules will be #
604 # temporarily copied before loading. If not defined, #
605 # defaults to /tmp. #
607 # nouserdns - If set to 'yes', 'true' or '1', no user dns #
608 # lookups will be performed for connecting users. #
609 # this can save a lot of resources on very busy irc #
612 # syntaxhints - If et to 'yes', 'true' or '1', when a user does #
613 # not give enough parameters for a command, a syntax #
614 # hint will be given (using the RPL_TEXT numeric) #
615 # as well as the standard ERR_NEEDMOREPARAMS. #
618 <options prefixquit="Quit: "
620 netbuffersize="10240"
625 operonlystats="oclgkz"
640 #-#-#-#-#-#-#-#-#-#-#-#-#- MODULE OPTIONS -#-#-#-#-#-#-#-#-#-#-#-#-#
642 # These tags define which modules will be loaded on startup by your #
643 # server. Add modules without any paths. When you make your ircd #
644 # using the 'make' command, all compiled modules will be moved into #
645 # the folder you specified when you ran ./configure. The module tag #
646 # automatically looks for modules in this location. #
647 # If you attempt to load a module outside of this location, either #
648 # in the config, or via /LOADMODULE, you will receive an error. #
650 # By default, ALL modules are commented out. You must uncomment them #
651 # or add lines to your config to load modules. Please refer to #
652 # http://www.inspircd.org/wiki/Modules_List for a list of modules and#
653 # each modules link for any additional conf tags they require. #
655 # WINDOWS USERS PLEASE NOTE: You can still load these modules! They #
656 # are incorporated into the executable and can be loaded and removed #
657 # similarly to if they were in a ramdisk. #
658 # ____ _ _____ _ _ ____ _ _ _ #
659 # | _ \ ___ __ _ __| | |_ _| |__ (_)___ | __ )(_) |_| | #
660 # | |_) / _ \/ _` |/ _` | | | | '_ \| / __| | _ \| | __| | #
661 # | _ < __/ (_| | (_| | | | | | | | \__ \ | |_) | | |_|_| #
662 # |_| \_\___|\__,_|\__,_| |_| |_| |_|_|___/ |____/|_|\__(_) #
664 # To link servers to InspIRCd, you MUST load the m_spanningtree #
665 # module, as shown below. If you DO NOT do this, server links will #
666 # NOT work at all. ie. The ports will NOT bind, and /connect will not #
667 # work properly. This is by design, to allow for the implementation #
668 # of other linking protocols in modules in the future. #
670 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
671 # Spanning Tree module - allows linking of servers using the spanning
672 # tree protocol (see the READ THIS BIT section above).
674 #<module name="m_spanningtree.so">
676 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
677 # Alias module: Allows you to define server-side command aliases
678 #<module name="m_alias.so">
680 #-#-#-#-#-#-#-#-#-#-#- ALIAS DEFINITIONS -#-#-#-#-#-#-#-#-#-#-#-#-#-#
682 # If you have the m_alias.so module loaded, you may also define #
683 # aliases as shown below. They are commonly used to provide shortcut #
684 # commands to services, however they are not limited to jsut this use.#
685 # An alias tag requires the following values to be defined in it: #
687 # text - The text to detect at the start of the line, #
688 # must be at the start of the line to trigger the #
689 # alias. Cant contain spaces, but case insensitive #
690 # replace - The text to replace 'text' with. Usually this #
691 # will be "PRIVMSG ServiceName" or similar. #
692 # requires - If you provide a value for 'requires' this means #
693 # the given nickname MUST be online for the alias #
694 # to successfully trigger. If they are not, then #
695 # the user receives a 'no such nick' 401 numeric. #
696 # uline - Defining this value with 'yes', 'true' or '1' #
697 # will ensure that the user given in 'requires' #
698 # must also be on a u-lined server, as well as #
699 # actually being on the network. If the user is #
700 # online, but not on a u-lined server, then an #
701 # oper-alert is sent out as this is possibly signs #
702 # of a user trying to impersonate a service. #
704 #<alias text="NICKSERV" replace="PRIVMSG NickServ" requires="NickServ" uline="yes">
705 #<alias text="CHANSERV" replace="PRIVMSG ChanServ" requires="ChanServ" uline="yes">
706 #<alias text="NS" replace="PRIVMSG NickServ" requires="NickServ" uline="yes">
707 #<alias text="CS" replace="PRIVMSG ChanServ" requires="ChanServ" uline="yes">
709 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
710 # Antibear security module: Prevents 'bear.txt' based trojans from
711 # connecting to your network by sending them a numeric they can't handle.
712 #<module name="m_antibear.so">
714 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
715 # Antibottler module: Labels bottler leech bots
716 #<module name="m_antibottler.so">
718 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
719 # Ban except module: Adds support for channel ban exceptions (+e)
720 #<module name="m_banexception.so">
722 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
723 # Block amsg module: Attempt to block all usage of /amsg and /ame
724 #<module name="m_blockamsg.so">
726 #-#-#-#-#-#-#-#-#-#-#- BLOCKAMSG CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
728 # If you have the m_blockamsg.so module loaded, you can configure it #
729 # with the <blockamsg> tag: #
731 # delay - How many seconds between two messages to force #
732 # them to be recognised as unrelated. #
733 # action - Any of 'notice', 'noticeopers', 'silent', 'kill' #
734 # or 'killopers'. Define how to take action when #
735 # a user uses /amsg or /ame. #
737 #<blockamsg delay="3" action="killopers">
739 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
740 # Block CAPS module: Blocking all-CAPS messages with cmode +P
741 #<module name="m_blockcaps.so">
743 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
744 # Block colour module: Blocking colour-coded messages with cmode +c
745 #<module name="m_blockcolor.so">
747 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
748 # Botmode module: Adds the user mode +B
749 #<module name="m_botmode.so">
751 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
752 # CBAN module: Lets you disallow channels from being used at runtime.
753 #<module name="m_cban.so">
755 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
756 # Censor module: Adds the channel mode +G
757 #<module name="m_censor.so">
759 #-#-#-#-#-#-#-#-#-#-#- CENSOR CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
761 # Optional - If you specify to use the m_censor module, then specfiy #
762 # below the path to the censor.conf file. See also: #
763 # Censor file, see http://www.inspircd.org/wiki/Censor_Module #
765 #<censor file="/path/to/censor.conf">
767 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
768 # Channel filter module: Allows channel-op defined message
769 # filtering using simple string matches (channel mode +g)
770 #<module name="m_chanfilter.so">
772 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
773 # Chanprotect module: gives +q and +a channel modes
774 #<module name="m_chanprotect.so">
776 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
777 # CHGHOST module: Adds the /CHGHOST command
778 #<module name="m_chghost.so">
780 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
781 # CHGIDENT module: Adds the /CHGIDENT command
782 #<module name="m_chgident.so">
784 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
785 # Cloaking module: Adds usermode +x and cloaking support
786 #<module name="m_cloaking.so">
788 #-#-#-#-#-#-#-#-#-#-#- CLOAKING CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
790 # Optional - If ypu specify the m_cloaking.so module as above, you #
791 # must define cloak keys, and optionally a cloak prefix as shown #
792 # below. When using cloaking, the cloak keys are MANDITORY and must #
793 # be included. However, if prefix is not included, it will default #
794 # to your networks name from the <server> tag. #
796 # <cloak key1="-543241423" #
797 # key2="5378410432" #
798 # key3="1143242382" #
799 # key4="9504324581" #
802 # Please note that the key values will accept any number, positive #
803 # or negative, and should be large numbers. Using small numbers such #
804 # as "7" or "1924" will seriously weaken the security of your cloak. #
806 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
807 # Conn-Lusers: Shows the LUSERS output on connect
808 #<module name="m_conn_lusers.so">
810 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
811 # Conn-Wait-for-Pong: Don't let a user connect until they PONG
812 #<module name="m_conn_waitpong.so">
814 #-#-#-#-#-#-#-#-#-#-#- WAITPONG CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
816 # If you have the m_conn_waitpong.so module loaded, configure it with #
817 # the <waitpong> tag: #
819 # sendsnotice - Whether to send a snotice on connect, like Unreal#
820 # killonbadreply - Whether to kill the user if they send the wrong #
823 #<waitpong sendsnotice="yes" killonbadreply="yes">
825 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
826 # Connection throttle module. Configuration:
827 #<module name="m_connflood.so">
829 #-#-#-#-#-#-#-#-#-#-#- CONTHROTTLE CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
830 # seconds, maxconns - Amount of connections per <seconds>.
831 # timeout - Time to wait after the throttle was activated
832 # before deactivating it. Be aware that the time
833 # is seconds + timeout.
834 # quitmsg - The message that users get if they attempt to
835 # connect while the throttle is active.
836 # bootwait - Amount of time to wait before enforcing the
837 # throttling when the server just booted.
839 #<connflood seconds="30" maxconns="3" timeout="30"
840 # quitmsg="Throttled" bootwait="10">
842 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
843 # Deny Channels: Deny Channels from being used by users
844 #<module name="m_denychans.so">
846 #-#-#-#-#-#-#-#-#-#-#- DENYCHAN DEFINITIONS -#-#-#-#-#-#-#-#-#-#-#-#
848 # If you have the m_denychans.so module loaded, you need to specify #
849 # the channels to deny:
851 # name - The channel name to deny. #
852 # allowopers - If operators are allowed to override the deny. #
853 # reason - Reason given for the deny. #
855 #<badchan name="#gods" allowopers="yes" reason="Tortoises!">
857 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
858 # Devoice Module: Let users devoice themselves.
859 #<module name="m_devoice.so">
861 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
862 # Filter module: Provides glob-based message filtering
863 #<module name="m_filter.so">
865 # PCRE filter module: Filters messages using regular expressions
866 #<module name="m_filter_pcre.so">
868 #-#-#-#-#-#-#-#-#-#-#- FILTER CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
870 # Optional - If you specify to use the m_filter or m_filter_pcre #
871 # modules, then specfiy below the path to the filter.conf file. #
873 #<filter file="/path/to/inspircd/filter.conf">
875 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
876 # Foobar module - does nothing - historical relic
877 #<module name="m_foobar.so">
879 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
880 # Globops module: gives /GLOBOPS and usermode +g
881 #<module name="m_globops.so">
883 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
884 # Global load module: Allows loading and unloading of modules network-
885 # wide (USE WITH EXTREME CAUTION!)
886 #<module name="m_globalload.so">
888 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
889 # HELPOP module: Provides the /HELPOP command
890 #<module name="m_helpop.so">
892 #-#-#-#-#-#-#-#-#-#-#-#- HELPOP CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
894 # Optional - If you specify to use the m_helpop.so module, then #
895 # specify below the path to the helpop.conf file. #
897 #<helpop file="/path/to/inspircd/helpop.conf">
899 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
900 # Hostchange module: Allows a different style of cloaking
901 #<module name="m_hostchange.so">
903 #-#-#-#-#-#-#-#-#-#-#- HOSTCHANGE CONFIGURATION -#-#-#-#-#-#-#-#-#-#
905 # Optional - If you choose to use the m_hostchange.so module. #
906 # Config Help - See http://www.inspircd.org/wiki/Host_Changer_Module #
908 #<host suffix="polarbears.org">
909 #<hostchange mask="*@fbi.gov" action="addnick">
910 #<hostchange mask="*r00t@*" action="suffix">
911 #<hostchange mask="a@b.com" action="set" value="blah.blah.blah">
913 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
914 # httpd module: Provides http server support for InspIRCd
915 #<module name="m_httpd.so">
917 #-#-#-#-#-#-#-#-#-#-#-#- HTTPD CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
919 # Optional - If you choose to use the m_httpd.so module, then you must
920 # specify the port number and other details of your http server:
922 #<http ip="192.168.1.10" host="brainwave" port="32006"
923 # index="/home/brain/inspircd/http/index.html">
926 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
927 # http stats module: Provides basic stats pages over HTTP
928 # Required m_httpd.so
929 #<module name="m_http_stats.so">
931 #-#-#-#-#-#-#-#-#-#-#-#- HTTPD STATS CONFIGURATION -#-#-#-#-#-#-#-#-#-#
933 # No extra configuration yet.
936 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
937 # Ident: Provides RFC 1413 ident lookup support
938 #<module name="m_ident.so">
940 #-#-#-#-#-#-#-#-#-#-#-#- IDENT CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
942 # Optional - If you are using the m_ident.so module, then you can #
943 # specify the timeout for ident lookups here. If not defined, it will #
944 # default to one second. This is a non-blocking timeout which holds #
945 # the user in a 'connecting' state until the lookup is complete. #
949 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
950 # Invite except module: Adds support for channel invite exceptions (+I)
951 #<module name="m_inviteexception.so">
953 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
954 # Join flood module: Adds support for join flood protection (+j)
955 #<module name="m_joinflood.so">
957 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
958 # Anti-Auto-Rejoin: Adds support for prevention of auto-rejoin (+J)
959 #<module name="m_kicknorejoin.so">
961 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
962 # Knock module: adds the /KNOCK command and +K channel mode
963 #<module name="m_knock.so">
965 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
966 # Msg flood module: Adds message/notice flood protection (+f)
967 #<module name="m_messageflood.so">
969 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
970 # MySQL module: Allows other SQL modules to access MySQL databases
971 # through a unified API. You must copy the source for this module
972 # from the directory src/modules/extra, plus the file m_sqlv2.h
973 #<module name="m_mysql.so">
975 #-#-#-#-#-#-#-#-#-#-#-#- SQL CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#-#
977 # m_mysql.so is more complex than described here, see the wiki for #
978 # more: http://www.inspircd.org/wiki/SQL_Service_Provider_Module #
980 #<database name="mydb" username="myuser" password="mypass" hostname="localhost" id="my_database2">
982 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
983 # Nicklock module: Let opers change a user's nick and then stop that
984 # user from changing their nick again. /NICKLOCK and /NICKUNLOCK
985 #<module name="m_nicklock.so">
987 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
988 # No ctcp module: Adds the channel mode +C to block CTCPs
989 #<module name="m_noctcp.so">
991 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
992 # Noinvite module: Gives channel mode +V
993 #<module name="m_noinvite.so">
995 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
996 # No kicks module: Adds the +Q channel mode
997 #<module name="m_nokicks.so">
999 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1000 # No nicks module: Adds the +N channel mode
1001 #<module name="m_nonicks.so">
1003 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1004 # No Notice module: adds the channel mode +T
1005 #<module name="m_nonotice.so">
1007 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1008 # Oper channels mode: Adds the +O channel mode
1009 #<module name="m_operchans.so">
1011 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1012 # Oper Join module: Forces opers to join a channel on oper-up
1013 #<module name="m_operjoin.so">
1015 #-#-#-#-#-#-#-#-#-#-# OPERJOIN CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
1017 # If you are using the m_operjoin.so module, specify the channel here #
1019 #<operjoin channel="#channel">
1021 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1022 # Oper MOTD module: Provides support for seperate message of the day
1024 #<module name="m_opermotd.so">
1026 #-#-#-#-#-#-#-#-#-#-# OPERMOTD CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
1028 # If you are using the m_opermotd.so module, specify the motd here #
1030 #<opermotd file="/path/to/oper.motd">
1032 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1033 # Override module: Adds support for oper override
1034 #<module name="m_override.so">
1036 #-#-#-#-#-#-#-#-#-#-# OVERRIDE CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
1038 # m_override.so is too complex it describe here, see the wiki: #
1039 # http://www.inspircd.org/wiki/Oper_Override_Module #
1041 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1042 # Oper levels module: Gives each oper a level and prevents
1043 # actions being taken against higher level opers
1044 # Specify the level as the 'level' parameter of the <type> tag
1045 #<module name="m_operlevels.so">
1047 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1048 # Oper MD5 module: Allows MD5 hashed oper passwords
1049 #<module name="m_opermd5.so">
1051 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1052 # Oper SHA256 module: Allows SHA256 hashed oper passwords
1053 # This module is in src/modules/extra
1054 #<module name="m_opersha256.so">
1056 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1057 # Oper modes module: Allows you to specify modes to add/remove on oper
1058 # Specify the modes as the 'modes' parameter of the <type> tag
1059 #<module name="m_opermodes.so">
1061 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1062 # Parking module: Adds parking support and /PARK and /UNPARK
1063 #<module name="m_park.so">
1065 #-#-#-#-#-#-#-#-#-#-#-# PARK CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
1067 # m_park.so is too complex it describe here, see the wiki: #
1068 # http://www.inspircd.org/wiki/User_Parking_Module #
1070 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1071 # PostgreSQL module: Allows other SQL modules to access PgSQL databases
1072 # through a unified API. You must copy the source for this module
1073 # from the directory src/modules/extra, plus the file m_sqlv2.h
1074 #<module name="m_pgsql.so">
1076 #-#-#-#-#-#-#-#-#-#-#-#- SQL CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#-#
1078 # m_pgsql.so is more complex than described here, see the wiki for #
1079 # more: http://www.inspircd.org/wiki/SQL_Service_Provider_Module #
1081 #<database name="mydb" username="myuser" password="mypass" hostname="localhost" id="my_database" ssl="no">
1083 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1084 # Random Quote module: provides a random quote on connect
1085 #<module name="m_randquote.so">
1087 #-#-#-#-#-#-#-#-#-#- RANDOMQUOTES CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
1089 # Optional - If you specify to use the m_randquote.so module, then #
1090 # specify below the path to the randquotes.conf file. #
1092 #<randquote file="/path/to/inspircd/randquotes.conf">
1094 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1095 # Redirect module: Adds channel redirection (mode +L)
1096 #<module name="m_redirect.so">
1098 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1099 # Remove module: Adds the /REMOVE command which is a peaceful
1100 # alternative to /KICK
1101 #<module name="m_remove.so">
1103 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1104 # Restricted channels module: Allows only opers to create channels
1105 #<module name="m_restrictchans.so">
1107 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1108 # Restrict message module: Allows users to only message opers
1109 #<module name="m_restrictmsg.so">
1111 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1112 # Provide /LIST throttling (to prevent flooding) and /LIST safety to
1113 # prevent excess flood when the list is large.
1114 #<module name="m_safelist.so">
1116 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1117 # SAJOIN module: Adds the /SAJOIN command
1118 #<module name="m_sajoin.so">
1120 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1121 # SAMODE module: Adds the oper /SAMODE command
1122 #<module name="m_samode.so">
1124 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1125 # SANICK module: Allows opers to change user's nicks
1126 #<module name="m_sanick.so">
1128 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1129 # SAPART module: Adds the oper /SAPART command
1130 #<module name="m_sapart.so">
1132 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1133 # SAQUIT module: Adds the oper /SAQUIT command (abusable!!!)
1134 #<module name="m_saquit.so">
1136 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-
1137 # Secure list module: Prevent /LIST in the first minute of connection,
1138 # crippling most spambots and trojan spreader bots.
1139 #<module name="m_securelist.so">
1141 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1142 # Set Idle module: Adds a command for opers to change their
1143 # idle time (mainly a toy)
1144 #<module name="m_setidle.so">
1146 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1147 # Services support module: Adds several usermodes such as +R and +M
1148 # this module implements the 'identified' state via user mode +r, which
1149 # is similar to the DALnet and dreamforge systems.
1150 #<module name="m_services.so">
1152 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1153 # Services support module: Adds several usermodes such as +R and +M
1154 # this module implements the 'identified' state via account names (AC)
1155 # and is similar in operation to the way asuka and ircu handle services.
1156 # it cannot be used at the same time as m_services, above.
1157 #<module name="m_services_account.so">
1159 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1160 # Sethost module: Adds the /SETHOST command
1161 #<module name="m_sethost.so">
1163 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1164 # Setident module: Adds the /SETIDENT command
1165 #<module name="m_setident.so">
1167 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1168 # SETNAME module: Adds the /SETNAME command
1169 #<module name="m_setname.so">
1171 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1172 # Show Whois module: Adds the +W usermode which allows opers
1173 # to see when they are whois'ed
1174 #<module name="m_showwhois.so">
1176 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1177 # Spy module: Adds the commands SPYLIST and SPYNAMES that let opers
1178 # see who is in a +s channel, and list +s channels, show keys of keyed
1179 # channels the oper is not a member of etc. (standard 'abusive' features
1180 # of unrealircd, modulized here in InspIRCd).
1181 #<module name="m_spy.so">
1183 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1184 # SSL channel mode module: Adds support for SSL-only channels (+z).
1185 # does not do anything useful without a working SSL module (see below)
1186 #<module name="m_sslmodes.so">
1188 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1189 # Dummy ssl module: If you have other servers on your network which
1190 # have SSL, but your server does not have ssl enabled, you should load
1191 # this module, which will handle SSL metadata (e.g. the "Is using ssl"
1192 # field in the WHOIS information).
1193 #<module name="m_ssl_dummy.so">
1195 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1196 # GnuTLS ssl module: Adds support for client-server SSL using GnuTLS,
1197 # if enabled. You must copy the source for this module from the directory
1198 # src/modules/extra, or answer 'yes' in ./configure when asked if you
1199 # want to enable this, or it will not load.
1200 #<module name="m_ssl_gnutls.so">
1202 #-#-#-#-#-#-#-#-#-#-#- GNUTLS CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
1204 # m_ssl_gnutls.so is too complex it describe here, see the wiki: #
1205 # http://www.inspircd.org/wiki/GnuTLS_SSL_Module #
1207 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1208 # OpenSSL ssl module: Adds support for client-server SSL using OpenSSL,
1209 # if enabled. You must copy the source for this module from the directory
1210 # src/modules/extra, or answer 'yes' in ./configure when asked if you
1211 # want to enable this, or it will not load.
1212 #<module name="m_ssl_openssl.so">
1214 #-#-#-#-#-#-#-#-#-#-#- OPENSSL CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
1216 # m_ssl_openssl.so is too complex it describe here, see the wiki: #
1217 # http://www.inspircd.org/wiki/OpenSSL_SSL_Module #
1219 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1220 # Strip colour module: Adds the channel mode +S
1221 #<module name="m_stripcolor.so">
1223 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1224 # SILENCE module: Adds support for /SILENCE
1225 #<module name="m_silence.so">
1227 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1228 # SQL authentication module: Allows IRCd connections to be tied into
1229 # a database table (for example a forum). You must copy the source for
1230 # this module from the directory src/modules/extra
1231 #<module name="m_sqlauth.so">
1233 #-#-#-#-#-#-#-#-#-#-#- SQLAUTH CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
1235 # m_sqlauth.so is too complex it describe here, see the wiki: #
1236 # http://www.inspircd.org/wiki/SQL_Authentication_Module #
1238 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1239 # SQL logging module: Allows you to log network-wide data for your
1240 # network in a fully normalized set of SQL tables. You must copy the
1241 # source for this module from the directory src/modules/extra
1242 #<module name="m_sqllog.so">
1244 #-#-#-#-#-#-#-#-#-#-#- SQLLOG CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
1246 # dbid - Database ID to use (see m_sql) #
1248 # See also: http://www.inspircd.org/wiki/SQL_Logging_Module #
1252 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1253 # SQL oper module: Allows you to store oper credentials in an SQL table
1254 # You must copy the source for this module from the directory src/modules/extra
1255 #<module name="m_sqloper.so">
1257 #-#-#-#-#-#-#-#-#-#-#- SQLOPER CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
1259 # dbid - Database ID to use (see m_sql) #
1261 # See also: http://www.inspircd.org/wiki/SQL_Oper_Storage_Module #
1265 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1266 # SWHOIS module: Allows you to add arbitary lines to user WHOIS.
1267 #<module name="m_swhois.so">
1269 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1270 # Test command module: Does nothing significant. Read: pointless.
1271 #<module name="m_testcommand.so">
1273 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1274 # Timed bans module: Adds timed bans and the /TBAN command
1275 #<module name="m_timedbans.so">
1277 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1278 # Uninvite module: Adds the /UNINVITE command which lets users remove
1279 # pending invites from channels without waiting for the user to join.
1280 #<module name="m_uninvite.so">
1282 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1283 # Userip module: Adds the /USERIP command
1284 #<module name="m_userip.so">
1286 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1287 # Vhost module: Adds the VHOST command which allows for adding virtual
1288 # hosts which are accessible using a username and password in the config.
1289 #<module name="m_vhost.so">
1291 #-#-#-#-#-#-#-#-#-#-#- VHOST CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#-#
1293 # user - Username for the vhost. #
1295 # pass - Password for the vhost. #
1297 # host - Vhost to set. #
1299 #<vhost user="some_username" pass="some_password" host="some.host">
1301 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1302 # Watch module: Adds the WATCH command, which is used by clients to
1303 # maintain notify lists.
1304 #<module name="m_watch.so">
1306 #-#-#-#-#-#-#-#-#-#-#-#-#-#- BAN OPTIONS -#-#-#-#-#-#-#-#-#-#-#-#-#-#
1308 # The ban tags define nick masks, host masks and ip ranges which are #
1309 # banned from your server. All details in these tags are local to #
1313 # badip lines ban an ip range (same as a zline) #
1315 # ipmask - The ip range to ban (wildcards possible) #
1316 # CIDR is supported in <badip> and zline only #
1317 # reason - Reason to display when disconnected #
1319 # badnick lines ban a nick mask (same as a qline) #
1321 # nick - Nick mask to ban (wildcards possible) #
1322 # reason - Reason to display on /NICK #
1324 # badhost lines ban a user@host mask (same as a kline) #
1326 # host - ident@hostname (wildcards possible) #
1327 # reason - Reason to display on disconnection #
1329 # exception lines define a hostmask that is excempt from [kzg]lines #
1331 # host - ident@hostname (wildcards possible) #
1332 # reason - Reason, shown only in /stats e #
1335 <badip ipmask="69.69.69.69" reason="No porn here thanks.">
1337 <badnick nick="ChanServ" reason="Reserved For Services">
1338 <badnick nick="NickServ" reason="Reserved For Services">
1339 <badnick nick="OperServ" reason="Reserved For Services">
1340 <badnick nick="MemoServ" reason="Reserved For Services">
1342 <badhost host="*@hundredz.n.hundredz.o.1337.kiddies.com" reason="Too many 1337 kiddiots">
1343 <badhost host="*@localhost" reason="No irc from localhost!">
1345 <exception host="*@ircop.host.com" reason="Opers hostname">
1347 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#- YAWN -#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1349 # You should already know what to do here :) #
1351 <die value="You should probably edit your config *PROPERLY* and try again.">
1354 #########################################################################
1356 # - InspIRCd Development Team - #
1357 # http://www.inspircd.org #
1359 #########################################################################