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