/* doc/example.conf - ircd-hybrid-7 Example configuration file * Copyright (C) 2000-2006 Hybrid Development Team * * Written by ejb, wcampbel, db, leeh and others * Other example configurations can be found in the source dir under * etc/. * * $Id: example.conf 639 2006-06-01 14:12:21Z michael $ */ /* IMPORTANT NOTES: * * auth {} blocks MUST be specified in order of precedence. The first one * that matches a user will be used. So place spoofs first, then specials, * then general access. * * Shell style (#), C++ style (//) and C style comments are supported. * * Files may be included by either: * .include "filename" * .include * * Times/durations are written as: * 12 hours 30 minutes 1 second * * Valid units of time: * month, week, day, hour, minute, second * * Valid units of size: * megabyte/mbyte/mb, kilobyte/kbyte/kb, byte * * Sizes and times may be singular or plural. */ /* EFNET NOTE: * * This config file is NOT suitable for EFNet. EFNet admins should use * example.efnet.conf */ /* * serverinfo {}: contains information about the server. (OLD M:) */ serverinfo { /* * name: the name of our server. This cannot be changed at runtime. */ name = "CodyTalk"; /* * sid: a server's unique ID. This is three characters long and must * be in the form [0-9][A-Z0-9][A-Z0-9]. The first character must be * a digit, followed by 2 alpha-numerical letters. * NOTE: The letters must be capitalized. This cannot be changed at runtime. */ sid = "4A7"; /* * description: the description of the server. '[' and ']' may not * be used here for compatibility with older servers. */ description = "The DonationCoder.com Private IRC Server"; /* * network info: the name and description of the network this server * is on. Shown in the 005 reply and used with serverhiding. */ network_name = "DCNet"; network_desc = "The DonationCoder.com Private IRC Network"; /* * hub: allow this server to act as a hub and have multiple servers * connected to it. This may not be changed if there are active * LazyLink servers. */ hub = no; /* * vhost: the IP to bind to when we connect outward to ipv4 servers. * This should be an ipv4 IP only, or "* for INADDR_ANY. */ #vhost = "66.79.182.199"; /* * vhost6: the IP to bind to when we connect outward to ipv6 servers. * This should be an ipv6 IP only, or "* for INADDR_ANY. */ #vhost6 = "*"; /* max_clients: the maximum number of clients allowed to connect */ max_clients = 1024; /* * rsa key: the path to the file containing our rsa key for cryptlink. * * Example command to store a 2048 bit RSA keypair in * rsa.key, and the public key in rsa.pub: * * openssl genrsa -out rsa.key 2048 * openssl rsa -in rsa.key -pubout -out rsa.pub * chown . rsa.key rsa.pub * chmod 0600 rsa.key * chmod 0644 rsa.pub */ #rsa_private_key_file = "/usr/local/ircd/etc/rsa.key"; /* * ssl certificate: the path to the file containing our ssl certificate * for encrypted client connection. * * This assumes your private RSA key is stored in rsa.key. You * MUST have an RSA key in order to generate the certificate * * openssl req -new -days 365 -x509 -key rsa.key -out cert.pem * * See http://www.openssl.org/docs/HOWTO/certificates.txt * * Please use the following values when generating the cert * * Organization Name: Network Name * Organization Unit Name: changme.someirc.net * Common Name: irc.someirc.net * E-mail: you@domain.com */ #ssl_certificate_file = "/usr/local/ircd/etc/cert.pem"; }; /* * admin {}: contains admin information about the server. (OLD A:) */ admin { name = "wordzilla"; description = "DonationCoder IRC Server Admin"; email = "