]> jfr.im git - solanum.git/blob - doc/reference.conf
reference.conf: Fix inconsistent use of tabulations and spaces
[solanum.git] / doc / reference.conf
1 /* doc/reference.conf - solanum example configuration file
2 *
3 * Copyright (C) 2000-2002 Hybrid Development Team
4 * Copyright (C) 2002-2005 ircd-ratbox development team
5 * Copyright (C) 2005-2006 charybdis development team
6 *
7 * Written by ejb, wcampbel, db, leeh and others
8 *
9 */
10
11 /* IMPORTANT NOTES:
12 *
13 * class {} blocks MUST be specified before anything that uses them. That
14 * means they must be defined before auth {} and before connect {}.
15 *
16 * auth {} blocks MUST be specified in order of precedence. The first one
17 * that matches a user will be used. So place spoofs first, then specials,
18 * then general access, then restricted.
19 *
20 * privset {} blocks MUST be specified before anything that uses them. That
21 * means they must be defined before operator {}.
22 *
23 * Both shell style (#) and C style comments are supported.
24 *
25 * Files may be included by either:
26 * .include "filename"
27 * .include <filename>
28 *
29 * Times/durations are written as:
30 * 12 hours 30 minutes 1 second
31 *
32 * Valid units of time:
33 * month, week, day, hour, minute, second
34 *
35 * Valid units of size:
36 * megabyte/mbyte/mb, kilobyte/kbyte/kb, byte
37 *
38 * Sizes and times may be singular or plural.
39 */
40
41 /* Extensions:
42 *
43 * Charybdis contains several extensions that are not enabled by default.
44 * To use them, uncomment the lines below.
45 *
46 * Channel mode +-A (admin only) -- chm_adminonly
47 * Channel mode +-T (blocks notices) -- chm_nonotice
48 * Channel mode +-O (oper only) -- chm_operonly
49 * Channel mode +-S (ssl only) -- chm_sslonly
50 * Channel mode +-M (disallow KICK on IRC ops) -- chm_operpeace
51 * Restrict channel creation to logged in users -- createauthonly
52 * Account bans (+b $a[:mask]) -- extb_account
53 * Banned from another channel (+b $j:mask) -- extb_canjoin
54 * Other-channel bans (+b $c:mask) -- extb_channel
55 * Combination extbans -- extb_combi
56 * Extended ban (+b $x:mask) -- extb_extgecos
57 * Hostmask bans (for combination extbans) -- extb_hostmask
58 * Oper bans (+b $o) -- extb_oper
59 * Realname (gecos) bans (+b $r:mask) -- extb_realname
60 * Server bans (+b $s:mask) -- extb_server
61 * SSL bans (+b $z) -- extb_ssl
62 * User mode bans (+b $u:modes) -- extb_usermode
63 * Helpops system (umode +h) -- helpops
64 * HURT system -- hurt
65 * New host mangling (umode +x) -- ip_cloaking_4.0
66 * Old host mangling (umode +h) -- ip_cloaking
67 * Dynamically extend channel limits -- m_extendchans
68 * Find channel forwards -- m_findforwards
69 * /identify support -- m_identify
70 * /locops support -- m_locops
71 * Opers cannot be invisible (umode +i) -- no_oper_invis
72 * Far connection notices (snomask +F) -- sno_farconnect
73 * Remote oper up notices -- sno_globaloper
74 * Global nick-change notices -- sno_globalnickchange
75 * /whois notifications (snomask +W) -- sno_whois
76 * Oper-override (modehacking only) -- override
77 * Stop services kills -- no_kill_services
78 */
79 #loadmodule "extensions/chm_adminonly";
80 #loadmodule "extensions/chm_nonotice";
81 #loadmodule "extensions/chm_operonly";
82 #loadmodule "extensions/chm_sslonly";
83 #loadmodule "extensions/chm_operpeace";
84 #loadmodule "extensions/createauthonly";
85 #loadmodule "extensions/extb_account";
86 #loadmodule "extensions/extb_canjoin";
87 #loadmodule "extensions/extb_channel";
88 #loadmodule "extensions/extb_combi";
89 #loadmodule "extensions/extb_extgecos";
90 #loadmodule "extensions/extb_hostmask";
91 #loadmodule "extensions/extb_oper";
92 #loadmodule "extensions/extb_realname";
93 #loadmodule "extensions/extb_server";
94 #loadmodule "extensions/extb_ssl";
95 #loadmodule "extensions/extb_usermode";
96 #loadmodule "extensions/helpops";
97 #loadmodule "extensions/hurt";
98 #loadmodule "extensions/ip_cloaking_4.0";
99 #loadmodule "extensions/ip_cloaking";
100 #loadmodule "extensions/m_extendchans";
101 #loadmodule "extensions/m_findforwards";
102 #loadmodule "extensions/m_identify";
103 #loadmodule "extensions/m_locops";
104 #loadmodule "extensions/no_oper_invis";
105 #loadmodule "extensions/sno_farconnect";
106 #loadmodule "extensions/sno_globalnickchange";
107 #loadmodule "extensions/sno_globaloper";
108 #loadmodule "extensions/sno_whois";
109 #loadmodule "extensions/override";
110 #loadmodule "extensions/no_kill_services";
111
112 /* serverinfo {}: Contains information about the server. (OLD M:) */
113 serverinfo {
114 /* name: the name of our server */
115 name = "hades.arpa";
116
117 /* sid: the unique server id of our server. This must be three
118 * characters long. The first character must be a digit [0-9], the
119 * remaining two chars may be letters [A-Z] or digits [0-9].
120 *
121 * This parameter must be specified for the server to start.
122 */
123 sid = "42X";
124
125 /* description: the description of our server. '[' and ']' may not
126 * be used here for compatibility with older servers.
127 */
128 description = "charybdis test server";
129
130 /* network info: the name and description of the network this server
131 * is on. Shown in the 005 reply and used with serverhiding.
132 */
133 network_name = "MyNet";
134
135 /* vhost: the IP to bind to when we connect outward to ipv4 servers.
136 * This should be an ipv4 IP only.
137 */
138 #vhost = "192.0.2.6";
139
140 /* vhost6: the IP to bind to when we connect outward to ipv6 servers.
141 * This should be an ipv6 IP only.
142 */
143 #vhost6 = "2001:db8:2::6";
144
145 /* ssl_cert: certificate (and optionally key) for our ssl server */
146 ssl_cert = "etc/ssl.pem";
147
148 /* ssl_private_key: our ssl private key (if not contained in ssl_cert file) */
149 #ssl_private_key = "etc/ssl.key";
150
151 /* ssl_dh_params: DH parameters, generate with openssl dhparam -out dh.pem 2048 */
152 /* If you do not provide parameters, some TLS backends will fail on DHE- ciphers,
153 and some will succeed but use weak, common DH groups! */
154 ssl_dh_params = "etc/dh.pem";
155
156 /* ssl_cipher_list: A list of ciphers, dependent on your TLS backend */
157 #ssl_cipher_list = "TLS_CHACHA20_POLY1305_SHA256:EECDH+HIGH:EDH+HIGH:HIGH:!aNULL";
158
159 /* ssld_count: number of ssld processes you want to start, if you
160 * have a really busy server, using N-1 where N is the number of
161 * cpu/cpu cores you have might be useful. A number greater than one
162 * can also be useful in case of bugs in ssld and because ssld needs
163 * two file descriptors per SSL connection.
164 */
165 ssld_count = 1;
166
167 /* default max clients: the default maximum number of clients
168 * allowed to connect. This can be changed once ircd has started by
169 * issuing:
170 * /quote set maxclients <limit>
171 */
172 default_max_clients = 1024;
173
174 /* nicklen: enforced nickname length (for this server only; must not
175 * be longer than the maximum length set while building).
176 */
177 nicklen = 30;
178 };
179
180 /* admin {}: contains admin information about the server. (OLD A:) */
181 admin {
182 name = "Smurf target";
183 description = "Main Server Administrator";
184 email = "<syn@packets.r.us>";
185 };
186
187 /* log {}: contains information about logfiles. */
188 log {
189 /* logfiles: the logfiles to use for specific activity. if these
190 * paths are defined, then ircd will log to them, otherwise it wont.
191 *
192 * The confs are, in order:
193 * - userlog: user exits
194 * - fuserlog: failed user connections
195 * - operlog: /oper usage
196 * - foperlog: failed /oper usage
197 * - serverlog: server connects/disconnects
198 * - klinelog: klines, etc
199 * - killlog: kills
200 * - operspylog: operspy usage
201 * - ioerrorlog: IO errors
202 */
203 fname_userlog = "logs/userlog";
204 #fname_fuserlog = "logs/fuserlog";
205 fname_operlog = "logs/operlog";
206 #fname_foperlog = "logs/foperlog";
207 fname_serverlog = "logs/serverlog";
208 #fname_klinelog = "logs/klinelog";
209 fname_killlog = "logs/killlog";
210 fname_operspylog = "logs/operspylog";
211 #fname_ioerrorlog = "logs/ioerror";
212 };
213
214 /* class {}: contain information about classes for users (OLD Y:) */
215 class "users" {
216 /* class name must go above */
217
218 /* ping time: how often a client must reply to a PING from the
219 * server before they are dropped.
220 */
221 ping_time = 2 minutes;
222
223 /* number per ident: the number of users per user@host networkwide
224 * allowed to connect. Unidented connections are classified as
225 * the same ident.
226 */
227 number_per_ident = 2;
228
229 /* number per ip: the number of local users per host allowed */
230 number_per_ip = 3;
231
232 /* number per ip global: the number of network wide connections
233 * per host allowed for a user, including connections to the
234 * local server.
235 */
236 number_per_ip_global = 5;
237
238 /* cidr_ipv4_bitlen: Limits numbers of connections from a subnet size
239 */
240 cidr_ipv4_bitlen = 24;
241
242 /* cidr_ipv6_bitlen: Limits numbers of connections from a subnet size
243 * the following example makes the subnet /64 this is useful
244 * for IPv6 connections in particular
245 */
246 cidr_ipv6_bitlen = 64;
247
248 /* number_per_cidr: Number of connections to allow from a subnet of the
249 * size given in cidr_ipv4_bitlen/cidr_ipv6_bitlen.
250 * 4 seems to be a good default to me.
251 */
252 number_per_cidr = 4;
253
254 /* max number: the maximum number of users allowed in this class */
255 max_number = 100;
256
257 /* sendq: the amount of data allowed in a clients queue before
258 * they are dropped.
259 */
260 sendq = 100 kbytes;
261 };
262
263 class "restricted" {
264 ping_time = 1 minute 30 seconds;
265 number_per_ip = 1;
266 max_number = 100;
267 sendq = 60kb;
268 };
269
270 class "opers" {
271 ping_time = 5 minutes;
272 number_per_ip = 10;
273 max_number = 100;
274 sendq = 100kbytes;
275 };
276
277 class "server" {
278 ping_time = 5 minutes;
279
280 /* connectfreq: only used in server classes. specifies the delay
281 * between autoconnecting to servers.
282 */
283 connectfreq = 5 minutes;
284
285 /* max_autoconn: the amount of servers to autoconnect to. if the number
286 * of servers in the class is or exceeds this, no more servers in the
287 * class are autoconnected. oper initiated connects are unaffected.
288 * this should usually be set to either 0 or 1. (autoconnecting from
289 * hubs to leaves may cause leaves to function as hubs by having
290 * multiple servers connected to them.)
291 */
292 max_autoconn = 1;
293
294 /* max_number: the maximum number of servers allowed in this class */
295 max_number = 100;
296
297 /* sendq: servers need a higher sendq as they are sent more data */
298 sendq = 2 megabytes;
299 };
300
301 /* listen {}: contain information about the ports ircd listens on (OLD P:) */
302 listen {
303 /* defer_accept: wait for clients to send IRC handshake data before
304 * accepting them. if you intend to use software which depends on the
305 * server replying first, such as BOPM, you should disable this feature.
306 * otherwise, you probably want to leave it on.
307 */
308 defer_accept = yes;
309
310 /* port: the specific port to listen on. if no host is specified
311 * before, it will listen on all available IPs.
312 *
313 * sslport: the specific port to listen ssl connections on. if no
314 * host is specified before, it will listen on all available IPs.
315 *
316 * ports are seperated via a comma, a range may be specified using ".."
317 */
318
319 /* port: listen on all available IPs, ports 5000 and 6665 to 6669 */
320 port = 5000, 6665 .. 6669;
321
322 /* sslport: listen for ssl connections on all available IPs, port 6697 */
323 sslport = 6697;
324
325 /* host: set a specific IP/host the ports after the line will listen
326 * on. This may be ipv4 or ipv6.
327 */
328 host = "192.0.2.6";
329 port = 7000, 7001;
330 sslport = 9000, 9001;
331
332 host = "2001:db8:2::6";
333 port = 7002;
334 sslport = 9002;
335
336 /* wsock: listeners defined with this option enabled will be websocket listeners,
337 * and will not accept normal clients.
338 */
339 wsock = yes;
340 sslport = 9999;
341 };
342
343 /* auth {}: allow users to connect to the ircd (OLD I:) */
344 auth {
345 /* user: the user@host allowed to connect. Multiple IPv4/IPv6 user
346 * lines are permitted per auth block. This is matched against the
347 * hostname and IP address (using :: shortening for IPv6 and
348 * prepending a 0 if it starts with a colon) and can also use CIDR
349 * masks.
350 */
351 user = "*@198.51.100.0/24";
352 user = "*test@2001:db8:1:*";
353
354 /* auth_user: This allows specifying a username:password instead of
355 * just a password in PASS, so that a fixed user@host is not
356 * necessary for a specific auth{} block.
357 */
358 #auth_user = "SomeUser";
359
360 /* password: an optional password that is required to use this block.
361 * By default this is not encrypted, specify the flag "encrypted" in
362 * flags = ...; below if it is.
363 */
364 password = "letmein";
365
366 /* spoof: fake the users user@host to be be this. You may either
367 * specify a host or a user@host to spoof to. This is free-form,
368 * just do everyone a favour and dont abuse it. (OLD I: = flag)
369 */
370 spoof = "I.still.hate.packets";
371
372 /* Possible flags in auth:
373 *
374 * encrypted | password is encrypted with mkpasswd
375 * spoof_notice | give a notice when spoofing hosts
376 * exceed_limit (old > flag) | allow user to exceed class user limits
377 * kline_exempt (old ^ flag) | exempt this user from k/g/xlines,
378 * | dnsbls, and proxies
379 * dnsbl_exempt | exempt this user from dnsbls
380 * proxy_exempt | exempt this user from proxies
381 * spambot_exempt | exempt this user from spambot checks
382 * shide_exempt | exempt this user from serverhiding
383 * jupe_exempt | exempt this user from generating
384 * warnings joining juped channels
385 * resv_exempt | exempt this user from resvs
386 * flood_exempt | exempt this user from flood limits
387 * USE WITH CAUTION.
388 * no_tilde (old - flag) | don't prefix ~ to username if no ident
389 * need_ident (old + flag) | require ident for user in this class
390 * need_ssl | require SSL/TLS for user in this class
391 * need_sasl | require SASL id for user in this class
392 * extend_chans | allow this user to join more channels than normal
393 * kline_spoof_ip | if this block has a spoof host, klines match only
394 * | the spoof and not the underlying IP
395 */
396 flags = kline_exempt, exceed_limit;
397
398 /* class: the class the user is placed in */
399 class = "opers";
400 };
401
402 auth {
403 /* redirect: the server and port to redirect a user to. A user does
404 * not have to obey the redirection, the ircd just suggests to them
405 * an alternative server.
406 */
407 redirserv = "irc.example.net";
408 redirport = 6667;
409
410 user = "*.example.com";
411
412 /* class: a class is required even though it is not used */
413 class = "users";
414 };
415
416 auth {
417 user = "*@*";
418 class = "users";
419 };
420
421 /* privset{}: defines operator privilege sets. */
422 privset "local_op" {
423 /* privs: controls the activities and commands an oper is
424 * allowed to do on the server
425 *
426 * Available options:
427 *
428 * oper:general: enable most general oper privileges that came
429 * with +o in older releases
430 * auspex:oper: allows the oper to see through oper hiding
431 * auspex:umodes: allows viewing other users' modes
432 * auspex:cmodes: shows privileged cmodes
433 * auspex:hostname: shows hidden hostnames/ips
434 * oper:privs: allows /stats o/O and seeing privset in /whois
435 * oper:testline: allows /testline and /testgecos
436 * oper:kill: allows local and remote users to be /KILL'd
437 * oper:routing: allows remote SQUIT and CONNECT
438 * oper:kline: allows KLINE and DLINE
439 * oper:unkline: allows UNKLINE and UNDLINE
440 * snomask:nick_changes: allows oper to see nickchanges via snomask +n
441 * oper:rehash: allows oper to REHASH config
442 * oper:die: allows DIE and RESTART
443 * oper:admin: gives admin privileges. admins
444 * may (un)load modules and see various
445 * additional information.
446 * oper:hidden_admin: gives admin privileges except
447 * will not have the admin lines in
448 * whois.
449 * oper:xline: allows use of /quote xline/unxline
450 * oper:resv: allows /quote resv/unresv
451 * oper:cmodes: allows cmode +LP
452 * oper:operwall: allows the oper to send/receive operwalls
453 * oper:spy: allows 'operspy' features to see through +s
454 * channels etc. see /quote help operspy
455 * oper:hidden: hides the oper from /stats p
456 * oper:remoteban: allows remote kline etc
457 * oper:mass_notice: allows sending mass notices
458 * oper:wallops: allows sending wallops messages
459 * oper:grant: allows using the GRANT command
460 * usermode:servnotice: allows setting +s
461 * oper:message: allows opers to bypass CALLERID (usermode +g)
462 *
463 * Privileges provided by extensions include:
464 *
465 * oper:dehelper: allows the DEHELPER command (from extensions/helpops)
466 * oper:override: enables oper override via umode +p (from extensions/override)
467 * oper:receive_immunity:
468 * confers the benefits of chmode +M (operpeace) (from extensions/chm_operpeace)
469 * usermode:helpops allows setting +h (from extensions/helpops)
470 */
471 privs = oper:general, oper:privs, oper:testline, oper:kill, oper:operwall, oper:message,
472 usermode:servnotice, auspex:oper, auspex:hostname, auspex:umodes, auspex:cmodes;
473 };
474
475 privset "server_bot" {
476 /* extends: a privset to inherit in this privset */
477 extends = "local_op";
478 privs = oper:kline, oper:remoteban, snomask:nick_changes;
479 };
480
481 privset "global_op" {
482 extends = "local_op";
483 privs = oper:routing, oper:kline, oper:unkline, oper:xline,
484 oper:resv, oper:cmodes, oper:mass_notice, oper:wallops,
485 oper:remoteban;
486 };
487
488 privset "admin" {
489 extends = "global_op";
490 privs = oper:admin, oper:die, oper:rehash, oper:spy, oper:grant;
491 };
492
493 /* operator {}: defines ircd operators. (OLD O:) */
494 operator "god" {
495 /* name: the name of the oper must go above */
496
497 /* user: the user@host required for this operator. CIDR *is*
498 * supported now. auth{} spoofs work here, other spoofs do not.
499 * multiple user="" lines are supported.
500 */
501 user = "*god@*";
502 user = "*@127.0.0.1";
503
504 /* password: the password required to oper. Unless ~encrypted is
505 * contained in flags = ...; this will need to be encrypted using
506 * mkpasswd, MD5 is supported
507 */
508 password = "etcnjl8juSU1E";
509
510 /* rsa key: the public key for this oper when using Challenge.
511 * A password should not be defined when this is used, see
512 * doc/challenge.txt for more information.
513 */
514 #rsa_public_key_file = "/usr/local/ircd/etc/oper.pub";
515
516 /* fingerprint: if specified, the oper's client certificate
517 * fingerprint will be checked against the specified fingerprint
518 * below.
519 */
520 #fingerprint = "c77106576abf7f9f90cca0f63874a60f2e40a64b";
521
522 /* umodes: the specific umodes this oper gets when they oper.
523 * If this is specified an oper will not be given oper_umodes
524 * These are described above oper_only_umodes in general {};
525 */
526 #umodes = locops, servnotice, operwall, wallop;
527
528 /* snomask: specific server notice mask on oper up.
529 * If this is specified an oper will not be given oper_snomask.
530 */
531 snomask = "+Zbfkrsuy";
532
533 /* flags: misc options for the operator. You may prefix an option
534 * with ~ to disable it, e.g. ~encrypted.
535 *
536 * Default flags are encrypted.
537 *
538 * Available options:
539 *
540 * encrypted: the password above is encrypted [DEFAULT]
541 * need_ssl: must be using SSL/TLS to oper up
542 */
543 flags = encrypted;
544
545 /* privset: privileges set to grant */
546 privset = "admin";
547 };
548
549 /* connect {}: controls servers we connect to (OLD C:, N:, H:, L:) */
550 connect "irc.uplink.com" {
551 /* the name of the other server must go above. It should match the
552 * other server's name in its serverinfo {} block, and does not
553 * need to be an actual hostname. */
554
555 /* host: the host or IP to connect to. If a hostname is used it
556 * must match the reverse dns of the server.
557 */
558 host = "203.0.113.3";
559
560 /* vhost: the host or IP to bind to for this connection. If this
561 * is not specified, the default vhost (in serverinfo {}) is used.
562 */
563 #vhost = "192.0.2.131";
564
565 /* passwords: the passwords we send (OLD C:) and accept (OLD N:).
566 * The remote server will have these passwords reversed.
567 */
568 send_password = "password";
569 accept_password = "anotherpassword";
570
571 /* fingerprint: if flags = ssl is specified, the server's
572 * certificate fingerprint will be checked against the fingerprint
573 * specified below. required if using flags = ssl.
574 */
575 #fingerprint = "c77106576abf7f9f90cca0f63874a60f2e40a64b";
576
577 /* port: the port to connect to this server on */
578 port = 6666;
579
580 /* class: the class this server is in */
581 class = "server";
582
583 /* flags: controls special options for this server
584 * encrypted - marks the accept_password as being crypt()'d
585 * autoconn - automatically connect to this server
586 * topicburst - burst topics between servers
587 * ssl - ssl/tls encrypted server connections
588 * no-export - marks the link as a no-export link (not exported to other links)
589 */
590 flags = topicburst;
591 };
592
593 connect "ipv6.lame.server" {
594 host = "192.0.2.1";
595 host = "2001:db8:3::8";
596 send_password = "password";
597 accept_password = "password";
598 port = 6666;
599
600 /* aftype: controls whether the outgoing connection uses "ipv4" or "ipv6".
601 * Default is to try either at random.
602 */
603 aftype = ipv6;
604 class = "server";
605 };
606
607 connect "ssl.uplink.com" {
608 host = "203.0.113.129";
609 send_password = "password";
610 accept_password = "anotherpassword";
611 port = 9999;
612 class = "server";
613 flags = ssl, topicburst;
614 };
615
616 /* cluster {}; servers that we propagate things to automatically. */
617 cluster {
618 /* name: the server to share with, this can be a wildcard and may be
619 * stacked.
620 */
621 /* flags: list of what to share, all the name lines above this (up
622 * until another flags entry) will receive these flags.
623 *
624 * kline - share perm klines
625 * tkline - share temp klines
626 * unkline - share unklines
627 * locops - share locops
628 * xline - share perm xlines
629 * txline - share temp xlines
630 * unxline - share unxlines
631 * resv - share perm resvs
632 * tresv - share temp resvs
633 * unresv - share unresvs
634 * all - share all of the above
635 */
636
637 /* share klines/unklines/xlines with *.lan */
638 name = "*.lan";
639 flags = kline, unkline, xline;
640
641 /* share locops with irc.ircd-ratbox.org and ircd.ircd-ratbox.org */
642 name = "irc.ircd-ratbox.org";
643 name = "ircd.ircd-ratbox.org";
644 flags = locops;
645 };
646
647 /* service{}: privileged servers (services). These servers have extra
648 * privileges such as setting login names on users and introducing clients
649 * with umode +S (unkickable, hide channels, etc).
650 * Do not place normal servers here.
651 * There may be only one service{} block.
652 */
653 service {
654 /* name: the server name. These may be stacked. */
655 name = "services.int";
656 };
657
658 /* exempt {}: IPs that are exempt from Dlines and rejectcache. (OLD d:) */
659 exempt {
660 ip = "192.0.2.0/24";
661
662 /* these may be stacked */
663 ip = "127.0.0.1";
664 };
665
666 /* secure {}: IPs that are considered to be secure networks, and get
667 * +Z without using TLS */
668 secure {
669 ip = "127.0.0.1";
670 };
671
672 /* The channel block contains options pertaining to channels */
673 channel {
674 /* invex: Enable/disable channel mode +I, a n!u@h list of masks
675 * that can join a +i channel without an invite.
676 */
677 use_invex = yes;
678
679 /* except: Enable/disable channel mode +e, a n!u@h list of masks
680 * that can join a channel through a ban (+b).
681 */
682 use_except = yes;
683
684 /* forward: Enable/disable channel mode +f, a channel to forward
685 * users to if they can't join because of +i etc. Also enables ban
686 * forwarding, <mask>$<channel>.
687 */
688 use_forward = yes;
689
690 /* knock: Allows users to request an invite to a channel that
691 * is locked somehow (+ikl). If the channel is +p or you are banned
692 * the knock will not be sent.
693 */
694 use_knock = yes;
695
696 /* knock delay: The amount of time a user must wait between issuing
697 * the knock command.
698 */
699 knock_delay = 5 minutes;
700
701 /* knock channel delay: How often a knock to any specific channel
702 * is permitted, regardless of the user sending the knock.
703 */
704 knock_delay_channel = 1 minute;
705
706 /* max chans: The maximum number of channels a user can join/be on. */
707 max_chans_per_user = 15;
708
709 /* max chans (large): The extended maximum number of channels a user can join. */
710 max_chans_per_user_large = 60;
711
712 /* max bans: maximum number of +b/e/I/q modes in a channel */
713 max_bans = 100;
714
715 /* max bans: maximum number of +b/e/I/q modes in a +L channel */
716 max_bans_large = 500;
717
718 /* splitcode: split users, split servers and either no join on split
719 * or no create on split must be enabled for split checking.
720 * splitmode will be entered on either split users or split servers
721 * dropping below the limit.
722 *
723 * you may force splitmode to be permanent by /quote set splitmode on
724 */
725
726 /* split users: when the usercount is lower than this level, consider
727 * ourselves split. this must be set for automatic splitmode
728 */
729 default_split_user_count = 0;
730
731 /* split servers: when the amount of servers that have acknowledged
732 * theyve finished bursting is lower than this, consider ourselves
733 * split. this must be set for automatic splitmode
734 */
735 default_split_server_count = 0;
736
737 /* split: no create: disallow users creating channels on split */
738 no_create_on_split = no;
739
740 /* split: no join: disallow users joining channels at all on a split */
741 no_join_on_split = no;
742
743 /* burst topicwho: when bursting topics, also burst the topic setter */
744 burst_topicwho = yes;
745
746 /* kick on split riding: kick users riding splits to join +i or +k
747 * channels. more precisely, if a bursting server sends an SJOIN
748 * for a channel with a lower TS with either a +i mode or a +k
749 * mode with a different key, kick all local users.
750 *
751 * note: this does not take +r, +b, +e and +I into account.
752 */
753 kick_on_split_riding = no;
754
755 /* only ascii channels: disable local users joining channels
756 * containing characters outside the range 33-126 (non-printable
757 * or non-ASCII).
758 */
759 only_ascii_channels = no;
760
761 /* resv_forcepart: force any local users to part a channel
762 * when a RESV is issued.
763 */
764 resv_forcepart = yes;
765
766 /* channel target change: restrict how many channels users can
767 * message per unit of time. IRC operators, channel operators and
768 * voiced users are exempt.
769 */
770 channel_target_change = yes;
771
772 /* disable local channels: if yes, then local channels will not be
773 * supported.
774 */
775 disable_local_channels = no;
776
777 /* autochanmodes: the channel modes that should be automatically set
778 * when a channel is created.
779 */
780 autochanmodes = "+nt";
781
782 /* displayed_usercount: the minimum amount of users on a channel before it
783 * is displayed in LIST. this parameter can be overridden using ELIST parameters,
784 * such as LIST >0.
785 */
786 displayed_usercount = 3;
787
788 /* strip_topic_colors: whether or not color codes in TOPIC should be stripped. */
789 strip_topic_colors = no;
790
791 /* opmod_send_statusmsg: format messages sent to ops due to +z
792 * as PRIVMSG @#channel when sent to clients.
793 */
794 opmod_send_statusmsg = no;
795
796 /* ip_bans_through_vhost: should channel IP bans see through dynamic spoofed hosts? */
797 ip_bans_through_vhost = yes;
798 };
799
800
801 /* The serverhide block contains the options regarding serverhiding */
802 serverhide {
803 /* flatten links: this option will hide various routing information
804 * and make all servers in /links appear that they are linked to
805 * this server.
806 */
807 flatten_links = no;
808
809 /* links delay: how long to wait before showing splits or new
810 * servers in a flattened /links output.
811 */
812 links_delay = 5 minutes;
813
814 /* hidden: hide this server from a /links output on servers with
815 * flatten_links enabled. this allows hub servers to be hidden etc.
816 */
817 hidden = no;
818
819 /* disable hidden: prevent servers hiding themselves from a
820 * /links ouput.
821 */
822 disable_hidden = no;
823 };
824
825 /* These are the blacklist settings.
826 * You can have multiple combinations of host and rejection reasons.
827 * They are used in pairs of one host/rejection reason.
828 *
829 * These settings should be adequate for most networks.
830 *
831 * Word to the wise: Do not use blacklists like SPEWS for blocking IRC
832 * connections.
833 *
834 * As of charybdis 2.2, you can do some keyword substitution on the rejection
835 * reason. The available keyword substitutions are:
836 *
837 * ${ip} - the user's IP
838 * ${host} - the user's canonical hostname
839 * ${dnsbl-host} - the dnsbl hostname the lookup was done against
840 * ${nick} - the user's nickname
841 * ${network-name} - the name of the network
842 *
843 * As of charybdis 3.4, a type parameter is supported, which specifies the
844 * address families the blacklist supports. IPv4 and IPv6 are supported.
845 * IPv4 is currently the default as few blacklists support IPv6 operation
846 * as of this writing.
847 *
848 * As of charybdis 3.5, a matches parameter is allowed; if omitted, any result
849 * is considered a match. If included, a comma-separated list of *quoted*
850 * strings is allowed to match queries. They may be of the format "0" to "255"
851 * to match the final octet (e.g. 127.0.0.1) or "127.x.y.z" to explicitly match
852 * an A record. The blacklist is only applied if it matches anything in the
853 * list. You may freely mix full IP's and final octets.
854 *
855 * Consult your blacklist provider for the meaning of these parameters; they
856 * are usually used to denote different ban types.
857 */
858 blacklist {
859 host = "rbl.efnetrbl.org";
860 type = ipv4;
861 reject_reason = "${nick}, your IP (${ip}) is listed in EFnet's RBL. For assistance, see http://efnetrbl.org/?i=${ip}";
862
863 /* Example of a blacklist that supports both IPv4 and IPv6 and using matches */
864 # host = "foobl.blacklist.invalid";
865 # matches = "4", "6", "127.0.0.10";
866 # type = ipv4, ipv6;
867 # reject_reason = "${nick}, your IP (${ip}) is listed in ${dnsbl-host} for some reason. In order to protect ${network-name} from abuse, we are not allowing connections listed in ${dnsbl-host} to connect";
868 };
869
870 /* These are the OPM settings.
871 * This is similar to the functionality provided by BOPM. It will scan incoming
872 * connections for open proxies by connecting to clients and attempting several
873 * different open proxy handshakes. If they connect back to us (via a dedicated
874 * listening port), and send back the data we send them, they are considered
875 * an open proxy. For politeness reasons (users may be confused by the incoming
876 * connection attempts if they are logging incoming connections), the user is
877 * notified upon connect if they are being scanned.
878 *
879 * WARNING:
880 * These settings are considered experimental. Only the most common proxy types
881 * are checked for (Charybdis is immune from POST and GET proxies). If you are
882 * not comfortable with experimental code, do not use this feature.
883 */
884 #opm {
885 /* IPv4 address to listen on. This must be a publicly facing IP address
886 * to be effective.
887 * If omitted, it defaults to serverinfo::vhost.
888 */
889 #listen_ipv4 = "127.0.0.1";
890
891 /* IPv4 port to listen on.
892 * This should not be the same as any existing listeners.
893 */
894 #port_v4 = 32000;
895
896 /* IPv6 address to listen on. This must be a publicly facing IP address
897 * to be effective.
898 * If omitted, it defaults to serverinfo::vhost6.
899 */
900 #listen_ipv6 = "::1";
901
902 /* IPv6 port to listen on.
903 * This should not be the same as any existing listeners.
904 */
905 #port_v6 = 32000;
906
907 /* You can also set the listen_port directive which will set both the
908 * IPv4 and IPv6 ports at once.
909 */
910 #listen_port = 32000;
911
912 /* This sets the timeout in seconds before ending open proxy scans.
913 * Values less than 1 or greater than 60 are ignored.
914 * It is advisable to keep it as short as feasible, so clients do not
915 * get held up by excessively long scan times.
916 */
917 #timeout = 5;
918
919 /* These are the ports to scan for SOCKS4 proxies on. They may overlap
920 * with other scan types. Sensible defaults are given below.
921 */
922 #socks4_ports = 80, 443, 1080, 8000, 8080, 10800;
923
924 /* These are the ports to scan for SOCKS5 proxies on. They may overlap
925 * with other scan types. Sensible defaults are given below.
926 */
927 #socks5_ports = 80, 443, 1080, 8000, 8080, 10800;
928
929 /* These are the ports to scan for HTTP CONNECT proxies on (plaintext).
930 * They may overlap with other scan types. Sensible defaults are given
931 * below.
932 */
933 #httpconnect_ports = 80, 8080, 8000;
934
935 /* These are the ports to scan for HTTPS CONNECT proxies on (SSL).
936 * They may overlap with other scan types. Sensible defaults are given
937 * below.
938 */
939 #httpsconnect_ports = 443, 4443;
940 #};
941
942 /*
943 * Alias blocks allow you to define custom commands. (Old m_sshortcut.c)
944 * They send PRIVMSG to the given target. A real command takes
945 * precedence above an alias.
946 */
947 alias "NickServ" {
948 /* the name must go above */
949
950 /* target: the target nick (must be a network service) or
951 * user@server (cannot be this server, only opers can use
952 * user starting with "opers" reliably, interpreted on the target
953 * server only so you may need to use nick@server instead)
954 */
955 target = "NickServ";
956 };
957
958 alias "ChanServ" {
959 target = "ChanServ";
960 };
961
962 alias "OperServ" {
963 target = "OperServ";
964 };
965
966 alias "MemoServ" {
967 target = "MemoServ";
968 };
969
970 alias "NS" {
971 target = "NickServ";
972 };
973
974 alias "CS" {
975 target = "ChanServ";
976 };
977
978 alias "OS" {
979 target = "OperServ";
980 };
981
982 alias "MS" {
983 target = "MemoServ";
984 };
985
986 /* The general block contains many of the options that were once compiled
987 * in options in config.h. The general block is read at start time.
988 */
989 general {
990 /* hide error messages: defines whether error messages from
991 * servers that are not deemed fully safe are hidden or not.
992 * These can sometimes contain IPs and can have an adverse
993 * effect on server ip hiding. Set to:
994 * yes: hide from opers and admin
995 * opers: hide from opers only
996 * no: do not hide error messages
997 * Admins on other servers count as opers.
998 */
999 hide_error_messages = opers;
1000
1001 /* hide spoof ips: hide the real ips of auth{} spoofed users
1002 * If disabled, local opers can see them.
1003 * Dynamic spoofs (e.g. set by services) are unaffected by this;
1004 * any oper (local and remote) can see the real ip.
1005 */
1006 hide_spoof_ips = yes;
1007
1008 /* default umodes: umodes to set upon connection
1009 * If you have enabled the ip_cloaking extension, and you wish for
1010 * incoming clients to be set +h or +x upon connection, add +h or +x to the umode
1011 * string below.
1012 */
1013 default_umodes = "+i";
1014
1015 /* default operstring: defines the default oper response
1016 * in /whois queries, eg "is an IRC Operator".
1017 * After startup use /quote set operstring to change.
1018 */
1019 default_operstring = "is an IRC Operator";
1020
1021 /* default adminstring: defines the default admin response
1022 * in /whois queries, eg "is a Server Administrator".
1023 * After startup use /quote set adminstring to change.
1024 */
1025 default_adminstring = "is a Server Administrator";
1026
1027 /* servicestring: defines the response for opered services (+S)
1028 * in /whois queries, eg "is a Network Service".
1029 * This is updated on rehash.
1030 */
1031 servicestring = "is a Network Service";
1032
1033 /*
1034 * Nick of the network's SASL agent. Used to check whether services are here,
1035 * SASL credentials are only sent to its server. Needs to be a service.
1036 *
1037 * Defaults to SaslServ if unspecified.
1038 */
1039 sasl_service = "SaslServ";
1040
1041 /* disable fake channels: disable local users joining fake versions
1042 * of channels, eg #foo^B^B. Disables bold, mirc colour, reverse,
1043 * underline and hard space. (ASCII 2, 3, 22, 31, 160 respectively).
1044 */
1045 disable_fake_channels = no;
1046
1047 /* tkline_expire_notices: give a notice to opers when a tkline
1048 * expires
1049 */
1050 tkline_expire_notices = no;
1051
1052 /* floodcount: the default value of floodcount that is configurable
1053 * via /quote set floodcount. This is the amount of lines a user
1054 * may send to any other user/channel in one second.
1055 */
1056 default_floodcount = 10;
1057
1058 /* failed oper notice: send a notice to all opers on the server when
1059 * someone tries to OPER and uses the wrong password, host or ident.
1060 */
1061 failed_oper_notice = yes;
1062
1063 /* dots in ident: the amount of '.' characters permitted in an ident
1064 * reply before the user is rejected.
1065 */
1066 dots_in_ident = 2;
1067
1068 /* min nonwildcard: the minimum non wildcard characters in k/d/g lines
1069 * placed via the server. klines hand placed are exempt from limits.
1070 * wildcard chars: '.' '*' '?' '@'
1071 */
1072 min_nonwildcard = 4;
1073
1074 /* min nonwildcard simple: the minimum non wildcard characters in
1075 * xlines/resvs placed via the server.
1076 * wildcard chars: '*' '?'
1077 */
1078 min_nonwildcard_simple = 3;
1079
1080 /* max accept: maximum allowed /accept's for +g usermode */
1081 max_accept = 20;
1082
1083 /* max monitor: the maximum amount of nicknames a client may have in
1084 * their monitor (server-side notify) list.
1085 */
1086 max_monitor = 100;
1087
1088 /* nick flood: enable the nickflood control code */
1089 anti_nick_flood = yes;
1090
1091 /* nick flood: the nick changes allowed in the specified period */
1092 max_nick_time = 20 seconds;
1093 max_nick_changes = 5;
1094
1095 /* anti spam time: the minimum time a user must be connected before
1096 * custom quit messages are allowed.
1097 */
1098 anti_spam_exit_message_time = 5 minutes;
1099
1100 /* ts delta: the time delta allowed between server clocks before
1101 * a warning is given, or before the link is dropped. all servers
1102 * should run ntpdate/rdate to keep clocks in sync
1103 */
1104 ts_warn_delta = 30 seconds;
1105 ts_max_delta = 5 minutes;
1106
1107 /* client exit: prepend a user's quit message with "Quit: " */
1108 client_exit = yes;
1109
1110 /* collision fnc: change user's nick to their UID instead of
1111 * killing them, if possible. This setting only applies to nick
1112 * collisions detected on this server. Only enable this if
1113 * all servers on the network allow remote nicks to start with
1114 * a digit.
1115 */
1116 collision_fnc = yes;
1117
1118 /* resv fnc: change a user's nick to a nick they have recently used
1119 * (or their UID, if no such nick can be found) when a resv matching
1120 * them is set by services. Only enable this if all servers on the
1121 * network allow remote nicks to start with a digit.
1122 */
1123 resv_fnc = yes;
1124
1125 /* global snotices: send out certain snotices (most +b, +f, +y,
1126 * some +s) to other servers via ENCAP SNOTE. Received SNOTEs are
1127 * displayed unconditionally.
1128 */
1129 global_snotices = yes;
1130
1131 /* dline reason: show the user the dline reason when they connect
1132 * and are dlined.
1133 */
1134 dline_with_reason = yes;
1135
1136 /* kline reason: show the user the reason why they are k/dlined
1137 * on exit. may give away who set k/dline when set via tcm.
1138 */
1139 kline_with_reason = yes;
1140
1141 /* tkline duration: when showing users their k/dline reason (see
1142 * kline_with_reason), don't add "Temporary K-line 123 min."
1143 */
1144 hide_tkdline_duration = no;
1145
1146 /* kline reason: make the users quit message on channels this
1147 * reason instead of the oper's reason.
1148 */
1149 kline_reason = "Connection closed";
1150
1151 /* identify to services via server password
1152 * if auth{} block had no password but the user specified a
1153 * server password anyway, send a PRIVMSG to <identify_service>
1154 * with as text <identify_command> <password>.
1155 */
1156 identify_service = "NickServ@services.int";
1157 identify_command = "IDENTIFY";
1158
1159 /* non redundant klines: flag and ignore redundant klines */
1160 non_redundant_klines = yes;
1161
1162 /* warn no nline: warn opers about servers that try to connect but
1163 * we dont have a connect {} block for. Twits with misconfigured
1164 * servers can get really annoying with this enabled.
1165 */
1166 warn_no_nline = yes;
1167
1168 /* use propagated bans: KLINE, XLINE and RESV set fully propagated bans.
1169 * That means the bans are part of the netburst and restarted/split
1170 * servers will get them, but they will not apply to 3.2 and older
1171 * servers at all.
1172 */
1173 use_propagated_bans = yes;
1174
1175 /* stats e disabled: disable stats e. useful if server ips are
1176 * exempted and you dont want them listing on irc.
1177 */
1178 stats_e_disabled = no;
1179
1180 /* stats c oper only: make stats c (connect {}) oper only */
1181 stats_c_oper_only = no;
1182
1183 /* stats y oper only: make stats y (class {}) oper only */
1184 stats_y_oper_only = no;
1185
1186 /* stats o oper only: make stats o (opers) oper only */
1187 stats_o_oper_only = yes;
1188
1189 /* stats P oper only: make stats P (ports) oper only
1190 * NOTE: users doing stats P will never be given the ips that the
1191 * server listens on, simply the ports.
1192 */
1193 stats_P_oper_only = no;
1194
1195 /* stats i oper only: make stats i (auth {}) oper only. set to:
1196 * yes: show users no auth blocks, made oper only.
1197 * masked: show users first matching auth block
1198 * no: show users all auth blocks.
1199 */
1200 stats_i_oper_only = masked;
1201
1202 /* stats k/K oper only: make stats k/K (klines) oper only. set to:
1203 * yes: show users no auth blocks, made oper only
1204 * masked: show users first matching auth block
1205 * no: show users all auth blocks.
1206 */
1207 stats_k_oper_only = masked;
1208
1209 /* stats l/L oper only:
1210 * yes: non-opers can't use this at all
1211 * self: non-opers see only themselves
1212 * no: show targeted users or non-hidden opers to everyone
1213 */
1214 stats_l_oper_only = self;
1215
1216 /* map oper only: make /map oper only */
1217 map_oper_only = no;
1218
1219 /* operspy admin only: make operspy notices to +Z admin only */
1220 operspy_admin_only = no;
1221
1222 /* operspy dont care user info: treat /who mask as if there was
1223 * an '!' always; do not log or server notice about operspy
1224 * /who mask, /masktrace and /scan. channel information is still
1225 * protected. */
1226 operspy_dont_care_user_info = no;
1227
1228 /* caller id wait: time between notifying a +g user that somebody
1229 * is messaging them.
1230 */
1231 caller_id_wait = 1 minute;
1232
1233 /* pace wait simple: time between use of less intensive commands
1234 * (HELP, remote WHOIS, WHOWAS)
1235 */
1236 pace_wait_simple = 1 second;
1237
1238 /* pace wait: time between more intensive commands
1239 * (ADMIN, INFO, LIST, LUSERS, MOTD, STATS, VERSION)
1240 */
1241 pace_wait = 10 seconds;
1242
1243 /* short motd: send clients a notice telling them to read the motd
1244 * instead of forcing a motd to clients who may simply ignore it.
1245 */
1246 short_motd = no;
1247
1248 /* ping cookies: require clients to respond exactly to a ping command,
1249 * can help block certain types of drones and FTP PASV mode spoofing.
1250 */
1251 ping_cookie = no;
1252
1253 /* connect timeout: sets how long we should wait for a connection
1254 * request to succeed
1255 */
1256 connect_timeout = 30 seconds;
1257
1258 /* ident timeout: Amount of time (in seconds) that the IRCd will
1259 * wait for a user to respond to an ident request.
1260 */
1261 default_ident_timeout = 5;
1262
1263 /* disable auth: disables identd checking */
1264 disable_auth = no;
1265
1266 /* no oper flood: increase flood limits for opers. */
1267 no_oper_flood = yes;
1268
1269 /* REMOVE ME. The following line checks you've been reading. */
1270 havent_read_conf = yes;
1271
1272 /* max targets: the maximum amount of targets in a single
1273 * PRIVMSG/NOTICE. set to 999 NOT 0 for unlimited.
1274 */
1275 max_targets = 4;
1276
1277 /* post-registration delay: wait this long before processing commands from a newly
1278 * registered user. Used to allow network utility bots to perform any actions
1279 * (such as host changes or proxy scanning) before the user can join channels.
1280 */
1281 post_registration_delay = 2 seconds;
1282
1283 /* use_whois_actually: send clients requesting a whois a numeric
1284 * giving the real IP of non-spoofed clients to prevent DNS abuse.
1285 */
1286 use_whois_actually = yes;
1287
1288 /* usermodes configurable: a list of usermodes for the options below
1289 *
1290 * +g - callerid - Server-side private message allow list
1291 * +D - deaf - Don't see channel messages
1292 * +i - invisible - Not shown in NAMES or WHO unless you share a
1293 * a channel
1294 * +l - locops - See LOCOPS messages
1295 * +Q - noforward - Unaffected by channel forwarding
1296 * +R - regonlymsg - No messages from unindentified
1297 * +s - servnotice - See server notices
1298 * +w - wallop - See oper and server generated WALLOPS
1299 * +z - operwall - See operwalls
1300 */
1301
1302 /* oper only umodes: usermodes only opers may set */
1303 oper_only_umodes = operwall, locops, servnotice;
1304
1305 /* oper umodes: default usermodes opers get when they /oper */
1306 oper_umodes = locops, servnotice, operwall, wallop;
1307
1308 /* oper snomask: default snomask opers get when they /oper,
1309 * provided they have umode +s set */
1310 oper_snomask = "+s";
1311
1312 /* burst_away: This enables bursting away messages to servers.
1313 * With this disabled, we will only propogate AWAY messages
1314 * as users send them, but never burst them. Be warned though
1315 * enabling this could increase the size of a burst significantly
1316 * for a large network, like EFnet.
1317 */
1318 burst_away = yes;
1319
1320 /* nick delay: This locks nicks of split clients for the given time
1321 * or until a remote client uses the nick. This significantly
1322 * reduces nick collisions on short splits but it can be annoying.
1323 * To make things as fair as possible, this should be the same on
1324 * all servers. If you enable this, the suggested value is 15 minutes.
1325 */
1326 nick_delay = 0 seconds;
1327
1328 /* reject time: the amount of rejections through klines/dlines etc
1329 * allowed in the given time before the rejection is cached and
1330 * a pseudo temp dline is placed
1331 */
1332 reject_ban_time = 1 minute;
1333 reject_after_count = 3;
1334
1335 /* reject duration: the amount of time to cache the rejection */
1336 reject_duration = 5 minutes;
1337
1338 /* throttle_duration: Amount of time that throttling will be applied to an IP
1339 * address.
1340 */
1341 throttle_duration = 60;
1342
1343 /* throttle_count: Number of connections within throttle_duration that it takes
1344 * for throttling to take effect */
1345 throttle_count = 4;
1346
1347 /* client flood_max_lines: maximum number of lines in a clients queue before
1348 * they are dropped for flooding.
1349 */
1350 client_flood_max_lines = 20;
1351
1352 /* Flood control settings. DO NOT CHANGE THESE without extensive discussion
1353 * and testing by someone who knows exactly what they do.
1354 *
1355 * These settings replicate charybdis-3.3 behaviour.
1356 */
1357 client_flood_burst_rate = 40;
1358 client_flood_burst_max = 5;
1359 client_flood_message_time = 1;
1360 client_flood_message_num = 2;
1361
1362 /* max_ratelimit_tokens: the maximum number of ratelimit tokens that one
1363 * user can accumulate. This attempts to limit the amount of outbound
1364 * bandwidth one user can consume. Do not change unless you know what
1365 * you're doing.
1366 */
1367 max_ratelimit_tokens = 30;
1368
1369 /* away_interval: the minimum interval between AWAY commands. One
1370 * additional AWAY command is allowed, and only marking as away
1371 * counts.
1372 */
1373 away_interval = 30;
1374
1375 /* certfp_method: the method that should be used for computing certificate fingerprints.
1376 * Acceptable options are sha1, sha256, spki_sha256, sha512 and spki_sha512. Networks
1377 * running versions of charybdis prior to charybdis 3.5 MUST use sha1 for certfp_method.
1378 *
1379 * The spki_* variants operate on the SubjectPublicKeyInfo of the certificate, which does
1380 * not change unless the private key is changed. This allows the fingerprint to stay
1381 * constant even if the certificate is reissued. These fingerprints will be prefixed with
1382 * "SPKI:SHA2-256:" or "SPKI:SHA2-512:" depending on the hash type. These fingerprints
1383 * are not supported on servers running charybdis 3.5.3 or earlier.
1384 *
1385 * To generate a fingerprint from a certificate file, please use the mkfingerprint utility
1386 * program located in the bin/ subdirectory of your IRCd installation. Running it with no
1387 * arguments will give you a brief usage message; it takes method and filename arguments.
1388 */
1389 certfp_method = spki_sha256;
1390
1391 /* hide_opers_in_whois: if set to YES, then oper status will be hidden in /WHOIS output. */
1392 hide_opers_in_whois = no;
1393
1394 /* tls_ciphers_oper_only: show the TLS cipher string in /WHOIS only to opers and self */
1395 tls_ciphers_oper_only = no;
1396
1397 /* hidden_caps: client capabilities we'll pretend we don't support until they're requested */
1398 #hidden_caps = "userhost-in-names";
1399
1400 /* oper_secure_only: require TLS on any connection trying to oper up */
1401 oper_secure_only = no;
1402 };
1403
1404 modules {
1405 /* module path: paths to search for modules specified below and
1406 * in /modload.
1407 */
1408 path = "/usr/local/ircd/modules";
1409 path = "/usr/local/ircd/modules/autoload";
1410
1411 /* module: the name of a module to load on startup/rehash */
1412 #module = "some_module";
1413 };