]> jfr.im git - solanum.git/blobdiff - doc/ircd.conf.example
Use opernames not servernames for remote opers
[solanum.git] / doc / ircd.conf.example
index 52f8aa159cb4115b8fe5b7a05ed65f6bad27d5ca..159ddf744c1bdcca1affd489c4d13c5251d5c2d9 100644 (file)
@@ -9,9 +9,6 @@
 
 /* Extensions */
 #loadmodule "extensions/chm_nonotice";
-#loadmodule "extensions/chm_operonly_compat";
-#loadmodule "extensions/chm_quietunreg_compat";
-#loadmodule "extensions/chm_sslonly_compat";
 #loadmodule "extensions/chm_operpeace";
 #loadmodule "extensions/createauthonly";
 #loadmodule "extensions/extb_account";
@@ -35,7 +32,6 @@
 #loadmodule "extensions/sno_globalkline";
 #loadmodule "extensions/sno_globalnickchange";
 #loadmodule "extensions/sno_globaloper";
-#loadmodule "extensions/sno_whois";
 #loadmodule "extensions/override";
 #loadmodule "extensions/no_kill_services";
 
@@ -236,7 +232,8 @@ auth {
  * means they must be defined before operator {}.
  */
 privset "local_op" {
-       privs = oper:local_kill, oper:operwall;
+       privs = oper:general, oper:privs, oper:testline, oper:kill, oper:operwall, usermode:servnotice,
+               auspex:oper, auspex:hostname, auspex:umodes, auspex:cmodes;
 };
 
 privset "server_bot" {
@@ -246,8 +243,8 @@ privset "server_bot" {
 
 privset "global_op" {
        extends = "local_op";
-       privs = oper:global_kill, oper:routing, oper:kline, oper:unkline, oper:xline,
-               oper:resv, oper:mass_notice, oper:remoteban;
+       privs = oper:routing, oper:kline, oper:unkline, oper:xline,
+               oper:resv, oper:cmodes, oper:mass_notice, oper:remoteban;
 };
 
 privset "admin" {
@@ -340,9 +337,8 @@ cluster {
        flags = kline, tkline, unkline, xline, txline, unxline, resv, tresv, unresv;
 };
 
-shared {
-       oper = "*@*", "*";
-       flags = all, rehash;
+secure {
+       ip = "127.0.0.1";
 };
 
 /* exempt {}: IPs that are exempt from Dlines and rejectcache. (OLD d:) */
@@ -374,6 +370,7 @@ channel {
        autochanmodes = "+nt";
        displayed_usercount = 3;
        strip_topic_colors = no;
+       opmod_send_statusmsg = no;
 };
 
 serverhide {
@@ -383,14 +380,14 @@ serverhide {
        disable_hidden = no;
 };
 
-/* These are the blacklist settings.
+/* These are the DNSBL settings.
  * You can have multiple combinations of host and rejection reasons.
  * They are used in pairs of one host/rejection reason.
  *
- * These settings should be adequate for most networks.
+ * The default settings should be adequate for most networks.
  *
- * Word to the wise: Do not use blacklists like SPEWS for blocking IRC
- * connections.
+ * It is not recommended to use DNSBL services designed for e-mail spam
+ * prevention, such as SPEWS for blocking IRC connections.
  *
  * As of charybdis 2.2, you can do some keyword substitution on the rejection
  * reason. The available keyword substitutions are:
@@ -410,13 +407,13 @@ serverhide {
  * is considered a match. If included, a comma-separated list of *quoted*
  * strings is allowed to match queries. They may be of the format "0" to "255"
  * to match the final octet (e.g. 127.0.0.1) or "127.x.y.z" to explicitly match
- * an A record. The blacklist is only applied if it matches anything in the
+ * an A record. The DNSBL match is only applied if it matches anything in the
  * list. You may freely mix full IP's and final octets.
  *
- * Consult your blacklist provider for the meaning of these parameters; they
- * are usually used to denote different ban types.
+ * Consult your DNSBL provider for the meaning of these parameters; they
+ * are usually used to denote different block reasons.
  */
-blacklist {
+dnsbl {
        host = "rbl.efnetrbl.org";
        type = ipv4;
        reject_reason = "${nick}, your IP (${ip}) is listed in EFnet's RBL. For assistance, see http://efnetrbl.org/?i=${ip}";
@@ -580,6 +577,7 @@ general {
        global_snotices = yes;
        dline_with_reason = yes;
        kline_with_reason = yes;
+       hide_tkdline_duration = no;
        kline_reason = "K-Lined";
        identify_service = "NickServ@services.int";
        identify_command = "IDENTIFY";
@@ -608,6 +606,7 @@ general {
        no_oper_flood = yes;
        max_targets = 4;
        client_flood_max_lines = 20;
+       post_registration_delay = 0 seconds;
        use_whois_actually = no;
        oper_only_umodes = operwall, locops, servnotice;
        oper_umodes = locops, servnotice, operwall, wallop;
@@ -623,6 +622,7 @@ general {
        away_interval = 30;
        certfp_method = spki_sha256;
        hide_opers_in_whois = no;
+       tls_ciphers_oper_only = no;
 };
 
 modules {