Log in | Back to darenet.org

Development Team/ircd-darenet/sample config

# ircd.conf    configuration file for ircd-darenet
#
# Last Updated:  26, September 2008.
#
# This is an example configuration file used by DareNET.
#
# NOTES:
#
# All configuration options start with a letter identifying the option,
# and a colon separated list of options. Unused fields should be left
# blank.
#
# Please keep in mind that when ircd puts the configuration lines into
# 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",
# most vanilla one and end with the most detailed.
#
# Please do NOT just rename example.conf to ircd.conf and expect it to
# work, because it won't!
#

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

include:klines.conf
include:opers.conf

# [M:line]
# M:<server name>:<virtual host>:<description>:<not used>:<server numeric>

M:servera.ny.us.darenet.org::DareNET Client Server::22

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

A:DareNET IRC Network:Server Management Team:<servers@darenet.org>

# [Y:lines]
# Y:<class>:<ping freq>:<connect freq>:<maximum links>:<sendq size>

Y:90:90:300:1:9000000
Y:80:90:300:0:9000000

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>

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

C:1.2.3.4:passwd:hub1.hub.darenet.org:7325:90

# [D:lines]
# D:<server mask that ircd will refuse to connect to>::<rule>
# d:<server mask that ircd will not autoconnect to>::<rule>

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 oper's public key>:<Nick>:<flags>:<connection class>
# o:<host/IP mask>:<path to oper's public key>:<Nick>:<flags>:<connection class>

# [S:lines]
# S:<spoof host>:<password>:<*.host.cc|a.b.c.*|CIDR>:<ident>

# [P:lines]
# P:<hostmask>:<interface>:<[CES][H]>:<port number>

P:::SH:7325

P:::C:6660
P:::C:6661
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]
# R:<mask>:<redirection server>:<redirection port>

# [FEATURES] (local)

F:DOMAINNAME:<obtained from /etc/resolv.conf by ./configure>
F:RELIABLE_CLOCK:FALSE
F:BUFFERPOOL:27000000
F:HAS_FERGUSON_FLUSHER:FALSE
F:SERVER_PORT:7325
F:NODEFAULTMOTD:TRUE
F:MOTD_BANNER
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.

# BEGIN LINESYNC

# END LINESYNC