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