Log in | Back to darenet.org

Development Team/ircd-darenet/new config

Below is an example of what the new ircd-darenet configuration file will look like, which will use a bind-style format. It's not the final product; therefore, some blocks may be added, changed or removed.


#[General]
# Old M:line
#
# Some general information about the server.
#
# General {
#   name = "servername";
#   vhost = "ipv4vhost";
#   description = "description";
#   numeric = numericnumber;
# }; 
#
# The <vhost> must contain either a * or a valid IPv4 address in dotted quad
# notation (e.g. 127.0.0.1). This address MUST be the address of a physical
# interface on the host. It is used for outgoing connections only. See the
# Ports blocks for listener virtual hosting. If in doubt, use * or the IP of
# your primary interface here.
#
# The <numeric> must be unqiue to the server, and must be between 0 and 4095.
# It is not updated on rehash. On DareNET, numerics are assigned by the
# Server Management Team. You should always use the numeric assigned to you.

 General {
   name = "name.area.zone.darenet.org";
   vhost = "1.2.3.4";
   description = "DareNET Client Server";
   numeric = "21";
 }; 

# [Admin]
# Old A:line
#
# This sets information that can be retrieved with the /ADMIN command.
#
# Admin {
#   Location = "Line 1";
#   Location = "Line 2";
#   Contact = "Line 3";
# };

 Admin {
   Location = "DareNET";
   Location = "Server Management Team";
   Contact = "<routing@darenet.org>";
 };

# [CRule]
# Old D/d line(s)
#
# CRule is an advanced, real-time rule-based routing decision making
# system. For more information, please refer to doc/readme.crules.
#
# Including the "all" modifier makes the rule always apply; otherwise,
# it only applies to outbound autoconnects.
#
# CRule "servermask" all connectrule;
# CRule "servermask" connectrule;
#
# Examples:
# CRule "*.us.darenet.ord" connected("*.us.darenet.org");
# CRule "*.eu.darenet.org" connected("amsterdam.nl.eu.*");
#
# The following CRule is recommended for leaf servers:

CRule "*" directcon("*");

# [UWorld]
# Old U:line
#
# One of the many great features of DareNET is Services, which is a
# program that connects to the network as a server. This allows it
# to broadcast any mode change, thus allowing an oper to, for example,
# "unlock" a channel that has been taken over.
#
# There is one slight problem to this though; the TimeStamp protocol
# prevents this. So there is a configuration option to allow them
# anyway from a specific server. This originated on Undernet, hence
# the UWorld (and U-line) reference.
#
# UWorld {
#   name = "servername";
# };

 UWorld {
    name = "services.darenet.org";
    name = "services2.darenet.org";
    name = "statistics.darenet.org";
 };

# [Jupe]
#
# It is posstible to Jupe nicknames on ircd-darenet, thus preventing
# users from using them.
#
# Jupe {
#   nick = "nick1,nick2,nick3";
# };
#

 Jupe {
   nick = "ChanServ,MemoServ,NickServ,HelpServ,SpamServ,OperServ,Global,DareNET";
   nick = "GeoServ,HostServ,S,StatServ,NoteServ,O,Oper,Admin,Operator,Administrator";
   nick = "login,protocol,pass,newpass,org,LPT1,LPT2,COM1,COM2,COM3,COM4,AUX";
   nick = "ChanSvr,ChanSaver,NickSvr,NickSaver,{,},|,},~,-,_,`";
 };

more to come...