Log in | Back to darenet.org

Development Team/ircd-darenet/sample config

m
Line 3: Line 3:
# DareNET Template Configuration v1.2
# DareNET Template Configuration v1.2
# ircd-darenet version 1.1.0
# ircd-darenet version 1.1.0
-
# Last Updated: October 17, 2008
+
# Last Updated: --~~~~
#######################################################################
#######################################################################
#
#
Line 135: Line 135:
# Server Settings [local]
# Server Settings [local]
 +
# LOCAL SETTINGS
 +
F:RELIABLE_CLOCK:TRUE
F:LOG:SYSTEM:FILE:ircd.log
F:LOG:SYSTEM:FILE:ircd.log
F:LOG:SYSTEM:LEVEL:ERROR
F:LOG:SYSTEM:LEVEL:ERROR
F:LOG:WHO:FILE:who.log
F:LOG:WHO:FILE:who.log
F:LOG:WHO:LEVEL:INFO
F:LOG:WHO:LEVEL:INFO
-
F:LOG:SETHOST:FILE:sethost.log
+
F:DOMAINNAME:yourdomain.com
-
F:LOG:SETHOST:LEVEL:INFO
+
F:GEO_LOCATION:"My Basement, My House"
-
 
+
F:PROVIDER:"Brought to you by DareNET - http://www.darenet.org"
-
F:DOMAINNAME:<obtained from /etc/resolv.conf by ./configure>
+
F:RESTARTPASS:"neverrestart"
-
F:GEO_LOCATION:"Nowhere, Neverland"
+
F:DIEPASS:"neverevereverdie"
-
F:RELIABLE_CLOCK:FALSE
+
F:HUB:TRUE
-
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!
# DO NOT REMOVE THIS LINE OR CHANGE ANYTHING BELOW IT!

Revision as of 16:03, 16 March 2009

#######################################################################
# DareNET Template Configuration v1.2
# ircd-darenet version 1.1.0
# Last Updated: --~~~~
#######################################################################
#
# 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.*::*@*.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]

# LOCAL SETTINGS
F:RELIABLE_CLOCK:TRUE
F:LOG:SYSTEM:FILE:ircd.log
F:LOG:SYSTEM:LEVEL:ERROR
F:LOG:WHO:FILE:who.log
F:LOG:WHO:LEVEL:INFO
F:DOMAINNAME:yourdomain.com
F:GEO_LOCATION:"My Basement, My House"
F:PROVIDER:"Brought to you by DareNET - http://www.darenet.org"
F:RESTARTPASS:"neverrestart"
F:DIEPASS:"neverevereverdie"
F:HUB:TRUE

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

# END LINESYNC