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> | ||
- | # | + | ####################################################################### |
- | + | # DareNET Template Configuration v1.1 | |
- | # Last Updated: | + | # 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:</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 | ||
- | M: | + | 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 | + | 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 | |
- | # | + | # 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 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 | + | # 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 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::: | + | 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:: | + | P:*:127.0.0.1:CE:6697 |
- | + | P:*:127.0.0.1:CE:9999 | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | P:: | + | |
- | + | ||
- | # [ | + | # Server Settings [local] |
- | + | ||
- | + | F:LOG:SYSTEM:FILE:ircd.log | |
- | + | F:LOG:SYSTEM:LEVEL:ERROR | |
- | F: | + | F:LOG:WHO:FILE:who.log |
- | F: | + | F:LOG:WHO:LEVEL:INFO |
- | F: | + | F:DOMAINNAME:ircd.darenet |
- | F: | + | F:GEO_LOCATION:"" |
- | F: | + | F:PROVIDER:"Brought to you by DareNET - http://www.darenet.org" |
- | F: | + | F:RESTARTPASS:"neverrestart" |
- | F: | + | F:DIEPASS:"neverevereverdie" |
F:HUB:FALSE | F:HUB:FALSE | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
+ | # 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
| 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