]> git.netwichtig.de Git - user/henk/code/inspircd.git/blob - docs/inspircd.conf.example
e0047913f15b80859e6a2d8ba7a18b97206a6891
[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 # allowmask     - When this is defined, it indicates a range of IP    #
357 #                 addresses to allow for this link (in CIDR form).    #
358 #                 e.g. if your server is going to connect to you from #
359 #                 the range 1.2.3.1 through 1.2.3.255, put 1.2.3.0/24 #
360 #                 into this value. If it is not defined, then only    #
361 #                 the ipaddr field of the server shall be allowed.    #
362 #                                                                     #
363 # to u:line a server (give it extra privilages required for running   #
364 # services, Q, etc) you must include the <uline server> tag as shown  #
365 # in the example below. You can have as many of these as you like.    #
366 #                                                                     #
367 # WARNING: Unlike other ircds, u:lining a server allows ALL users on  #
368 # that server to operoverride modes. This should only be used for     #
369 # services and protected oper servers!                                #
370 #                                                                     #
371 # NOTE: If you have built InspIRCd with IPV6 support, and you want    #
372 # to link to an IPV4 server, you must specify the IP address in the   #
373 # form '::ffff:1.2.3.4' where 1.2.3.4 is the IP address of the target #
374 # server. If you have built InspIRCd for IPV4 (this is the default)   #
375 # you should not prefix your IP addresses in this fashion.            #
376 #                                                                     #
377 #    ____                _   _____ _     _       ____  _ _   _        #
378 #   |  _ \ ___  __ _  __| | |_   _| |__ (_)___  | __ )(_) |_| |       #
379 #   | |_) / _ \/ _` |/ _` |   | | | '_ \| / __| |  _ \| | __| |       #
380 #   |  _ <  __/ (_| | (_| |   | | | | | | \__ \ | |_) | | |_|_|       #
381 #   |_| \_\___|\__,_|\__,_|   |_| |_| |_|_|___/ |____/|_|\__(_)       #
382 #                                                                     #
383 #  If you want to link servers to InspIRCd you must load the          #
384 #  m_spanningtree module! Please see the modules list below for       #
385 #  information on how to load this module! If you do not load this    #
386 #  module, server links will NOT work!                                #
387 #                                                                     #
388
389 <link name="hub.penguin.org"
390         ipaddr="penguin.box.com"
391         port="7000"
392         allowmask="69.58.44.0/24"
393         autoconnect="300"
394         sendpass="outgoing!password"
395         recvpass="incoming!password">
396
397 <link name="services.antarctic.com"
398         ipaddr="localhost"
399         port="7000"
400         allowmask="127.0.0.0/8"
401         sendpass="penguins"
402         recvpass="polarbears">
403
404 <uline server="services.antarctic.com">
405
406
407 #-#-#-#-#-#-#-#-#-#-  MISCELLANEOUS CONFIGURATION  -#-#-#-#-#-#-#-#-#-#
408 #                                                                     #
409 #   These options let you define the path to your motd and rules      #
410 #   files.                                                            #
411 #                                                                     #
412
413 <files  motd="/home/cc/inspircd/conf/inspircd.motd"
414         rules="/home/cc/inspircd/conf/inspircd.rules">
415
416 #-#-#-#-#-#-#-#-#-#-#-#-#-#-# DNS SERVER -#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
417 #                                                                     #
418 # Define your DNS server address here. InspIRCd has its own resolver. #
419 # If you do not define this value, the first dns server from your     #
420 # /etc/resolv.conf file is read. If no entries are found in this file #
421 # or the file cannot be opened, the default value '127.0.0.1' is used #
422 # instead. The timeout value is in seconds.                           #
423 #                                                                     #
424 #    ____                _   _____ _     _       ____  _ _   _        #
425 #   |  _ \ ___  __ _  __| | |_   _| |__ (_)___  | __ )(_) |_| |       #
426 #   | |_) / _ \/ _` |/ _` |   | | | '_ \| / __| |  _ \| | __| |       #
427 #   |  _ <  __/ (_| | (_| |   | | | | | | \__ \ | |_) | | |_|_|       #
428 #   |_| \_\___|\__,_|\__,_|   |_| |_| |_|_|___/ |____/|_|\__(_)       #
429 #                                                                     #
430 # When choosing a server, be sure to choose one which will do a       #
431 # RECURSIVE LOOKUP. InspIRCd's resolver does not currently do these   #
432 # recursive lookups itself, to save time and resources. The dns       #
433 # server recommended by the InspIRCd team is bind, available from the #
434 # ISC website. If your DNS server does not do a recursive lookup, you #
435 # will be able to notice this by the fact that none of your users are #
436 # resolving even though the DNS server appears to be up! Most ISP and #
437 # hosting provider DNS servers support recursive lookups.             #
438 #                                                                     #
439 # NOTE: If you have built InspIRCd with IPV6 support, and you want    #
440 # to use an IPV4 nameserver, you must specify the IP address in the   #
441 # form '::ffff:1.2.3.4' where 1.2.3.4 is the IP address of the target #
442 # server. If you have built InspIRCd for IPV4 (this is the default)   #
443 # you should not prefix your IP addresses in this fashion.            #
444 #                                                                     #
445 # IF YOUR RESOLV.CONF CONTAINS ONLY IPV4 ADDRESSES, AND YOU ARE USING #
446 # IPV6, YOU MUST DEFINE THE <DNS SERVER> TAG, AND USE THE ::FFFF      #
447 # PREFIX NOTATION. IF YOU DO NOT, HOSTS WILL *NOT* RESOLVE.           #
448 #                                                                     #
449
450 <dns server="127.0.0.1" timeout="5">
451
452 # An example of using IPV4 nameservers over IPV6
453 #<dns server="::ffff:127.0.0.1" timeout="5">
454
455 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#  PID FILE  -#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
456 #                                                                     #
457 # Define the path to the PID file here. The PID file can be used to   #
458 # rehash the ircd from the shell or to terminate the ircd from the    #
459 # shell using shell scripts, perl scripts etc, and to monitor the     #
460 # ircd's state via cron jobs.                                         #
461 #                                                                     #
462
463 <pid file="/path/to/inspircd.pid">
464
465 #-#-#-#-#-#-#-#-#-#-#-#-#- BANLIST LIMITS #-#-#-#-#-#-#-#-#-#-#-#-#-#-#
466 #                                                                     #
467 # Use these tags to customise the ban limits on a per channel basis.  #
468 # the tags are read from top to bottom, and any tag found which       #
469 # matches the channels name applies the banlimit to that channel.     #
470 # It is advisable to put an entry with the channel as '*' at the      #
471 # bottom of the list. If none are specified or no maxbans tag is      #
472 # matched, the banlist size defaults to 64 entries.                   #
473 #                                                                     #
474
475 <banlist chan="#morons" limit="128">
476 <banlist chan="*" limit="69">
477
478 #-#-#-#-#-#-#-#-#-#-#-  DISABLED COMMANDS  -#-#-#-#-#-#-#-#-#-#-#-#-#-#
479 #                                                                     #
480 # This tag is optional, and specifies one or more commands which are  #
481 # not available to non-operators. For example you may wish to disable #
482 # NICK and prevent non-opers from changing their nicknames.           #
483 # Note that any disabled commands take effect only after the user has #
484 # 'registered' (e.g. after the initial USER/NICK/PASS on connection)  #
485 # so for example disabling NICK will not cripple your network.        #
486 #                                                                     #
487
488 #<disabled commands="TOPIC MODE">
489
490
491 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-  RTFM LINE  -#-#-#-#-#-#-#-#-#-#-#-#-#-#
492 #                                                                     #
493 #   Just remove this... Its here to make you read ALL of the config   #
494 #   file options ;)                                                   #
495
496 <die value="You should probably edit your config *PROPERLY* and try again.">
497
498
499
500 #-#-#-#-#-#-#-#-#-#-#-#-#-  SERVER OPTIONS   -#-#-#-#-#-#-#-#-#-#-#-#-#
501 #                                                                     #
502 #   Settings to define which features are useable on your server.     #
503 #                                                                     #
504 #  prefixquit    - a prefix for a client's quit message               #
505 #                                                                     #
506 #  loglevel      - specifies what detail of messages to log in the    #
507 #                  log file. You may select from debug, verbose,      #
508 #                  default, sparse and none.                          #
509 #                                                                     #
510 #  allowhalfop   - allows the +h channel mode                         #
511 #                                                                     #
512 #  noservices    - If noservices is true, yes, or 1, then the first   #
513 #                  user into a channel gets founder status. This is   #
514 #                  only useful on networks running the m_chanprotect  #
515 #                  module without services.                           #
516 #                                                                     #
517 #  netbuffersize - size of the buffer used to receive data from       #
518 #                  clients. The ircd may only read() this amount      #
519 #                  of text in one go at any time. (OPTIONAL)          #
520 #                                                                     #
521 #  maxwho        - The maximum number of results returned by a /WHO   #
522 #                  query. This is to prevent /WHO being used as a     #
523 #                  spam vector or means of flooding an ircd. The      #
524 #                  default is 128, it is not recommended to raise it  #
525 #                  above 1024. Values up to 65535 are permitted.      #
526 #                                                                     #
527 #  somaxconn     - The maximum number of sockets that may be waiting  #
528 #                  in the accept queue. This usually allows the ircd  #
529 #                  to soak up more connections in a shorter space of  #
530 #                  time when increased but please be aware there is a #
531 #                  system defined maximum value to this, the same way #
532 #                  there is a system defined maximum number of file   #
533 #                  descriptors. Some systems may only allow this to   #
534 #                  be up to 5 (ugh) while others such as FreeBSD will #
535 #                  default to a much nicer 128.                       #
536 #                                                                     #
537 #  moduledir     - This optional value indicates a runtime change of  #
538 #                  the location where modules are to be found. This   #
539 #                  does not add a supplementary directory. There can  #
540 #                  only be one module path.                           #
541 #                                                                     #
542 #  softlimit     - This optional feature allows a defined softlimit.  #
543 #                  if defined sets a soft maxconnections value, has   #
544 #                  to be less than the ./configure maxclients         #
545 #                                                                     #
546 #  operonlystats - The operonlystats field is optional and specifies  #
547 #                  which stats characters in /STATS may only be       #
548 #                  requested by an IRC operator. Stats characters in  #
549 #                  this field are case sensitive and enforced as      #
550 #                  oper-only independent of if they are in a module   #
551 #                  or the core.                                       #
552 #                                                                     #
553 #  operspywhois  - If this is set then when an IRC operator uses      #
554 #                  /WHOIS on a user they will see all channels, even  #
555 #                  ones if channels are secret (+s), private (+p) or  #
556 #                  if the target user is invisible +i.                #
557 #                                                                     #
558 #  customversion - If you specify this configuration item, and it is  #
559 #                  not set to an empty value, then when a user does   #
560 #                  a /VERSION command on the ircd, this string will   #
561 #                  be displayed as the second portion of the output,  #
562 #                  replacing the system 'uname', compile flags and    #
563 #                  socket engine/dns engine names. You may use this   #
564 #                  to enhance security, or simply for vanity.         #
565 #                                                                     #
566 #  maxtargets    - The maxtargets field is optional, and if not       #
567 #                  defined, defaults to 20. It indicates the maximum  #
568 #                  number of targets which may be given to commands   #
569 #                  such as PRIVMSG, KICK etc.                         #
570 #                                                                     #
571 #  hidesplits    - When set to 'yes', will hide split server names    #
572 #                  from non-opers. Non-opers will see '*.net *.split' #
573 #                  instead of the server names in the quit message,   #
574 #                  identical to the way IRCu displays them.           #
575 #                                                                     #
576 #  hidebans      - When set to 'yes', will hide gline, kline, zline   #
577 #                  and qline quit messages from non-opers. For        #
578 #                  example, user A who is not an oper will just see   #
579 #                  (G-Lined) while user B who is an oper will see the #
580 #                  text (G-Lined: Reason here) instead.               #
581 #                                                                     #
582 #  hidewhois     - When defined with a non-empty value, the given     #
583 #                  text will be used in place of the user's server    #
584 #                  in WHOIS, when a user is WHOISed by a non-oper.    #
585 #                  For example, most nets will want to set this to    #
586 #                  something like '*.netname.net' to conceal the      #
587 #                  actual server the user is on.                      #
588 #                                                                     #
589 #  flatlinks     - When you are using m_spanningtree.so, and this     #
590 #                  value is set to true, yes or 1, /MAP and /LINKS    #
591 #                  will be flattened when shown to a non-oper.        #
592 #                                                                     #
593 #  hideulines    - When you are using m_spanningtree.so, and this     #
594 #                  value is set to true, yes or 1, then U-lined       #
595 #                  servers will be hidden in /LINKS and /MAP. For non #
596 #                  opers. Please be aware that this will also hide    #
597 #                  any leaf servers of a U-lined server, e.g. jupes.  #
598 #                                                                     #
599 #  tempdir       - If defined, indicates a path where modules will be #
600 #                  temporarily copied before loading. If not defined, #
601 #                  defaults to /tmp.                                  #
602 #                                                                     #
603 #  nouserdns     - If set to 'yes', 'true' or '1', no user dns        #
604 #                  lookups will be performed for connecting users.    #
605 #                  this can save a lot of resources on very busy irc  #
606 #                  servers.                                           #
607 #                                                                     #
608 #  syntaxhints   - If et to 'yes', 'true' or '1', when a user does    #
609 #                  not give enough parameters for a command, a syntax #
610 #                  hint will be given (using the RPL_TEXT numeric)    #
611 #                  as well as the standard ERR_NEEDMOREPARAMS.        #
612 #                                                                     #
613
614 <options prefixquit="Quit: "
615          loglevel="default"
616          netbuffersize="10240"
617          maxwho="128"
618          noservices="0"
619          somaxconn="128"
620          softlimit="128"
621          operonlystats="oclgkz"
622          operspywhois="no"
623          customversion=""
624          maxtargets="20"
625          hidesplits="no"
626          hidebans="no"
627          hidewhois=""
628          flatlinks="no"
629          hideulines="no"
630          nouserdns="no"
631          syntaxhints="no"
632          allowhalfop="yes">
633
634
635
636 #-#-#-#-#-#-#-#-#-#-#-#-#-  MODULE OPTIONS   -#-#-#-#-#-#-#-#-#-#-#-#-#
637 #                                                                     #
638 #  These tags define which modules will be loaded on startup by your  #
639 #  server. Add modules without any paths. When you make your ircd     #
640 #  using the 'make' command, all compiled modules will be moved into  #
641 #  the folder you specified when you ran ./configure. The module tag  #
642 #  automatically looks for modules in this location.                  #
643 #  If you attempt to load a module outside of this location, either   #
644 #  in the config, or via /LOADMODULE, you will receive an error.      #
645 #                                                                     #
646 #  By default, ALL modules are commented out. You must uncomment them #
647 #  or add lines to your config to load modules. Please refer to       #
648 #  http://www.inspircd.org/wiki/Modules_List for a list of modules and#
649 #  each modules link for any additional conf tags they require.       #
650 #                                                                     #
651 #  WINDOWS USERS PLEASE NOTE: You can still load these modules! They  #
652 #  are incorporated into the executable and can be loaded and removed #
653 #  similarly to if they were in a ramdisk.                            #
654 #    ____                _   _____ _     _       ____  _ _   _        #
655 #   |  _ \ ___  __ _  __| | |_   _| |__ (_)___  | __ )(_) |_| |       #
656 #   | |_) / _ \/ _` |/ _` |   | | | '_ \| / __| |  _ \| | __| |       #
657 #   |  _ <  __/ (_| | (_| |   | | | | | | \__ \ | |_) | | |_|_|       #
658 #   |_| \_\___|\__,_|\__,_|   |_| |_| |_|_|___/ |____/|_|\__(_)       #
659 #                                                                     #
660 # To link servers to InspIRCd, you MUST load the m_spanningtree       #
661 # module, as shown below. If you DO NOT do this, server links will    #
662 # NOT work at all. ie. The ports will NOT bind, and /connect will not #
663 # work properly. This is by design, to allow for the implementation   #
664 # of other linking protocols in modules in the future.                #
665
666 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
667 # Spanning Tree module - allows linking of servers using the spanning
668 # tree protocol (see the READ THIS BIT section above).
669 #
670 #<module name="m_spanningtree.so">
671
672 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
673 # Alias module: Allows you to define server-side command aliases
674 #<module name="m_alias.so">
675 #
676 #-#-#-#-#-#-#-#-#-#-#-  ALIAS DEFINITIONS  -#-#-#-#-#-#-#-#-#-#-#-#-#-#
677 #                                                                     #
678 # If you have the m_alias.so module loaded, you may also define       #
679 # aliases as shown below. They are commonly used to provide shortcut  #
680 # commands to services, however they are not limited to jsut this use.#
681 # An alias tag requires the following values to be defined in it:     #
682 #                                                                     #
683 # text        -      The text to detect at the start of the line,     #
684 #                    must be at the start of the line to trigger the  #
685 #                    alias. Cant contain spaces, but case insensitive #
686 # replace     -      The text to replace 'text' with. Usually this    #
687 #                    will be "PRIVMSG ServiceName" or similar.        #
688 # requires    -      If you provide a value for 'requires' this means #
689 #                    the given nickname MUST be online for the alias  #
690 #                    to successfully trigger. If they are not, then   #
691 #                    the user receives a 'no such nick' 401 numeric.  #
692 # uline       -      Defining this value with 'yes', 'true' or '1'    #
693 #                    will ensure that the user given in 'requires'    #
694 #                    must also be on a u-lined server, as well as     #
695 #                    actually being on the network. If the user is    #
696 #                    online, but not on a u-lined server, then an     #
697 #                    oper-alert is sent out as this is possibly signs #
698 #                    of a user trying to impersonate a service.       #
699 #                                                                     #
700 #<alias text="NICKSERV" replace="PRIVMSG NickServ" requires="NickServ" uline="yes">
701 #<alias text="CHANSERV" replace="PRIVMSG ChanServ" requires="ChanServ" uline="yes">
702 #<alias text="NS" replace="PRIVMSG NickServ" requires="NickServ" uline="yes">
703 #<alias text="CS" replace="PRIVMSG ChanServ" requires="ChanServ" uline="yes">
704
705 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
706 # Antibear security module: Prevents 'bear.txt' based trojans from
707 # connecting to your network by sending them a numeric they can't handle.
708 #<module name="m_antibear.so">
709
710 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
711 # Antibottler module: Labels bottler leech bots
712 #<module name="m_antibottler.so">
713
714 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
715 # Ban except module: Adds support for channel ban exceptions (+e)
716 #<module name="m_banexception.so">
717
718 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
719 # Block amsg module: Attempt to block all usage of /amsg and /ame
720 #<module name="m_blockamsg.so">
721 #
722 #-#-#-#-#-#-#-#-#-#-#-  BLOCKAMSG CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
723 #                                                                     #
724 # If you have the m_blockamsg.so module loaded, you can configure it  #
725 # with the <blockamsg> tag:                                           #
726 #                                                                     #
727 # delay          -   How many seconds between two messages to force   #
728 #                    them to be recognised as unrelated.              #
729 # action         -   Any of 'notice', 'noticeopers', 'silent', 'kill' #
730 #                    or 'killopers'. Define how to take action when   #
731 #                    a user uses /amsg or /ame.                       #
732 #
733 #<blockamsg delay="3" action="killopers">
734
735 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
736 # Block CAPS module: Blocking all-CAPS messages with cmode +P
737 #<module name="m_blockcaps.so">
738
739 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
740 # Block colour module: Blocking colour-coded messages with cmode +c
741 #<module name="m_blockcolor.so">
742
743 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
744 # Botmode module: Adds the user mode +B
745 #<module name="m_botmode.so">
746
747 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
748 # CBAN module: Lets you disallow channels from being used at runtime.
749 #<module name="m_cban.so">
750
751 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
752 # Censor module: Adds the channel mode +G
753 #<module name="m_censor.so">
754 #
755 #-#-#-#-#-#-#-#-#-#-#-  CENSOR  CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#-#
756 #                                                                     #
757 # Optional - If you specify to use the m_censor module, then specfiy  #
758 # below the path to the censor.conf file. See also:                   #
759 # Censor file, see http://www.inspircd.org/wiki/Censor_Module         #
760 #
761 #<censor file="/path/to/censor.conf">
762
763 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
764 # Channel filter module: Allows channel-op defined message
765 # filtering using simple string matches (channel mode +g)
766 #<module name="m_chanfilter.so">
767
768 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
769 # Chanprotect module: gives +q and +a channel modes
770 #<module name="m_chanprotect.so">
771
772 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
773 # CHGHOST module: Adds the /CHGHOST command
774 #<module name="m_chghost.so">
775
776 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
777 # CHGIDENT module: Adds the /CHGIDENT command
778 #<module name="m_chgident.so">
779
780 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
781 # Cloaking module: Adds usermode +x and cloaking support
782 #<module name="m_cloaking.so">
783 #
784 #-#-#-#-#-#-#-#-#-#-#- CLOAKING  CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
785 #                                                                     #
786 # Optional - If ypu specify the m_cloaking.so module as above, you    #
787 # must define cloak keys, and optionally a cloak prefix as shown      #
788 # below. When using cloaking, the cloak keys are MANDITORY and must   #
789 # be included. However, if prefix is not included, it will default    #
790 # to your networks name from the <server> tag.                        #
791 #                                                                     #
792 # <cloak key1="-543241423"                                            #
793 #        key2="5378410432"                                            #
794 #        key3="1143242382"                                            #
795 #        key4="9504324581"                                            #
796 #        prefix="mynet">                                              #
797 #                                                                     #
798 # Please note that the key values will accept any number, positive    #
799 # or negative, and should be large numbers. Using small numbers such  #
800 # as "7" or "1924" will seriously weaken the security of your cloak.  #
801
802 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
803 # Conn-Lusers: Shows the LUSERS output on connect
804 #<module name="m_conn_lusers.so">
805
806 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
807 # Conn-Wait-for-Pong: Don't let a user connect until they PONG
808 #<module name="m_conn_waitpong.so">
809 #
810 #-#-#-#-#-#-#-#-#-#-#-   WAITPONG CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
811 #                                                                     #
812 # If you have the m_conn_waitpong.so module loaded, configure it with #
813 # the <waitpong> tag:                                                 #
814 #                                                                     #
815 # sendsnotice    -   Whether to send a snotice on connect, like Unreal#
816 # killonbadreply -   Whether to kill the user if they send the wrong  #
817 #                    PONG reply.                                      #
818 #
819 #<waitpong sendsnotice="yes" killonbadreply="yes">
820
821 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
822 # Connection throttle module. Configuration:
823 #<module name="m_connflood.so">
824 #
825 #-#-#-#-#-#-#-#-#-#-#- CONTHROTTLE CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
826 #  seconds, maxconns -  Amount of connections per <seconds>.
827 #  timeout           -  Time to wait after the throttle was activated
828 #                       before deactivating it. Be aware that the time
829 #                       is seconds + timeout.
830 #  quitmsg           -  The message that users get if they attempt to
831 #                       connect while the throttle is active.
832 #  bootwait          -  Amount of time to wait before enforcing the
833 #                       throttling when the server just booted.
834 #
835 #<connflood seconds="30" maxconns="3" timeout="30"
836 #   quitmsg="Throttled" bootwait="10">
837
838 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
839 # Deny Channels: Deny Channels from being used by users
840 #<module name="m_denychans.so"> 
841 #
842 #-#-#-#-#-#-#-#-#-#-#-   DENYCHAN DEFINITIONS  -#-#-#-#-#-#-#-#-#-#-#-#
843 #                                                                     #
844 # If you have the m_denychans.so module loaded, you need to specify   #
845 # the channels to deny:
846 #                                                                     #
847 # name        -      The channel name to deny.                        #
848 # allowopers  -      If operators are allowed to override the deny.   #
849 # reason      -      Reason given for the deny.                       #
850 #
851 #<badchan name="#gods" allowopers="yes" reason="Tortoises!">
852
853 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
854 # Devoice Module: Let users devoice themselves.
855 #<module name="m_devoice.so">
856
857 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
858 # Filter module: Provides glob-based message filtering
859 #<module name="m_filter.so">
860 #OR
861 # PCRE filter module: Filters messages using regular expressions
862 #<module name="m_filter_pcre.so">
863 #
864 #-#-#-#-#-#-#-#-#-#-#-  FILTER  CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#-#
865 #                                                                     #
866 # Optional - If you specify to use the m_filter or m_filter_pcre      #
867 # modules, then specfiy below the path to the filter.conf file.       #
868 #
869 #<filter file="/path/to/inspircd/filter.conf">
870
871 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
872 # Foobar module - does nothing - historical relic
873 #<module name="m_foobar.so">
874
875 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
876 # Globops module: gives /GLOBOPS and usermode +g
877 #<module name="m_globops.so">
878
879 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
880 # Global load module: Allows loading and unloading of modules network-
881 # wide (USE WITH EXTREME CAUTION!)
882 #<module name="m_globalload.so">
883
884 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
885 # HELPOP module: Provides the /HELPOP command
886 #<module name="m_helpop.so">
887 #
888 #-#-#-#-#-#-#-#-#-#-#-#-  HELPOP  CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
889 #                                                                     #
890 # Optional - If you specify to use the m_helpop.so module, then       #
891 # specify below the path to the helpop.conf file.                     #
892 #
893 #<helpop file="/path/to/inspircd/helpop.conf">
894
895 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
896 # Hostchange module: Allows a different style of cloaking
897 #<module name="m_hostchange.so">
898 #
899 #-#-#-#-#-#-#-#-#-#-#-  HOSTCHANGE  CONFIGURATION  -#-#-#-#-#-#-#-#-#-#
900 #                                                                     #
901 # Optional - If you choose to use the m_hostchange.so module.         #
902 # Config Help -  See http://www.inspircd.org/wiki/Host_Changer_Module #
903 #
904 #<host suffix="polarbears.org">
905 #<hostchange mask="*@fbi.gov" action="addnick">
906 #<hostchange mask="*r00t@*" action="suffix">
907 #<hostchange mask="a@b.com" action="set" value="blah.blah.blah">
908
909 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
910 # httpd module: Provides http server support for InspIRCd
911 #<module name="m_httpd.so">
912 #
913 #-#-#-#-#-#-#-#-#-#-#-#-  HTTPD   CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
914 #
915 # Optional - If you choose to use the m_httpd.so module,  then you must
916 # specify the port number and other details of your http server:
917 #
918 #<http ip="192.168.1.10" host="brainwave" port="32006" index="/home/brain/inspircd/http/index.html">
919 #
920
921 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
922 # http stats module: Provides basic stats pages over HTTP
923 # Required m_httpd.so
924 #<module name="m_http_stats.so">
925 #
926 #-#-#-#-#-#-#-#-#-#-#-#- HTTPD STATS CONFIGURATION -#-#-#-#-#-#-#-#-#-#
927 #
928 # No extra configuration yet.
929 #
930
931 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
932 # Ident: Provides RFC 1413 ident lookup support
933 #<module name="m_ident.so">
934 #
935 #-#-#-#-#-#-#-#-#-#-#-#-   IDENT CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
936 #                                                                     #
937 # Optional - If you are using the m_ident.so module, then you can     #
938 # specify the timeout for ident lookups here. If not defined, it will #
939 # default to one second. This is a non-blocking timeout which holds   #
940 # the user in a 'connecting' state until the lookup is complete.      #
941 #
942 #<ident timeout="5">
943
944 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
945 # Invite except module: Adds support for channel invite exceptions (+I)
946 #<module name="m_inviteexception.so">
947
948 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
949 # Join flood module: Adds support for join flood protection (+j)
950 #<module name="m_joinflood.so">
951
952 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
953 # Anti-Auto-Rejoin: Adds support for prevention of auto-rejoin (+J)
954 #<module name="m_kicknorejoin.so">
955
956 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
957 # Knock module: adds the /KNOCK command and +K channel mode
958 #<module name="m_knock.so">
959
960 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
961 # Msg flood module: Adds message/notice flood protection (+f)
962 #<module name="m_messageflood.so">
963
964 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
965 # MySQL module: Allows other SQL modules to access MySQL databases
966 # through a unified API. You must copy the source for this module
967 # from the directory src/modules/extra, plus the file m_sqlv2.h
968 #<module name="m_mysql.so">
969 #
970 #-#-#-#-#-#-#-#-#-#-#-#- SQL CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#-#
971 #                                                                     #
972 # m_mysql.so is more complex than described here, see the wiki for    #
973 # more: http://www.inspircd.org/wiki/SQL_Service_Provider_Module      #
974 #
975 #<database name="mydb" username="myuser" password="mypass" hostname="localhost" id="my_database2">
976
977 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
978 # Nicklock module: Let opers change a user's nick and then stop that
979 # user from changing their nick again. /NICKLOCK and /NICKUNLOCK
980 #<module name="m_nicklock.so">
981
982 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
983 # No ctcp module: Adds the channel mode +C to block CTCPs
984 #<module name="m_noctcp.so">
985
986 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
987 # Noinvite module: Gives channel mode +V
988 #<module name="m_noinvite.so">
989
990 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
991 # No kicks module: Adds the +Q channel mode
992 #<module name="m_nokicks.so">
993
994 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
995 # No nicks module: Adds the +N channel mode
996 #<module name="m_nonicks.so">
997
998 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
999 # No Notice module: adds the channel mode +T
1000 #<module name="m_nonotice.so">
1001
1002 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1003 # Oper channels mode: Adds the +O channel mode
1004 #<module name="m_operchans.so">
1005
1006 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1007 # Oper Join module: Forces opers to join a channel on oper-up
1008 #<module name="m_operjoin.so">
1009 #
1010 #-#-#-#-#-#-#-#-#-#-#   OPERJOIN CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
1011 #                                                                     #
1012 # If you are using the m_operjoin.so module, specify the channel here #
1013 #
1014 #<operjoin channel="#channel">
1015
1016 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1017 # Oper MOTD module: Provides support for seperate message of the day
1018 # on oper-up
1019 #<module name="m_opermotd.so">
1020 #
1021 #-#-#-#-#-#-#-#-#-#-#   OPERMOTD CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
1022 #                                                                     #
1023 # If you are using the m_opermotd.so module, specify the motd here    #
1024 #
1025 #<opermotd file="/path/to/oper.motd">
1026
1027 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1028 # Override module: Adds support for oper override
1029 #<module name="m_override.so">
1030 #
1031 #-#-#-#-#-#-#-#-#-#-#   OVERRIDE CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
1032 #                                                                     #
1033 # m_override.so is too complex it describe here, see the wiki:        #
1034 # http://www.inspircd.org/wiki/Oper_Override_Module                   #
1035
1036 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1037 # Oper levels module: Gives each oper a level and prevents
1038 # actions being taken against higher level opers
1039 # Specify the level as the 'level' parameter of the <type> tag
1040 #<module name="m_operlevels.so">
1041
1042 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1043 # Oper MD5 module: Allows MD5 hashed oper passwords
1044 #<module name="m_opermd5.so">
1045
1046 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1047 # Oper SHA256 module: Allows SHA256 hashed oper passwords
1048 # This module is in src/modules/extra
1049 #<module name="m_opersha256.so">
1050
1051 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1052 # Oper modes module: Allows you to specify modes to add/remove on oper
1053 # Specify the modes as the 'modes' parameter of the <type> tag
1054 #<module name="m_opermodes.so">
1055
1056 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1057 # Parking module: Adds parking support and /PARK and /UNPARK
1058 #<module name="m_park.so">
1059 #
1060 #-#-#-#-#-#-#-#-#-#-#-#   PARK CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
1061 #                                                                     #
1062 # m_park.so is too complex it describe here, see the wiki:            #
1063 # http://www.inspircd.org/wiki/User_Parking_Module                    #
1064
1065 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1066 # PostgreSQL module: Allows other SQL modules to access PgSQL databases
1067 # through a unified API. You must copy the source for this module
1068 # from the directory src/modules/extra, plus the file m_sqlv2.h
1069 #<module name="m_pgsql.so">
1070 #
1071 #-#-#-#-#-#-#-#-#-#-#-#- SQL CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#-#
1072 #                                                                     #
1073 # m_pgsql.so is more complex than described here, see the wiki for    #
1074 # more: http://www.inspircd.org/wiki/SQL_Service_Provider_Module      #
1075 #
1076 #<database name="mydb" username="myuser" password="mypass" hostname="localhost" id="my_database" ssl="no">
1077
1078 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1079 # Random Quote module: provides a random quote on connect
1080 #<module name="m_randquote.so">
1081 #
1082 #-#-#-#-#-#-#-#-#-#-  RANDOMQUOTES CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
1083 #                                                                     #
1084 # Optional - If you specify to use the m_randquote.so module, then    #
1085 # specify below the path to the randquotes.conf file.                 #
1086 #
1087 #<randquote file="/path/to/inspircd/randquotes.conf">
1088
1089 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1090 # Redirect module: Adds channel redirection (mode +L)
1091 #<module name="m_redirect.so">
1092
1093 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1094 # Remove module: Adds the /REMOVE command which is a peaceful
1095 # alternative to /KICK
1096 #<module name="m_remove.so">
1097
1098 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1099 # Restricted channels module: Allows only opers to create channels
1100 #<module name="m_restrictchans.so">
1101
1102 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1103 # Restrict message module: Allows users to only message opers
1104 #<module name="m_restrictmsg.so">
1105
1106 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1107 # Provide /LIST throttling (to prevent flooding) and /LIST safety to
1108 # prevent excess flood when the list is large.
1109 #<module name="m_safelist.so">
1110
1111 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1112 # SAJOIN module: Adds the /SAJOIN command
1113 #<module name="m_sajoin.so">
1114
1115 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1116 # SAMODE module: Adds the oper /SAMODE command
1117 #<module name="m_samode.so">
1118
1119 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1120 # SANICK module: Allows opers to change user's nicks
1121 #<module name="m_sanick.so">
1122
1123 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1124 # SAPART module: Adds the oper /SAPART command
1125 #<module name="m_sapart.so">
1126
1127 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1128 # SAQUIT module: Adds the oper /SAQUIT command (abusable!!!)
1129 #<module name="m_saquit.so">
1130
1131 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-
1132 # Secure list module: Prevent /LIST in the first minute of connection,
1133 # crippling most spambots and trojan spreader bots.
1134 #<module name="m_securelist.so">
1135
1136 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1137 # Set Idle module: Adds a command for opers to change their
1138 # idle time (mainly a toy)
1139 #<module name="m_setidle.so">
1140
1141 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1142 # Services support module: Adds several usermodes such as +R and +M
1143 # this module implements the 'identified' state via user mode +r, which
1144 # is similar to the DALnet and dreamforge systems.
1145 #<module name="m_services.so">
1146
1147 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1148 # Services support module: Adds several usermodes such as +R and +M
1149 # this module implements the 'identified' state via account names (AC)
1150 # and is similar in operation to the way asuka and ircu handle services.
1151 # it cannot be used at the same time as m_services, above.
1152 #<module name="m_services_account.so">
1153
1154 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1155 # Sethost module: Adds the /SETHOST command
1156 #<module name="m_sethost.so">
1157
1158 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1159 # Setident module: Adds the /SETIDENT command
1160 #<module name="m_setident.so">
1161
1162 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1163 # SETNAME module: Adds the /SETNAME command
1164 #<module name="m_setname.so">
1165
1166 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1167 # Show Whois module: Adds the +W usermode which allows opers
1168 # to see when they are whois'ed
1169 #<module name="m_showwhois.so">
1170
1171 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1172 # Spy module: Adds the commands SPYLIST and SPYNAMES that let opers
1173 # see who is in a +s channel, and list +s channels, show keys of keyed
1174 # channels the oper is not a member of etc. (standard 'abusive' features
1175 # of unrealircd, modulized here in InspIRCd).
1176 #<module name="m_spy.so">
1177
1178 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1179 # SSL channel mode module: Adds support for SSL-only channels (+z).
1180 # does not do anything useful without a working SSL module (see below)
1181 #<module name="m_sslmodes.so">
1182
1183 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1184 # Dummy ssl module: If you have other servers on your network which
1185 # have SSL, but your server does not have ssl enabled, you should load
1186 # this module, which will handle SSL metadata (e.g. the "Is using ssl"
1187 # field in the WHOIS information).
1188 #<module name="m_ssl_dummy.so">
1189
1190 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1191 # GnuTLS ssl module: Adds support for client-server SSL using GnuTLS,
1192 # if enabled. You must copy the source for this module from the directory
1193 # src/modules/extra, or answer 'yes' in ./configure when asked if you
1194 # want to enable this, or it will not load.
1195 #<module name="m_ssl_gnutls.so">
1196 #
1197 #-#-#-#-#-#-#-#-#-#-#-  GNUTLS CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
1198 #                                                                     #
1199 # m_ssl_gnutls.so is too complex it describe here, see the wiki:      #
1200 # http://www.inspircd.org/wiki/GnuTLS_SSL_Module                      #
1201
1202 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1203 # OpenSSL ssl module: Adds support for client-server SSL using OpenSSL,
1204 # if enabled. You must copy the source for this module from the directory
1205 # src/modules/extra, or answer 'yes' in ./configure when asked if you
1206 # want to enable this, or it will not load.
1207 #<module name="m_ssl_openssl.so">
1208 #
1209 #-#-#-#-#-#-#-#-#-#-#- OPENSSL CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
1210 #                                                                     #
1211 # m_ssl_openssl.so is too complex it describe here, see the wiki:     #
1212 # http://www.inspircd.org/wiki/OpenSSL_SSL_Module                     #
1213
1214 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1215 # Strip colour module: Adds the channel mode +S
1216 #<module name="m_stripcolor.so">
1217
1218 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1219 # SILENCE module: Adds support for /SILENCE
1220 #<module name="m_silence.so">
1221
1222 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1223 # SQL authentication module: Allows IRCd connections to be tied into
1224 # a database table (for example a forum). You must copy the source for
1225 # this module from the directory src/modules/extra
1226 #<module name="m_sqlauth.so">
1227 #
1228 #-#-#-#-#-#-#-#-#-#-#- SQLAUTH CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
1229 #                                                                     #
1230 # m_sqlauth.so is too complex it describe here, see the wiki:         #
1231 # http://www.inspircd.org/wiki/SQL_Authentication_Module              #
1232
1233 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1234 # SQL logging module: Allows you to log network-wide data for your
1235 # network in a fully normalized set of SQL tables. You must copy the
1236 # source for this module from the directory src/modules/extra
1237 #<module name="m_sqllog.so">
1238 #
1239 #-#-#-#-#-#-#-#-#-#-#-  SQLLOG CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
1240 #                                                                     #
1241 # dbid       - Database ID to use (see m_sql)                         #
1242 #                                                                     #
1243 # See also: http://www.inspircd.org/wiki/SQL_Logging_Module           #
1244 #                                                                     #
1245 #<sqllog dbid="1">
1246
1247 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1248 # SQL oper module: Allows you to store oper credentials in an SQL table
1249 # You must copy the source for this module from the directory src/modules/extra
1250 #<module name="m_sqloper.so">
1251 #
1252 #-#-#-#-#-#-#-#-#-#-#- SQLOPER CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
1253 #                                                                     #
1254 # dbid       - Database ID to use (see m_sql)                         #
1255 #                                                                     #
1256 # See also: http://www.inspircd.org/wiki/SQL_Oper_Storage_Module      #
1257 #                                                                     #
1258 #<sqloper dbid="1">
1259
1260 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1261 # SWHOIS module: Allows you to add arbitary lines to user WHOIS.
1262 #<module name="m_swhois.so">
1263
1264 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1265 # Test command module: Does nothing significant. Read: pointless.
1266 #<module name="m_testcommand.so">
1267
1268 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1269 # Timed bans module: Adds timed bans and the /TBAN command
1270 #<module name="m_timedbans.so">
1271
1272 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1273 # Uninvite module: Adds the /UNINVITE command which lets users remove
1274 # pending invites from channels without waiting for the user to join.
1275 #<module name="m_uninvite.so">
1276
1277 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1278 # Userip module: Adds the /USERIP command
1279 #<module name="m_userip.so">
1280
1281 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1282 # Vhost module: Adds the VHOST command which allows for adding virtual
1283 # hosts which are accessible using a username and password in the config.
1284 #<module name="m_vhost.so">
1285 #
1286 #-#-#-#-#-#-#-#-#-#-#- VHOST CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#-#
1287 #                                                                     #
1288 # user       - Username for the vhost.                                #
1289 #                                                                     #
1290 # pass       - Password for the vhost.                                #
1291 #                                                                     #
1292 # host       - Vhost to set.                                          #
1293 #
1294 #<vhost user="some_username" pass="some_password" host="some.host">
1295
1296 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1297 # Watch module: Adds the WATCH command, which is used by clients to 
1298 # maintain notify lists.
1299 #<module name="m_watch.so">
1300
1301 #-#-#-#-#-#-#-#-#-#-#-#-#-#-  BAN OPTIONS  -#-#-#-#-#-#-#-#-#-#-#-#-#-#
1302 #                                                                     #
1303 # The ban tags define nick masks, host masks and ip ranges which are  #
1304 # banned from your server. All details in these tags are local to     #
1305 # Your server.                                                        #
1306 #                                                                     #
1307 #                                                                     #
1308 # badip lines ban an ip range (same as a zline)                       #
1309 #                                                                     #
1310 # ipmask       -          The ip range to ban (wildcards possible)    #
1311 # reason       -          Reason to display when disconnected         #
1312 #                                                                     #
1313 # badnick lines ban a nick mask (same as a qline)                     #
1314 #                                                                     #
1315 # nick         -          Nick mask to ban (wildcards possible)       #
1316 # reason       -          Reason to display on /NICK                  #
1317 #                                                                     #
1318 # badhost lines ban a user@host mask (same as a kline)                #
1319 #                                                                     #
1320 # host         -          ident@hostname (wildcards possible)         #
1321 # reason       -          Reason to display on disconnection          #
1322 #                                                                     #
1323 # exception lines define a hostmask that is excempt from [kzg]lines   #
1324 #                                                                     #
1325 # host         -          ident@hostname (wildcards possible)         #
1326 # reason       -          Reason, shown only in /stats e              #
1327 #                                                                     #
1328
1329 <badip ipmask="69.69.69.69" reason="No porn here thanks.">
1330
1331 <badnick nick="ChanServ" reason="Reserved For Services">
1332 <badnick nick="NickServ" reason="Reserved For Services">
1333 <badnick nick="OperServ" reason="Reserved For Services">
1334 <badnick nick="MemoServ" reason="Reserved For Services">
1335
1336 <badhost host="*@hundredz.n.hundredz.o.1337.kiddies.com" reason="Too many 1337 kiddiots">
1337 <badhost host="*@localhost" reason="No irc from localhost!">
1338
1339 <exception host="*@ircop.host.com" reason="Opers hostname">
1340
1341 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#- YAWN  -#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1342 #                                                                     #
1343 #   You should already know what to do here :)                        #
1344
1345 <die value="You should probably edit your config *PROPERLY* and try again.">
1346
1347
1348 #########################################################################
1349 #                                                                       #
1350 #                     - InspIRCd Development Team -                     #
1351 #                        http://www.inspircd.org                        #
1352 #                                                                       #
1353 #########################################################################