]> jfr.im git - solanum.git/blobdiff - doc/ircd.conf.example
Merge pull request #82 from grawity/sasl-send-conn-info
[solanum.git] / doc / ircd.conf.example
index f7df45737cbd70098f8669cb28386b06c242e5e5..28a926ab78907f1c43dc71fd09871610db5725f3 100755 (executable)
@@ -54,15 +54,15 @@ serverinfo {
        /* On multi-homed hosts you may need the following. These define
         * the addresses we connect from to other servers. */
        /* for IPv4 */
-       #vhost = "192.169.0.1";
+       #vhost = "192.0.2.6";
        /* for IPv6 */
-       #vhost6 = "3ffe:80e8:546::2";
+       #vhost6 = "2001:db8:2::6";
        
        /* ssl_private_key: our ssl private key */
        ssl_private_key = "etc/ssl.key";
 
        /* ssl_cert: certificate for our ssl server */
-       ssl_cert = "etc/ssl.cert";
+       ssl_cert = "etc/ssl.pem";
 
        /* ssl_dh_params: DH parameters, generate with openssl dhparam -out dh.pem 1024 */
        ssl_dh_params = "etc/dh.pem";
@@ -146,12 +146,12 @@ listen {
        /* If you want to listen on a specific IP only, specify host.
         * host definitions apply only to the following port line.
         */
-       #host = "192.169.0.1";
+       #host = "192.0.2.6";
        port = 5000, 6665 .. 6669;
        sslport = 6697;
 
        /* Listen on IPv6 (if you used host= above). */
-       #host = "3ffe:1234:a:b:c::d";
+       #host = "2001:db8:2::6";
        #port = 5000, 6665 .. 6669;
        #sslport = 9999;
 };
@@ -168,8 +168,8 @@ auth {
         * prepending a 0 if it starts with a colon) and can also use CIDR
         * masks.
         */
-       user = "*@172.16.0.0/12";
-       user = "*test@123D:B567:*";
+       user = "*@198.51.100.0/24";
+       user = "*test@2001:db8:1:*";
 
        /* password: an optional password that is required to use this block.
         * By default this is not encrypted, specify the flag "encrypted" in
@@ -291,7 +291,7 @@ operator "god" {
 };
 
 connect "irc.uplink.com" {
-       host = "192.168.0.1";
+       host = "203.0.113.3";
        send_password = "password";
        accept_password = "anotherpassword";
        port = 6666;
@@ -307,7 +307,7 @@ connect "irc.uplink.com" {
 };
 
 connect "ssl.uplink.com" {
-       host = "192.168.0.1";
+       host = "203.0.113.129";
        send_password = "password";
        accept_password = "anotherpassword";
        port = 9999;
@@ -397,24 +397,12 @@ serverhide {
  *
  * Consult your blacklist provider for the meaning of these parameters; they
  * are usually used to denote different ban types.
- *
- * Note: AHBL (the providers of the below *.ahbl.org BLs) request that they be
- * contacted, via email, at admins@2mbit.com before using these BLs.
- * See <http://www.ahbl.org/services.php> for more information.
  */
 blacklist {
        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}";
 
-#      host = "ircbl.ahbl.org";
-#      type = ipv4;
-#      reject_reason = "${nick}, your IP (${ip}) is listed in ${dnsbl-host} for having an open proxy. In order to protect ${network-name} from abuse, we are not allowing connections with open proxies to connect.";
-#
-#      host = "tor.ahbl.org";
-#      type = ipv4;
-#      reject_reason = "${nick}, your IP (${ip}) is listed as a TOR exit node. In order to protect ${network-name} from tor-based abuse, we are not allowing TOR exit nodes to connect to our network.";
-#
        /* Example of a blacklist that supports both IPv4 and IPv6 and using matches */
 #      host = "foobl.blacklist.invalid";
 #      type = ipv4, ipv6;
@@ -473,6 +461,14 @@ general {
        default_operstring = "is an IRC Operator";
        default_adminstring = "is a Server Administrator";
        servicestring = "is a Network Service";
+
+       /*
+        * Nick of the network's SASL agent. Used to check whether services are here,
+        * SASL credentials are only sent to its server. Needs to be a service.
+        *
+        * Defaults to SaslServ if unspecified.
+        */
+       sasl_service = "SaslServ";
        disable_fake_channels = no;
        tkline_expire_notices = no;
        default_floodcount = 10;