Development Team/ircd-darenet/sample config
m |
|||
Line 1: | Line 1: | ||
<pre> | <pre> | ||
- | # | + | ####################################################################### |
+ | # DareNET Template Configuration v1.0 | ||
+ | # ircd-darenet version 1.0.0 | ||
+ | # Last Updated: October 3, 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:</optional/path/file.conf> | ||
- | |||
include:opers.conf | include:opers.conf | ||
# [M:line] | # [M:line] | ||
- | # M:<server name>:<virtual host>:<description>: | + | # 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: | + | M:name.area.zone.darenet.org:1.2.3.4:DareNET Client Server::19 |
# [A:line] | # [A:line] | ||
# A:<line 1>:<line 2>:<line 3> | # A:<line 1>:<line 2>:<line 3> | ||
- | A:DareNET | + | 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 61: | ||
# [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 | ||
+ | # please consult example.conf for more information. | ||
# [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: | + | 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 72: | Line 80: | ||
# 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 | + | # O:<host/IP mask>:<path to public key>:<Nick>:<flags>:<connection class> |
- | # o:<host/IP mask>:<path to | + | # 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: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:192.168.*::S:7325 | ||
- | P::: | + | 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: | + | P:192.168.*::CE:6697 |
- | + | P:192.168.*::CE:9999 | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | P: | + | |
- | + | ||
- | # [ | + | # Server Settings [local] |
- | + | ||
- | + | ||
- | + | ||
+ | F:LOG:SYSTEM:FILE:ircd.log | ||
+ | F:LOG:SYSTEM:LEVEL:CRIT | ||
F:DOMAINNAME:<obtained from /etc/resolv.conf by ./configure> | F:DOMAINNAME:<obtained from /etc/resolv.conf by ./configure> | ||
+ | F:GEO_LOCATION:"Nowhere, Neverland" | ||
F:RELIABLE_CLOCK:FALSE | F:RELIABLE_CLOCK:FALSE | ||
F:BUFFERPOOL:27000000 | F:BUFFERPOOL:27000000 | ||
Line 109: | Line 138: | ||
F:SERVER_PORT:7325 | F:SERVER_PORT:7325 | ||
F:NODEFAULTMOTD:TRUE | F:NODEFAULTMOTD:TRUE | ||
- | F:MOTD_BANNER | + | F:MOTD_BANNER:"Remember, ignorance is no excuse!" |
F:HUB:FALSE | F:HUB:FALSE | ||
F:NODNS:FALSE | F:NODNS:FALSE | ||
F:RANDOM_SEED:<you should set one explicitly> | F:RANDOM_SEED:<you should set one explicitly> | ||
- | |||
- | |||
F:CONNECTTIMEOUT:90 | F:CONNECTTIMEOUT:90 | ||
F:TIMESEC:60 | F:TIMESEC:60 | ||
Line 121: | Line 148: | ||
F:CONNECTFREQUENCY:600 | F:CONNECTFREQUENCY:600 | ||
F:MPATH:ircd.motd | F:MPATH:ircd.motd | ||
- | F:QPATH:ircd.quotes | + | #F:QPATH:ircd.quotes |
- | F:EPATH:ircd.rules | + | #F:EPATH:ircd.rules |
- | F:OMPATH:ircd.opermotd | + | #F:OMPATH:ircd.opermotd |
F:RPATH:ircd.motd | F:RPATH:ircd.motd | ||
F:PPATH:ircd.pid | F:PPATH:ircd.pid | ||
Line 136: | Line 163: | ||
F:QUOTES:FALSE | F:QUOTES:FALSE | ||
F:RULES:FALSE | F:RULES:FALSE | ||
- | F:OPERMOTD: | + | F:OPERMOTD:FALSE |
- | + | F:RESTARTPASS:"restartmenow" | |
- | F:RESTARTPASS:"" | + | F:DIEPASS:"diediedienow" |
- | F:DIEPASS:"" | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
+ | # DO NOT REMOVE THIS LINE OR CHANGE ANYTHING BELOW IT! | ||
# BEGIN LINESYNC | # BEGIN LINESYNC | ||
# END LINESYNC | # END LINESYNC | ||
</pre> | </pre> |
Revision as of 05:54, 4 October 2008
####################################################################### # DareNET Template Configuration v1.0 # ircd-darenet version 1.0.0 # Last Updated: October 3, 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 # 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 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:CRIT 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" # DO NOT REMOVE THIS LINE OR CHANGE ANYTHING BELOW IT! # BEGIN LINESYNC # END LINESYNC