]> git.netwichtig.de Git - user/henk/code/inspircd.git/blob - docs/inspircd.conf.example
Tweak module help for m_conn_waitpong
[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 #  hideulines    - When you are using m_spanningtree.so, and this     #
538 #                  value is set to true, yes or 1, then U-lined       #
539 #                  servers will be hidden in /LINKS and /MAP. For non #
540 #                  opers. Please be aware that this will also hide    #
541 #                  any leaf servers of a U-lined server, e.g. jupes.  #
542 #                                                                     #
543
544 <options prefixquit="Quit: "
545          loglevel="default"
546          netbuffersize="10240"
547          maxwho="128"
548          noservices="0"
549          somaxconn="128"
550          softlimit="128"
551          operonlystats="oclgkz"
552          customversion=""
553          maxtargets="20"
554          hidesplits="no"
555          hidewhois=""
556          flatlinks="no"
557          hideulines="no"
558          allowhalfop="yes">
559
560
561
562 #-#-#-#-#-#-#-#-#-#-#-#-#-  MODULE OPTIONS   -#-#-#-#-#-#-#-#-#-#-#-#-#
563 #                                                                     #
564 #  These tags define which modules will be loaded on startup by your  #
565 #  server. Add modules without any paths. When you make your ircd     #
566 #  using the 'make' command, all compiled modules will be moved into  #
567 #  the folder you specified when you ran ./configure. The module tag  #
568 #  automatically looks for modules in this location.                  #
569 #  If you attempt to load a module outside of this location, either   #
570 #  in the config, or via /LOADMODULE, you will receive an error.      #
571 #                                                                     #
572 #  By default, ALL modules are commented out. You must uncomment them #
573 #  or add lines to your config to load modules. Please refer to       #
574 #  http://www.inspircd.org/wiki/Modules_List for a list of modules and#
575 #  each modules link for any additional conf tags they require.       #
576 #                                                                     #
577 #  WINDOWS USERS PLEASE NOTE: You can still load these modules! They  #
578 #  are incorporated into the executable and can be loaded and removed #
579 #  similarly to if they were in a ramdisk.                            #
580 #    ____                _   _____ _     _       ____  _ _   _        #
581 #   |  _ \ ___  __ _  __| | |_   _| |__ (_)___  | __ )(_) |_| |       #
582 #   | |_) / _ \/ _` |/ _` |   | | | '_ \| / __| |  _ \| | __| |       #
583 #   |  _ <  __/ (_| | (_| |   | | | | | | \__ \ | |_) | | |_|_|       #
584 #   |_| \_\___|\__,_|\__,_|   |_| |_| |_|_|___/ |____/|_|\__(_)       #
585 #                                                                     #
586 # To link servers to InspIRCd, you MUST load the m_spanningtree       #
587 # module, as shown below. If you DO NOT do this, server links will    #
588 # NOT work at all. ie. The ports will NOT bind, and /connect will not #
589 # work properly. This is by design, to allow for the implementation   #
590 # of other linking protocols in modules in the future.                #
591
592 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
593 # Spanning Tree module - allows linking of servers using the spanning
594 # tree protocol (see the READ THIS BIT section above).
595 #
596 #<module name="m_spanningtree.so">
597
598 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
599 # Alias module: Allows you to define server-side command aliases
600 #<module name="m_alias.so">
601 #
602 #-#-#-#-#-#-#-#-#-#-#-  ALIAS DEFINITIONS  -#-#-#-#-#-#-#-#-#-#-#-#-#-#
603 #                                                                     #
604 # If you have the m_alias.so module loaded, you may also define       #
605 # aliases as shown below. They are commonly used to provide shortcut  #
606 # commands to services, however they are not limited to jsut this use.#
607 # An alias tag requires the following values to be defined in it:     #
608 #                                                                     #
609 # text        -      The text to detect at the start of the line,     #
610 #                    must be at the start of the line to trigger the  #
611 #                    alias. May contain spaces, but case insensitive. #
612 # replace     -      The text to replace 'text' with. Usually this    #
613 #                    will be "PRIVMSG ServiceName" or similar.        #
614 # requires    -      If you provide a value for 'requires' this means #
615 #                    the given nickname MUST be online for the alias  #
616 #                    to successfully trigger. If they are not, then   #
617 #                    the user receives a 'no such nick' 401 numeric.  #
618 # uline       -      Defining this value with 'yes', 'true' or '1'    #
619 #                    will ensure that the user given in 'requires'    #
620 #                    must also be on a u-lined server, as well as     #
621 #                    actually being on the network. If the user is    #
622 #                    online, but not on a u-lined server, then an     #
623 #                    oper-alert is sent out as this is possibly signs #
624 #                    of a user trying to impersonate a service.       #
625 #                                                                     #
626 #<alias text="NICKSERV" replace="PRIVMSG NickServ" requires="NickServ" uline="yes">
627 #<alias text="CHANSERV" replace="PRIVMSG ChanServ" requires="ChanServ" uline="yes">
628 #<alias text="NS" replace="PRIVMSG NickServ" requires="NickServ" uline="yes">
629 #<alias text="CS" replace="PRIVMSG ChanServ" requires="ChanServ" uline="yes">
630
631 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
632 # Antibottler module: Labels bottler leech bots
633 #<module name="m_antibottler.so">
634
635 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
636 # Ban except module: Adds support for channel ban exceptions (+e)
637 #<module name="m_banexception.so">
638
639 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
640 # Block colour module: Blocking colour-coded messages with cmode +c
641 #<module name="m_blockcolor.so">
642
643 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
644 # Botmode module: Adds the user mode +B
645 #<module name="m_botmode.so">
646
647 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
648 # CBAN module: Lets you disallow channels from being used at runtime.
649 #<module name="m_cban.so">
650
651 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
652 # Censor module: Adds the channel mode +G
653 #<module name="m_censor.so">
654 #
655 #-#-#-#-#-#-#-#-#-#-#-  CENSOR  CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#-#
656 #                                                                     #
657 # Optional - If you specify to use the m_censor module, then specfiy  #
658 # below the path to the censor.conf file. See also:                   #
659 # Censor file, see http://www.inspircd.org/wiki/Censor_Module         #
660 #
661 #<censor file="/path/to/censor.conf">
662
663 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
664 # Channel filter module: Allows channel-op defined message
665 # filtering using simple string matches (channel mode +g)
666 #<module name="m_chanfilter.so">
667
668 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
669 # Chanprotect module: gives +q and +a channel modes
670 #<module name="m_chanprotect.so">
671
672 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
673 # CHGHOST module: Adds the /CHGHOST command
674 #<module name="m_chghost.so">
675
676 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
677 # CHGIDENT module: Adds the /CHGIDENT command
678 #<module name="m_chgident.so">
679
680 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
681 # Cloaking module: Adds usermode +x and cloaking support
682 #<module name="m_cloaking.so">
683
684 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
685 # Conn-Lusers: Shows the LUSERS output on connect
686 #<module name="m_conn_lusers.so">
687
688 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
689 # Conn-Wait-for-Pong: Don't let a user connect until they PONG
690 #<module name="m_conn_waitpong.so">
691 #
692 #-#-#-#-#-#-#-#-#-#-#-   WAITPONG CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
693 #                                                                     #
694 # If you have the m_conn_waitpong.so module loaded, configure it with #
695 # the <waitpong> tag:                                                 #
696 #                                                                     #
697 # sendsnotice    -   Whether to send a snotice on connect, like Unreal#
698 # killonbadreply -   Whether to kill the user if they send the wrong  #
699 #                    PONG reply.                                      #
700 #
701 #<waitpong sendsnotice="yes" killonbadreply="yes">
702
703 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
704 # Deny Channels: Deny Channels from being used by users
705 #<module name="m_denychans.so"> 
706 #
707 #-#-#-#-#-#-#-#-#-#-#-   DENYCHAN DEFINITIONS  -#-#-#-#-#-#-#-#-#-#-#-#
708 #                                                                     #
709 # If you have the m_denychans.so module loaded, you need to specify   #
710 # the channels to deny:
711 #                                                                     #
712 # name        -      The channel name to deny.                        #
713 # allowopers  -      If operators are allowed to override the deny.   #
714 # reason      -      Reason given for the deny.                       #
715 #
716 #<badchan name="#gods" allowopers="yes" reason="Tortoises!">
717
718 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
719 # Devoice Module: Let users devoice themselves.
720 #<module name="m_devoice.so">
721
722 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
723 # Filter module: Provides glob-based message filtering
724 #<module name="m_filter.so">
725 #OR
726 # PCRE filter module: Filters messages using regular expressions
727 #<module name="m_filter_pcre.so">
728 #
729 #-#-#-#-#-#-#-#-#-#-#-  FILTER  CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#-#
730 #                                                                     #
731 # Optional - If you specify to use the m_filter or m_filter_pcre      #
732 # modules, then specfiy below the path to the filter.conf file.       #
733 #
734 #<filter file="/path/to/inspircd/filter.conf">
735
736 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
737 # Foobar module - does nothing - historical relic
738 #<module name="m_foobar.so">
739
740 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
741 # Globops module: gives /GLOBOPS and usermode +g
742 #<module name="m_globops.so">
743
744 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
745 # Global load module: Allows loading and unloading of modules network-
746 # wide (USE WITH EXTREME CAUTION!)
747 #<module name="m_globalload.so">
748
749 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
750 # HELPOP module: Provides the /HELPOP command
751 #<module name="m_helpop.so">
752 #
753 #-#-#-#-#-#-#-#-#-#-#-#-  HELPOP  CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
754 #                                                                     #
755 # Optional - If you specify to use the m_helpop.so module, then       #
756 # specify below the path to the helpop.conf file.                     #
757 #
758 #<helpop file="/path/to/inspircd/helpop.conf">
759
760 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
761 # Hostchange module: Allows a different style of cloaking
762 #<module name="m_hostchange.so">
763 #
764 #-#-#-#-#-#-#-#-#-#-#-  HOSTCHANGE  CONFIGURATION  -#-#-#-#-#-#-#-#-#-#
765 #                                                                     #
766 # Optional - If you choose to use the m_hostchange.so module.         #
767 # Config Help -  See http://www.inspircd.org/wiki/Host_Changer_Module #
768 #
769 #<host suffix="polarbears.org">
770 #<hostchange mask="*@fbi.gov" action="addnick">
771 #<hostchange mask="*r00t@*" action="suffix">
772 #<hostchange mask="a@b.com" action="set" value="blah.blah.blah">
773
774 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
775 # Ident: Provides RFC 1413 ident lookup support
776 #<module name="m_ident.so">
777 #
778 #-#-#-#-#-#-#-#-#-#-#-#-   IDENT CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
779 #                                                                     #
780 # Optional - If you are using the m_ident.so module, then you can     #
781 # specify the timeout for ident lookups here. If not defined, it will #
782 # default to one second. This is a non-blocking timeout which holds   #
783 # the user in a 'connecting' state until the lookup is complete.      #
784 #
785 #<ident timeout="5">
786
787 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
788 # Invite except module: Adds support for channel invite exceptions (+I)
789 #<module name="m_inviteexception.so">
790
791 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
792 # Join flood module: Adds support for join flood protection (+j)
793 #<module name="m_joinflood.so">
794
795 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
796 # Anti-Auto-Rejoin: Adds support for prevention of auto-rejoin (+J)
797 #<module name="m_kicknorejoin.so">
798
799 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
800 # Knock module: adds the /KNOCK command and +K channel mode
801 #<module name="m_knock.so">
802
803 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
804 # Msg flood module: Adds message/notice flood protection (+f)
805 #<module name="m_messageflood.so">
806
807 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
808 # Nicklock module: Let opers change a user's nick and then stop that
809 # user from changing their nick again. /NICKLOCK and /NICKUNLOCK
810 #<module name="m_nicklock.so">
811
812 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
813 # No ctcp module: Adds the channel mode +C to block CTCPs
814 #<module name="m_noctcp.so">
815
816 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
817 # Noinvite module: Gives channel mode +V
818 #<module name="m_noinvite.so">
819
820 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
821 # No kicks module: Adds the +Q channel mode
822 #<module name="m_nokicks.so">
823
824 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
825 # No nicks module: Adds the +N channel mode
826 #<module name="m_nonicks.so">
827
828 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
829 # No Notice module: adds the channel mode +T
830 #<module name="m_nonotice.so">
831
832 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
833 # Oper channels mode: Adds the +O channel mode
834 #<module name="m_operchans.so">
835
836 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
837 # Oper Join module: Forces opers to join a channel on oper-up
838 #<module name="m_operjoin.so">
839 #
840 #-#-#-#-#-#-#-#-#-#-#   OPERJOIN CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
841 #                                                                     #
842 # If you are using the m_operjoin.so module, specify the channel here #
843 #
844 #<operjoin channel="#channel">
845
846 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
847 # Oper MOTD module: Provides support for seperate message of the day
848 # on oper-up
849 #<module name="m_opermotd.so">
850 #
851 #-#-#-#-#-#-#-#-#-#-#   OPERMOTD CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
852 #                                                                     #
853 # If you are using the m_opermotd.so module, specify the motd here    #
854 #
855 #<opermotd file="/path/to/oper.motd">
856
857 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
858 # Override module: Adds support for oper override
859 #<module name="m_override.so">
860 #
861 #-#-#-#-#-#-#-#-#-#-#   OVERRIDE CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
862 #                                                                     #
863 # m_override.so is too complex it describe here, see the wiki:        #
864 # http://www.inspircd.org/wiki/Oper_Override_Module                   #
865
866 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
867 # Oper levels module: Gives each oper a level and prevents
868 # actions being taken against higher level opers
869 # Specify the level as the 'level' parameter of the <type> tag
870 #<module name="m_operlevels.so">
871
872 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
873 # Oper MD5 module: Allows MD5 hashed oper passwords
874 #<module name="m_opermd5.so">
875
876 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
877 # Oper SHA256 module: Allows SHA256 hashed oper passwords
878 # This module is in src/modules/extra
879 #<module name="m_opersha256.so">
880
881 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
882 # Oper modes module: Allows you to specify modes to add/remove on oper
883 # Specify the modes as the 'modes' parameter of the <type> tag
884 #<module name="m_opermodes.so">
885
886 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
887 # Parking module: Adds parking support and /PARK and /UNPARK
888 #<module name="m_park.so">
889 #
890 #-#-#-#-#-#-#-#-#-#-#-#   PARK CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
891 #                                                                     #
892 # m_park.so is too complex it describe here, see the wiki:            #
893 # http://www.inspircd.org/wiki/User_Parking_Module                    #
894
895 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
896 # Random Quote module: provides a random quote on connect
897 #<module name="m_randquote.so">
898 #
899 #-#-#-#-#-#-#-#-#-#-  RANDOMQUOTES CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
900 #                                                                     #
901 # Optional - If you specify to use the m_randquote.so module, then    #
902 # specify below the path to the randquotes.conf file.                 #
903 #
904 #<randquote file="/path/to/inspircd/randquotes.conf">
905
906 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
907 # Redirect module: Adds channel redirection (mode +L)
908 #<module name="m_redirect.so">
909
910 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
911 # Remove module: Adds the /REMOVE command which is a peaceful
912 # alternative to /KICK
913 #<module name="m_remove.so">
914
915 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
916 # Restricted channels module: Allows only opers to create channels
917 #<module name="m_restrictchans.so">
918
919 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
920 # Restrict message module: Allows users to only message opers
921 #<module name="m_restrictmsg.so">
922
923 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
924 # SAJOIN module: Adds the /SAJOIN command
925 #<module name="m_sajoin.so">
926
927 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
928 # SAMODE module: Adds the oper /SAMODE command
929 #<module name="m_samode.so">
930
931 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
932 # SANICK module: Allows opers to change user's nicks
933 #<module name="m_sanick.so">
934
935 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
936 # SAPART module: Adds the oper /SAPART command
937 #<module name="m_sapart.so">
938
939 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
940 # SAQUIT module: Adds the oper /SAQUIT command (abusable!!!)
941 #<module name="m_saquit.so">
942
943 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
944 # Set Idle module: Adds a command for opers to change their
945 # idle time (mainly a toy)
946 #<module name="m_setidle.so">
947
948 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
949 # Services support module: Adds several usermodes such as +R and +M
950 #<module name="m_services.so">
951
952 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
953 # Sethost module: Adds the /SETHOST command
954 #<module name="m_sethost.so">
955
956 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
957 # Setident module: Adds the /SETIDENT command
958 #<module name="m_setident.so">
959
960 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
961 # SETNAME module: Adds the /SETNAME command
962 #<module name="m_setname.so">
963
964 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
965 # Show Whois module: Adds the +W usermode which allows opers
966 # to see when they are whois'ed
967 #<module name="m_showwhois.so">
968
969 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
970 # Spy module: Adds the commands SPYLIST and SPYNAMES that let opers
971 # see who is in a +s channel, and list +s channels, show keys of keyed
972 # channels the oper is not a member of etc. (standard 'abusive' features
973 # of unrealircd, modulized here in InspIRCd).
974 #<module name="m_spy.so">
975
976 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
977 # SSL channel mode module: Adds support for SSL-only channels (+z).
978 # does not do anything useful without a working SSL module (see below)
979 #<module name="m_sslmodes.so">
980
981 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
982 # GnuTLS ssl module: Adds support for client-server SSL using GnuTLS,
983 # if enabled. You must copy the source for this module from the directory
984 # src/modules/extra, or answer 'yes' in ./configure when asked if you
985 # want to enable this, or it will not load.
986 #<module name="m_ssl_gnutls.so">
987 #
988 #-#-#-#-#-#-#-#-#-#-#-  GNUTLS CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
989 #                                                                     #
990 # m_ssl_gnutls.so is too complex it describe here, see the wiki:      #
991 # http://www.inspircd.org/wiki/GnuTLS_SSL_Module                      #
992
993 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
994 # OpenSSL ssl module: Adds support for client-server SSL using OpenSSL,
995 # if enabled. You must copy the source for this module from the directory
996 # src/modules/extra, or answer 'yes' in ./configure when asked if you
997 # want to enable this, or it will not load.
998 #<module name="m_ssl_openssl.so">
999 #
1000 #-#-#-#-#-#-#-#-#-#-#- OPENSSL CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
1001 #                                                                     #
1002 # m_ssl_openssl.so is too complex it describe here, see the wiki:     #
1003 # http://www.inspircd.org/wiki/OpenSSL_SSL_Module                     #
1004
1005 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1006 # Strip colour module: Adds the channel mode +S
1007 #<module name="m_stripcolor.so">
1008
1009 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1010 # SILENCE module: Adds support for /SILENCE
1011 #<module name="m_silence.so">
1012
1013 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1014 # SQL module: Allows other SQL modules to access SQL databases
1015 # through a unified API. You must copy the source for this module
1016 # from the directory src/modules/extra
1017 #<module name="m_sql.so">
1018 #
1019 #-#-#-#-#-#-#-#-#-#-#-#- SQL CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#-#
1020 #                                                                     #
1021 # m_sql.so is more complex than described here, see the wiki for more:#
1022 # http://www.inspircd.org/wiki/SQL_Service_Provider_Module            #
1023 #
1024 #<database name="mydb" username="myuser" password="mypass" hostname="localhost" id="1">
1025
1026 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1027 # SQL authentication module: Allows IRCd connections to be tied into
1028 # a database table (for example a forum). You must copy the source for
1029 # this module from the directory src/modules/extra
1030 #<module name="m_sqlauth.so">
1031 #
1032 #-#-#-#-#-#-#-#-#-#-#- SQLAUTH CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
1033 #                                                                     #
1034 # m_sqlauth.so is too complex it describe here, see the wiki:         #
1035 # http://www.inspircd.org/wiki/SQL_Authentication_Module              #
1036
1037 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1038 # SQL logging module: Allows you to log network-wide data for your
1039 # network in a fully normalized set of SQL tables. You must copy the
1040 # source for this module from the directory src/modules/extra
1041 #<module name="m_sqllog.so">
1042 #
1043 #-#-#-#-#-#-#-#-#-#-#-  SQLLOG CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
1044 #                                                                     #
1045 # dbid       - Database ID to use (see m_sql)                         #
1046 #                                                                     #
1047 # See also: http://www.inspircd.org/wiki/SQL_Logging_Module           #
1048 #                                                                     #
1049 #<sqllog dbid="1">
1050
1051 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1052 # SQL oper module: Allows you to store oper credentials in an SQL table
1053 # You must copy the source for this module from the directory src/modules/extra
1054 #<module name="m_sqloper.so">
1055 #
1056 #-#-#-#-#-#-#-#-#-#-#- SQLOPER CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
1057 #                                                                     #
1058 # dbid       - Database ID to use (see m_sql)                         #
1059 #                                                                     #
1060 # See also: http://www.inspircd.org/wiki/SQL_Oper_Storage_Module      #
1061 #                                                                     #
1062 #<sqloper dbid="1">
1063
1064 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1065 # SWHOIS module: Allows you to add arbitary lines to user WHOIS.
1066 #<module name="m_swhois.so">
1067
1068 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1069 # Test command module: Does nothing significant. Read: pointless.
1070 #<module name="m_testcommand.so">
1071
1072 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1073 # Timed bans module: Adds timed bans and the /TBAN command
1074 #<module name="m_timedbans.so">
1075
1076 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1077 # Userip module: Adds the /USERIP command
1078 #<module name="m_userip.so">
1079
1080 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1081 # Vhost module: Adds the VHOST command which allows for adding virtual
1082 # hosts which are accessible using a username and password in the config.
1083 #<module name="m_vhost.so">
1084 #
1085 #-#-#-#-#-#-#-#-#-#-#- VHOST CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#-#
1086 #                                                                     #
1087 # user       - Username for the vhost.                                #
1088 #                                                                     #
1089 # pass       - Password for the vhost.                                #
1090 #                                                                     #
1091 # host       - Vhost to set.                                          #
1092 #
1093 #<vhost user="some_username" pass="some_password" host="some.host">
1094
1095 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1096 # Watch module: Adds the WATCH command, which is used by clients to 
1097 # maintain notify lists.
1098 #<module name="m_watch.so">
1099
1100 #-#-#-#-#-#-#-#-#-#-#-#-#-#-  BAN OPTIONS  -#-#-#-#-#-#-#-#-#-#-#-#-#-#
1101 #                                                                     #
1102 # The ban tags define nick masks, host masks and ip ranges which are  #
1103 # banned from your server. All details in these tags are local to     #
1104 # Your server.                                                        #
1105 #                                                                     #
1106 #                                                                     #
1107 # badip lines ban an ip range (same as a zline)                       #
1108 #                                                                     #
1109 # ipmask       -          The ip range to ban (wildcards possible)    #
1110 # reason       -          Reason to display when disconnected         #
1111 #                                                                     #
1112 # badnick lines ban a nick mask (same as a qline)                     #
1113 #                                                                     #
1114 # nick         -          Nick mask to ban (wildcards possible)       #
1115 # reason       -          Reason to display on /NICK                  #
1116 #                                                                     #
1117 # badhost lines ban a user@host mask (same as a kline)                #
1118 #                                                                     #
1119 # host         -          ident@hostname (wildcards possible)         #
1120 # reason       -          Reason to display on disconnection          #
1121 #                                                                     #
1122 # exception lines define a hostmask that is excempt from [kzg]lines   #
1123 #                                                                     #
1124 # host         -          ident@hostname (wildcards possible)         #
1125 # reason       -          Reason, shown only in /stats e              #
1126 #                                                                     #
1127
1128 <badip ipmask="69.69.69.69" reason="No porn here thanks.">
1129
1130 <badnick nick="ChanServ" reason="Reserved For Services">
1131 <badnick nick="NickServ" reason="Reserved For Services">
1132 <badnick nick="OperServ" reason="Reserved For Services">
1133 <badnick nick="MemoServ" reason="Reserved For Services">
1134
1135 <badhost host="*@hundredz.n.hundredz.o.1337.kiddies.com" reason="Too many 1337 kiddiots">
1136 <badhost host="*@localhost" reason="No irc from localhost!">
1137
1138 <exception host="*@ircop.host.com" reason="Opers hostname">
1139
1140 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#- YAWN  -#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1141 #                                                                     #
1142 #   You should already know what to do here :)                        #
1143
1144 <die value="You should probably edit your config *PROPERLY* and try again.">
1145
1146
1147 #########################################################################
1148 #                                                                       #
1149 #                     - InspIRCd Development Team -                     #
1150 #                        http://www.inspircd.org                        #
1151 #                                                                       #
1152 #########################################################################