]> git.netwichtig.de Git - user/henk/code/inspircd.git/blob - docs/inspircd.conf.example
339395f356b33015404cfa0e7c11f890c0a6624d
[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 : 04/09/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 address ports bind to. Leaving this #
83 #                 field blank binds the port to all IPs available.    #
84 #                                                                     #
85 #  port         - The port number to bind to. You may specify a port  #
86 #                 range here, e.g. "6667-6669,7000,7001". If you do   #
87 #                 this, the server will count each port within your   #
88 #                 range as a seperate binding, making the above       #
89 #                 example equivalent to five seperate bind tags.      #
90 #                 A failure on one port in the range does not prevent #
91 #                 the entire range from being bound, just that one    #
92 #                 port number.                                        #
93 #                                                                     #
94 #  type         - can be 'clients' or 'servers'. The clients type is  #
95 #                 a standard tcp based socket, the servers type is a  #
96 #                 also a TCP based connection but of a different      #
97 #                 format. SSL support is provided by modules, to      #
98 #                 enable SSL support, please read the module section  #
99 #                 of this configuration file.                         #
100 #                                                                     #
101 #    ____                _   _____ _     _       ____  _ _   _        #
102 #   |  _ \ ___  __ _  __| | |_   _| |__ (_)___  | __ )(_) |_| |       #
103 #   | |_) / _ \/ _` |/ _` |   | | | '_ \| / __| |  _ \| | __| |       #
104 #   |  _ <  __/ (_| | (_| |   | | | | | | \__ \ | |_) | | |_|_|       #
105 #   |_| \_\___|\__,_|\__,_|   |_| |_| |_|_|___/ |____/|_|\__(_)       #
106 #                                                                     #
107 #  If you want to link servers to InspIRCd you must load the          #
108 #  m_spanningtree module! Please see the modules list below for       #
109 #  information on how to load this module! If you do not load this    #
110 #  module, server ports will NOT be bound!                            #
111 #                                                                     #
112 #  Leaving address empty binds to all available interfaces            #
113 #                                                                     #
114 #  Syntax is as follows:                                              #
115 #                                                                     #
116 # <bind address="ip or host" port="port" type="clients">              #
117 # <bind address="ip or host" port="port" type="servers">              #
118 #                                                                     #
119 # If InspIRCd is built for IPV6, and you wish to accept IPV4 clients, #
120 # then you must specify your IPV6 clients in the following form:      #
121 # ::ffff:1.2.3.4, where 1.2.3.4 is the IPV4 address to bind the       #
122 # port on. If InspIRCd is built  for IPV4 connections (this is the    #
123 # default) then you do not need to prefix your addresses like this.   #
124 #                                                                     #
125
126 <bind address="" port="6660-6669" type="clients">
127 <bind address="" port="7000,7001" type="servers">
128
129
130 #-#-#-#-#-#-#-#-#-#-  DIE/RESTART CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-
131 #                                                                     #
132 #   You can configure the passwords here which you wish to use for    #
133 #   the die and restart commands. Only trusted ircops who will        #
134 #   need this ability should know the die and restart password.       #
135 #                                                                     #
136 #  Syntax is as follows:                                              #
137 #       <power diepass="die password" restartpass="restart password"  #
138 #        pause="secs before dying">                                   #
139 #                                                                     #
140
141 <power diepass="diepass" restartpass="restartpass" pause="2">
142
143
144 #-#-#-#-#-#-#-#-#-#  INCLUDE CONFIGURATION  #-#-#-#-#-#-#-#-#-#-#-#-#-#
145 #                                                                     #
146 # This optional tag allows you to include another config file         #
147 # allowing you to keep your configuration tidy. The configuration     #
148 # file you include will be treated as part of the configuration file  #
149 # which includes it, in simple terms the inclusion is transparent.    #
150 #                                                                     #
151 # All paths to config files are relative to the directory of the main #
152 # config file inspircd.conf, unless the filename starts with a forward#
153 # slash (/) in which case it is treated as an absolute path.          #
154 #                                                                     #
155 # Syntax is as follows:                                               #
156 #<include file="file.conf">                                           #
157 #                                                                     #
158
159 #-#-#-#-#-#-#-#-#-#-  CONNECTIONS CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
160 #                                                                     #
161 #   This is where you can configure which connections are allowed     #
162 #   and denied access onto your server.                               #
163 #   The password is optional.                                         #
164 #   You may have as many of these as you require.                     #
165 #   To allow/deny all connections use a *                             #
166 #                                                                     #
167 #  Syntax is as follows:                                              #
168 #                                                                     #
169 #       <connect allow="ip mask">                                     #
170 #       <connect allow="ip mask" password="blahblah">                 #
171 #       <connect allow="ip mask" password="blah" timeout="10">        #
172 #       <connect allow="ip mask" timeout="blah" flood="5">            #
173 #       <connect allow="ip mask" threshold="8" pingfreq="120">        #
174 #       <connect allow="ip mask" sendq="99999" revcq="696969">        #
175 #       <connect allow="ip mask" localmax="3" globalmax="3">          #
176 #       <connect deny="ip mask">                                      #
177 #                                                                     #
178 #   IP masks may be specified in CIDR format or wildcard format,      #
179 #   for IPV4 and IPV6.                                                #
180 #                                                                     #
181 #   You may optionally include timeout="x" on any allow line, which   #
182 #   specifies the amount of time given before an unknown connection   #
183 #   is closed if USER/NICK/PASS are not given. This value is in secs  #
184 #                                                                     #
185 #   You should also include a flood="x" line which indicates          #
186 #   the number of lines a user may place into their buffer at once    #
187 #   before they are disconnected for excess flood. This feature can   #
188 #   not be disabled, however it can be set to exremely high values,   #
189 #   rendering it effectively disabled. A recommended value is 10.     #
190 #   A counter is maintained for each user which is reset every        #
191 #   'threshold' seconds and specifying this threshold value with      #
192 #   threshold="X" indicates how often the counter is reset. For       #
193 #   example, with flood="5" and threshold="8", the user may not send  #
194 #   more than 5 lines in 8 secs.                                      #
195 #                                                                     #
196 #   You may optionally specify the sendq size and ping frequency of   #
197 #   each connect:allow line using the pingfreq="X" and sendq="X"      #
198 #   settings as shown in the full example below.                      #
199 #   The ping frequency is specified in seconds, and the sendq size    #
200 #   in bytes. It is recommended, although not enforced, that you      #
201 #   should never set your sendq size to less than 8k. Send Queues are #
202 #   dynamically allocated and can grow as needed up to the maximum    #
203 #   size specified.                                                   #
204 #                                                                     #
205 #   The optional recvq value is the maximum size which users in this  #
206 #   group may grow their receive queue to. This is recommended to be  #
207 #   kept pretty low compared to the sendq, as users will always       #
208 #   recieve more than they send in normal circumstances. The default  #
209 #   if not specified is 4096.                                         #
210 #                                                                     #
211 #   IMPORTANT NOTE, CALL THE CONFUSION POLICE!                        #
212 #   The sendq is the data waiting to be sent TO THE USER.             #
213 #   The recvq is the data being received FROM THE USER.               #
214 #   The names sendq and recvq are from the SERVER'S PERSPECTIVE not   #
215 #   that of the user... Just to clear up any confusion or complaints  #
216 #   that these are backwards :p                                       #
217 #                                                                     #
218 #   The localmax and globalmax values can be used to enforce local    #
219 #   and global session limits on connections. The session limits are  #
220 #   counted against all users, but applied only to users within the   #
221 #   class. For example, if you had a class 'A' which has a session    #
222 #   limit of 3, and a class 'B' which has a session limit of 5, and   #
223 #   somehow, two users managed to get into class B which also match   #
224 #   class A, there is only one connection left for this IP now in A,  #
225 #   but if they can connect again to B, there are three. You get the  #
226 #   idea (i hope).                                                    #
227 #                                                                     #
228
229 <connect allow="196.12.*"  password="secret">
230 <connect allow="*" timeout="60" flood="20" threshold="1" pingfreq="120" sendq="262144" recvq="8192" localmax="3" globalmax="3">
231
232 <connect deny="69.254.*">
233 <connect deny="3ffe::0/32">
234
235
236 #-#-#-#-#-#-#-#-#-#-#-#-  CLASS CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-
237 #                                                                     #
238 #   Classes are a group of commands which are grouped together        #
239 #   and given a unique name. They used to define which commands       #
240 #   are available to certain types of Operators.                      #
241 #                                                                     #
242 #  Syntax is as follows:                                              #
243 #                                                                     #
244 #       <class name="name" commands="oper commands">                  #
245 #                                                                     #
246 #    ____                _   _____ _     _       ____  _ _   _        #
247 #   |  _ \ ___  __ _  __| | |_   _| |__ (_)___  | __ )(_) |_| |       #
248 #   | |_) / _ \/ _` |/ _` |   | | | '_ \| / __| |  _ \| | __| |       #
249 #   |  _ <  __/ (_| | (_| |   | | | | | | \__ \ | |_) | | |_|_|       #
250 #   |_| \_\___|\__,_|\__,_|   |_| |_| |_|_|___/ |____/|_|\__(_)       #
251 #                                                                     #
252 #  You are not forced to give these classes the names given below.    #
253 #  You can create your own named classes, if you want, in fact that   #
254 #  is the whole idea of this system!                                  #
255 #                                                                     #
256 #  Note: It is possible to make a class which covers all available    #
257 #  commands. To do this, specify commands="*". This is not really     #
258 #  recommended, as it negates the whole purpose of the class system,  #
259 #  however it is provided for fast configuration (e.g. in test nets)  #
260 #                                                                     #
261
262 <class name="Shutdown" commands="DIE RESTART REHASH LOADMODULE UNLOADMODULE RELOAD">
263 <class name="ServerLink" commands="CONNECT SQUIT RCONNECT MKPASSWD MKSHA256">
264 <class name="BanControl" commands="KILL GLINE KLINE ZLINE QLINE ELINE">
265 <class name="OperChat" commands="WALLOPS GLOBOPS SETIDLE SPYLIST SPYNAMES">
266 <class name="HostCloak" commands="SETHOST SETIDENT SETNAME CHGHOST CHGIDENT">
267
268
269 #-#-#-#-#-#-#-#-#-#-#-#-  OPERATOR COMPOSITION   -#-#-#-#-#-#-#-#-#-#-#
270 #                                                                     #
271 #   This is where you specify which types of operators you have on    #
272 #   your server, as well as the commands they are allowed to use.     #
273 #   This works alongside with the classes specified above.            #
274 #                                                                     #
275 #  type name  - a name for the combined class types                   #
276 #               a type name cannot contain spaces, however if you     #
277 #               put an _ symbol in the name, it will be translated    #
278 #               to a space when displayed in a WHOIS.                 #
279 #                                                                     #
280 #  classes    - specified above, used for flexibility for the         #
281 #               server admin to decide on which operators get         #
282 #               what commands. Class names are case sensitive,        #
283 #               seperate multiple class names with spaces.            #
284 #                                                                     #
285 #  host       - optional hostmask operators will recieve on oper-up.  #
286 #                                                                     #
287 #  Syntax is as follows:                                              #
288 #                                                                     #
289 #     <type name="name" classes="class names" host="oper hostmask">   #
290 #                                                                     #
291 #    ____                _   _____ _     _       ____  _ _   _        #
292 #   |  _ \ ___  __ _  __| | |_   _| |__ (_)___  | __ )(_) |_| |       #
293 #   | |_) / _ \/ _` |/ _` |   | | | '_ \| / __| |  _ \| | __| |       #
294 #   |  _ <  __/ (_| | (_| |   | | | | | | \__ \ | |_) | | |_|_|       #
295 #   |_| \_\___|\__,_|\__,_|   |_| |_| |_|_|___/ |____/|_|\__(_)       #
296 #                                                                     #
297 #  You are not forced to give these types the names given below.      #
298 #  You can create your own named types, if you want, in fact that     #
299 #  is the whole idea of this system!                                  #
300 #                                                                     #
301
302 <type name="NetAdmin" classes="OperChat BanControl HostCloak Shutdown ServerLink" host="netadmin.omega.org.za">
303 <type name="GlobalOp" classes="OperChat BanControl HostCloak ServerLink" host="ircop.omega.org.za">
304 <type name="Helper" classes="HostCloak" host="helper.omega.org.za">
305
306
307 #-#-#-#-#-#-#-#-#-#-#-  OPERATOR CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
308 #                                                                     #
309 #   Opers are defined here. This is a very important section.         #
310 #   Remember to only make operators out of truthworthy people.        #
311 #                                                                     #
312 #  name        - oper name, This is case sensitive, so it is best to  #
313 #                use lower-case.                                      #
314 #                                                                     #
315 #  password    - password to oper-up, also case sensitive.            #
316 #                encryption is supported via modules. You may load    #
317 #                modules for MD5 or SHA256 encryption, and if you do, #
318 #                this value will be a hash value, otherwise put a     #
319 #                plaintext password in this value.                    #
320 #                                                                     #
321 #  host        - hosts of client allowed to oper-up.                  #
322 #                wildcards accepted, seperate multiple hosts with a   #
323 #                space. You may also specify CIDR ip addresses.       #
324 #                                                                     #
325 #  fingerprint - When using the m_ssl_oper_cert.so module, you may    #
326 #                specify a key fingerprint here. This can be obtained #
327 #                using the /fingerprint command whilst the module is  #
328 #                loaded, or from the notice given to you when you     #
329 #                connect to the ircd using a client certificate,      #
330 #                and will lock this oper block to only the user who   #
331 #                has that specific key/certificate pair.              #
332 #                This enhances security a great deal, however it      #
333 #                requires that opers use clients which can send ssl   #
334 #                client certificates, if this is configured for that  #
335 #                oper. Note that if the m_ssl_oper.so module is not   #
336 #                loaded, and/or one of m_ssl_openssl or m_ssl_gnutls  #
337 #                is not loaded, this configuration option has no      #
338 #                effect and will be ignored.                          #
339 #                                                                     #
340 #  type        - Sefines the kind of operator. This must match a type #
341 #                tag you defined above, and is case sensitive.        #
342 #                                                                     #
343 #  Syntax is as follows:                                              #
344 #       <oper name="login"                                            #
345 #             password="pass"                                         #
346 #             host="hostmask@of.oper"                                 #
347 #             fingerprint="hexsequence"                               #
348 #             type="oper type">                                       #
349 #                                                                     #
350
351 <oper   name="katsklaw"
352         password="s3cret"
353         host="ident@dialup15.isp.com *@localhost *@server.com *@3ffe::0/16"
354         fingerprint="a41d730937a53b79f788c0ab13e9e1d5"
355         type="NetAdmin">
356
357
358 #-#-#-#-#-#-#-#-#-#-#-  SERVER LINK CONFIGURATION  -#-#-#-#-#-#-#-#-#-#
359 #                                                                     #
360 # Defines which servers can link to this one, and which servers this  #
361 # server may create outbound links to.                                #
362 #                                                                     #
363 # name        -   The name is the canocial name of the server, does   #
364 #                 not have to resolve - but it is expected to be set  #
365 #                 in the remote servers connection info.              #
366 #                                                                     #
367 # ipaddr      -   Valid host or ip address for remote server. These   #
368 #                 hosts are resolved on rehash, and cached, if you    #
369 #                 specify a hostname, so if you find that your server #
370 #                 is still trying to connect to an old IP after you   #
371 #                 have updated your dns, try rehashing and then       #
372 #                 attempting the connect again.                       #
373 #                                                                     #
374 # port        -   The TCP port for the remote server.                 #
375 #                                                                     #
376 # sendpass    -   Password to send to create an outbound connection   #
377 #                 to this server.                                     #
378 #                                                                     #
379 # recvpass    -   Password to receive to accept an inbound connection #
380 #                 from this server.                                   #
381 #                                                                     #
382 # autoconnect -   Sets the server to autoconnect. Where x is the num. #
383 # (optional)      of seconds between attempts. e.g. 300 = 5 minutes.  #
384 #                                                                     #
385 # encryptionkey - Encryption key to be used for AES encryption, where #
386 #                 supported. Links using the spanning tree protocol   #
387 #                 support AES. The encryption key must be EXACTLY 8,  #
388 #                 16 or 32 characters in length for a 64, 128 or 256  #
389 #                 bit key, respectively.                              #
390 #                                                                     #
391 # hidden        - When using m_spanningtree.so for linking. you may   #
392 #                 set this to 'yes', and if you do, the IP address/   #
393 #                 hostname of this connection will NEVER be shown to  #
394 #                 any opers on the network. In /STATS c its address   #
395 #                 will show as *@<hidden>, and during CONNECT and     #
396 #                 inbound connections, its IP will show as <hidden>   #
397 #                 UNLESS the connection fails (e.g. due to a bad      #
398 #                 password or servername)                             #
399 #                                                                     #
400 # allowmask     - When this is defined, it indicates a range of IP    #
401 #                 addresses to allow for this link (You may use CIDR  #
402 #                 or wildcard form for this address).                 #
403 #                 e.g. if your server is going to connect to you from #
404 #                 the range 1.2.3.1 through 1.2.3.255, put 1.2.3.0/24 #
405 #                 into this value. If it is not defined, then only    #
406 #                 the ipaddr field of the server shall be allowed.    #
407 #                                                                     #
408 # failover      - If you define this option, it must be the name of a #
409 #                 different link tag in your configuration. This      #
410 #                 option causes the ircd to attempt a connection to   #
411 #                 the failover link in the event that the connection  #
412 #                 to this server fails. For example, you could define #
413 #                 two hub uplinks to a leaf server, and set an        #
414 #                 american server to autoconnect, with a european     #
415 #                 hub as its failover. In this situation, your ircd   #
416 #                 will only try the link to the european hub if the   #
417 #                 american hub is unreachable. NOTE that for the      #
418 #                 intents and purposes of this option, an unreachable #
419 #                 server is one which DOES NOT ANSWER THE CONNECTION. #
420 #                 If the server answers the connection with accept(), #
421 #                 EVEN IF THE CREDENTIALS ARE INVALID, the failover   #
422 #                 link will not be tried! Failover settings will also #
423 #                 apply to autoconnected servers as well as manually  #
424 #                 connected ones.                                     #
425 #                                                                     #
426 # timeout       - If this is defined, then outbound connections will  #
427 #                 time out if they are not connected within this many #
428 #                 seconds. If this is not defined, the default of ten #
429 #                 seconds is used.                                    #
430 #                                                                     #
431 # to u:line a server (give it extra privilages required for running   #
432 # services, Q, etc) you must include the <uline server> tag as shown  #
433 # in the example below. You can have as many of these as you like.    #
434 #                                                                     #
435 # WARNING: Unlike other ircds, u:lining a server allows ALL users on  #
436 # that server to operoverride modes. This should only be used for     #
437 # services and protected oper servers!                                #
438 #                                                                     #
439 # NOTE: If you have built InspIRCd with IPV6 support, and you want    #
440 # to link to an IPV4 server, 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 #    ____                _   _____ _     _       ____  _ _   _        #
446 #   |  _ \ ___  __ _  __| | |_   _| |__ (_)___  | __ )(_) |_| |       #
447 #   | |_) / _ \/ _` |/ _` |   | | | '_ \| / __| |  _ \| | __| |       #
448 #   |  _ <  __/ (_| | (_| |   | | | | | | \__ \ | |_) | | |_|_|       #
449 #   |_| \_\___|\__,_|\__,_|   |_| |_| |_|_|___/ |____/|_|\__(_)       #
450 #                                                                     #
451 #  If you want to link servers to InspIRCd you must load the          #
452 #  m_spanningtree module! Please see the modules list below for       #
453 #  information on how to load this module! If you do not load this    #
454 #  module, server links will NOT work!                                #
455 #                                                                     #
456
457 <link name="hub.penguin.org"
458         ipaddr="penguin.box.com"
459         port="7000"
460         allowmask="69.58.44.0/24"
461         autoconnect="300"
462         failover="hub.other.net"
463         timeout="15"
464         sendpass="outgoing!password"
465         recvpass="incoming!password">
466
467 <link name="services.antarctic.com"
468         ipaddr="localhost"
469         port="7000"
470         allowmask="127.0.0.0/8"
471         sendpass="penguins"
472         recvpass="polarbears">
473
474 <uline server="services.antarctic.com">
475
476
477 #-#-#-#-#-#-#-#-#-#-  MISCELLANEOUS CONFIGURATION  -#-#-#-#-#-#-#-#-#-#
478 #                                                                     #
479 #   These options let you define the path to your motd and rules      #
480 #   files. If these are relative paths, they are relative to the      #
481 #   configurtion directory.                                           #
482 #                                                                     #
483
484 <files  motd="inspircd.motd"
485         rules="inspircd.rules">
486
487 #-#-#-#-#-#-#-#-#-#-#-#-#-#-# DNS SERVER -#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
488 #                                                                     #
489 # Define your DNS server address here. InspIRCd has its own resolver. #
490 # If you do not define this value, the first dns server from your     #
491 # /etc/resolv.conf file is read. If no entries are found in this file #
492 # or the file cannot be opened, the default value '127.0.0.1' is used #
493 # instead. The timeout value is in seconds.                           #
494 #                                                                     #
495 #    ____                _   _____ _     _       ____  _ _   _        #
496 #   |  _ \ ___  __ _  __| | |_   _| |__ (_)___  | __ )(_) |_| |       #
497 #   | |_) / _ \/ _` |/ _` |   | | | '_ \| / __| |  _ \| | __| |       #
498 #   |  _ <  __/ (_| | (_| |   | | | | | | \__ \ | |_) | | |_|_|       #
499 #   |_| \_\___|\__,_|\__,_|   |_| |_| |_|_|___/ |____/|_|\__(_)       #
500 #                                                                     #
501 # When choosing a server, be sure to choose one which will do a       #
502 # RECURSIVE LOOKUP. InspIRCd's resolver does not currently do these   #
503 # recursive lookups itself, to save time and resources. The dns       #
504 # server recommended by the InspIRCd team is bind, available from the #
505 # ISC website. If your DNS server does not do a recursive lookup, you #
506 # will be able to notice this by the fact that none of your users are #
507 # resolving even though the DNS server appears to be up! Most ISP and #
508 # hosting provider DNS servers support recursive lookups.             #
509 #                                                                     #
510 # NOTE: If you have built InspIRCd with IPV6 support, and you want    #
511 # to use an IPV4 nameserver, you must specify the IP address in the   #
512 # form '::ffff:1.2.3.4' where 1.2.3.4 is the IP address of the target #
513 # server. If you have built InspIRCd for IPV4 (this is the default)   #
514 # you should not prefix your IP addresses in this fashion.            #
515 #                                                                     #
516 # IF YOUR RESOLV.CONF CONTAINS ONLY IPV4 ADDRESSES, AND YOU ARE USING #
517 # IPV6, YOU MUST DEFINE THE <DNS SERVER> TAG, AND USE THE ::FFFF      #
518 # PREFIX NOTATION. IF YOU DO NOT, HOSTS WILL *NOT* RESOLVE.           #
519 #                                                                     #
520
521 <dns server="127.0.0.1" timeout="5">
522
523 # An example of using IPV4 nameservers over IPV6
524 #<dns server="::ffff:127.0.0.1" timeout="5">
525
526 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#  PID FILE  -#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
527 #                                                                     #
528 # Define the path to the PID file here. The PID file can be used to   #
529 # rehash the ircd from the shell or to terminate the ircd from the    #
530 # shell using shell scripts, perl scripts etc, and to monitor the     #
531 # ircd's state via cron jobs. If this is a relative path, it will be  #
532 # relative to the configuration directory, and if it is not defined,  #
533 # the default of 'inspircd.pid' is used.                              #
534 #                                                                     #
535
536 #<pid file="/path/to/inspircd.pid">
537
538 #-#-#-#-#-#-#-#-#-#-#-#-#- BANLIST LIMITS #-#-#-#-#-#-#-#-#-#-#-#-#-#-#
539 #                                                                     #
540 # Use these tags to customise the ban limits on a per channel basis.  #
541 # the tags are read from top to bottom, and any tag found which       #
542 # matches the channels name applies the banlimit to that channel.     #
543 # It is advisable to put an entry with the channel as '*' at the      #
544 # bottom of the list. If none are specified or no maxbans tag is      #
545 # matched, the banlist size defaults to 64 entries.                   #
546 #                                                                     #
547
548 <banlist chan="#morons" limit="128">
549 <banlist chan="*" limit="69">
550
551 #-#-#-#-#-#-#-#-#-#-#-  DISABLED COMMANDS  -#-#-#-#-#-#-#-#-#-#-#-#-#-#
552 #                                                                     #
553 # This tag is optional, and specifies one or more commands which are  #
554 # not available to non-operators. For example you may wish to disable #
555 # NICK and prevent non-opers from changing their nicknames.           #
556 # Note that any disabled commands take effect only after the user has #
557 # 'registered' (e.g. after the initial USER/NICK/PASS on connection)  #
558 # so for example disabling NICK will not cripple your network.        #
559 #                                                                     #
560
561 #<disabled commands="TOPIC MODE">
562
563
564 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-  RTFM LINE  -#-#-#-#-#-#-#-#-#-#-#-#-#-#
565 #                                                                     #
566 #   Just remove this... Its here to make you read ALL of the config   #
567 #   file options ;)                                                   #
568
569 <die value="You should probably edit your config *PROPERLY* and try again.">
570
571
572
573 #-#-#-#-#-#-#-#-#-#-#-#-#-  SERVER OPTIONS   -#-#-#-#-#-#-#-#-#-#-#-#-#
574 #                                                                     #
575 #   Settings to define which features are useable on your server.     #
576 #                                                                     #
577 #  prefixquit    - a prefix for a client's quit message               #
578 #                                                                     #
579 #  loglevel      - specifies what detail of messages to log in the    #
580 #                  log file. You may select from debug, verbose,      #
581 #                  default, sparse and none.                          #
582 #                                                                     #
583 #  allowhalfop   - allows the +h channel mode                         #
584 #                                                                     #
585 #  noservices    - If noservices is true, yes, or 1, then the first   #
586 #                  user into a channel gets founder status. This is   #
587 #                  only useful on networks running the m_chanprotect  #
588 #                  module without services.                           #
589 #                                                                     #
590 #  qaprefixes    - If qaprefixes is true, yes, or 1, then users       #
591 #                  with +q or +a will get the ~ or & prefixes         #
592 #                  used in unreal. This is only useful on networks    #
593 #                  running the m_chanprotect module                   #
594 #                                                                     #
595 #  deprotectself - If this value is set to yes, true, or 1, then any  #
596 #                  user with +q or +a may remove the +q or +a from    #
597 #                  themselves. The default setting is to not enable   #
598 #                  this feature, which stops even the founder taking  #
599 #                  away their founder status without using services.  #
600 #                                                                     #
601 #  cyclehosts    - If this is set to true, yes or 1, then when a      #
602 #                  user's hostname changes, they will appear to quit  #
603 #                  and then rejoin with their new host. This prevents #
604 #                  clients from being confused by host changes,       #
605 #                  especially in the case of bots, and it is          #
606 #                  recommended that this option is enabled.           #
607 #                                                                     #
608 #  netbuffersize - size of the buffer used to receive data from       #
609 #                  clients. The ircd may only read() this amount      #
610 #                  of text in one go at any time. (OPTIONAL)          #
611 #                                                                     #
612 #  maxwho        - The maximum number of results returned by a /WHO   #
613 #                  query. This is to prevent /WHO being used as a     #
614 #                  spam vector or means of flooding an ircd. The      #
615 #                  default is 128, it is not recommended to raise it  #
616 #                  above 1024. Values up to 65535 are permitted.      #
617 #                                                                     #
618 #  somaxconn     - The maximum number of sockets that may be waiting  #
619 #                  in the accept queue. This usually allows the ircd  #
620 #                  to soak up more connections in a shorter space of  #
621 #                  time when increased but please be aware there is a #
622 #                  system defined maximum value to this, the same way #
623 #                  there is a system defined maximum number of file   #
624 #                  descriptors. Some systems may only allow this to   #
625 #                  be up to 5 (ugh) while others such as FreeBSD will #
626 #                  default to a much nicer 128.                       #
627 #                                                                     #
628 #  moduledir     - This optional value indicates a runtime change of  #
629 #                  the location where modules are to be found. This   #
630 #                  does not add a supplementary directory. There can  #
631 #                  only be one module path.                           #
632 #                                                                     #
633 #  softlimit     - This optional feature allows a defined softlimit.  #
634 #                  if defined sets a soft maxconnections value, has   #
635 #                  to be less than the ./configure maxclients         #
636 #                                                                     #
637 #  userstats     - The userstats field is optional and specifies      #
638 #                  which stats characters in /STATS may be requested  #
639 #                  by non-operators. Stats characters in this field   #
640 #                  are case sensitive and are allowed to users        #
641 #                  independent of if they are in a module or the core #
642 #                                                                     #
643 #  operspywhois  - If this is set then when an IRC operator uses      #
644 #                  /WHOIS on a user they will see all channels, even  #
645 #                  ones if channels are secret (+s), private (+p) or  #
646 #                  if the target user is invisible +i.                #
647 #                                                                     #
648 #  customversion - If you specify this configuration item, and it is  #
649 #                  not set to an empty value, then when a user does   #
650 #                  a /VERSION command on the ircd, this string will   #
651 #                  be displayed as the second portion of the output,  #
652 #                  replacing the system 'uname', compile flags and    #
653 #                  socket engine/dns engine names. You may use this   #
654 #                  to enhance security, or simply for vanity.         #
655 #                                                                     #
656 #  maxtargets    - The maxtargets field is optional, and if not       #
657 #                  defined, defaults to 20. It indicates the maximum  #
658 #                  number of targets which may be given to commands   #
659 #                  such as PRIVMSG, KICK etc.                         #
660 #                                                                     #
661 #  hidesplits    - When set to 'yes', will hide split server names    #
662 #                  from non-opers. Non-opers will see '*.net *.split' #
663 #                  instead of the server names in the quit message,   #
664 #                  identical to the way IRCu displays them.           #
665 #                                                                     #
666 #  hidebans      - When set to 'yes', will hide gline, kline, zline   #
667 #                  and qline quit messages from non-opers. For        #
668 #                  example, user A who is not an oper will just see   #
669 #                  (G-Lined) while user B who is an oper will see the #
670 #                  text (G-Lined: Reason here) instead.               #
671 #                                                                     #
672 #  hidewhois     - When defined with a non-empty value, the given     #
673 #                  text will be used in place of the user's server    #
674 #                  in WHOIS, when a user is WHOISed by a non-oper.    #
675 #                  For example, most nets will want to set this to    #
676 #                  something like '*.netname.net' to conceal the      #
677 #                  actual server the user is on.                      #
678 #                                                                     #
679 #  flatlinks     - When you are using m_spanningtree.so, and this     #
680 #                  value is set to true, yes or 1, /MAP and /LINKS    #
681 #                  will be flattened when shown to a non-oper.        #
682 #                                                                     #
683 #  hideulines    - When you are using m_spanningtree.so, and this     #
684 #                  value is set to true, yes or 1, then U-lined       #
685 #                  servers will be hidden in /LINKS and /MAP. For non #
686 #                  opers. Please be aware that this will also hide    #
687 #                  any leaf servers of a U-lined server, e.g. jupes.  #
688 #                                                                     #
689 #  nouserdns     - If set to 'yes', 'true' or '1', no user dns        #
690 #                  lookups will be performed for connecting users.    #
691 #                  this can save a lot of resources on very busy irc  #
692 #                  servers.                                           #
693 #                                                                     #
694 #  syntaxhints   - If set to 'yes', 'true' or '1', when a user does   #
695 #                  not give enough parameters for a command, a syntax #
696 #                  hint will be given (using the RPL_TEXT numeric)    #
697 #                  as well as the standard ERR_NEEDMOREPARAMS.        #
698 #                                                                     #
699 #  announcets    - If this value is defined to 'yes', 'true' or '1',  #
700 #                  then if a channel's timestamp is updated the users #
701 #                  on the channel will be informed of the change via  #
702 #                  a server notice to the channel with the old and    #
703 #                  new TS values in the timestamp. If you think this  #
704 #                  is just pointless noise, define the value to 0.    #
705 #                                                                     #
706 #  notimesync    - If this value is 'yes', 'true', or '1', time       #
707 #                  synchronization is disabled on this server. This   #
708 #                  means any servers you are linked to will not       #
709 #                  automatically synchronize time with you, and in    #
710 #                  most cases will just result in more bounced modes  #
711 #                  on netsplits. This option should be the same on    #
712 #                  all servers.                                       #
713 #                                                                     #
714
715 <options prefixquit="Quit: "
716          loglevel="default"
717          netbuffersize="10240"
718          maxwho="128"
719          noservices="no"
720          qaprefixes="no"
721          deprotectself="no"
722          somaxconn="128"
723          softlimit="12800"
724          userstats="Pu"
725          operspywhois="no"
726          customversion=""
727          maxtargets="20"
728          hidesplits="no"
729          hidebans="no"
730          hidewhois=""
731          flatlinks="no"
732          hideulines="no"
733          nouserdns="no"
734          syntaxhints="no"
735          cyclehosts="yes"
736          announcets="yes"
737          notimesync="no"
738          allowhalfop="yes">
739
740 #-#-#-#-#-#-#-#-#-#-#-#-#-  WHOWAS OPTIONS   -#-#-#-#-#-#-#-#-#-#-#-#-#
741 #                                                                     #
742 # This tag lets you define the behaviour of the /whowas command of    #
743 # your server.                                                        #
744 #                                                                     #
745 # groupsize      - Controls the maximum entries per nick shown when   #
746 #                  performing a /whowas nick. Setting this to 0 dis-  #
747 #                  ables whowas completely.                           #
748 #                                                                     #
749 # maxgroups      - The maximum number of nickgroups that can be added #
750 #                  to the list. If max is reached, oldest group will  #
751 #                  be deleted first like a FIFO. A groupsize of 3 and #
752 #                  a maxgroups of 5000 will allow for 5000 nicks to   #
753 #                  be stored with a history of 3, thus giving a total #
754 #                  of 3 * 5000 = 15000 entries. A setting of 0 dis-   #
755 #                  ables whowas completely.                           #
756 #                                                                     #
757 # maxkeep        - The maximum time a nick is kept in the whowas list #
758 #                  before being pruned. Time may be specified in      #
759 #                  seconds, or in the following format: 1y2w3d4h5m6s  #
760 #                  meaning one year, two weeks, three days, 4 hours,  #
761 #                  5 minutes and 6 seconds. All fields in this format #
762 #                  are optional. Minimum is 1 hour, if less InspIRCd  #
763 #                  will default back to 1 hour.                       #
764 #                                                                     #
765 #<whowas groupsize="10"                                               #
766 #        maxgroups="100000"                                           #
767 #        maxkeep="3d">                                                #
768
769
770 #-#-#-#-#-#-#-#-#-#-#-#-#-  MODULE OPTIONS   -#-#-#-#-#-#-#-#-#-#-#-#-#
771 #                                                                     #
772 #  These tags define which modules will be loaded on startup by your  #
773 #  server. Add modules without any paths. When you make your ircd     #
774 #  using the 'make' command, all compiled modules will be moved into  #
775 #  the folder you specified when you ran ./configure. The module tag  #
776 #  automatically looks for modules in this location.                  #
777 #  If you attempt to load a module outside of this location, either   #
778 #  in the config, or via /LOADMODULE, you will receive an error.      #
779 #                                                                     #
780 #  By default, ALL modules are commented out. You must uncomment them #
781 #  or add lines to your config to load modules. Please refer to       #
782 #  http://www.inspircd.org/wiki/Modules_List for a list of modules and#
783 #  each modules link for any additional conf tags they require.       #
784 #                                                                     #
785 #  You may use wildcards in a <module> tag to load all modules which  #
786 #  match a glob pattern (e.g. m_sa????.so would load m_sajoin,        #
787 #  m_sapart, m_saquit and m_sanick)                                   #
788 #                                                                     #
789 #    ____                _   _____ _     _       ____  _ _   _        #
790 #   |  _ \ ___  __ _  __| | |_   _| |__ (_)___  | __ )(_) |_| |       #
791 #   | |_) / _ \/ _` |/ _` |   | | | '_ \| / __| |  _ \| | __| |       #
792 #   |  _ <  __/ (_| | (_| |   | | | | | | \__ \ | |_) | | |_|_|       #
793 #   |_| \_\___|\__,_|\__,_|   |_| |_| |_|_|___/ |____/|_|\__(_)       #
794 #                                                                     #
795 # To link servers to InspIRCd, you MUST load the m_spanningtree       #
796 # module, as shown below. If you DO NOT do this, server links will    #
797 # NOT work at all. ie. The ports will NOT bind, and /connect will not #
798 # work properly. This is by design, to allow for the implementation   #
799 # of other linking protocols in modules in the future.                #
800
801 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
802 # Spanning Tree module - allows linking of servers using the spanning
803 # tree protocol (see the READ THIS BIT section above).
804 #
805 #<module name="m_spanningtree.so">
806
807
808 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
809 # MD5 Module - Allows other modules to generate MD5 hashes, usually for
810 # cryptographic uses and security.
811 #
812 # IMPORTANT:
813 # Other modules such as m_cloaking.so and m_opermd5.so rely on this
814 # module being loaded to function.
815 #
816 #<module name="m_md5.so">
817
818 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
819 # Alias module: Allows you to define server-side command aliases
820 #<module name="m_alias.so">
821 #
822 #-#-#-#-#-#-#-#-#-#-#-  ALIAS DEFINITIONS  -#-#-#-#-#-#-#-#-#-#-#-#-#-#
823 #                                                                     #
824 # If you have the m_alias.so module loaded, you may also define       #
825 # aliases as shown below. They are commonly used to provide shortcut  #
826 # commands to services, however they are not limited to just this use.#
827 # An alias tag requires the following values to be defined in it:     #
828 #                                                                     #
829 # text        -      The text to detect at the start of the line,     #
830 #                    must be at the start of the line to trigger the  #
831 #                    alias. Cant contain spaces, but case insensitive #
832 # replace     -      The text to replace 'text' with. Usually this    #
833 #                    will be "PRIVMSG ServiceName :$2-" or similar.   #
834 #                    You may use the variables $1 through $9 in the   #
835 #                    replace string, which refer to the first through #
836 #                    ninth word in the original string typed by the   #
837 #                    user. You may also use $1- through $9- which     #
838 #                    refer to the first word onwards, through to the  #
839 #                    ninth word onwards, e.g. if the user types the   #
840 #                    command "foo bar baz qux quz" then $3- will hold #
841 #                    "baz qux quz" and $2 will contain "bar". You may #
842 #                    also use the special variables: $nick, $ident,   #
843 #                    $host and $vhost, and you may seperate multiple  #
844 #                    commands with \n. If you wish to use the ACTUAL  #
845 #                    characters \ and n together in a line, you must  #
846 #                    use the sequence "\\n".                          #
847 # requires    -      If you provide a value for 'requires' this means #
848 #                    the given nickname MUST be online for the alias  #
849 #                    to successfully trigger. If they are not, then   #
850 #                    the user receives a 'no such nick' 401 numeric.  #
851 # uline       -      Defining this value with 'yes', 'true' or '1'    #
852 #                    will ensure that the user given in 'requires'    #
853 #                    must also be on a u-lined server, as well as     #
854 #                    actually being on the network. If the user is    #
855 #                    online, but not on a u-lined server, then an     #
856 #                    oper-alert is sent out as this is possibly signs #
857 #                    of a user trying to impersonate a service.       #
858 # operonly    -      Defining this value, with a value of 'yes', '1'  #
859 #                    or true will make the alias oper only. If a non- #
860 #                    oper attempts to use the alias, it will appear   #
861 #                    to not exist.                                    #
862 #                                                                     #
863 #<alias text="NICKSERV" replace="PRIVMSG NickServ :$2-" requires="NickServ" uline="yes">
864 #<alias text="CHANSERV" replace="PRIVMSG ChanServ :$2-" requires="ChanServ" uline="yes">
865 #<alias text="OPERSERV" replace="PRIVMSG OperServ :$2-" requires="OperServ" uline="yes" operonly="yes">
866 #<alias text="NS" replace="PRIVMSG NickServ :$2-" requires="NickServ" uline="yes">
867 #<alias text="CS" replace="PRIVMSG ChanServ :$2-" requires="ChanServ" uline="yes">
868 #<alias text="OS" replace="PRIVMSG OperServ :$2-" requires="OperServ" uline="yes" operonly="yes">
869 #<alias text="ID" replace="PRIVMSG NickServ :IDENTIFY $3" requires="NickServ" uline="yes">
870
871 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
872 # Alltime module: Shows time on all connected servers at once
873 #<module name="m_alltime.so">
874
875 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
876 # Antibear security module: Prevents 'bear.txt' based trojans from
877 # connecting to your network by sending them a numeric they can't handle.
878 #<module name="m_antibear.so">
879
880 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
881 # Antibottler module: Labels bottler leech bots
882 #<module name="m_antibottler.so">
883
884 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
885 # Ban except module: Adds support for channel ban exceptions (+e)
886 #<module name="m_banexception.so">
887
888 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
889 # Block amsg module: Attempt to block all usage of /amsg and /ame
890 #<module name="m_blockamsg.so">
891 #
892 #-#-#-#-#-#-#-#-#-#-#-  BLOCKAMSG CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
893 #                                                                     #
894 # If you have the m_blockamsg.so module loaded, you can configure it  #
895 # with the <blockamsg> tag:                                           #
896 #                                                                     #
897 # delay          -   How many seconds between two messages to force   #
898 #                    them to be recognised as unrelated.              #
899 # action         -   Any of 'notice', 'noticeopers', 'silent', 'kill' #
900 #                    or 'killopers'. Define how to take action when   #
901 #                    a user uses /amsg or /ame.                       #
902 #
903 #<blockamsg delay="3" action="killopers">
904
905 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
906 # Block CAPS module: Blocking all-CAPS messages with cmode +P
907 #<module name="m_blockcaps.so">
908
909 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
910 # Block colour module: Blocking colour-coded messages with cmode +c
911 #<module name="m_blockcolor.so">
912
913 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
914 # Botmode module: Adds the user mode +B
915 #<module name="m_botmode.so">
916
917 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
918 # CBAN module: Lets you disallow channels from being used at runtime.
919 #<module name="m_cban.so">
920
921 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
922 # Censor module: Adds the channel mode +G
923 #<module name="m_censor.so">
924 #
925 #-#-#-#-#-#-#-#-#-#-#-  CENSOR  CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#-#
926 #                                                                     #
927 # Optional - If you specify to use the m_censor module, then you must #
928 # specify some censor tags. See also:                                 #
929 # http://www.inspircd.org/wiki/Censor_Module                          #
930 #
931 #<include file="censor.conf">
932
933 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
934 # Channel filter module: Allows channel-op defined message
935 # filtering using simple string matches (channel mode +g)
936 #<module name="m_chanfilter.so">
937
938 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
939 # Chanprotect module: gives +q and +a channel modes
940 #<module name="m_chanprotect.so">
941
942 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
943 # CHGHOST module: Adds the /CHGHOST command
944 #<module name="m_chghost.so">
945
946 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
947 # CHGIDENT module: Adds the /CHGIDENT command
948 #<module name="m_chgident.so">
949
950 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
951 # Cloaking module: Adds usermode +x and cloaking support.
952 # Relies on the module m_md5.so being loaded before m_cloaking.so in
953 # the configuration file.
954 #<module name="m_cloaking.so">
955 #
956 #-#-#-#-#-#-#-#-#-#-#- CLOAKING  CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
957 #                                                                     #
958 # Optional - If ypu specify the m_cloaking.so module as above, you    #
959 # must define cloak keys, and optionally a cloak prefix as shown      #
960 # below. When using cloaking, the cloak keys are MANDITORY and must   #
961 # be included. However, if prefix is not included, it will default    #
962 # to your networks name from the <server> tag.                        #
963 #                                                                     #
964 # <cloak key1="543241423"                                             #
965 #        key2="5378410432"                                            #
966 #        key3="1143242382"                                            #
967 #        key4="9504324581"                                            #
968 #        prefix="mynet">                                              #
969 #                                                                     #
970 # Please note that the key values will accept any number, and should  #
971 # be large numbers. Using small numbers such as "7" or "1924" will    #
972 # seriously weaken the security of your cloak.                        #
973
974 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
975 # Conn-Lusers: Shows the LUSERS output on connect
976 #<module name="m_conn_lusers.so">
977
978 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
979 # Conn-Usermodes: Set modes on users when they connect
980 # When this module is loaded <connect:allow> tags may have an optional
981 # modes="" value, which contains modes to add or remove from users
982 # when they connect to the server.
983 #<module name="m_conn_umodes.so">
984
985 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
986 # Conn-Wait-for-Pong: Don't let a user connect until they PONG
987 #<module name="m_conn_waitpong.so">
988 #
989 #-#-#-#-#-#-#-#-#-#-#-   WAITPONG CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
990 #                                                                     #
991 # If you have the m_conn_waitpong.so module loaded, configure it with #
992 # the <waitpong> tag:                                                 #
993 #                                                                     #
994 # sendsnotice    -   Whether to send a snotice on connect, like other #
995 #                    older ircds                                      #
996 #                                                                     #
997 # killonbadreply -   Whether to kill the user if they send the wrong  #
998 #                    PONG reply.                                      #
999 #                                                                     #
1000 #<waitpong sendsnotice="yes" killonbadreply="yes">
1001
1002 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1003 # Connection throttle module. Configuration:
1004 #<module name="m_connflood.so">
1005 #
1006 #-#-#-#-#-#-#-#-#-#-#- CONTHROTTLE CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
1007 #  seconds, maxconns -  Amount of connections per <seconds>.
1008 #
1009 #  timeout           -  Time to wait after the throttle was activated
1010 #                       before deactivating it. Be aware that the time
1011 #                       is seconds + timeout.
1012 #
1013 #  quitmsg           -  The message that users get if they attempt to
1014 #                       connect while the throttle is active.
1015 #
1016 #  bootwait          -  Amount of time to wait before enforcing the
1017 #                       throttling when the server just booted.
1018 #
1019 #<connflood seconds="30" maxconns="3" timeout="30"
1020 #   quitmsg="Throttled" bootwait="10">
1021
1022 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1023 # DCCALLOW module: Adds the /DCCALLOW command
1024 #<module name="m_dccallow.so">
1025 #
1026 #-#-#-#-#-#-#-#-#-#-#-  DCCALLOW CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
1027 #  blockchat         - Whether to block DCC CHAT as well as DCC SEND
1028 #  length            - Default duration of entries in DCCALLOW list
1029 #  action            - Default action to take if no action is specified
1030 #                      can be 'block' or 'allow'
1031 #
1032 # File configuration:
1033 #  pattern           - The glob pattern to match against
1034 #  action            - Action to take if a user attempts to send a file
1035 #                      that matches this pattern, can be 'block' or 'allow'
1036 #
1037 #<dccallow blockchat="yes" length="5m" action="block">
1038 #<banfile pattern="*.exe" action="block">
1039 #<banfile pattern="*.txt" action="allow">
1040 #
1041 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1042
1043 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1044 # Deaf module: adds support for ircu style usermode +d - deaf to
1045 # channel messages and channel notices.
1046 #<module name="m_deaf.so">
1047
1048 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1049 # Deny Channels: Deny Channels from being used by users
1050 #<module name="m_denychans.so"> 
1051 #
1052 #-#-#-#-#-#-#-#-#-#-#-   DENYCHAN DEFINITIONS  -#-#-#-#-#-#-#-#-#-#-#-#
1053 #                                                                     #
1054 # If you have the m_denychans.so module loaded, you need to specify   #
1055 # the channels to deny:                                               #
1056 #                                                                     #
1057 # name        -      The channel name to deny.                        #
1058 #                                                                     #
1059 # allowopers  -      If operators are allowed to override the deny.   #
1060 #                                                                     #
1061 # reason      -      Reason given for the deny.                       #
1062 #                                                                     #
1063 #<badchan name="#gods" allowopers="yes" reason="Tortoises!">
1064
1065 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1066 # Devoice Module: Let users devoice themselves.
1067 #<module name="m_devoice.so">
1068
1069 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1070 # Filter module: Provides glob-based message filtering
1071 #<module name="m_filter.so">
1072 # OR
1073 # PCRE filter module: Filters messages using regular expressions
1074 #<module name="m_filter_pcre.so">
1075 #
1076 # You may only use one or the other with these modules, network-wide.
1077 #
1078 #-#-#-#-#-#-#-#-#-#-#-  FILTER  CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#-#
1079 #                                                                     #
1080 # Optional - If you specify to use the m_filter or m_filter_pcre      #
1081 # modules, then specfiy below the path to the filter.conf file,       #
1082 # or define some <filter> tags.                                       #
1083 #                                                                     #
1084 #<include file="filter.conf">
1085
1086 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1087 # Foobar module: does nothing - historical relic
1088 #<module name="m_foobar.so">
1089
1090 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1091 # Globops module: gives /GLOBOPS and usermode +g
1092 #<module name="m_globops.so">
1093
1094 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1095 # Global load module: Allows loading and unloading of modules network-
1096 # wide (USE WITH EXTREME CAUTION!)
1097 #<module name="m_globalload.so">
1098
1099 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1100 # HELPOP module: Provides the /HELPOP command
1101 #<module name="m_helpop.so">
1102 #
1103 #-#-#-#-#-#-#-#-#-#-#-#-  HELPOP  CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
1104 #                                                                     #
1105 # Optional - If you specify to use the m_helpop.so module, then       #
1106 # specify below the path to the helpop.conf file, or if you like to   #
1107 # make a mess, define your helpop tags in this conf.                  #
1108 #                                                                     #
1109 #<include file="helpop.conf">
1110
1111 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1112 # HIDECHANS module: Allows opers to hide their channels list from non-
1113 # opers by setting user mode +I on themselves.
1114 # <module name="m_hidechans.so">
1115
1116 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1117 # HIDEOPER module: Allows opers to hide their oper status from non-
1118 # opers by setting user mode +H on themselves.
1119 # <module name="m_hideoper.so">
1120
1121 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1122 # Hostchange module: Allows a different style of cloaking
1123 #<module name="m_hostchange.so">
1124 #
1125 #-#-#-#-#-#-#-#-#-#-#-  HOSTCHANGE  CONFIGURATION  -#-#-#-#-#-#-#-#-#-#
1126 #                                                                     #
1127 # Optional - If you choose to use the m_hostchange.so module.         #
1128 # Config Help -  See http://www.inspircd.org/wiki/Host_Changer_Module #
1129 #                                                                     #
1130 #<host suffix="polarbears.org">
1131 #<hostchange mask="*@fbi.gov" action="addnick">
1132 #<hostchange mask="*r00t@*" action="suffix">
1133 #<hostchange mask="a@b.com" action="set" value="blah.blah.blah">
1134
1135 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1136 # httpd module: Provides http server support for InspIRCd
1137 #<module name="m_httpd.so">
1138 #
1139 #-#-#-#-#-#-#-#-#-#-#-#-  HTTPD   CONFIGURATION  -#-#-#-#-#-#-#-#-#-#-#
1140 #
1141 # Optional - If you choose to use the m_httpd.so module,  then you must
1142 # specify the port number and other details of your http server:
1143 #
1144 #<http ip="192.168.1.10" host="brainwave" port="32006"
1145 #      index="/home/brain/inspircd/http/index.html">
1146 #
1147 # You may have as many of these tags as you wish, each with a different
1148 # IP, port, host or index file. Each one will act as an independent
1149 # HTTP server.
1150 #
1151
1152 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1153 # http stats module: Provides basic stats pages over HTTP
1154 # Requires m_httpd.so to be loaded for it to function.
1155 #<module name="m_httpd_stats.so">
1156 #
1157 #-#-#-#-#-#-#-#-#-#-#-#- HTTPD STATS CONFIGURATION -#-#-#-#-#-#-#-#-#-#
1158 #
1159 #<httpstats stylesheet="http://remote.style/sheet.css">
1160 #
1161
1162 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1163 # Ident: Provides RFC 1413 ident lookup support
1164 #<module name="m_ident.so">
1165 #
1166 #-#-#-#-#-#-#-#-#-#-#-#-   IDENT CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
1167 #                                                                     #
1168 # Optional - If you are using the m_ident.so module, then you can     #
1169 # specify the timeout for ident lookups here. If not defined, it will #
1170 # default to one second. This is a non-blocking timeout which holds   #
1171 # the user in a 'connecting' state until the lookup is complete.      #
1172 #                                                                     #
1173 #<ident timeout="5">
1174
1175 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1176 # Invite except module: Adds support for channel invite exceptions (+I)
1177 #<module name="m_inviteexception.so">
1178
1179 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1180 # Join flood module: Adds support for join flood protection (+j)
1181 #<module name="m_joinflood.so">
1182
1183 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1184 # Anti-Auto-Rejoin: Adds support for prevention of auto-rejoin (+J)
1185 #<module name="m_kicknorejoin.so">
1186
1187 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1188 # Knock module: adds the /KNOCK command and +K channel mode
1189 #<module name="m_knock.so">
1190
1191 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1192 # Msg flood module: Adds message/notice flood protection (+f)
1193 #<module name="m_messageflood.so">
1194
1195 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1196 # MySQL module: Allows other SQL modules to access MySQL databases
1197 # through a unified API. You must copy the source for this module
1198 # from the directory src/modules/extra, plus the file m_sqlv2.h
1199 #<module name="m_mysql.so">
1200 #
1201 #-#-#-#-#-#-#-#-#-#-#-#- SQL CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#-#
1202 #                                                                     #
1203 # m_mysql.so is more complex than described here, see the wiki for    #
1204 # more: http://www.inspircd.org/wiki/SQL_Service_Provider_Module      #
1205 #
1206 #<database name="mydb" username="myuser" password="mypass" hostname="localhost" id="my_database2">
1207
1208 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1209 # NAMESX module: Provides support for the NAMESX extension which allows
1210 # clients to see all the prefixes set on a user without getting confused.
1211 # This is supported by mIRC, x-chat, klient, and maybe more.
1212 #<module name="m_namesx.so">
1213
1214 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1215 # Nicklock module: Let opers change a user's nick and then stop that
1216 # user from changing their nick again.
1217 #<module name="m_nicklock.so">
1218
1219 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1220 # No ctcp module: Adds the channel mode +C to block CTCPs
1221 #<module name="m_noctcp.so">
1222
1223 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1224 # Noinvite module: Gives channel mode +V
1225 #<module name="m_noinvite.so">
1226
1227 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1228 # No kicks module: Adds the +Q channel mode
1229 #<module name="m_nokicks.so">
1230
1231 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1232 # No nicks module: Adds the +N channel mode
1233 #<module name="m_nonicks.so">
1234
1235 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1236 # No Notice module: adds the channel mode +T
1237 #<module name="m_nonotice.so">
1238
1239 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1240 # Oper channels mode: Adds the +O channel mode
1241 #<module name="m_operchans.so">
1242
1243 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1244 # Oper Join module: Forces opers to join a channel on oper-up
1245 #<module name="m_operjoin.so">
1246 #
1247 #-#-#-#-#-#-#-#-#-#-#   OPERJOIN CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
1248 #                                                                     #
1249 # If you are using the m_operjoin.so module, specify the channel here #
1250 #                                                                     #
1251 #<operjoin channel="#channel">
1252
1253 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1254 # Oper MOTD module: Provides support for seperate message of the day
1255 # on oper-up
1256 #<module name="m_opermotd.so">
1257 #
1258 #-#-#-#-#-#-#-#-#-#-#   OPERMOTD CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
1259 #                                                                     #
1260 # If you are using the m_opermotd.so module, specify the motd here    #
1261 #                                                                     #
1262 #<opermotd file="oper.motd">
1263
1264 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1265 # Override module: Adds support for oper override
1266 #<module name="m_override.so">
1267 #
1268 #-#-#-#-#-#-#-#-#-#-#   OVERRIDE CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
1269 #                                                                     #
1270 # m_override.so is too complex it describe here, see the wiki:        #
1271 # http://www.inspircd.org/wiki/Oper_Override_Module                   #
1272
1273 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1274 # Oper levels module: Gives each oper a level and prevents
1275 # actions being taken against higher level opers
1276 # Specify the level as the 'level' parameter of the <type> tag
1277 #<module name="m_operlevels.so">
1278
1279 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1280 # Oper MD5 module: Allows MD5 hashed oper passwords
1281 # Relies on the module m_md5.so being loaded before m_opermd5.so in
1282 # the configuration file.
1283 #<module name="m_opermd5.so">
1284
1285 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1286 # Oper SHA256 module: Allows SHA256 hashed oper passwords
1287 # This module is in src/modules/extra
1288 #<module name="m_opersha256.so">
1289
1290 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1291 # Oper modes module: Allows you to specify modes to add/remove on oper
1292 # Specify the modes as the 'modes' parameter of the <type> tag
1293 #<module name="m_opermodes.so">
1294
1295 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1296 # PostgreSQL module: Allows other SQL modules to access PgSQL databases
1297 # through a unified API. You must copy the source for this module
1298 # from the directory src/modules/extra, plus the file m_sqlv2.h
1299 #<module name="m_pgsql.so">
1300 #
1301 #-#-#-#-#-#-#-#-#-#-#-#- SQL CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#-#
1302 #                                                                     #
1303 # m_pgsql.so is more complex than described here, see the wiki for    #
1304 # more: http://www.inspircd.org/wiki/SQL_Service_Provider_Module      #
1305 #
1306 #<database name="mydb" username="myuser" password="mypass" hostname="localhost" id="my_database" ssl="no">
1307
1308 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1309 # Random Quote module: provides a random quote on connect.
1310 # NOTE: Some of these may mimic fatal errors and confuse users and 
1311 # opers alike! - BEWARE!
1312 #<module name="m_randquote.so">
1313 #
1314 #-#-#-#-#-#-#-#-#-#-  RANDOMQUOTES CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
1315 #                                                                     #
1316 # Optional - If you specify to use the m_randquote.so module, then    #
1317 # specify below the path to the randquotes.conf file.                 #
1318 #                                                                     #
1319 #<randquote file="randquotes.conf">
1320
1321 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1322 # Redirect module: Adds channel redirection (mode +L)
1323 #<module name="m_redirect.so">
1324
1325 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1326 # Remove module: Adds the /REMOVE command which is a peaceful
1327 # alternative to /KICK
1328 #<module name="m_remove.so">
1329
1330 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1331 # Restrict banned users module:
1332 # Disallows banned users on a channel from messaging the channel,
1333 # changing nick, or changing the topic, if loaded.
1334 #<module name="m_restrictbanned.so">
1335
1336 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1337 # Restricted channels module: Allows only opers to create channels
1338 #<module name="m_restrictchans.so">
1339
1340 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1341 # Restrict message module: Allows users to only message opers
1342 #<module name="m_restrictmsg.so">
1343
1344 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1345 # Provide /LIST throttling (to prevent flooding) and /LIST safety to
1346 # prevent excess flood when the list is large.
1347 #<module name="m_safelist.so">
1348
1349 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1350 # SAJOIN module: Adds the /SAJOIN command
1351 #<module name="m_sajoin.so">
1352
1353 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1354 # SAMODE module: Adds the oper /SAMODE command
1355 #<module name="m_samode.so">
1356
1357 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1358 # SANICK module: Allows opers to change user's nicks
1359 #<module name="m_sanick.so">
1360
1361 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1362 # SAPART module: Adds the oper /SAPART command
1363 #<module name="m_sapart.so">
1364
1365 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1366 # SAQUIT module: Adds the oper /SAQUIT command (abusable!!!)
1367 #<module name="m_saquit.so">
1368
1369 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-
1370 # Secure list module: Prevent /LIST in the first minute of connection,
1371 # crippling most spambots and trojan spreader bots.
1372 #<module name="m_securelist.so">
1373
1374 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1375 # Set Idle module: Adds a command for opers to change their
1376 # idle time (mainly a toy)
1377 #<module name="m_setidle.so">
1378
1379 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1380 # Services support module: Adds several usermodes such as +R and +M
1381 # this module implements the 'identified' state via user mode +r, which
1382 # is similar to the DALnet and dreamforge systems.
1383 #<module name="m_services.so">
1384
1385 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1386 # Services support module: Adds several usermodes such as +R and +M
1387 # this module implements the 'identified' state via account names (AC)
1388 # and is similar in operation to the way asuka and ircu handle services.
1389 # it cannot be used at the same time as m_services, above.
1390 #<module name="m_services_account.so">
1391
1392 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1393 # Sethost module: Adds the /SETHOST command
1394 #<module name="m_sethost.so">
1395
1396 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1397 # Setident module: Adds the /SETIDENT command
1398 #<module name="m_setident.so">
1399
1400 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1401 # SETNAME module: Adds the /SETNAME command
1402 #<module name="m_setname.so">
1403
1404 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1405 # Show Whois module: Adds the +W usermode which allows opers
1406 # to see when they are whois'ed (can be annoying).
1407 #<module name="m_showwhois.so">
1408
1409 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1410 # Spy module: Adds the commands SPYLIST and SPYNAMES that let opers
1411 # see who is in a +s channel, and list +s channels, show keys of keyed
1412 # channels the oper is not a member of etc. (standard 'abusive' features
1413 # of many other ircds, modulized here in InspIRCd).
1414 #<module name="m_spy.so">
1415
1416 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1417 # SSL channel mode module: Adds support for SSL-only channels (+z).
1418 # does not do anything useful without a working SSL module (see below)
1419 #<module name="m_sslmodes.so">
1420
1421 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1422 # Dummy ssl module: If you have other servers on your network which
1423 # have SSL, but your server does not have ssl enabled, you should load
1424 # this module, which will handle SSL metadata (e.g. the "Is using ssl"
1425 # field in the WHOIS information).
1426 #<module name="m_ssl_dummy.so">
1427
1428 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1429 # GnuTLS ssl module: Adds support for client-server SSL using GnuTLS,
1430 # if enabled. You must copy the source for this module from the directory
1431 # src/modules/extra, or answer 'yes' in ./configure when asked if you
1432 # want to enable this, or it will not load.
1433 #<module name="m_ssl_gnutls.so">
1434 #
1435 #-#-#-#-#-#-#-#-#-#-#-  GNUTLS CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
1436 #                                                                     #
1437 # m_ssl_gnutls.so is too complex it describe here, see the wiki:      #
1438 # http://www.inspircd.org/wiki/GnuTLS_SSL_Module                      #
1439
1440 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1441 # SSL Info module: Allows users to retrieve information about other
1442 # user's peer SSL certificates and keys. This can be used by client
1443 # scripts to validate users. For this to work, one of m_ssl_gnutls.so
1444 # or m_ssl_openssl.so must be loaded. You must symlink the source for
1445 # this module from the directory src/modules/extra.
1446 #<module name="m_sslinfo.so">
1447
1448 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1449 # OpenSSL ssl module: Adds support for client-server SSL using OpenSSL,
1450 # if enabled. You must copy the source for this module from the directory
1451 # src/modules/extra, or answer 'yes' in ./configure when asked if you
1452 # want to enable this, or it will not load.
1453 #<module name="m_ssl_openssl.so">
1454 #
1455 #-#-#-#-#-#-#-#-#-#-#- OPENSSL CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
1456 #                                                                     #
1457 # m_ssl_openssl.so is too complex it describe here, see the wiki:     #
1458 # http://www.inspircd.org/wiki/OpenSSL_SSL_Module                     #
1459
1460 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1461 # SSL Cert Oper module: Allows opers to oper up using the key fingerprint
1462 # stored within their SSL certificate and key pair.
1463 # When using this module, one of m_ssl_gnutls.so or m_ssl_openssl.so must
1464 # be loaded. An extra value should be added to enabled opers, which
1465 # is in the following format: fingerprint="<hash>". For more information,
1466 # see the example in the oper blocks.
1467 #<module name="m_ssl_oper_cert.so">
1468
1469 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1470 # Strip colour module: Adds the channel mode +S
1471 #<module name="m_stripcolor.so">
1472
1473 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1474 # SILENCE module: Adds support for /SILENCE
1475 #<module name="m_silence.so">
1476
1477 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1478 # Extended SILENCE module: Adds support for /SILENCE with additional
1479 # features to silence based on invites, channel messages, etc.
1480 #<module name="m_silence_ext.so">
1481
1482 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1483 # SQLutils module: Provides some utilities to SQL client modules, such
1484 # as mapping queries to users and channels. You must copy the source
1485 # for this module from the directory src/modules/extra/m_sqlutils.cpp
1486 # and src/modules/extra/m_sqlutils.h into /src/modules
1487 # Needed for, and loaded before: SQLauth and SQLoper
1488 #<module name="m_sqlutils.so">
1489
1490 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1491 # SQL authentication module: Allows IRCd connections to be tied into
1492 # a database table (for example a forum). You must copy the source for
1493 # this module from the directory src/modules/extra
1494 # Depends on the SQLutils module being loaded first.
1495 #<module name="m_sqlauth.so">
1496 #
1497 #-#-#-#-#-#-#-#-#-#-#- SQLAUTH CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
1498 #                                                                     #
1499 # m_sqlauth.so is too complex it describe here, see the wiki:         #
1500 # http://www.inspircd.org/wiki/SQL_Authentication_Module              #
1501
1502 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1503 # SQL logging module: Allows you to log network-wide data for your
1504 # network in a fully normalized set of SQL tables. You must copy the
1505 # source for this module from the directory src/modules/extra
1506 #<module name="m_sqllog.so">
1507 #
1508 #-#-#-#-#-#-#-#-#-#-#-  SQLLOG CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
1509 #                                                                     #
1510 # dbid       - Database ID to use (see m_sql)                         #
1511 #                                                                     #
1512 # See also: http://www.inspircd.org/wiki/SQL_Logging_Module           #
1513 #                                                                     #
1514 #<sqllog dbid="1">
1515
1516 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1517 # SQL oper module: Allows you to store oper credentials in an SQL table
1518 # You must copy the source for this module from the directory src/modules/extra
1519 # Depends on the SQLutils module being loaded first.
1520 #<module name="m_sqloper.so">
1521 #
1522 #-#-#-#-#-#-#-#-#-#-#- SQLOPER CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#
1523 #                                                                     #
1524 # dbid       - Database ID to use (see m_sql)                         #
1525 #                                                                     #
1526 # See also: http://www.inspircd.org/wiki/SQL_Oper_Storage_Module      #
1527 #                                                                     #
1528 #<sqloper dbid="1">
1529
1530 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1531 # SWHOIS module: Allows you to add arbitary lines to user WHOIS.
1532 #<module name="m_swhois.so">
1533
1534 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1535 # Test command module: Does nothing significant. Read: pointless.
1536 #<module name="m_testcommand.so">
1537
1538 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1539 # Timed bans module: Adds timed bans and the /TBAN command
1540 #<module name="m_timedbans.so">
1541
1542 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1543 # Test line module: Adds the /TLINE command, used to test how many
1544 # users a /GLINE or /ZLINE etc would match.
1545 #<module name="m_tline.so">
1546
1547 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1548 # Uninvite module: Adds the /UNINVITE command which lets users remove
1549 # pending invites from channels without waiting for the user to join.
1550 #<module name="m_uninvite.so">
1551
1552 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1553 # Userip module: Adds the /USERIP command
1554 #<module name="m_userip.so">
1555
1556 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1557 # Vhost module: Adds the VHOST command which allows for adding virtual
1558 # hosts which are accessible using a username and password in the config.
1559 #<module name="m_vhost.so">
1560 #
1561 #-#-#-#-#-#-#-#-#-#-#- VHOST CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#-#-#
1562 #                                                                     #
1563 # user       - Username for the vhost.                                #
1564 #                                                                     #
1565 # pass       - Password for the vhost.                                #
1566 #                                                                     #
1567 # host       - Vhost to set.                                          #
1568 #
1569 #<vhost user="some_username" pass="some_password" host="some.host">
1570
1571 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1572 # Watch module: Adds the WATCH command, which is used by clients to 
1573 # maintain notify lists.
1574 #<module name="m_watch.so">
1575
1576 #-#-#-#-#-#-#-#-#-#-#-#-#-#-  BAN OPTIONS  -#-#-#-#-#-#-#-#-#-#-#-#-#-#
1577 #                                                                     #
1578 # The ban tags define nick masks, host masks and ip ranges which are  #
1579 # banned from your server. All details in these tags are local to     #
1580 # Your server.                                                        #
1581 #                                                                     #
1582 #                                                                     #
1583 # badip lines ban an ip range (same as a zline)                       #
1584 #                                                                     #
1585 # ipmask       -          The ip range to ban (wildcards possible)    #
1586 #                         CIDR is supported in the IP mask.           #
1587 # reason       -          Reason to display when disconnected         #
1588 #                                                                     #
1589 # badnick lines ban a nick mask (same as a qline)                     #
1590 #                                                                     #
1591 # nick         -          Nick mask to ban (wildcards possible)       #
1592 # reason       -          Reason to display on /NICK                  #
1593 #                                                                     #
1594 # badhost lines ban a user@host mask (same as a kline)                #
1595 #                                                                     #
1596 # host         -          ident@hostname (wildcards possible)         #
1597 #                         If you specify an IP, CIDR is supported.    #
1598 # reason       -          Reason to display on disconnection          #
1599 #                                                                     #
1600 # exception lines define a hostmask that is excempt from [kzg]lines   #
1601 #                                                                     #
1602 # host         -          ident@hostname (wildcards possible)         #
1603 #                         If you specify an IP, CIDR is supported.    #
1604 # reason       -          Reason, shown only in /stats e              #
1605 #                                                                     #
1606
1607 <badip ipmask="69.69.69.69" reason="No porn here thanks.">
1608
1609 <badnick nick="ChanServ" reason="Reserved For Services">
1610 <badnick nick="NickServ" reason="Reserved For Services">
1611 <badnick nick="OperServ" reason="Reserved For Services">
1612 <badnick nick="MemoServ" reason="Reserved For Services">
1613
1614 <badhost host="*@hundredz.n.hundredz.o.1337.kiddies.com" reason="Too many 1337 kiddiots">
1615 <badhost host="*@localhost" reason="No irc from localhost!">
1616 <badhost host="*@172.32.0.0/16" reason="This subnet is bad.">
1617
1618 <exception host="*@ircop.host.com" reason="Opers hostname">
1619
1620 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#- YAWN  -#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
1621 #                                                                     #
1622 #   You should already know what to do here :)                        #
1623
1624 <die value="No, i wasnt joking. You should probably edit your config *PROPERLY* and try again.">
1625
1626
1627 #########################################################################
1628 #                                                                       #
1629 #                     - InspIRCd Development Team -                     #
1630 #                        http://www.inspircd.org                        #
1631 #                                                                       #
1632 #########################################################################