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