Log in | Back to darenet.org

Development Team/ircd-darenet/new config

(New page: <pre> #[General] # # Some information about the server. # # General { # name = "servername"; # vhost = "ipv4vhost"; # description = "description"; # numeric = numericnumber; # }; ...)
 
(One intermediate revision not shown)
Line 1: Line 1:
 +
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.
 +
 +
<pre>
<pre>
#[General]
#[General]
 +
# Old M:line
#
#
-
# Some information about the server.
+
# Some general information about the server.
#
#
# General {
# General {
Line 11: Line 15:
# };  
# };  
#
#
-
# <vhost> must contain either a * or a valid IPv4 address in dotted quad
+
# 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
+
# notation (e.g. 127.0.0.1). This address MUST be the address of a physical
-
# physical interface on the host. This address is used for outgoing
+
# interface on the host. It is used for outgoing connections only. See the
-
# connections only, see Port blocks for listener virtual hosting.
+
# Ports blocks for listener virtual hosting. If in doubt, use * or the IP of
 +
# your primary interface here.
#
#
-
# If in doubt, put a * or the IP of your primary interface here. The
+
# The <numeric> must be unqiue to the server, and must be between 0 and 4095.
-
# server must be compiled with virtual hosting turned on to get this
+
# It is not updated on rehash. On DareNET, numerics are assigned by the
-
# to work correctly (by default, it is).
+
# Server Management Team. You should always use the numeric assigned to you.
-
#
+
-
# <numeric> has to be unique on the network, and must be between 0
+
-
# and 4095, and is not updated on rehash. On DareNET, the Server
+
-
# Management Team assigns numerics to each server, which should
+
-
# always be used.
+
  General {
  General {
Line 33: Line 33:
# [Admin]
# [Admin]
 +
# Old A:line
#
#
# This sets information that can be retrieved with the /ADMIN command.
# This sets information that can be retrieved with the /ADMIN command.
Line 45: Line 46:
   Location = "DareNET";
   Location = "DareNET";
   Location = "Server Management Team";
   Location = "Server Management Team";
-
   Contact = "<routing@darenet.org>";
+
   Contact = "<infrastructure@darenet.org>";
  };
  };
# [CRule]
# [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.
#
#
-
# For an advanced, real-time rule-based routing decision making system
+
# Including the "all" modifier makes the rule always apply; otherwise,
-
# you can use crule blocks. For more information, see doc/readme.crules.
+
-
# Including the "all" modifier makes the rule always apply. Otherwise,
+
# it only applies to outbound autoconnects.
# it only applies to outbound autoconnects.
#
#
Line 67: Line 70:
# [UWorld]
# [UWorld]
 +
# Old U:line
#
#
-
# One, of the many, nice features on DareNET is Services, which is a
+
# 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
+
# program that connects to the network as a server. This allows it
-
# broadcast any mode change, thus allowing an oper to, for example,
+
# to broadcast any mode change, thus allowing an oper to, for example,
# "unlock" a channel that has been taken over.
# "unlock" a channel that has been taken over.
#
#
# There is one slight problem to this though; the TimeStamp protocol
# There is one slight problem to this though; the TimeStamp protocol
# prevents this. So there is a configuration option to allow them
# prevents this. So there is a configuration option to allow them
-
# anyway from a certain server. This originated on Undernet, hence
+
# anyway from a specific server. This originated on Undernet, hence
# the UWorld (and U-line) reference.
# the UWorld (and U-line) reference.
#
#
Line 90: Line 94:
# [Jupe]
# [Jupe]
#
#
-
# ircd-darenet makes it possible to Jupe nicknames, e.g. preventing
+
# It is posstible to Jupe nicknames on ircd-darenet, thus preventing
# users from using them.
# users from using them.
#
#

Current revision as of 17:37, 22 November 2009

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 = "<infrastructure@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...