Log in | Back to darenet.org

Development Team/ircd-darenet/sample config

#######################################################################
# DareNET Template Configuration v1.2
# ircd-darenet version 1.1.0
# Last Updated: October 17, 2008
#######################################################################
#
# 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.
# Use the one given to you in your testlink e-mail.

M:name.area.zone.darenet.org:1.2.3.4: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

# Searchbots (e.g. SearchIRC, netsplit.de)
# Exempted from /LIST restrictions
Y:20:90:0:10:160000

# 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
I:*@72.64.145.*::*@data.searchirc.org::20
I:*@85.25.141.*::*@*.server4you.de::20

# [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 a separate file.

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:192.168.*::S:7325

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

P:192.168.*::CE:6697
P:192.168.*::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:LOG:SETHOST:FILE:sethost.log
F:LOG:SETHOST:LEVEL:INFO

F:DOMAINNAME:<obtained from /etc/resolv.conf by ./configure>
F:GEO_LOCATION:"Nowhere, Neverland"
F:RELIABLE_CLOCK:FALSE
F:BUFFERPOOL:27000000
F:HAS_FERGUSON_FLUSHER:FALSE
F:SERVER_PORT:7325
F:NODEFAULTMOTD:TRUE
F:MOTD_BANNER:"Remember, ignorance is no excuse!"
F:HUB:FALSE
F:NODNS:FALSE
F:RANDOM_SEED:<you should set one explicitly>
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:FALSE
F:RESTARTPASS:"restartmenow"
F:DIEPASS:"diediedienow"
F:BOT_CLASS:20

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

# END LINESYNC