]> git.netwichtig.de Git - user/henk/code/inspircd.git/blob - docs/inspircd.conf.example
Perm elines (<exception> tag) not being applied - fixed
[user/henk/code/inspircd.git] / docs / inspircd.conf.example
1 ########################################################################
2 #                                                                      #
3 #               ___                ___ ____   ____    _                #
4 #              |_ _|_ __  ___ _ __|_ _|  _ \ / ___|__| |               #
5 #               | || '_ \/ __| '_ \| || |_) | |   / _` |               #
6 #               | || | | \__ \ |_) | ||  _ <| |__| (_| |               #
7 #              |___|_| |_|___/ .__/___|_| \_\\____\__,_|               #
8 #                            |_|                                       #
9 #      ____             __ _                       _   _               #
10 #     / ___|___  _ __  / _(_) __ _ _   _ _ __ __ _| |_(_) ___  _ __    #
11 #    | |   / _ \| '_ \| |_| |/ _` | | | | '__/ _` | __| |/ _ \| '_ \   #
12 #    | |__| (_) | | | |  _| | (_| | |_| | | | (_| | |_| | (_) | | | |  #
13 #     \____\___/|_| |_|_| |_|\__, |\__,_|_|  \__,_|\__|_|\___/|_| |_|  #
14 #                            |___/                                     #
15 #                                                                      #
16 ##################################||####################################
17                                  #||#
18 ##################################||####################################
19 #                                                                      #
20 #         This is an example of the config file for InspIRCd.          #
21 #             Change the options to suit your network                  #
22 #                                                                      #
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)         #
27 #                                                                      #
28 #    ____                _   _____ _     _       ____  _ _   _         #
29 #   |  _ \ ___  __ _  __| | |_   _| |__ (_)___  | __ )(_) |_| |        #
30 #   | |_) / _ \/ _` |/ _` |   | | | '_ \| / __| |  _ \| | __| |        #
31 #   |  _ <  __/ (_| | (_| |   | | | | | | \__ \ | |_) | | |_|_|        #
32 #   |_| \_\___|\__,_|\__,_|   |_| |_| |_|_|___/ |____/|_|\__(_)        #
33 #                                                                      #
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. #
38 #                                                                      #
39 ########################################################################
40 #                                                                      #
41 #         Unalphabeticalise the modules list at your own risk          #
42 #                                                                      #
43 ########################################################################
44
45
46 #-#-#-#-#-#-#-#-#-#-#-#-  SERVER DESCRIPTION  -#-#-#-#-#-#-#-#-#-#-#-#-
47 #                                                                     #
48 #   Here is where you enter the information about your server.        #
49 #                                                                     #
50 #  Syntax is as follows:                                              #
51 #                                                                     #
52 #     <server name="server.name"                                      #
53 #      description="Server Description"                               #
54 #      network="MyNetwork">                                           #
55 #                                                                     #
56
57 <server name="penguin.omega.org.za"
58         description="Waddle World"
59         network="Omega">
60
61
62 #-#-#-#-#-#-#-#-#-#-#-#-   ADMIN INFORMATION   -#-#-#-#-#-#-#-#-#-#-#-#
63 #                                                                     #
64 #   Describes the Server Administrator's real name, nick              #
65 #   and email address.                                                #
66 #                                                                     #
67 #  Syntax is as follows:                                              #
68 #       <admin name="real name"                                       #
69 #              nick="nick name"                                       #
70 #              email="email@address.com">                             #
71 #                                                                     #
72
73 <admin  name="Johnny English"
74         nick="MI5"
75         email="MI5@the.best.secret.agent">
76
77
78 #-#-#-#-#-#-#-#-#-#-#-#-   PORT CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-
79 #                                                                     #
80 #   Enter the port and address bindings here.                         #
81 #                                                                     #
82 #  bind address - specifies which the address which ports bind        #
83 #  port         - opens an unused port                                #
84 #  type         - can be 'clients' or 'servers'. The clients type is  #
85 #                 a standard tcp based socket, the servers type is a  #
86 #                 also a TCP based connection but of a different      #
87 #                 format.                                             #
88 #    ____                _   _____ _     _       ____  _ _   _        #
89 #   |  _ \ ___  __ _  __| | |_   _| |__ (_)___  | __ )(_) |_| |       #
90 #   | |_) / _ \/ _` |/ _` |   | | | '_ \| / __| |  _ \| | __| |       #
91 #   |  _ <  __/ (_| | (_| |   | | | | | | \__ \ | |_) | | |_|_|       #
92 #   |_| \_\___|\__,_|\__,_|   |_| |_| |_|_|___/ |____/|_|\__(_)       #
93 #                                                                     #
94 #  If you want to link servers to InspIRCd you must load the          #
95 #  m_spanningtree module! Please see the modules list below for       #
96 #  information on how to load this module! If you do not load this    #
97 #  module, server ports will NOT be bound!                            #
98 #                                                                     #
99 #  Leaving address empty binds to all available interfaces            #
100 #                                                                     #
101 #  Syntax is as follows:                                              #
102 #                                                                     #
103 # <bind address="ip number" port="port" type="clients">               #
104 # <bind address="ip number" port="port" type="servers">               #
105 #                                                                     #
106
107 <bind address="" port="6660" type="clients">
108 <bind address="" port="7000" type="servers">
109 <bind address="" port="7001" type="servers">
110
111
112 #-#-#-#-#-#-#-#-#-#-  DIE/RESTART CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-
113 #                                                                     #
114 #   You can configure the passwords here which you wish to use for    #
115 #   the die and restart commands. Only trusted ircops who will        #
116 #   need this ability should know the die and restart password.       #
117 #                                                                     #
118 #  Syntax is as follows:                                              #
119 #       <power diepass="die password" restartpass="restart password"  #
120 #        pause="secs before dying">                                   #
121 #                                                                     #
122
123 <power diepass="diepass" restartpass="restartpass" pause="2">
124
125
126 #-#-#-#-#-#-#-#-#-#  INCLUDE CONFIGURATION  #-#-#-#-#-#-#-#-#-#-#-#-#-#
127 #                                                                     #
128 # This optional tag allows you to include another config file         #
129 # allowing you to keep your configuration tidy. The configuration     #
130 # file you include will be treated as part of the configuration file  #
131 # which includes it, in simple terms the inclusion is transparent.    #
132 #                                                                     #
133 # All paths to config files are relative to the directory of the main #
134 # config file inspircd.conf, unless the filename starts with a forward#
135 # slash (/) in which case it is treated as an absolute path.          #
136 #                                                                     #
137 # Syntax is as follows:                                               #
138 #       <include file="file.conf">                                    #
139 #                                                                     #
140
141 #-#-#-#-#-#-#-#-#-#-  CONNECTIONS CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
142 #                                                                     #
143 #   This is where you can configure which connections are allowed     #
144 #   and denied access onto your server.                               #
145 #   The password is optional.                                         #
146 #   You may have as many of these as you require.                     #
147 #   To allow/deny all connections use a *                             #
148 #                                                                     #
149 #  Syntax is as follows:                                              #
150 #                                                                     #
151 #       <connect allow="ip mask">                                     #
152 #       <connect allow="ip mask" password="blahblah">                 #
153 #       <connect allow="ip mask" password="blah" timeout="10">        #
154 #       <connect allow="ip mask" timeout="blah" flood="5">            #
155 #       <connect allow="ip mask" threshold="8" pingfreq="120">        #
156 #       <connect allow="ip mask" sendq="99999" revcq="696969">        #
157 #       <connect allow="ip mask" maxlocal="3" maxglobal="3">          #
158 #       <connect deny="ip mask">                                      #
159 #                                                                     #
160 #   You may optionally include timeout="x" on any allow line, which   #
161 #   specifies the amount of time given before an unknown connection   #
162 #   is closed if USER/NICK/PASS are not given. This value is in secs  #
163 #                                                                     #
164 #   You should also include a flood="x" line which indicates          #
165 #   the number of lines a user may place into their buffer at once    #
166 #   before they are disconnected for excess flood. This feature can   #
167 #   not be disabled, however it can be set to exremely high values,   #
168 #   rendering it effectively disabled. A recommended value is 10.     #
169 #   A counter is maintained for each user which is reset every        #
170 #   'threshold' seconds and specifying this threshold value with      #
171 #   threshold="X" indicates how often the counter is reset. For       #
172 #   example, with flood="5" and threshold="8", the user may not send  #
173 #   more than 5 lines in 8 secs.                                      #
174 #                                                                     #
175 #   You may optionally specify the sendq size and ping frequency of   #
176 #   each connect:allow line using the pingfreq="X" and sendq="X"      #
177 #   settings as shown in the full example below.                      #
178 #   The ping frequency is specified in seconds, and the sendq size    #
179 #   in bytes. It is recommended, although not enforced, that you      #
180 #   should never set your sendq size to less than 8k. Send Queues are #
181 #   dynamically allocated and can grow as needed up to the maximum    #
182 #   size specified.                                                   #
183 #                                                                     #
184 #   The optional recvq value is the maximum size which users in this  #
185 #   group may grow their receive queue to. This is recommended to be  #
186 #   kept pretty low compared to the sendq, as users will always       #
187 #   recieve more than they send in normal circumstances. The default  #
188 #   if not specified is 4096.                                         #
189 #                                                                     #
190 #   IMPORTANT NOTE, CALL THE CONFUSION POLICE!                        #
191 #   The sendq is the data waiting to be sent TO THE USER.             #
192 #   The recvq is the data being received FROM THE USER.               #
193 #   The names sendq and recvq are from the SERVER'S PERSPECTIVE not   #
194 #   that of the user... Just to clear up any confusion or complaints  #
195 #   that these are backwards :p                                       #
196 #                                                                     #
197 #   The localmax and globalmax values can be used to enforce local    #
198 #   and global session limits on connections. The session limits are  #
199 #   counted against all users, but applied only to users within the   #
200 #   class. For example, if you had a class 'A' which has a session    #
201 #   limit of 3, and a class 'B' which has a session limit of 5, and   #
202 #   somehow, two users managed to get into class B which also match   #
203 #   class A, there is only one connection left for this IP now in A,  #
204 #   but if they can connect again to B, there are three. You get the  #
205 #   idea (i hope).                                                    #
206 #                                                                     #
207
208 <connect allow="196.12.*"  password="secret">
209 <connect allow="*" timeout="60" flood="10" threshold="60" pingfreq="120" sendq="262144" recvq="4096" localmax="3" globalmax="3">
210
211 <connect deny="69.254.*">
212
213
214 #-#-#-#-#-#-#-#-#-#-#-#-  CLASS CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-
215 #                                                                     #
216 #   Classes are a group of commands which are grouped together        #
217 #   and given a unique name. They used to define which commands       #
218 #   are available to certain types of Operators.                      #
219 #                                                                     #
220 #  Syntax is as follows:                                              #
221 #                                                                     #
222 #       <class name="name" commands="oper commands">                  #
223 #                                                                     #
224 #    ____                _   _____ _     _       ____  _ _   _        #
225 #   |  _ \ ___  __ _  __| | |_   _| |__ (_)___  | __ )(_) |_| |       #
226 #   | |_) / _ \/ _` |/ _` |   | | | '_ \| / __| |  _ \| | __| |       #
227 #   |  _ <  __/ (_| | (_| |   | | | | | | \__ \ | |_) | | |_|_|       #
228 #   |_| \_\___|\__,_|\__,_|   |_| |_| |_|_|___/ |____/|_|\__(_)       #
229 #                                                                     #
230 #  You are not forced to give these classes the names given below.    #
231 #  You can create your own named classes, if you want, in fact that   #
232 #  is the whole idea of this system!                                  #
233 #                                                                     #
234
235 <class name="Shutdown" commands="DIE RESTART REHASH">
236 <class name="ServerLink" commands="CONNECT SQUIT">
237 <class name="BanControl" commands="KILL GLINE KLINE ZLINE QLINE ELINE">
238 <class name="OperChat" commands="WALLOPS GLOBOPS">
239 <class name="HostCloak" commands="SETHOST SETIDENT SETNAME">
240
241
242 #-#-#-#-#-#-#-#-#-#-#-#-  OPERATOR COMPOSITION   -#-#-#-#-#-#-#-#-#-#-#
243 #                                                                     #
244 #   This is where you specify which types of operators you have on    #
245 #   your server, as well as the commands they are allowed to use.     #
246 #   This works alongside with the classes specified above.            #
247 #                                                                     #
248 #  type name  - a name for the combined class types                   #
249 #                                                                     #
250 #  classes    - specified above, used for flexibility for the         #
251 #               server admin to decide on which operators get         #
252 #               what commands                                         #
253 #                                                                     #
254 #  host       - optional hostmask operators will recieve on oper-up.  #
255 #                                                                     #
256 #  Syntax is as follows:                                              #
257 #                                                                     #
258 #       <type name="name" classes="class name" host="oper hostmask">  #
259 #                                                                     #
260 #    ____                _   _____ _     _       ____  _ _   _        #
261 #   |  _ \ ___  __ _  __| | |_   _| |__ (_)___  | __ )(_) |_| |       #
262 #   | |_) / _ \/ _` |/ _` |   | | | '_ \| / __| |  _ \| | __| |       #
263 #   |  _ <  __/ (_| | (_| |   | | | | | | \__ \ | |_) | | |_|_|       #
264 #   |_| \_\___|\__,_|\__,_|   |_| |_| |_|_|___/ |____/|_|\__(_)       #
265 #                                                                     #
266 #  You are not forced to give these types the names given below.      #
267 #  You can create your own named types, if you want, in fact that     #
268 #  is the whole idea of this system!                                  #
269 #                                                                     #
270
271 <type name="NetAdmin" classes="OperChat BanControl HostCloak Shutdown ServerLink" host="netadmin.omega.org.za">
272 <type name="GlobalOp" classes="OperChat BanControl HostCloak ServerLink" host="ircop.omega.org.za">
273 <type name="Helper" classes="HostCloak" host="helper.omega.org.za">
274
275
276 #-#-#-#-#-#-#-#-#-#-#-  OPERATOR CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
277 #                                                                     #
278 #   Opers are defined here. This is a very important section.         #
279 #   Remember to only make operators out of truthworthy people.        #
280 #                                                                     #
281 #  name      - oper name, best to use lower-case                      #
282 #                                                                     #
283 #  password  - password to oper-up,                                   #
284 #              encryption not supported by inspircd. However, there   #
285 #              are modules that allow for oper password encryption.   #      
286 #                                                                     #
287 #  host      - host of client allowed to oper-up.                     #
288 #              wildcards accepted, seperate multiple hosts with space #
289 #                                                                     #
290 #  type      - specified above, defines the kind of operator          #
291 #                                                                     #
292 #  Syntax is as follows:                                              #
293 #       <oper name="login"                                            #
294 #             password="pass"                                         #
295 #             host="hostmask@of.oper"                                 #
296 #             type="oper type">                                       #
297 #                                                                     #
298
299 <oper   name="katsklaw"
300         password="s3cret"
301         host="ident@dialup15.isp.com *@localhost *@server.com"
302         type="NetAdmin">
303
304
305 #-#-#-#-#-#-#-#-#-#-#-  SERVER LINK CONFIGURATION  -#-#-#-#-#-#-#-#-#-#
306 #                                                                     #
307 # Defines which servers can link to this one, and which servers this  #
308 # server may create outbound links to.                                #
309 #                                                                     #
310 # name        -   The name is the canocial name of the server, does   #
311 #                 not have to resolve - but it is expected to be sent #
312 #                 in the remote servers connection info.              #
313 # ipaddr      -   Valid host or ip address for remote server. *       #
314 #                                                                     #
315 # port        -   The TCP port for the remote server.                 #
316 #                                                                     #
317 # sendpass    -   Password to send to create an outbound connection   #
318 #                 to this server.                                     #
319 #                                                                     #
320 # recvpass    -   Password to receive to accept an inbound connection #
321 #                 from this server.                                   #
322 #                                                                     #
323 # autoconnect -   Sets the server to autoconnect. Where x is the num. #
324 # (optional)      of seconds between attempts. e.g. 300 = 5 minutes.  #
325 #                                                                     #
326 # encryptionkey - Encryption key to be used for AES encryption, where #
327 #                 supported. Links using the spanning tree protocol   #
328 #                 support AES. The encryption key must be EXACTLY 8,  #
329 #                 16 or 32 characters in length for a 64, 128 or 256  #
330 #                 bit key, respectively.                              #
331 #                                                                     #
332 # hidden        - When using m_spanningtree.so for linking. you may   #
333 #                 set this to 'yes', and if you do, the IP address/   #
334 #                 hostname of this connection will NEVER be shown to  #
335 #                 any opers on the network. In /STATS c its address   #
336 #                 will show as *@<hidden>, and during CONNECT and     #
337 #                 inbound connections, its IP will show as <hidden>   #
338 #                 UNLESS the connection fails (e.g. due to a bad      #
339 #                 password or servername)                             #
340 #                                                                     #
341 # to u:line a server (give it extra privilages required for running   #
342 # services, Q, etc) you must include the <uline server> tag as shown  #
343 # in the example below. You can have as many of these as you like.    #
344 #                                                                     #
345 # WARNING: Unlike other ircds, u:lining a server allows ALL users on  #
346 # that server to operoverride modes. This should only be used for     #
347 # services and protected oper servers!                                #
348 #                                                                     #
349 # IMPORTANT NOTE: When specifying the ip address and/or host, the     #
350 # server software will prioritize RESOLVED hostnames above ip         #
351 # addresses, so for example if your target server resolves to a.b.com #
352 # you MUST put a.b.com into your link block, and NOT the IP address   #
353 # of a.b.com. The system uses reverse resolution.                     #
354 #                                                                     #
355 #    ____                _   _____ _     _       ____  _ _   _        #
356 #   |  _ \ ___  __ _  __| | |_   _| |__ (_)___  | __ )(_) |_| |       #
357 #   | |_) / _ \/ _` |/ _` |   | | | '_ \| / __| |  _ \| | __| |       #
358 #   |  _ <  __/ (_| | (_| |   | | | | | | \__ \ | |_) | | |_|_|       #
359 #   |_| \_\___|\__,_|\__,_|   |_| |_| |_|_|___/ |____/|_|\__(_)       #
360 #                                                                     #
361 #  If you want to link servers to InspIRCd you must load the          #
362 #  m_spanningtree module! Please see the modules list below for       #
363 #  information on how to load this module! If you do not load this    #
364 #  module, server links will NOT work!                                #
365 #                                                                     #
366
367 <link name="hub.penguin.org"
368         ipaddr="penguin.box.com"
369         port="7000"
370         autoconnect="300"
371         sendpass="outgoing!password"
372         recvpass="incoming!password">
373
374 <link name="services.antarctic.com"
375         ipaddr="localhost"
376         port="7000"
377         sendpass="penguins"
378         recvpass="polarbears">
379
380 <uline server="services.antarctic.com">
381
382
383 #-#-#-#-#-#-#-#-#-#-  MISCELLANEOUS CONFIGURATION  -#-#-#-#-#-#-#-#-#-#
384 #                                                                     #
385 #   These options let you define the path to your motd and rules      #
386 #   files.                                                            #
387 #                                                                     #
388
389 <files  motd="/home/cc/inspircd/conf/inspircd.motd"
390         rules="/home/cc/inspircd/conf/inspircd.rules">
391
392 #-#-#-#-#-#-#-#-#-#-#-#-#-#-# DNS SERVER -#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
393 #                                                                     #
394 # Define your DNS server address here. InspIRCd has its own resolver. #
395 # If you do not define this value, the first dns server from your     #
396 # /etc/resolv.conf file is read. If no entries are found in this file #
397 # or the file cannot be opened, the default value '127.0.0.1' is used #
398 # instead. The timeout value is in seconds.                           #
399 #                                                                     #
400 #    ____                _   _____ _     _       ____  _ _   _        #
401 #   |  _ \ ___  __ _  __| | |_   _| |__ (_)___  | __ )(_) |_| |       #
402 #   | |_) / _ \/ _` |/ _` |   | | | '_ \| / __| |  _ \| | __| |       #
403 #   |  _ <  __/ (_| | (_| |   | | | | | | \__ \ | |_) | | |_|_|       #
404 #   |_| \_\___|\__,_|\__,_|   |_| |_| |_|_|___/ |____/|_|\__(_)       #
405 #                                                                     #
406 # When choosing a server, be sure to choose one which will do a       #
407 # RECURSIVE LOOKUP. InspIRCd's resolver does not currently do these   #
408 # recursive lookups itself, to save time and resources. The dns       #
409 # server recommended by the InspIRCd team is bind, available from the #
410 # ISC website. If your DNS server does not do a recursive lookup, you #
411 # will be able to notice this by the fact that none of your users are #
412 # resolving even though the DNS server appears to be up! Most ISP and #
413 # hosting provider DNS servers support recursive lookups.             #
414 #                                                                     #
415
416 <dns server="127.0.0.1" timeout="5">
417
418 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#  PID FILE  -#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
419 #                                                                     #
420 # Define the path to the PID file here. The PID file can be used to   #
421 # rehash the ircd from the shell or to terminate the ircd from the    #
422 # shell using shell scripts, perl scripts etc, and to monitor the     #
423 # ircd's state via cron jobs.                                         #
424 #                                                                     #
425
426 <pid file="/path/to/inspircd.pid">
427
428 #-#-#-#-#-#-#-#-#-#-#-#-#- BANLIST LIMITS #-#-#-#-#-#-#-#-#-#-#-#-#-#-#
429 #                                                                     #
430 # Use these tags to customise the ban limits on a per channel basis.  #
431 # the tags are read from top to bottom, and any tag found which       #
432 # matches the channels name applies the banlimit to that channel.     #
433 # It is advisable to put an entry with the channel as '*' at the      #
434 # bottom of the list. If none are specified or no maxbans tag is      #
435 # matched, the banlist size defaults to 64 entries.                   #
436 #                                                                     #
437
438 <banlist chan="#morons" limit="128">
439 <banlist chan="*" limit="69">
440
441 #-#-#-#-#-#-#-#-#-#-#-  DISABLED COMMANDS  -#-#-#-#-#-#-#-#-#-#-#-#-#-#
442 #                                                                     #
443 # This tag is optional, and specifies one or more commands which are  #
444 # not available to non-operators. For example you may wish to disable #
445 # NICK and prevent non-opers from changing their nicknames.           #
446 # Note that any disabled commands take effect only after the user has #
447 # 'registered' (e.g. after the initial USER/NICK/PASS on connection)  #
448 # so for example disabling NICK will not cripple your network.        #
449 #                                                                     #
450 #         <disabled commands="TOPIC MODE">                            #
451 #                                                                     #
452
453
454 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-  RTFM LINE  -#-#-#-#-#-#-#-#-#-#-#-#-#-#
455 #                                                                     #
456 #   Just remove this... Its here to make you read ALL of the config   #
457 #   file options ;)                                                   #
458
459 <die value="You should probably edit your config *PROPERLY* and try again.">
460
461
462
463 #-#-#-#-#-#-#-#-#-#-#-#-#-  SERVER OPTIONS   -#-#-#-#-#-#-#-#-#-#-#-#-#
464 #                                                                     #
465 #   Settings to define which features are useable on your server.     #
466 #                                                                     #
467 #  prefixquit    - a prefix for a client's quit message               #
468 #                                                                     #
469 #  loglevel      - specifies what detail of messages to log in the    #
470 #                  log file. You may select from debug, verbose,      #
471 #                  default, sparse and none.                          #
472 #  allowhalfop   - allows the +h channel mode                         #
473 #                                                                     #
474 #  noservices    - If noservices is true, yes, or 1, then the first   #
475 #                  user into a channel gets founder status. This is   #
476 #                  only useful on networks running the m_chanprotect  #
477 #                  module without services.                           #
478 #                                                                     #
479 #  netbuffersize - size of the buffer used to receive data from       #
480 #                  clients. The ircd may only read() this amount      #
481 #                  of text in one go at any time. (OPTIONAL)          #
482 #                                                                     #
483 #  maxwho        - The maximum number of results returned by a /WHO   #
484 #                  query. This is to prevent /WHO being used as a     #
485 #                  spam vector or means of flooding an ircd. The      #
486 #                  default is 128, it is not recommended to raise it  #
487 #                  above 1024. Values up to 65535 are permitted.      #
488 #                                                                     #
489 #  somaxconn     - The maximum number of sockets that may be waiting  #
490 #                  in the accept queue. This usually allows the ircd  #
491 #                  to soak up more connections in a shorter space of  #
492 #                  time when increased but please be aware there is a #
493 #                  system defined maximum value to this, the same way #
494 #                  there is a system defined maximum number of file   #
495 #                  descriptors. Some systems may only allow this to   #
496 #                  be up to 5 (ugh) while others such as FreeBSD will #
497 #                  default to a much nicer 128.                       #
498 #                                                                     #
499 #  moduledir     - This optional value indicates a runtime change of  #
500 #                  the location where modules are to be found. This   #
501 #                  does not add a supplementary directory. There can  #
502 #                  only be one module path.                           #
503 #                                                                     #
504 #  softlimit     - This optional feature allows a defined softlimit.  #
505 #                  if defined sets a soft maxconnections value, has   #
506 #                  to be less than the ./configure maxclients         #
507 #                                                                     #
508 #  operonlystats - The operonlystats field is optional and specifies  #
509 #                  which stats characters in /STATS may only be       #
510 #                  requested by an IRC operator. Stats characters in  #
511 #                  this field are case sensitive and enforced as      #
512 #                  oper-only independent of if they are in a module   #
513 #                  or the core.                                       #
514 #                                                                     #
515 #  customversion - If you specify this configuration item, and it is  #
516 #                  not set to an empty value, then when a user does   #
517 #                  a /VERSION command on the ircd, this string will   #
518 #                  be displayed as the second portion of the output,  #
519 #                  replacing the system 'uname', compile flags and    #
520 #                  socket engine/dns engine names. You may use this   #
521 #                  to enhance security, or simply for vanity.         #
522 #                                                                     #
523 #  maxtargets    - The maxtargets field is optional, and if not       #
524 #                  defined, defaults to 20. It indicates the maximum  #
525 #                  number of targets which may be given to commands   #
526 #                  such as PRIVMSG, KICK etc.                         #
527 #                                                                     #
528 #  hidesplits    - When set to 'yes', will hide split server names    #
529 #                  from non-opers. Non-opers will see '*.net *.split' #
530 #                  instead of the server names in the quit message,   #
531 #                  identical to the way IRCu displays them.           #
532 #                                                                     #
533 #  hidewhois     - When defined with a non-empty value, the given     #
534 #                  text will be used in place of the user's server    #
535 #                  in WHOIS, when a user is WHOISed by a non-oper.    #
536 #                  For example, most nets will want to set this to    #
537 #                  something like '*.netname.net' to conceal the      #
538 #                  actual server the user is on.                      #
539 #                                                                     #
540 #  flatlinks     - When you are using m_spanningtree.so, and this     #
541 #                  value is set to true, yes or 1, /MAP and /LINKS    #
542 #                  will be flattened when shown to a non-oper.        #
543 #                                                                     #
544 #  hideulines    - When you are using m_spanningtree.so, and this     #
545 #                  value is set to true, yes or 1, then U-lined       #
546 #                  servers will be hidden in /LINKS and /MAP. For non #
547 #                  opers. Please be aware that this will also hide    #
548 #                  any leaf servers of a U-lined server, e.g. jupes.  #
549 #                                                                     #
550 #  tempdir       - If defined, indicates a path where modules will be #
551 #                  temporarily copied before loading. If not defined, #
552 #                  defaults to /tmp.                                  #
553 #                                                                     #
554
555 <options prefixquit="Quit: "
556          loglevel="default"
557          netbuffersize="10240"
558          maxwho="128"
559          noservices="0"
560          somaxconn="128"
561          softlimit="128"
562          operonlystats="oclgkz"
563          customversion=""
564          maxtargets="20"
565          hidesplits="no"
566          hidewhois=""
567          flatlinks="no"
568          hideulines="no"
569          allowhalfop="yes">
570
571
572
573 #-#-#-#-#-#-#-#-#-#-#-#-#-  MODULE OPTIONS   -#-#-#-#-#-#-#-#-#-#-#-#-#
574 #                                                                     #
575 #  These tags define which modules will be loaded on startup by your  #
576 #  server. Add modules without any paths. When you make your ircd     #
577 #  using the 'make' command, all compiled modules will be moved into  #
578 #  the folder you specified when you ran ./configure. The module tag  #
579 #  automatically looks for modules in this location.                  #
580 #  If you attempt to load a module outside of this location, either   #
581 #  in the config, or via /LOADMODULE, you will receive an error.      #
582 #                                                                     #
583 #  By default, ALL modules are commented out. You must uncomment them #
584 #  or add lines to your config to load modules. Please refer to       #
585 #  http://www.inspircd.org/wiki/Modules_List for a list of modules and#
586 #  each modules link for any additional conf tags they require.       #
587 #                                                                     #
588 #  WINDOWS USERS PLEASE NOTE: You can still load these modules! They  #
589 #  are incorporated into the executable and can be loaded and removed #
590 #  similarly to if they were in a ramdisk.                            #
591 #    ____                _   _____ _     _       ____  _ _   _        #
592 #   |  _ \ ___  __ _  __| | |_   _| |__ (_)___  | __ )(_) |_| |       #
593 #   | |_) / _ \/ _` |/ _` |   | | | '_ \| / __| |  _ \| | __| |       #
594 #   |  _ <  __/ (_| | (_| |   | | | | | | \__ \ | |_) | | |_|_|       #
595 #   |_| \_\___|\__,_|\__,_|   |_| |_| |_|_|___/ |____/|_|\__(_)       #
596 #                                                                     #
597 # To link servers to InspIRCd, you MUST load the m_spanningtree       #
598 # module, as shown below. If you DO NOT do this, server links will    #
599 # NOT work at all. ie. The ports will NOT bind, and /connect will not #
600 # work properly. This is by design, to allow for the implementation   #
601 # of other linking protocols in modules in the future.                #
602
603 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
604 # Spanning Tree module - allows linking of servers using the spanning
605 # tree protocol (see the READ THIS BIT section above).
606 #
607 #<module name="m_spanningtree.so">
608
609 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
610 # Alias module: Allows you to define server-side command aliases
611 #<module name="m_alias.so">
612 #
613 #-#-#-#-#-#-#-#-#-#-#-  ALIAS DEFINITIONS  -#-#-#-#-#-#-#-#-#-#-#-#-#-#
614 #                                                                     #
615 # If you have the m_alias.so module loaded, you may also define       #
616 # aliases as shown below. They are commonly used to provide shortcut  #
617 # commands to services, however they are not limited to jsut this use.#
618 # An alias tag requires the following values to be defined in it:     #
619 #                                                                     #
620 # text        -      The text to detect at the start of the line,     #
621 #                    must be at the start of the line to trigger the  #
622 #                    alias. May contain spaces, but case insensitive. #
623 # replace     -      The text to replace 'text' with. Usually this    #
624 #                    will be "PRIVMSG ServiceName" or similar.        #
625 # requires    -      If you provide a value for 'requires' this means #
626 #                    the given nickname MUST be online for the alias  #
627 #                    to successfully trigger. If they are not, then   #
628 #                    the user receives a 'no such nick' 401 numeric.  #
629 # uline       -      Defining this value with 'yes', 'true' or '1'    #
630 #                    will ensure that the user given in 'requires'    #
631 #                    must also be on a u-lined server, as well as     #
632 #                    actually being on the network. If the user is    #
633 #                    online, but not on a u-lined server, then an     #
634 #                    oper-alert is sent out as this is possibly signs #
635 #                    of a user trying to impersonate a service.       #
636 #                                                                     #
637 #<alias text="NICKSERV" replace="PRIVMSG NickServ" requires="NickServ" uline="yes">
638 #<alias text="CHANSERV" replace="PRIVMSG ChanServ" requires="ChanServ" uline="yes">
639 #<alias text="NS" replace="PRIVMSG NickServ" requires="NickServ" uline="yes">
640 #<alias text="CS" replace="PRIVMSG ChanServ" requires="ChanServ" uline="yes">
641
642 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
643 # Antibottler module: Labels bottler leech bots
644 #<module name="m_antibottler.so">
645
646 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
647 # Ban except module: Adds support for channel ban exceptions (+e)
648 #<module name="m_banexception.so">
649
650 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
651 # Block amsg module: Attempt to block all usage of /amsg and /ame
652 #<module name="m_blockamsg.so">
653 #
654 #-#-#-#-#-#-#-#-#-#-#-  BLOCKAMSG CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
655 #                                                                     #
656 # If you have the m_blockamsg.so module loaded, you can configure it  #
657 # with the <blockamsg> tag:                                           #
658 #                                                                     #
659 # delay          -   How many seconds between two messages to force   #
660 #                    them to be recognised as unrelated.              #
661 # action         -   Any of 'notice', 'noticeopers', 'silent', 'kill' #
662 #                    or 'killopers'. Define how to take action when   #
663 #                    a user uses /amsg or /ame.                       #
664 #
665 #<blockamsg delay="3" action="killopers">
666
667 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
668 # Block colour module: Blocking colour-coded messages with cmode +c
669 #<module name="m_blockcolor.so">
670
671 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
672 # Botmode module: Adds the user mode +B
673 #<module name="m_botmode.so">
674
675 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
676 # CBAN module: Lets you disallow channels from being used at runtime.
677 #<module name="m_cban.so">
678
679 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
680 # Censor module: Adds the channel mode +G
681 #<module name="m_censor.so">
682 #
683 #-#-#-#-#-#-#-#-#-#-#-  CENSOR  CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#-#
684 #                                                                     #
685 # Optional - If you specify to use the m_censor module, then specfiy  #
686 # below the path to the censor.conf file. See also:                   #
687 # Censor file, see http://www.inspircd.org/wiki/Censor_Module         #
688 #
689 #<censor file="/path/to/censor.conf">
690
691 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
692 # Channel filter module: Allows channel-op defined message
693 # filtering using simple string matches (channel mode +g)
694 #<module name="m_chanfilter.so">
695
696 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
697 # Chanprotect module: gives +q and +a channel modes
698 #<module name="m_chanprotect.so">
699
700 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
701 # CHGHOST module: Adds the /CHGHOST command
702 #<module name="m_chghost.so">
703
704 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
705 # CHGIDENT module: Adds the /CHGIDENT command
706 #<module name="m_chgident.so">
707
708 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
709 # Cloaking module: Adds usermode +x and cloaking support
710 #<module name="m_cloaking.so">
711
712 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
713 # Conn-Lusers: Shows the LUSERS output on connect
714 #<module name="m_conn_lusers.so">
715
716 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
717 # Conn-Wait-for-Pong: Don't let a user connect until they PONG
718 #<module name="m_conn_waitpong.so">
719 #
720 #-#-#-#-#-#-#-#-#-#-#-   WAITPONG CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
721 #                                                                     #
722 # If you have the m_conn_waitpong.so module loaded, configure it with #
723 # the <waitpong> tag:                                                 #
724 #                                                                     #
725 # sendsnotice    -   Whether to send a snotice on connect, like Unreal#
726 # killonbadreply -   Whether to kill the user if they send the wrong  #
727 #                    PONG reply.                                      #
728 #
729 #<waitpong sendsnotice="yes" killonbadreply="yes">
730
731 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
732 # Deny Channels: Deny Channels from being used by users
733 #<module name="m_denychans.so"> 
734 #
735 #-#-#-#-#-#-#-#-#-#-#-   DENYCHAN DEFINITIONS  -#-#-#-#-#-#-#-#-#-#-#-#
736 #                                                                     #
737 # If you have the m_denychans.so module loaded, you need to specify   #
738 # the channels to deny:
739 #                                                                     #
740 # name        -      The channel name to deny.                        #
741 # allowopers  -      If operators are allowed to override the deny.   #
742 # reason      -      Reason given for the deny.                       #
743 #
744 #<badchan name="#gods" allowopers="yes" reason="Tortoises!">
745
746 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
747 # Devoice Module: Let users devoice themselves.
748 #<module name="m_devoice.so">
749
750 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
751 # Filter module: Provides glob-based message filtering
752 #<module name="m_filter.so">
753 #OR
754 # PCRE filter module: Filters messages using regular expressions
755 #<module name="m_filter_pcre.so">
756 #
757 #-#-#-#-#-#-#-#-#-#-#-  FILTER  CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#-#
758 #                                                                     #
759 # Optional - If you specify to use the m_filter or m_filter_pcre      #
760 # modules, then specfiy below the path to the filter.conf file.       #
761 #
762 #<filter file="/path/to/inspircd/filter.conf">
763
764 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
765 # Foobar module - does nothing - historical relic
766 #<module name="m_foobar.so">
767
768 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
769 # Globops module: gives /GLOBOPS and usermode +g
770 #<module name="m_globops.so">
771
772 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
773 # Global load module: Allows loading and unloading of modules network-
774 # wide (USE WITH EXTREME CAUTION!)
775 #<module name="m_globalload.so">
776
777 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
778 # HELPOP module: Provides the /HELPOP command
779 #<module name="m_helpop.so">
780 #
781 #-#-#-#-#-#-#-#-#-#-#-#-  HELPOP  CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
782 #                                                                     #
783 # Optional - If you specify to use the m_helpop.so module, then       #
784 # specify below the path to the helpop.conf file.                     #
785 #
786 #<helpop file="/path/to/inspircd/helpop.conf">
787
788 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
789 # Hostchange module: Allows a different style of cloaking
790 #<module name="m_hostchange.so">
791 #
792 #-#-#-#-#-#-#-#-#-#-#-  HOSTCHANGE  CONFIGURATION  -#-#-#-#-#-#-#-#-#-#
793 #                                                                     #
794 # Optional - If you choose to use the m_hostchange.so module.         #
795 # Config Help -  See http://www.inspircd.org/wiki/Host_Changer_Module #
796 #
797 #<host suffix="polarbears.org">
798 #<hostchange mask="*@fbi.gov" action="addnick">
799 #<hostchange mask="*r00t@*" action="suffix">
800 #<hostchange mask="a@b.com" action="set" value="blah.blah.blah">
801
802 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
803 # Ident: Provides RFC 1413 ident lookup support
804 #<module name="m_ident.so">
805 #
806 #-#-#-#-#-#-#-#-#-#-#-#-   IDENT CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
807 #                                                                     #
808 # Optional - If you are using the m_ident.so module, then you can     #
809 # specify the timeout for ident lookups here. If not defined, it will #
810 # default to one second. This is a non-blocking timeout which holds   #
811 # the user in a 'connecting' state until the lookup is complete.      #
812 #
813 #<ident timeout="5">
814
815 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
816 # Invite except module: Adds support for channel invite exceptions (+I)
817 #<module name="m_inviteexception.so">
818
819 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
820 # Join flood module: Adds support for join flood protection (+j)
821 #<module name="m_joinflood.so">
822
823 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
824 # Anti-Auto-Rejoin: Adds support for prevention of auto-rejoin (+J)
825 #<module name="m_kicknorejoin.so">
826
827 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
828 # Knock module: adds the /KNOCK command and +K channel mode
829 #<module name="m_knock.so">
830
831 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
832 # Msg flood module: Adds message/notice flood protection (+f)
833 #<module name="m_messageflood.so">
834
835 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
836 # Nicklock module: Let opers change a user's nick and then stop that
837 # user from changing their nick again. /NICKLOCK and /NICKUNLOCK
838 #<module name="m_nicklock.so">
839
840 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
841 # No ctcp module: Adds the channel mode +C to block CTCPs
842 #<module name="m_noctcp.so">
843
844 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
845 # Noinvite module: Gives channel mode +V
846 #<module name="m_noinvite.so">
847
848 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
849 # No kicks module: Adds the +Q channel mode
850 #<module name="m_nokicks.so">
851
852 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
853 # No nicks module: Adds the +N channel mode
854 #<module name="m_nonicks.so">
855
856 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
857 # No Notice module: adds the channel mode +T
858 #<module name="m_nonotice.so">
859
860 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
861 # Oper channels mode: Adds the +O channel mode
862 #<module name="m_operchans.so">
863
864 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
865 # Oper Join module: Forces opers to join a channel on oper-up
866 #<module name="m_operjoin.so">
867 #
868 #-#-#-#-#-#-#-#-#-#-#   OPERJOIN CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
869 #                                                                     #
870 # If you are using the m_operjoin.so module, specify the channel here #
871 #
872 #<operjoin channel="#channel">
873
874 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
875 # Oper MOTD module: Provides support for seperate message of the day
876 # on oper-up
877 #<module name="m_opermotd.so">
878 #
879 #-#-#-#-#-#-#-#-#-#-#   OPERMOTD CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
880 #                                                                     #
881 # If you are using the m_opermotd.so module, specify the motd here    #
882 #
883 #<opermotd file="/path/to/oper.motd">
884
885 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
886 # Override module: Adds support for oper override
887 #<module name="m_override.so">
888 #
889 #-#-#-#-#-#-#-#-#-#-#   OVERRIDE CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
890 #                                                                     #
891 # m_override.so is too complex it describe here, see the wiki:        #
892 # http://www.inspircd.org/wiki/Oper_Override_Module                   #
893
894 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
895 # Oper levels module: Gives each oper a level and prevents
896 # actions being taken against higher level opers
897 # Specify the level as the 'level' parameter of the <type> tag
898 #<module name="m_operlevels.so">
899
900 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
901 # Oper MD5 module: Allows MD5 hashed oper passwords
902 #<module name="m_opermd5.so">
903
904 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
905 # Oper SHA256 module: Allows SHA256 hashed oper passwords
906 # This module is in src/modules/extra
907 #<module name="m_opersha256.so">
908
909 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
910 # Oper modes module: Allows you to specify modes to add/remove on oper
911 # Specify the modes as the 'modes' parameter of the <type> tag
912 #<module name="m_opermodes.so">
913
914 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
915 # Parking module: Adds parking support and /PARK and /UNPARK
916 #<module name="m_park.so">
917 #
918 #-#-#-#-#-#-#-#-#-#-#-#   PARK CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
919 #                                                                     #
920 # m_park.so is too complex it describe here, see the wiki:            #
921 # http://www.inspircd.org/wiki/User_Parking_Module                    #
922
923 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
924 # Random Quote module: provides a random quote on connect
925 #<module name="m_randquote.so">
926 #
927 #-#-#-#-#-#-#-#-#-#-  RANDOMQUOTES CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
928 #                                                                     #
929 # Optional - If you specify to use the m_randquote.so module, then    #
930 # specify below the path to the randquotes.conf file.                 #
931 #
932 #<randquote file="/path/to/inspircd/randquotes.conf">
933
934 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
935 # Redirect module: Adds channel redirection (mode +L)
936 #<module name="m_redirect.so">
937
938 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
939 # Remove module: Adds the /REMOVE command which is a peaceful
940 # alternative to /KICK
941 #<module name="m_remove.so">
942
943 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
944 # Restricted channels module: Allows only opers to create channels
945 #<module name="m_restrictchans.so">
946
947 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
948 # Restrict message module: Allows users to only message opers
949 #<module name="m_restrictmsg.so">
950
951 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
952 # SAJOIN module: Adds the /SAJOIN command
953 #<module name="m_sajoin.so">
954
955 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
956 # SAMODE module: Adds the oper /SAMODE command
957 #<module name="m_samode.so">
958
959 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
960 # SANICK module: Allows opers to change user's nicks
961 #<module name="m_sanick.so">
962
963 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
964 # SAPART module: Adds the oper /SAPART command
965 #<module name="m_sapart.so">
966
967 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
968 # SAQUIT module: Adds the oper /SAQUIT command (abusable!!!)
969 #<module name="m_saquit.so">
970
971 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
972 # Set Idle module: Adds a command for opers to change their
973 # idle time (mainly a toy)
974 #<module name="m_setidle.so">
975
976 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
977 # Services support module: Adds several usermodes such as +R and +M
978 #<module name="m_services.so">
979
980 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
981 # Sethost module: Adds the /SETHOST command
982 #<module name="m_sethost.so">
983
984 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
985 # Setident module: Adds the /SETIDENT command
986 #<module name="m_setident.so">
987
988 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
989 # SETNAME module: Adds the /SETNAME command
990 #<module name="m_setname.so">
991
992 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
993 # Show Whois module: Adds the +W usermode which allows opers
994 # to see when they are whois'ed
995 #<module name="m_showwhois.so">
996
997 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
998 # Spy module: Adds the commands SPYLIST and SPYNAMES that let opers
999 # see who is in a +s channel, and list +s channels, show keys of keyed
1000 # channels the oper is not a member of etc. (standard 'abusive' features
1001 # of unrealircd, modulized here in InspIRCd).
1002 #<module name="m_spy.so">
1003
1004 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1005 # SSL channel mode module: Adds support for SSL-only channels (+z).
1006 # does not do anything useful without a working SSL module (see below)
1007 #<module name="m_sslmodes.so">
1008
1009 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1010 # GnuTLS ssl module: Adds support for client-server SSL using GnuTLS,
1011 # if enabled. You must copy the source for this module from the directory
1012 # src/modules/extra, or answer 'yes' in ./configure when asked if you
1013 # want to enable this, or it will not load.
1014 #<module name="m_ssl_gnutls.so">
1015 #
1016 #-#-#-#-#-#-#-#-#-#-#-  GNUTLS CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
1017 #                                                                     #
1018 # m_ssl_gnutls.so is too complex it describe here, see the wiki:      #
1019 # http://www.inspircd.org/wiki/GnuTLS_SSL_Module                      #
1020
1021 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1022 # OpenSSL ssl module: Adds support for client-server SSL using OpenSSL,
1023 # if enabled. You must copy the source for this module from the directory
1024 # src/modules/extra, or answer 'yes' in ./configure when asked if you
1025 # want to enable this, or it will not load.
1026 #<module name="m_ssl_openssl.so">
1027 #
1028 #-#-#-#-#-#-#-#-#-#-#- OPENSSL CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
1029 #                                                                     #
1030 # m_ssl_openssl.so is too complex it describe here, see the wiki:     #
1031 # http://www.inspircd.org/wiki/OpenSSL_SSL_Module                     #
1032
1033 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1034 # Strip colour module: Adds the channel mode +S
1035 #<module name="m_stripcolor.so">
1036
1037 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1038 # SILENCE module: Adds support for /SILENCE
1039 #<module name="m_silence.so">
1040
1041 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1042 # SQL module: Allows other SQL modules to access SQL databases
1043 # through a unified API. You must copy the source for this module
1044 # from the directory src/modules/extra
1045 #<module name="m_sql.so">
1046 #
1047 #-#-#-#-#-#-#-#-#-#-#-#- SQL CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#-#
1048 #                                                                     #
1049 # m_sql.so is more complex than described here, see the wiki for more:#
1050 # http://www.inspircd.org/wiki/SQL_Service_Provider_Module            #
1051 #
1052 #<database name="mydb" username="myuser" password="mypass" hostname="localhost" id="1">
1053
1054 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1055 # SQL authentication module: Allows IRCd connections to be tied into
1056 # a database table (for example a forum). You must copy the source for
1057 # this module from the directory src/modules/extra
1058 #<module name="m_sqlauth.so">
1059 #
1060 #-#-#-#-#-#-#-#-#-#-#- SQLAUTH CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
1061 #                                                                     #
1062 # m_sqlauth.so is too complex it describe here, see the wiki:         #
1063 # http://www.inspircd.org/wiki/SQL_Authentication_Module              #
1064
1065 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1066 # SQL logging module: Allows you to log network-wide data for your
1067 # network in a fully normalized set of SQL tables. You must copy the
1068 # source for this module from the directory src/modules/extra
1069 #<module name="m_sqllog.so">
1070 #
1071 #-#-#-#-#-#-#-#-#-#-#-  SQLLOG CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
1072 #                                                                     #
1073 # dbid       - Database ID to use (see m_sql)                         #
1074 #                                                                     #
1075 # See also: http://www.inspircd.org/wiki/SQL_Logging_Module           #
1076 #                                                                     #
1077 #<sqllog dbid="1">
1078
1079 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1080 # SQL oper module: Allows you to store oper credentials in an SQL table
1081 # You must copy the source for this module from the directory src/modules/extra
1082 #<module name="m_sqloper.so">
1083 #
1084 #-#-#-#-#-#-#-#-#-#-#- SQLOPER CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
1085 #                                                                     #
1086 # dbid       - Database ID to use (see m_sql)                         #
1087 #                                                                     #
1088 # See also: http://www.inspircd.org/wiki/SQL_Oper_Storage_Module      #
1089 #                                                                     #
1090 #<sqloper dbid="1">
1091
1092 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1093 # SWHOIS module: Allows you to add arbitary lines to user WHOIS.
1094 #<module name="m_swhois.so">
1095
1096 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1097 # Test command module: Does nothing significant. Read: pointless.
1098 #<module name="m_testcommand.so">
1099
1100 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1101 # Timed bans module: Adds timed bans and the /TBAN command
1102 #<module name="m_timedbans.so">
1103
1104 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1105 # Uninvite module: Adds the /UNINVITE command which lets users remove
1106 # pending invites from channels without waiting for the user to join.
1107 #<module name="m_uninvite.so">
1108
1109 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1110 # Userip module: Adds the /USERIP command
1111 #<module name="m_userip.so">
1112
1113 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1114 # Vhost module: Adds the VHOST command which allows for adding virtual
1115 # hosts which are accessible using a username and password in the config.
1116 #<module name="m_vhost.so">
1117 #
1118 #-#-#-#-#-#-#-#-#-#-#- VHOST CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#-#
1119 #                                                                     #
1120 # user       - Username for the vhost.                                #
1121 #                                                                     #
1122 # pass       - Password for the vhost.                                #
1123 #                                                                     #
1124 # host       - Vhost to set.                                          #
1125 #
1126 #<vhost user="some_username" pass="some_password" host="some.host">
1127
1128 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1129 # Watch module: Adds the WATCH command, which is used by clients to 
1130 # maintain notify lists.
1131 #<module name="m_watch.so">
1132
1133 #-#-#-#-#-#-#-#-#-#-#-#-#-#-  BAN OPTIONS  -#-#-#-#-#-#-#-#-#-#-#-#-#-#
1134 #                                                                     #
1135 # The ban tags define nick masks, host masks and ip ranges which are  #
1136 # banned from your server. All details in these tags are local to     #
1137 # Your server.                                                        #
1138 #                                                                     #
1139 #                                                                     #
1140 # badip lines ban an ip range (same as a zline)                       #
1141 #                                                                     #
1142 # ipmask       -          The ip range to ban (wildcards possible)    #
1143 # reason       -          Reason to display when disconnected         #
1144 #                                                                     #
1145 # badnick lines ban a nick mask (same as a qline)                     #
1146 #                                                                     #
1147 # nick         -          Nick mask to ban (wildcards possible)       #
1148 # reason       -          Reason to display on /NICK                  #
1149 #                                                                     #
1150 # badhost lines ban a user@host mask (same as a kline)                #
1151 #                                                                     #
1152 # host         -          ident@hostname (wildcards possible)         #
1153 # reason       -          Reason to display on disconnection          #
1154 #                                                                     #
1155 # exception lines define a hostmask that is excempt from [kzg]lines   #
1156 #                                                                     #
1157 # host         -          ident@hostname (wildcards possible)         #
1158 # reason       -          Reason, shown only in /stats e              #
1159 #                                                                     #
1160
1161 <badip ipmask="69.69.69.69" reason="No porn here thanks.">
1162
1163 <badnick nick="ChanServ" reason="Reserved For Services">
1164 <badnick nick="NickServ" reason="Reserved For Services">
1165 <badnick nick="OperServ" reason="Reserved For Services">
1166 <badnick nick="MemoServ" reason="Reserved For Services">
1167
1168 <badhost host="*@hundredz.n.hundredz.o.1337.kiddies.com" reason="Too many 1337 kiddiots">
1169 <badhost host="*@localhost" reason="No irc from localhost!">
1170
1171 <exception host="*@ircop.host.com" reason="Opers hostname">
1172
1173 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#- YAWN  -#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1174 #                                                                     #
1175 #   You should already know what to do here :)                        #
1176
1177 <die value="You should probably edit your config *PROPERLY* and try again.">
1178
1179
1180 #########################################################################
1181 #                                                                       #
1182 #                     - InspIRCd Development Team -                     #
1183 #                        http://www.inspircd.org                        #
1184 #                                                                       #
1185 #########################################################################