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 # You may optionally include timeout="x" on any allow line, which #
172 # specifies the amount of time given before an unknown connection #
173 # is closed if USER/NICK/PASS are not given. This value is in secs #
175 # You should also include a flood="x" line which indicates #
176 # the number of lines a user may place into their buffer at once #
177 # before they are disconnected for excess flood. This feature can #
178 # not be disabled, however it can be set to exremely high values, #
179 # rendering it effectively disabled. A recommended value is 10. #
180 # A counter is maintained for each user which is reset every #
181 # 'threshold' seconds and specifying this threshold value with #
182 # threshold="X" indicates how often the counter is reset. For #
183 # example, with flood="5" and threshold="8", the user may not send #
184 # more than 5 lines in 8 secs. #
186 # You may optionally specify the sendq size and ping frequency of #
187 # each connect:allow line using the pingfreq="X" and sendq="X" #
188 # settings as shown in the full example below. #
189 # The ping frequency is specified in seconds, and the sendq size #
190 # in bytes. It is recommended, although not enforced, that you #
191 # should never set your sendq size to less than 8k. Send Queues are #
192 # dynamically allocated and can grow as needed up to the maximum #
195 # The optional recvq value is the maximum size which users in this #
196 # group may grow their receive queue to. This is recommended to be #
197 # kept pretty low compared to the sendq, as users will always #
198 # recieve more than they send in normal circumstances. The default #
199 # if not specified is 4096. #
201 # IMPORTANT NOTE, CALL THE CONFUSION POLICE! #
202 # The sendq is the data waiting to be sent TO THE USER. #
203 # The recvq is the data being received FROM THE USER. #
204 # The names sendq and recvq are from the SERVER'S PERSPECTIVE not #
205 # that of the user... Just to clear up any confusion or complaints #
206 # that these are backwards :p #
208 # The localmax and globalmax values can be used to enforce local #
209 # and global session limits on connections. The session limits are #
210 # counted against all users, but applied only to users within the #
211 # class. For example, if you had a class 'A' which has a session #
212 # limit of 3, and a class 'B' which has a session limit of 5, and #
213 # somehow, two users managed to get into class B which also match #
214 # class A, there is only one connection left for this IP now in A, #
215 # but if they can connect again to B, there are three. You get the #
219 <connect allow="196.12.*" password="secret">
220 <connect allow="*" timeout="60" flood="10" threshold="60" pingfreq="120" sendq="262144" recvq="4096" localmax="3" globalmax="3">
222 <connect deny="69.254.*">
223 <connect deny="3ffe:*">
226 #-#-#-#-#-#-#-#-#-#-#-#- CLASS CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-
228 # Classes are a group of commands which are grouped together #
229 # and given a unique name. They used to define which commands #
230 # are available to certain types of Operators. #
232 # Syntax is as follows: #
234 # <class name="name" commands="oper commands"> #
236 # ____ _ _____ _ _ ____ _ _ _ #
237 # | _ \ ___ __ _ __| | |_ _| |__ (_)___ | __ )(_) |_| | #
238 # | |_) / _ \/ _` |/ _` | | | | '_ \| / __| | _ \| | __| | #
239 # | _ < __/ (_| | (_| | | | | | | | \__ \ | |_) | | |_|_| #
240 # |_| \_\___|\__,_|\__,_| |_| |_| |_|_|___/ |____/|_|\__(_) #
242 # You are not forced to give these classes the names given below. #
243 # You can create your own named classes, if you want, in fact that #
244 # is the whole idea of this system! #
247 <class name="Shutdown" commands="DIE RESTART REHASH">
248 <class name="ServerLink" commands="CONNECT SQUIT">
249 <class name="BanControl" commands="KILL GLINE KLINE ZLINE QLINE ELINE">
250 <class name="OperChat" commands="WALLOPS GLOBOPS">
251 <class name="HostCloak" commands="SETHOST SETIDENT SETNAME">
254 #-#-#-#-#-#-#-#-#-#-#-#- OPERATOR COMPOSITION -#-#-#-#-#-#-#-#-#-#-#
256 # This is where you specify which types of operators you have on #
257 # your server, as well as the commands they are allowed to use. #
258 # This works alongside with the classes specified above. #
260 # type name - a name for the combined class types #
261 # a type name cannot contain spaces, however if you #
262 # put an _ symbol in the name, it will be translated #
263 # to a space when displayed in a WHOIS. #
265 # classes - specified above, used for flexibility for the #
266 # server admin to decide on which operators get #
269 # host - optional hostmask operators will recieve on oper-up. #
271 # Syntax is as follows: #
273 # <type name="name" classes="class name" host="oper hostmask"> #
275 # ____ _ _____ _ _ ____ _ _ _ #
276 # | _ \ ___ __ _ __| | |_ _| |__ (_)___ | __ )(_) |_| | #
277 # | |_) / _ \/ _` |/ _` | | | | '_ \| / __| | _ \| | __| | #
278 # | _ < __/ (_| | (_| | | | | | | | \__ \ | |_) | | |_|_| #
279 # |_| \_\___|\__,_|\__,_| |_| |_| |_|_|___/ |____/|_|\__(_) #
281 # You are not forced to give these types the names given below. #
282 # You can create your own named types, if you want, in fact that #
283 # is the whole idea of this system! #
286 <type name="NetAdmin" classes="OperChat BanControl HostCloak Shutdown ServerLink" host="netadmin.omega.org.za">
287 <type name="GlobalOp" classes="OperChat BanControl HostCloak ServerLink" host="ircop.omega.org.za">
288 <type name="Helper" classes="HostCloak" host="helper.omega.org.za">
291 #-#-#-#-#-#-#-#-#-#-#- OPERATOR CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
293 # Opers are defined here. This is a very important section. #
294 # Remember to only make operators out of truthworthy people. #
296 # name - oper name, best to use lower-case #
298 # password - password to oper-up, #
299 # encryption not supported by inspircd. However, there #
300 # are modules that allow for oper password encryption. #
302 # host - host of client allowed to oper-up. #
303 # wildcards accepted, seperate multiple hosts with space #
305 # type - specified above, defines the kind of operator #
307 # Syntax is as follows: #
308 # <oper name="login" #
310 # host="hostmask@of.oper" #
311 # type="oper type"> #
314 <oper name="katsklaw"
316 host="ident@dialup15.isp.com *@localhost *@server.com"
320 #-#-#-#-#-#-#-#-#-#-#- SERVER LINK CONFIGURATION -#-#-#-#-#-#-#-#-#-#
322 # Defines which servers can link to this one, and which servers this #
323 # server may create outbound links to. #
325 # name - The name is the canocial name of the server, does #
326 # not have to resolve - but it is expected to be sent #
327 # in the remote servers connection info. #
328 # ipaddr - Valid host or ip address for remote server. * #
330 # port - The TCP port for the remote server. #
332 # sendpass - Password to send to create an outbound connection #
335 # recvpass - Password to receive to accept an inbound connection #
336 # from this server. #
338 # autoconnect - Sets the server to autoconnect. Where x is the num. #
339 # (optional) of seconds between attempts. e.g. 300 = 5 minutes. #
341 # encryptionkey - Encryption key to be used for AES encryption, where #
342 # supported. Links using the spanning tree protocol #
343 # support AES. The encryption key must be EXACTLY 8, #
344 # 16 or 32 characters in length for a 64, 128 or 256 #
345 # bit key, respectively. #
347 # hidden - When using m_spanningtree.so for linking. you may #
348 # set this to 'yes', and if you do, the IP address/ #
349 # hostname of this connection will NEVER be shown to #
350 # any opers on the network. In /STATS c its address #
351 # will show as *@<hidden>, and during CONNECT and #
352 # inbound connections, its IP will show as <hidden> #
353 # UNLESS the connection fails (e.g. due to a bad #
354 # password or servername) #
356 # allowmask - When this is defined, it indicates a range of IP #
357 # addresses to allow for this link (in CIDR form). #
358 # e.g. if your server is going to connect to you from #
359 # the range 1.2.3.1 through 1.2.3.255, put 1.2.3.0/24 #
360 # into this value. If it is not defined, then only #
361 # the ipaddr field of the server shall be allowed. #
363 # to u:line a server (give it extra privilages required for running #
364 # services, Q, etc) you must include the <uline server> tag as shown #
365 # in the example below. You can have as many of these as you like. #
367 # WARNING: Unlike other ircds, u:lining a server allows ALL users on #
368 # that server to operoverride modes. This should only be used for #
369 # services and protected oper servers! #
371 # NOTE: If you have built InspIRCd with IPV6 support, and you want #
372 # to link to an IPV4 server, you must specify the IP address in the #
373 # form '::ffff:1.2.3.4' where 1.2.3.4 is the IP address of the target #
374 # server. If you have built InspIRCd for IPV4 (this is the default) #
375 # you should not prefix your IP addresses in this fashion. #
377 # ____ _ _____ _ _ ____ _ _ _ #
378 # | _ \ ___ __ _ __| | |_ _| |__ (_)___ | __ )(_) |_| | #
379 # | |_) / _ \/ _` |/ _` | | | | '_ \| / __| | _ \| | __| | #
380 # | _ < __/ (_| | (_| | | | | | | | \__ \ | |_) | | |_|_| #
381 # |_| \_\___|\__,_|\__,_| |_| |_| |_|_|___/ |____/|_|\__(_) #
383 # If you want to link servers to InspIRCd you must load the #
384 # m_spanningtree module! Please see the modules list below for #
385 # information on how to load this module! If you do not load this #
386 # module, server links will NOT work! #
389 <link name="hub.penguin.org"
390 ipaddr="penguin.box.com"
392 allowmask="69.58.44.0/24"
394 sendpass="outgoing!password"
395 recvpass="incoming!password">
397 <link name="services.antarctic.com"
400 allowmask="127.0.0.0/8"
402 recvpass="polarbears">
404 <uline server="services.antarctic.com">
407 #-#-#-#-#-#-#-#-#-#- MISCELLANEOUS CONFIGURATION -#-#-#-#-#-#-#-#-#-#
409 # These options let you define the path to your motd and rules #
413 <files motd="/home/cc/inspircd/conf/inspircd.motd"
414 rules="/home/cc/inspircd/conf/inspircd.rules">
416 #-#-#-#-#-#-#-#-#-#-#-#-#-#-# DNS SERVER -#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
418 # Define your DNS server address here. InspIRCd has its own resolver. #
419 # If you do not define this value, the first dns server from your #
420 # /etc/resolv.conf file is read. If no entries are found in this file #
421 # or the file cannot be opened, the default value '127.0.0.1' is used #
422 # instead. The timeout value is in seconds. #
424 # ____ _ _____ _ _ ____ _ _ _ #
425 # | _ \ ___ __ _ __| | |_ _| |__ (_)___ | __ )(_) |_| | #
426 # | |_) / _ \/ _` |/ _` | | | | '_ \| / __| | _ \| | __| | #
427 # | _ < __/ (_| | (_| | | | | | | | \__ \ | |_) | | |_|_| #
428 # |_| \_\___|\__,_|\__,_| |_| |_| |_|_|___/ |____/|_|\__(_) #
430 # When choosing a server, be sure to choose one which will do a #
431 # RECURSIVE LOOKUP. InspIRCd's resolver does not currently do these #
432 # recursive lookups itself, to save time and resources. The dns #
433 # server recommended by the InspIRCd team is bind, available from the #
434 # ISC website. If your DNS server does not do a recursive lookup, you #
435 # will be able to notice this by the fact that none of your users are #
436 # resolving even though the DNS server appears to be up! Most ISP and #
437 # hosting provider DNS servers support recursive lookups. #
439 # NOTE: If you have built InspIRCd with IPV6 support, and you want #
440 # to use an IPV4 nameserver, you must specify the IP address in the #
441 # form '::ffff:1.2.3.4' where 1.2.3.4 is the IP address of the target #
442 # server. If you have built InspIRCd for IPV4 (this is the default) #
443 # you should not prefix your IP addresses in this fashion. #
445 # IF YOUR RESOLV.CONF CONTAINS ONLY IPV4 ADDRESSES, AND YOU ARE USING #
446 # IPV6, YOU MUST DEFINE THE <DNS SERVER> TAG, AND USE THE ::FFFF #
447 # PREFIX NOTATION. IF YOU DO NOT, HOSTS WILL *NOT* RESOLVE. #
450 <dns server="127.0.0.1" timeout="5">
452 # An example of using IPV4 nameservers over IPV6
453 #<dns server="::ffff:127.0.0.1" timeout="5">
455 #-#-#-#-#-#-#-#-#-#-#-#-#-#-# PID FILE -#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
457 # Define the path to the PID file here. The PID file can be used to #
458 # rehash the ircd from the shell or to terminate the ircd from the #
459 # shell using shell scripts, perl scripts etc, and to monitor the #
460 # ircd's state via cron jobs. #
463 <pid file="/path/to/inspircd.pid">
465 #-#-#-#-#-#-#-#-#-#-#-#-#- BANLIST LIMITS #-#-#-#-#-#-#-#-#-#-#-#-#-#-#
467 # Use these tags to customise the ban limits on a per channel basis. #
468 # the tags are read from top to bottom, and any tag found which #
469 # matches the channels name applies the banlimit to that channel. #
470 # It is advisable to put an entry with the channel as '*' at the #
471 # bottom of the list. If none are specified or no maxbans tag is #
472 # matched, the banlist size defaults to 64 entries. #
475 <banlist chan="#morons" limit="128">
476 <banlist chan="*" limit="69">
478 #-#-#-#-#-#-#-#-#-#-#- DISABLED COMMANDS -#-#-#-#-#-#-#-#-#-#-#-#-#-#
480 # This tag is optional, and specifies one or more commands which are #
481 # not available to non-operators. For example you may wish to disable #
482 # NICK and prevent non-opers from changing their nicknames. #
483 # Note that any disabled commands take effect only after the user has #
484 # 'registered' (e.g. after the initial USER/NICK/PASS on connection) #
485 # so for example disabling NICK will not cripple your network. #
488 #<disabled commands="TOPIC MODE">
491 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#- RTFM LINE -#-#-#-#-#-#-#-#-#-#-#-#-#-#
493 # Just remove this... Its here to make you read ALL of the config #
496 <die value="You should probably edit your config *PROPERLY* and try again.">
500 #-#-#-#-#-#-#-#-#-#-#-#-#- SERVER OPTIONS -#-#-#-#-#-#-#-#-#-#-#-#-#
502 # Settings to define which features are useable on your server. #
504 # prefixquit - a prefix for a client's quit message #
506 # loglevel - specifies what detail of messages to log in the #
507 # log file. You may select from debug, verbose, #
508 # default, sparse and none. #
510 # allowhalfop - allows the +h channel mode #
512 # noservices - If noservices is true, yes, or 1, then the first #
513 # user into a channel gets founder status. This is #
514 # only useful on networks running the m_chanprotect #
515 # module without services. #
517 # netbuffersize - size of the buffer used to receive data from #
518 # clients. The ircd may only read() this amount #
519 # of text in one go at any time. (OPTIONAL) #
521 # maxwho - The maximum number of results returned by a /WHO #
522 # query. This is to prevent /WHO being used as a #
523 # spam vector or means of flooding an ircd. The #
524 # default is 128, it is not recommended to raise it #
525 # above 1024. Values up to 65535 are permitted. #
527 # somaxconn - The maximum number of sockets that may be waiting #
528 # in the accept queue. This usually allows the ircd #
529 # to soak up more connections in a shorter space of #
530 # time when increased but please be aware there is a #
531 # system defined maximum value to this, the same way #
532 # there is a system defined maximum number of file #
533 # descriptors. Some systems may only allow this to #
534 # be up to 5 (ugh) while others such as FreeBSD will #
535 # default to a much nicer 128. #
537 # moduledir - This optional value indicates a runtime change of #
538 # the location where modules are to be found. This #
539 # does not add a supplementary directory. There can #
540 # only be one module path. #
542 # softlimit - This optional feature allows a defined softlimit. #
543 # if defined sets a soft maxconnections value, has #
544 # to be less than the ./configure maxclients #
546 # operonlystats - The operonlystats field is optional and specifies #
547 # which stats characters in /STATS may only be #
548 # requested by an IRC operator. Stats characters in #
549 # this field are case sensitive and enforced as #
550 # oper-only independent of if they are in a module #
553 # operspywhois - If this is set then when an IRC operator uses #
554 # /WHOIS on a user they will see all channels, even #
555 # ones if channels are secret (+s), private (+p) or #
556 # if the target user is invisible +i. #
558 # customversion - If you specify this configuration item, and it is #
559 # not set to an empty value, then when a user does #
560 # a /VERSION command on the ircd, this string will #
561 # be displayed as the second portion of the output, #
562 # replacing the system 'uname', compile flags and #
563 # socket engine/dns engine names. You may use this #
564 # to enhance security, or simply for vanity. #
566 # maxtargets - The maxtargets field is optional, and if not #
567 # defined, defaults to 20. It indicates the maximum #
568 # number of targets which may be given to commands #
569 # such as PRIVMSG, KICK etc. #
571 # hidesplits - When set to 'yes', will hide split server names #
572 # from non-opers. Non-opers will see '*.net *.split' #
573 # instead of the server names in the quit message, #
574 # identical to the way IRCu displays them. #
576 # hidebans - When set to 'yes', will hide gline, kline, zline #
577 # and qline quit messages from non-opers. For #
578 # example, user A who is not an oper will just see #
579 # (G-Lined) while user B who is an oper will see the #
580 # text (G-Lined: Reason here) instead. #
582 # hidewhois - When defined with a non-empty value, the given #
583 # text will be used in place of the user's server #
584 # in WHOIS, when a user is WHOISed by a non-oper. #
585 # For example, most nets will want to set this to #
586 # something like '*.netname.net' to conceal the #
587 # actual server the user is on. #
589 # flatlinks - When you are using m_spanningtree.so, and this #
590 # value is set to true, yes or 1, /MAP and /LINKS #
591 # will be flattened when shown to a non-oper. #
593 # hideulines - When you are using m_spanningtree.so, and this #
594 # value is set to true, yes or 1, then U-lined #
595 # servers will be hidden in /LINKS and /MAP. For non #
596 # opers. Please be aware that this will also hide #
597 # any leaf servers of a U-lined server, e.g. jupes. #
599 # tempdir - If defined, indicates a path where modules will be #
600 # temporarily copied before loading. If not defined, #
601 # defaults to /tmp. #
603 # nouserdns - If set to 'yes', 'true' or '1', no user dns #
604 # lookups will be performed for connecting users. #
605 # this can save a lot of resources on very busy irc #
608 # syntaxhints - If et to 'yes', 'true' or '1', when a user does #
609 # not give enough parameters for a command, a syntax #
610 # hint will be given (using the RPL_TEXT numeric) #
611 # as well as the standard ERR_NEEDMOREPARAMS. #
614 <options prefixquit="Quit: "
616 netbuffersize="10240"
621 operonlystats="oclgkz"
636 #-#-#-#-#-#-#-#-#-#-#-#-#- MODULE OPTIONS -#-#-#-#-#-#-#-#-#-#-#-#-#
638 # These tags define which modules will be loaded on startup by your #
639 # server. Add modules without any paths. When you make your ircd #
640 # using the 'make' command, all compiled modules will be moved into #
641 # the folder you specified when you ran ./configure. The module tag #
642 # automatically looks for modules in this location. #
643 # If you attempt to load a module outside of this location, either #
644 # in the config, or via /LOADMODULE, you will receive an error. #
646 # By default, ALL modules are commented out. You must uncomment them #
647 # or add lines to your config to load modules. Please refer to #
648 # http://www.inspircd.org/wiki/Modules_List for a list of modules and#
649 # each modules link for any additional conf tags they require. #
651 # WINDOWS USERS PLEASE NOTE: You can still load these modules! They #
652 # are incorporated into the executable and can be loaded and removed #
653 # similarly to if they were in a ramdisk. #
654 # ____ _ _____ _ _ ____ _ _ _ #
655 # | _ \ ___ __ _ __| | |_ _| |__ (_)___ | __ )(_) |_| | #
656 # | |_) / _ \/ _` |/ _` | | | | '_ \| / __| | _ \| | __| | #
657 # | _ < __/ (_| | (_| | | | | | | | \__ \ | |_) | | |_|_| #
658 # |_| \_\___|\__,_|\__,_| |_| |_| |_|_|___/ |____/|_|\__(_) #
660 # To link servers to InspIRCd, you MUST load the m_spanningtree #
661 # module, as shown below. If you DO NOT do this, server links will #
662 # NOT work at all. ie. The ports will NOT bind, and /connect will not #
663 # work properly. This is by design, to allow for the implementation #
664 # of other linking protocols in modules in the future. #
666 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
667 # Spanning Tree module - allows linking of servers using the spanning
668 # tree protocol (see the READ THIS BIT section above).
670 #<module name="m_spanningtree.so">
672 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
673 # Alias module: Allows you to define server-side command aliases
674 #<module name="m_alias.so">
676 #-#-#-#-#-#-#-#-#-#-#- ALIAS DEFINITIONS -#-#-#-#-#-#-#-#-#-#-#-#-#-#
678 # If you have the m_alias.so module loaded, you may also define #
679 # aliases as shown below. They are commonly used to provide shortcut #
680 # commands to services, however they are not limited to jsut this use.#
681 # An alias tag requires the following values to be defined in it: #
683 # text - The text to detect at the start of the line, #
684 # must be at the start of the line to trigger the #
685 # alias. Cant contain spaces, but case insensitive #
686 # replace - The text to replace 'text' with. Usually this #
687 # will be "PRIVMSG ServiceName" or similar. #
688 # requires - If you provide a value for 'requires' this means #
689 # the given nickname MUST be online for the alias #
690 # to successfully trigger. If they are not, then #
691 # the user receives a 'no such nick' 401 numeric. #
692 # uline - Defining this value with 'yes', 'true' or '1' #
693 # will ensure that the user given in 'requires' #
694 # must also be on a u-lined server, as well as #
695 # actually being on the network. If the user is #
696 # online, but not on a u-lined server, then an #
697 # oper-alert is sent out as this is possibly signs #
698 # of a user trying to impersonate a service. #
700 #<alias text="NICKSERV" replace="PRIVMSG NickServ" requires="NickServ" uline="yes">
701 #<alias text="CHANSERV" replace="PRIVMSG ChanServ" requires="ChanServ" uline="yes">
702 #<alias text="NS" replace="PRIVMSG NickServ" requires="NickServ" uline="yes">
703 #<alias text="CS" replace="PRIVMSG ChanServ" requires="ChanServ" uline="yes">
705 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
706 # Antibear security module: Prevents 'bear.txt' based trojans from
707 # connecting to your network by sending them a numeric they can't handle.
708 #<module name="m_antibear.so">
710 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
711 # Antibottler module: Labels bottler leech bots
712 #<module name="m_antibottler.so">
714 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
715 # Ban except module: Adds support for channel ban exceptions (+e)
716 #<module name="m_banexception.so">
718 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
719 # Block amsg module: Attempt to block all usage of /amsg and /ame
720 #<module name="m_blockamsg.so">
722 #-#-#-#-#-#-#-#-#-#-#- BLOCKAMSG CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
724 # If you have the m_blockamsg.so module loaded, you can configure it #
725 # with the <blockamsg> tag: #
727 # delay - How many seconds between two messages to force #
728 # them to be recognised as unrelated. #
729 # action - Any of 'notice', 'noticeopers', 'silent', 'kill' #
730 # or 'killopers'. Define how to take action when #
731 # a user uses /amsg or /ame. #
733 #<blockamsg delay="3" action="killopers">
735 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
736 # Block CAPS module: Blocking all-CAPS messages with cmode +P
737 #<module name="m_blockcaps.so">
739 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
740 # Block colour module: Blocking colour-coded messages with cmode +c
741 #<module name="m_blockcolor.so">
743 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
744 # Botmode module: Adds the user mode +B
745 #<module name="m_botmode.so">
747 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
748 # CBAN module: Lets you disallow channels from being used at runtime.
749 #<module name="m_cban.so">
751 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
752 # Censor module: Adds the channel mode +G
753 #<module name="m_censor.so">
755 #-#-#-#-#-#-#-#-#-#-#- CENSOR CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
757 # Optional - If you specify to use the m_censor module, then specfiy #
758 # below the path to the censor.conf file. See also: #
759 # Censor file, see http://www.inspircd.org/wiki/Censor_Module #
761 #<censor file="/path/to/censor.conf">
763 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
764 # Channel filter module: Allows channel-op defined message
765 # filtering using simple string matches (channel mode +g)
766 #<module name="m_chanfilter.so">
768 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
769 # Chanprotect module: gives +q and +a channel modes
770 #<module name="m_chanprotect.so">
772 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
773 # CHGHOST module: Adds the /CHGHOST command
774 #<module name="m_chghost.so">
776 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
777 # CHGIDENT module: Adds the /CHGIDENT command
778 #<module name="m_chgident.so">
780 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
781 # Cloaking module: Adds usermode +x and cloaking support
782 #<module name="m_cloaking.so">
784 #-#-#-#-#-#-#-#-#-#-#- CLOAKING CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
786 # Optional - If ypu specify the m_cloaking.so module as above, you #
787 # must define cloak keys, and optionally a cloak prefix as shown #
788 # below. When using cloaking, the cloak keys are MANDITORY and must #
789 # be included. However, if prefix is not included, it will default #
790 # to your networks name from the <server> tag. #
792 # <cloak key1="-543241423" #
793 # key2="5378410432" #
794 # key3="1143242382" #
795 # key4="9504324581" #
798 # Please note that the key values will accept any number, positive #
799 # or negative, and should be large numbers. Using small numbers such #
800 # as "7" or "1924" will seriously weaken the security of your cloak. #
802 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
803 # Conn-Lusers: Shows the LUSERS output on connect
804 #<module name="m_conn_lusers.so">
806 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
807 # Conn-Wait-for-Pong: Don't let a user connect until they PONG
808 #<module name="m_conn_waitpong.so">
810 #-#-#-#-#-#-#-#-#-#-#- WAITPONG CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
812 # If you have the m_conn_waitpong.so module loaded, configure it with #
813 # the <waitpong> tag: #
815 # sendsnotice - Whether to send a snotice on connect, like Unreal#
816 # killonbadreply - Whether to kill the user if they send the wrong #
819 #<waitpong sendsnotice="yes" killonbadreply="yes">
821 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
822 # Connection throttle module. Configuration:
823 #<module name="m_connflood.so">
825 #-#-#-#-#-#-#-#-#-#-#- CONTHROTTLE CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
826 # seconds, maxconns - Amount of connections per <seconds>.
827 # timeout - Time to wait after the throttle was activated
828 # before deactivating it. Be aware that the time
829 # is seconds + timeout.
830 # quitmsg - The message that users get if they attempt to
831 # connect while the throttle is active.
832 # bootwait - Amount of time to wait before enforcing the
833 # throttling when the server just booted.
835 #<connflood seconds="30" maxconns="3" timeout="30"
836 # quitmsg="Throttled" bootwait="10">
838 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
839 # Deny Channels: Deny Channels from being used by users
840 #<module name="m_denychans.so">
842 #-#-#-#-#-#-#-#-#-#-#- DENYCHAN DEFINITIONS -#-#-#-#-#-#-#-#-#-#-#-#
844 # If you have the m_denychans.so module loaded, you need to specify #
845 # the channels to deny:
847 # name - The channel name to deny. #
848 # allowopers - If operators are allowed to override the deny. #
849 # reason - Reason given for the deny. #
851 #<badchan name="#gods" allowopers="yes" reason="Tortoises!">
853 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
854 # Devoice Module: Let users devoice themselves.
855 #<module name="m_devoice.so">
857 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
858 # Filter module: Provides glob-based message filtering
859 #<module name="m_filter.so">
861 # PCRE filter module: Filters messages using regular expressions
862 #<module name="m_filter_pcre.so">
864 #-#-#-#-#-#-#-#-#-#-#- FILTER CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
866 # Optional - If you specify to use the m_filter or m_filter_pcre #
867 # modules, then specfiy below the path to the filter.conf file. #
869 #<filter file="/path/to/inspircd/filter.conf">
871 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
872 # Foobar module - does nothing - historical relic
873 #<module name="m_foobar.so">
875 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
876 # Globops module: gives /GLOBOPS and usermode +g
877 #<module name="m_globops.so">
879 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
880 # Global load module: Allows loading and unloading of modules network-
881 # wide (USE WITH EXTREME CAUTION!)
882 #<module name="m_globalload.so">
884 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
885 # HELPOP module: Provides the /HELPOP command
886 #<module name="m_helpop.so">
888 #-#-#-#-#-#-#-#-#-#-#-#- HELPOP CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
890 # Optional - If you specify to use the m_helpop.so module, then #
891 # specify below the path to the helpop.conf file. #
893 #<helpop file="/path/to/inspircd/helpop.conf">
895 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
896 # Hostchange module: Allows a different style of cloaking
897 #<module name="m_hostchange.so">
899 #-#-#-#-#-#-#-#-#-#-#- HOSTCHANGE CONFIGURATION -#-#-#-#-#-#-#-#-#-#
901 # Optional - If you choose to use the m_hostchange.so module. #
902 # Config Help - See http://www.inspircd.org/wiki/Host_Changer_Module #
904 #<host suffix="polarbears.org">
905 #<hostchange mask="*@fbi.gov" action="addnick">
906 #<hostchange mask="*r00t@*" action="suffix">
907 #<hostchange mask="a@b.com" action="set" value="blah.blah.blah">
909 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
910 # httpd module: Provides http server support for InspIRCd
911 #<module name="m_httpd.so">
913 #-#-#-#-#-#-#-#-#-#-#-#- HTTPD CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
915 # Optional - If you choose to use the m_httpd.so module, then you must
916 # specify the port number and other details of your http server:
918 #<http ip="192.168.1.10" host="brainwave" port="32006" index="/home/brain/inspircd/http/index.html">
921 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
922 # http stats module: Provides basic stats pages over HTTP
923 # Required m_httpd.so
924 #<module name="m_http_stats.so">
926 #-#-#-#-#-#-#-#-#-#-#-#- HTTPD STATS CONFIGURATION -#-#-#-#-#-#-#-#-#-#
928 # No extra configuration yet.
931 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
932 # Ident: Provides RFC 1413 ident lookup support
933 #<module name="m_ident.so">
935 #-#-#-#-#-#-#-#-#-#-#-#- IDENT CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
937 # Optional - If you are using the m_ident.so module, then you can #
938 # specify the timeout for ident lookups here. If not defined, it will #
939 # default to one second. This is a non-blocking timeout which holds #
940 # the user in a 'connecting' state until the lookup is complete. #
944 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
945 # Invite except module: Adds support for channel invite exceptions (+I)
946 #<module name="m_inviteexception.so">
948 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
949 # Join flood module: Adds support for join flood protection (+j)
950 #<module name="m_joinflood.so">
952 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
953 # Anti-Auto-Rejoin: Adds support for prevention of auto-rejoin (+J)
954 #<module name="m_kicknorejoin.so">
956 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
957 # Knock module: adds the /KNOCK command and +K channel mode
958 #<module name="m_knock.so">
960 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
961 # Msg flood module: Adds message/notice flood protection (+f)
962 #<module name="m_messageflood.so">
964 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
965 # MySQL module: Allows other SQL modules to access MySQL databases
966 # through a unified API. You must copy the source for this module
967 # from the directory src/modules/extra, plus the file m_sqlv2.h
968 #<module name="m_mysql.so">
970 #-#-#-#-#-#-#-#-#-#-#-#- SQL CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#-#
972 # m_mysql.so is more complex than described here, see the wiki for #
973 # more: http://www.inspircd.org/wiki/SQL_Service_Provider_Module #
975 #<database name="mydb" username="myuser" password="mypass" hostname="localhost" id="my_database2">
977 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
978 # Nicklock module: Let opers change a user's nick and then stop that
979 # user from changing their nick again. /NICKLOCK and /NICKUNLOCK
980 #<module name="m_nicklock.so">
982 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
983 # No ctcp module: Adds the channel mode +C to block CTCPs
984 #<module name="m_noctcp.so">
986 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
987 # Noinvite module: Gives channel mode +V
988 #<module name="m_noinvite.so">
990 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
991 # No kicks module: Adds the +Q channel mode
992 #<module name="m_nokicks.so">
994 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
995 # No nicks module: Adds the +N channel mode
996 #<module name="m_nonicks.so">
998 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
999 # No Notice module: adds the channel mode +T
1000 #<module name="m_nonotice.so">
1002 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1003 # Oper channels mode: Adds the +O channel mode
1004 #<module name="m_operchans.so">
1006 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1007 # Oper Join module: Forces opers to join a channel on oper-up
1008 #<module name="m_operjoin.so">
1010 #-#-#-#-#-#-#-#-#-#-# OPERJOIN CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
1012 # If you are using the m_operjoin.so module, specify the channel here #
1014 #<operjoin channel="#channel">
1016 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1017 # Oper MOTD module: Provides support for seperate message of the day
1019 #<module name="m_opermotd.so">
1021 #-#-#-#-#-#-#-#-#-#-# OPERMOTD CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
1023 # If you are using the m_opermotd.so module, specify the motd here #
1025 #<opermotd file="/path/to/oper.motd">
1027 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1028 # Override module: Adds support for oper override
1029 #<module name="m_override.so">
1031 #-#-#-#-#-#-#-#-#-#-# OVERRIDE CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
1033 # m_override.so is too complex it describe here, see the wiki: #
1034 # http://www.inspircd.org/wiki/Oper_Override_Module #
1036 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1037 # Oper levels module: Gives each oper a level and prevents
1038 # actions being taken against higher level opers
1039 # Specify the level as the 'level' parameter of the <type> tag
1040 #<module name="m_operlevels.so">
1042 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1043 # Oper MD5 module: Allows MD5 hashed oper passwords
1044 #<module name="m_opermd5.so">
1046 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1047 # Oper SHA256 module: Allows SHA256 hashed oper passwords
1048 # This module is in src/modules/extra
1049 #<module name="m_opersha256.so">
1051 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1052 # Oper modes module: Allows you to specify modes to add/remove on oper
1053 # Specify the modes as the 'modes' parameter of the <type> tag
1054 #<module name="m_opermodes.so">
1056 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1057 # Parking module: Adds parking support and /PARK and /UNPARK
1058 #<module name="m_park.so">
1060 #-#-#-#-#-#-#-#-#-#-#-# PARK CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
1062 # m_park.so is too complex it describe here, see the wiki: #
1063 # http://www.inspircd.org/wiki/User_Parking_Module #
1065 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1066 # PostgreSQL module: Allows other SQL modules to access PgSQL databases
1067 # through a unified API. You must copy the source for this module
1068 # from the directory src/modules/extra, plus the file m_sqlv2.h
1069 #<module name="m_pgsql.so">
1071 #-#-#-#-#-#-#-#-#-#-#-#- SQL CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#-#
1073 # m_pgsql.so is more complex than described here, see the wiki for #
1074 # more: http://www.inspircd.org/wiki/SQL_Service_Provider_Module #
1076 #<database name="mydb" username="myuser" password="mypass" hostname="localhost" id="my_database" ssl="no">
1078 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1079 # Random Quote module: provides a random quote on connect
1080 #<module name="m_randquote.so">
1082 #-#-#-#-#-#-#-#-#-#- RANDOMQUOTES CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
1084 # Optional - If you specify to use the m_randquote.so module, then #
1085 # specify below the path to the randquotes.conf file. #
1087 #<randquote file="/path/to/inspircd/randquotes.conf">
1089 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1090 # Redirect module: Adds channel redirection (mode +L)
1091 #<module name="m_redirect.so">
1093 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1094 # Remove module: Adds the /REMOVE command which is a peaceful
1095 # alternative to /KICK
1096 #<module name="m_remove.so">
1098 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1099 # Restricted channels module: Allows only opers to create channels
1100 #<module name="m_restrictchans.so">
1102 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1103 # Restrict message module: Allows users to only message opers
1104 #<module name="m_restrictmsg.so">
1106 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1107 # Provide /LIST throttling (to prevent flooding) and /LIST safety to
1108 # prevent excess flood when the list is large.
1109 #<module name="m_safelist.so">
1111 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1112 # SAJOIN module: Adds the /SAJOIN command
1113 #<module name="m_sajoin.so">
1115 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1116 # SAMODE module: Adds the oper /SAMODE command
1117 #<module name="m_samode.so">
1119 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1120 # SANICK module: Allows opers to change user's nicks
1121 #<module name="m_sanick.so">
1123 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1124 # SAPART module: Adds the oper /SAPART command
1125 #<module name="m_sapart.so">
1127 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1128 # SAQUIT module: Adds the oper /SAQUIT command (abusable!!!)
1129 #<module name="m_saquit.so">
1131 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-
1132 # Secure list module: Prevent /LIST in the first minute of connection,
1133 # crippling most spambots and trojan spreader bots.
1134 #<module name="m_securelist.so">
1136 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1137 # Set Idle module: Adds a command for opers to change their
1138 # idle time (mainly a toy)
1139 #<module name="m_setidle.so">
1141 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1142 # Services support module: Adds several usermodes such as +R and +M
1143 # this module implements the 'identified' state via user mode +r, which
1144 # is similar to the DALnet and dreamforge systems.
1145 #<module name="m_services.so">
1147 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1148 # Services support module: Adds several usermodes such as +R and +M
1149 # this module implements the 'identified' state via account names (AC)
1150 # and is similar in operation to the way asuka and ircu handle services.
1151 # it cannot be used at the same time as m_services, above.
1152 #<module name="m_services_account.so">
1154 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1155 # Sethost module: Adds the /SETHOST command
1156 #<module name="m_sethost.so">
1158 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1159 # Setident module: Adds the /SETIDENT command
1160 #<module name="m_setident.so">
1162 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1163 # SETNAME module: Adds the /SETNAME command
1164 #<module name="m_setname.so">
1166 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1167 # Show Whois module: Adds the +W usermode which allows opers
1168 # to see when they are whois'ed
1169 #<module name="m_showwhois.so">
1171 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1172 # Spy module: Adds the commands SPYLIST and SPYNAMES that let opers
1173 # see who is in a +s channel, and list +s channels, show keys of keyed
1174 # channels the oper is not a member of etc. (standard 'abusive' features
1175 # of unrealircd, modulized here in InspIRCd).
1176 #<module name="m_spy.so">
1178 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1179 # SSL channel mode module: Adds support for SSL-only channels (+z).
1180 # does not do anything useful without a working SSL module (see below)
1181 #<module name="m_sslmodes.so">
1183 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1184 # Dummy ssl module: If you have other servers on your network which
1185 # have SSL, but your server does not have ssl enabled, you should load
1186 # this module, which will handle SSL metadata (e.g. the "Is using ssl"
1187 # field in the WHOIS information).
1188 #<module name="m_ssl_dummy.so">
1190 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1191 # GnuTLS ssl module: Adds support for client-server SSL using GnuTLS,
1192 # if enabled. You must copy the source for this module from the directory
1193 # src/modules/extra, or answer 'yes' in ./configure when asked if you
1194 # want to enable this, or it will not load.
1195 #<module name="m_ssl_gnutls.so">
1197 #-#-#-#-#-#-#-#-#-#-#- GNUTLS CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
1199 # m_ssl_gnutls.so is too complex it describe here, see the wiki: #
1200 # http://www.inspircd.org/wiki/GnuTLS_SSL_Module #
1202 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1203 # OpenSSL ssl module: Adds support for client-server SSL using OpenSSL,
1204 # if enabled. You must copy the source for this module from the directory
1205 # src/modules/extra, or answer 'yes' in ./configure when asked if you
1206 # want to enable this, or it will not load.
1207 #<module name="m_ssl_openssl.so">
1209 #-#-#-#-#-#-#-#-#-#-#- OPENSSL CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
1211 # m_ssl_openssl.so is too complex it describe here, see the wiki: #
1212 # http://www.inspircd.org/wiki/OpenSSL_SSL_Module #
1214 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1215 # Strip colour module: Adds the channel mode +S
1216 #<module name="m_stripcolor.so">
1218 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1219 # SILENCE module: Adds support for /SILENCE
1220 #<module name="m_silence.so">
1222 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1223 # SQL authentication module: Allows IRCd connections to be tied into
1224 # a database table (for example a forum). You must copy the source for
1225 # this module from the directory src/modules/extra
1226 #<module name="m_sqlauth.so">
1228 #-#-#-#-#-#-#-#-#-#-#- SQLAUTH CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
1230 # m_sqlauth.so is too complex it describe here, see the wiki: #
1231 # http://www.inspircd.org/wiki/SQL_Authentication_Module #
1233 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1234 # SQL logging module: Allows you to log network-wide data for your
1235 # network in a fully normalized set of SQL tables. You must copy the
1236 # source for this module from the directory src/modules/extra
1237 #<module name="m_sqllog.so">
1239 #-#-#-#-#-#-#-#-#-#-#- SQLLOG CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
1241 # dbid - Database ID to use (see m_sql) #
1243 # See also: http://www.inspircd.org/wiki/SQL_Logging_Module #
1247 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1248 # SQL oper module: Allows you to store oper credentials in an SQL table
1249 # You must copy the source for this module from the directory src/modules/extra
1250 #<module name="m_sqloper.so">
1252 #-#-#-#-#-#-#-#-#-#-#- SQLOPER CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
1254 # dbid - Database ID to use (see m_sql) #
1256 # See also: http://www.inspircd.org/wiki/SQL_Oper_Storage_Module #
1260 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1261 # SWHOIS module: Allows you to add arbitary lines to user WHOIS.
1262 #<module name="m_swhois.so">
1264 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1265 # Test command module: Does nothing significant. Read: pointless.
1266 #<module name="m_testcommand.so">
1268 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1269 # Timed bans module: Adds timed bans and the /TBAN command
1270 #<module name="m_timedbans.so">
1272 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1273 # Uninvite module: Adds the /UNINVITE command which lets users remove
1274 # pending invites from channels without waiting for the user to join.
1275 #<module name="m_uninvite.so">
1277 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1278 # Userip module: Adds the /USERIP command
1279 #<module name="m_userip.so">
1281 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1282 # Vhost module: Adds the VHOST command which allows for adding virtual
1283 # hosts which are accessible using a username and password in the config.
1284 #<module name="m_vhost.so">
1286 #-#-#-#-#-#-#-#-#-#-#- VHOST CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#-#
1288 # user - Username for the vhost. #
1290 # pass - Password for the vhost. #
1292 # host - Vhost to set. #
1294 #<vhost user="some_username" pass="some_password" host="some.host">
1296 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1297 # Watch module: Adds the WATCH command, which is used by clients to
1298 # maintain notify lists.
1299 #<module name="m_watch.so">
1301 #-#-#-#-#-#-#-#-#-#-#-#-#-#- BAN OPTIONS -#-#-#-#-#-#-#-#-#-#-#-#-#-#
1303 # The ban tags define nick masks, host masks and ip ranges which are #
1304 # banned from your server. All details in these tags are local to #
1308 # badip lines ban an ip range (same as a zline) #
1310 # ipmask - The ip range to ban (wildcards possible) #
1311 # reason - Reason to display when disconnected #
1313 # badnick lines ban a nick mask (same as a qline) #
1315 # nick - Nick mask to ban (wildcards possible) #
1316 # reason - Reason to display on /NICK #
1318 # badhost lines ban a user@host mask (same as a kline) #
1320 # host - ident@hostname (wildcards possible) #
1321 # reason - Reason to display on disconnection #
1323 # exception lines define a hostmask that is excempt from [kzg]lines #
1325 # host - ident@hostname (wildcards possible) #
1326 # reason - Reason, shown only in /stats e #
1329 <badip ipmask="69.69.69.69" reason="No porn here thanks.">
1331 <badnick nick="ChanServ" reason="Reserved For Services">
1332 <badnick nick="NickServ" reason="Reserved For Services">
1333 <badnick nick="OperServ" reason="Reserved For Services">
1334 <badnick nick="MemoServ" reason="Reserved For Services">
1336 <badhost host="*@hundredz.n.hundredz.o.1337.kiddies.com" reason="Too many 1337 kiddiots">
1337 <badhost host="*@localhost" reason="No irc from localhost!">
1339 <exception host="*@ircop.host.com" reason="Opers hostname">
1341 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#- YAWN -#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1343 # You should already know what to do here :) #
1345 <die value="You should probably edit your config *PROPERLY* and try again.">
1348 #########################################################################
1350 # - InspIRCd Development Team - #
1351 # http://www.inspircd.org #
1353 #########################################################################