Log in | Back to darenet.org

Development Team/ircd-darenet/sample config

(New page: <pre> # ircd.conf configuration file for ircd-darenet # # Last Updated: 26, September 2008. # # This is an example configuration file used by DareNET. # # NOTES: # # All configuration ...)
 
(13 intermediate revisions not shown)
Line 1: Line 1:
 +
{{Historical}}
 +
<pre>
<pre>
-
# ircd.conf    configuration file for ircd-darenet
+
#######################################################################
-
#
+
# DareNET Template Configuration v1.1
-
# Last Updated: 26, September 2008.
+
# ircd-darenet version 1.2.0
-
#
+
# Last Updated: March 18, 2009
-
# This is an example configuration file used by DareNET.
+
#######################################################################
-
#
+
-
# NOTES:
+
#
#
-
# All configuration options start with a letter identifying the option,
+
# This is a template configuration file for DareNET servers. Change
-
# and a colon separated list of options. Unused fields should be left
+
# the various options as necessary. Should you need assistance, please
-
# blank.
+
# contact a Server Management Team member.
#
#
-
# Please keep in mind that when ircd puts the configuration lines into
+
# O-LINES:
-
# practice, it parses them exactly the other way around than they are
+
-
# listed here. It reads the lines in reverse order.
+
#
#
-
# This means that you should start your I:lines with the "fail through",
+
# We strongly encourage you to place your O-lines in a separate file
-
# most vanilla one and end with the most detailed.
+
# (e.g. opers.conf) and use an 'include' for it.
#
#
-
# Please do NOT just rename example.conf to ircd.conf and expect it to
+
# MISSING CONFIG LINES?
-
# work, because it won't!
+
#
#
 +
# You may notice some configuration lines, such as U,Q,H,etc have been
 +
# omitted from this template. This IS intentional, and you should NOT
 +
# attempt to add them. These lines are centrally managed. Our lsync
 +
# program will automatically add them to the configuration file and
 +
# keep them updated.
 +
#######################################################################
-
# [INCLUDES]
+
# [Includes]
# include:</optional/path/file.conf>
# include:</optional/path/file.conf>
-
include:klines.conf
 
include:opers.conf
include:opers.conf
# [M:line]
# [M:line]
-
# M:<server name>:<virtual host>:<description>:<not used>:<server numeric>
+
# M:<server name>:<virtual host>:<description>::<numeric>
 +
# NOTE: Numerics are assigned by the Server Management Team
-
M:servera.ny.us.darenet.org::DareNET Client Server::22
+
M:name.area.zone.darenet.org:127.0.0.1:DareNET Client Server::19
# [A:line]
# [A:line]
# A:<line 1>:<line 2>:<line 3>
# A:<line 1>:<line 2>:<line 3>
-
A:DareNET IRC Network:Server Management Team:<servers@darenet.org>
+
A:DareNET:Server Management Team:<routing@darenet.org>
# [Y:lines]
# [Y:lines]
# Y:<class>:<ping freq>:<connect freq>:<maximum links>:<sendq size>
# Y:<class>:<ping freq>:<connect freq>:<maximum links>:<sendq size>
 +
# NOTE: These are sane defaults for DareNET and don't really need changed.
 +
# Servers (90 for nonhubs) (80 for hubs)
Y:90:90:300:1:9000000
Y:90:90:300:1:9000000
Y:80:90:300:0:9000000
Y:80:90:300:0:9000000
 +
# Clients
Y:10:90:0:100:160000
Y:10:90:0:100:160000
Y:2:90:0:5:80000
Y:2:90:0:5:80000
Line 56: Line 62:
# [T:lines]
# [T:lines]
# T:<classnumber>:<path to motd file>
# T:<classnumber>:<path to motd file>
-
 
+
# NOTE: If you wish to show alternate MOTDs based on client origin
-
# [U:lines]
+
# please consult example.conf for more information.
-
# U:<Server Name>:<Juped Nicks>:*
+
-
 
+
-
U:services.darenet.org:NickServ,ChanServ,OperServ,SpamServ,MemoServ,HelpServ,Global,StatServ
+
-
U:services2.darenet.org:HallMonitor,DareNET,BotServ,HostServ,OpServ,protocol,AUX,login,pass
+
-
U:statistics.darenet.org:S,register,admin,oper,staff,newpass,operator,administrator,system
+
# [C:lines]
# [C:lines]
# C:<remote hostname or IP>:<password>:<remote server name>:<port>:<class>
# C:<remote hostname or IP>:<password>:<remote server name>:<port>:<class>
-
C:1.2.3.4:passwd:hub1.hub.darenet.org:7325:90
+
C:1.2.3.4:passwd:huba.hub.darenet.org:7324:90
# [D:lines]
# [D:lines]
# D:<server mask that ircd will refuse to connect to>::<rule>
# D:<server mask that ircd will refuse to connect to>::<rule>
# d:<server mask that ircd will not autoconnect to>::<rule>
# d:<server mask that ircd will not autoconnect to>::<rule>
 +
# NOTE: Leafs should use the following line.
d:*::directcon(*)
d:*::directcon(*)
Line 79: Line 81:
# o:<host/IP mask>:<encrypted password>:<Nick>:<flags>:<connection class>
# o:<host/IP mask>:<encrypted password>:<Nick>:<flags>:<connection class>
#
#
-
# For CHALLENGE:
+
# For /CHALLENGE
-
# O:<host/IP mask>:<path to oper's public key>:<Nick>:<flags>:<connection class>
+
# O:<host/IP mask>:<path to public key>:<Nick>:<flags>:<connection class>
-
# o:<host/IP mask>:<path to oper's public key>:<Nick>:<flags>:<connection class>
+
# o:<host/IP mask>:<path to public key>:<Nick>:<flags>:<connection class>
 +
#
 +
# NOTE: Again, we recommend placing these in opers.conf.
 +
 
 +
O:*@*.cs.vu.nl:VRKLKuGKn0jLs:Niels:OWIn:10
 +
O:*@somehost.co.nz:/home/irc/keys/ni3ls.key:ni3ls:OWInR:10
# [S:lines]
# [S:lines]
# S:<spoof host>:<password>:<*.host.cc|a.b.c.*|CIDR>:<ident>
# S:<spoof host>:<password>:<*.host.cc|a.b.c.*|CIDR>:<ident>
 +
#
 +
# NOTE: All S:lines must be password restricted, as well as restricted
 +
# based upon host. Host restrictions must restrict a significant
 +
# percentage of users access to the host. NO EXCEPTIONS.
 +
#
 +
# We don't necessairly recommend use of this feature. Use LOC instead!
# [P:lines]
# [P:lines]
# P:<hostmask>:<interface>:<[CES][H]>:<port number>
# P:<hostmask>:<interface>:<[CES][H]>:<port number>
 +
# C = Client (Ports 6660-6669,7000)
 +
# E = Encrypted SSL (Port 6697,9999)
 +
# S = Server (Port 7325)
 +
# X = Setting this to yes makes the port exempt from connection restrictions
 +
#    during a timed /restart or /die.
 +
#
 +
# H is deprecated, since non-opers can no longer see /stats p
 +
#
 +
# Encrypted SSL connections are for client connections ONLY!
 +
#
 +
P:*:127.0.0.1:S:7325
-
P:::SH:7325
+
P:*:127.0.0.1:C:6660
 +
P:*:127.0.0.1:C:6661
 +
P:*:127.0.0.1:C:6662
 +
P:*:127.0.0.1:C:6663
 +
P:*:127.0.0.1:C:6664
 +
P:*:127.0.0.1:C:6665
 +
P:*:127.0.0.1:C:6666
 +
P:*:127.0.0.1:C:6667
 +
P:*:127.0.0.1:C:6668
 +
P:*:127.0.0.1:C:6669
 +
P:*:127.0.0.1:C:7000
-
P:::C:6660
+
P:*:127.0.0.1:CE:6697
-
P:::C:6661
+
P:*:127.0.0.1:CE:9999
-
P:::C:6662
+
-
P:::C:6663
+
-
P:::C:6664
+
-
P:::C:6665
+
-
P:::C:6666
+
-
P:::C:6667
+
-
P:::C:6668
+
-
P:::C:6669
+
-
P:::CE:6697
+
-
P:::C:7000
+
-
P:::CE:9999
+
-
# [R:lines]
+
# Server Settings [local]
-
# R:<mask>:<redirection server>:<redirection port>
+
-
# [FEATURES] (local)
+
F:LOG:SYSTEM:FILE:ircd.log
-
 
+
F:LOG:SYSTEM:LEVEL:ERROR
-
F:DOMAINNAME:<obtained from /etc/resolv.conf by ./configure>
+
F:LOG:WHO:FILE:who.log
-
F:RELIABLE_CLOCK:FALSE
+
F:LOG:WHO:LEVEL:INFO
-
F:BUFFERPOOL:27000000
+
F:DOMAINNAME:ircd.darenet
-
F:HAS_FERGUSON_FLUSHER:FALSE
+
F:GEO_LOCATION:""
-
F:SERVER_PORT:7325
+
F:PROVIDER:"Brought to you by DareNET - http://www.darenet.org"
-
F:NODEFAULTMOTD:TRUE
+
F:RESTARTPASS:"neverrestart"
-
F:MOTD_BANNER
+
F:DIEPASS:"neverevereverdie"
F:HUB:FALSE
F:HUB:FALSE
-
F:NODNS:FALSE
 
-
F:RANDOM_SEED:<you should set one explicitly>
 
-
F:HANGONGOODLINK:300
 
-
F:HANGONRETRYDELAY:10
 
-
F:CONNECTTIMEOUT:90
 
-
F:TIMESEC:60
 
-
F:MAXIMUM_LINKS:1
 
-
F:PINGFREQUENCY:120
 
-
F:CONNECTFREQUENCY:600
 
-
F:MPATH:ircd.motd
 
-
F:QPATH:ircd.quotes
 
-
F:EPATH:ircd.rules
 
-
F:OMPATH:ircd.opermotd
 
-
F:RPATH:ircd.motd
 
-
F:PPATH:ircd.pid
 
-
F:TPATH:ircd.tune
 
-
F:VIRTUAL_HOST:FALSE
 
-
F:TOS_SERVER:0x08
 
-
F:TOS_CLIENT:0x08
 
-
F:POLLS_PER_LOOP:200
 
-
F:IRCD_RES_TIMEOUT:4
 
-
F:IRCD_RES_RETRIES:2
 
-
F:AUTH_TIMEOUT:9
 
-
F:QUOTES:FALSE
 
-
F:RULES:FALSE
 
-
F:OPERMOTD:TRUE
 
-
 
-
F:RESTARTPASS:""
 
-
F:DIEPASS:""
 
-
 
-
# Network specific settings will be appended below automatically
 
-
# by our linesync service. Additionally, they will be automagically
 
-
# updated throughout the day.
 
-
 
-
# DO NOT EDIT BELOW THIS LINE.
 
 +
# DO NOT REMOVE THIS LINE OR CHANGE ANYTHING BELOW IT!
# BEGIN LINESYNC
# BEGIN LINESYNC
# END LINESYNC
# END LINESYNC
</pre>
</pre>

Current revision as of 04:13, 2 December 2009

Historical
This page has been marked as Historical. Information posted here may be inaccurate and out of date. This information is kept for sentimental and/or historical reference purposes.


#######################################################################
# DareNET Template Configuration v1.1
# ircd-darenet version 1.2.0
# Last Updated: March 18, 2009
#######################################################################
#
# This is a template configuration file for DareNET servers. Change
# the various options as necessary. Should you need assistance, please
# contact a Server Management Team member.
#
# O-LINES:
#
# We strongly encourage you to place your O-lines in a separate file
# (e.g. opers.conf) and use an 'include' for it.
#
# MISSING CONFIG LINES?
#
# You may notice some configuration lines, such as U,Q,H,etc have been
# omitted from this template. This IS intentional, and you should NOT
# attempt to add them. These lines are centrally managed. Our lsync
# program will automatically add them to the configuration file and
# keep them updated.
#######################################################################

# [Includes]
# include:</optional/path/file.conf>

include:opers.conf

# [M:line]
# M:<server name>:<virtual host>:<description>::<numeric>
# NOTE: Numerics are assigned by the Server Management Team

M:name.area.zone.darenet.org:127.0.0.1:DareNET Client Server::19

# [A:line]
# A:<line 1>:<line 2>:<line 3>

A:DareNET:Server Management Team:<routing@darenet.org>

# [Y:lines]
# Y:<class>:<ping freq>:<connect freq>:<maximum links>:<sendq size>
# NOTE: These are sane defaults for DareNET and don't really need changed.

# Servers (90 for nonhubs) (80 for hubs)
Y:90:90:300:1:9000000
Y:80:90:300:0:9000000

# Clients
Y:10:90:0:100:160000
Y:2:90:0:5:80000
Y:1:90:0:400:160000

# [I:lines]
# I:<IP mask or crap to force resolving>:<opt passwd>:<hostmask>::<class>

I:*::*::1

# [T:lines]
# T:<classnumber>:<path to motd file>
# NOTE: If you wish to show alternate MOTDs based on client origin
# please consult example.conf for more information.

# [C:lines]
# C:<remote hostname or IP>:<password>:<remote server name>:<port>:<class>

C:1.2.3.4:passwd:huba.hub.darenet.org:7324:90

# [D:lines]
# D:<server mask that ircd will refuse to connect to>::<rule>
# d:<server mask that ircd will not autoconnect to>::<rule>
# NOTE: Leafs should use the following line.

d:*::directcon(*)

# [O:lines]
# O:<host/IP mask>:<encrypted password>:<Nick>:<flags>:<connection class>
# o:<host/IP mask>:<encrypted password>:<Nick>:<flags>:<connection class>
#
# For /CHALLENGE
# O:<host/IP mask>:<path to public key>:<Nick>:<flags>:<connection class>
# o:<host/IP mask>:<path to public key>:<Nick>:<flags>:<connection class>
#
# NOTE: Again, we recommend placing these in opers.conf.

O:*@*.cs.vu.nl:VRKLKuGKn0jLs:Niels:OWIn:10
O:*@somehost.co.nz:/home/irc/keys/ni3ls.key:ni3ls:OWInR:10

# [S:lines]
# S:<spoof host>:<password>:<*.host.cc|a.b.c.*|CIDR>:<ident>
#
# NOTE: All S:lines must be password restricted, as well as restricted
# based upon host. Host restrictions must restrict a significant
# percentage of users access to the host. NO EXCEPTIONS.
#
# We don't necessairly recommend use of this feature. Use LOC instead!

# [P:lines]
# P:<hostmask>:<interface>:<[CES][H]>:<port number>
# C = Client (Ports 6660-6669,7000)
# E = Encrypted SSL (Port 6697,9999)
# S = Server (Port 7325)
# X = Setting this to yes makes the port exempt from connection restrictions
#     during a timed /restart or /die.
#
# H is deprecated, since non-opers can no longer see /stats p
#
# Encrypted SSL connections are for client connections ONLY!
#
P:*:127.0.0.1:S:7325

P:*:127.0.0.1:C:6660
P:*:127.0.0.1:C:6661
P:*:127.0.0.1:C:6662
P:*:127.0.0.1:C:6663
P:*:127.0.0.1:C:6664
P:*:127.0.0.1:C:6665
P:*:127.0.0.1:C:6666
P:*:127.0.0.1:C:6667
P:*:127.0.0.1:C:6668
P:*:127.0.0.1:C:6669
P:*:127.0.0.1:C:7000

P:*:127.0.0.1:CE:6697
P:*:127.0.0.1:CE:9999

# Server Settings [local]

F:LOG:SYSTEM:FILE:ircd.log
F:LOG:SYSTEM:LEVEL:ERROR
F:LOG:WHO:FILE:who.log
F:LOG:WHO:LEVEL:INFO
F:DOMAINNAME:ircd.darenet
F:GEO_LOCATION:""
F:PROVIDER:"Brought to you by DareNET - http://www.darenet.org"
F:RESTARTPASS:"neverrestart"
F:DIEPASS:"neverevereverdie"
F:HUB:FALSE

# DO NOT REMOVE THIS LINE OR CHANGE ANYTHING BELOW IT!
# BEGIN LINESYNC

# END LINESYNC