# DarkFire IRCd v1.3.8 (Updated) # Example Configuration File # General info: # - This configuration file is read "backwards" by the ircd, first used lines # should be placed last (so they appear at the top of lists) # - All lines that begin with a #, a space, or a tab are ignored. # - Errors in this config file could prevent your ircd form starting # - Further options are available in include/config.h (compile required) # - This file can be reloaded with a /rehash by an IRC Operator or by sending # SIGHUP to the ircd process, i.e. kill -HUP 1924 # == Server Information == # M:servername:IP:Description:Port (Mandatory) # Set the server name, ip, description, and main port. # - Servername is the actual name of the server # - IP is the ip to bind the main port to, either an ipv4 address or * # - Description is a multi-word field describing your server # - Port is the main port of your server M:server.darkfire.net:*:A DarkFire Server:5550 # == Admin Information == # A:Address or Name:Admin's Nickname:Admin's Email (Mandatory) # Used to display administrative info for the /admin command A:www.darkfire.net:dave:dave@darkfire.net # == Die/Restart Password == # X:: # This line requires operators to specify a password in order to actually /die # or /restart the server. X:diepass:restartpass # == Classes == # Y:class:pingfreq:connfreq or DVS:maxlinks:maxsendq # - Class is the numerical "name" of the class (i.e. 40) # - Ping frequency is the minimum time of inactivity before a ping will be made # - Connect frequency is the time in between autoconnect attempts (servers only) # - Max links is the maximum number of clients on this class. In terms of # autoconnect, it is the maximum number of servers on the class to connect to # unless it is set to 0 (unlimited). In terms of operators, this is the max # number of clients that can be opered under this "o:line nick" # - Max SendQ is the maximum value in bytes of the client's send queue # # ** IMPORTANT NOTE ** # ConnFreq can be used for client classes to specify whether a class is exempt # from dvs (in status 2) or forced dvs (in status 1). See doc/DVS for more # info on status. # 10 - force # 20 - exempt # Example: Y:2:90:20:1024:100000 # Remember to put exempt and force I:lines below regular I:lines! # Class 1: Clients Basic clients Y:1:90:0:1024:100000 # Class 2: Clients Forced DVS Y:2:90:10:1024:100000 # Class 3: Clients Exempted from DVS Y:3:90:20:1024:100000 # Class 10: Opers Y:10:90:0:10:300000 # Class 50: Hub to Hub (Autoconnect) Y:50:180:60:1:4000000 # Class 40: Leaf to Hub (Autoconnect) Y:40:180:90:1:3500000 # Class 30: Hub to leaf (No Autoconnect) Y:30:300:120:0:3500000 # I:ipmask:[password]:hostmask:[port]:class # - Match ipmask AND hostmask to clients # - (Optional) Password is the pass to be required from these clients # - (Optional) Adding a port makes the line apply only to 1 local port # - Class is the class given to clients (see Y:lines) # The highest class I:line that matches will win # # (Strongly recommended) Using a *@* format rather than * in ipmask/hostmask # requires ident from clients # # Examples: # Class 1 for *@127.0.0.1 # I:*@127.0.0.1::*@*::1 # Class 1 for *@darkfire.net # I:*@*::*@darkfire.net::1 # It is a good idea to specify an IP or Host, not both, unless you are familiar # with how I:lines really work. For more info, see doc/Ilines I:*@*::*@*::1 # == Operators == # O:mask:password:opername:operflags:class # - Mask is a user@host mask that a client can oper from # - Password and opername are used via /oper opername password # - Operflags determine the access of the operator # - Class is the class the operator becomes (i.e. 10) # Operator flags: # m - Can set operator modes # o - Can do local operator commands (includes m) # O - Can do global operator commands (includes mo) # r - Can kline/rehash remotely # S - Super priveleges (flood exemption, override services w/ SA) # a - Services Administrator (can set +a, use /akill, /sajoin, /samode, # /unbanme -- /akill and /samode can only be used when services is online # if "Super" is set # A - Server Administrator (can set +A, use /set, /die, /restart) # * - Includs moOr but not SAa O:*admin@server.darkfire.net:pass123word:admin:SAa*:10 # == K:lines == # K:hostmask:reason:identmask:usermask # == Servers == # C:host or ip:sendpassword:server.name:[port to autoconnect]:class # N:hostmask:receivepassword:server.name::class # H:leafmask::hub.server # - C/N lines must come in pairs, H:lines are needed only locally to allow # downlinks # - Host or IP in the C:line is used to connect to # - Send password watch match the remote receieve password # - The server.name is the name of the remote server # - Class is the class to give the server # - Leafmask can be * or the mask of the downlinks to accept # - Hub.server must be the name of a locally conneted server that will have # downlinks # == Special Powers == # U:server.name:*:* # Allows servers such as services to do mode changes on users and channels U:services.darkfire.net:*:* U:stats.darkfire.net:*:* # == Nick Quarantines == # Q::Reason for quarantine:nickmask # - Nickmask to prevent nicknames # Prevents users on our server from using these nicknames # This is normally handled by services Q::Reserved for services:*C*h*n*S*r*v* Q::Reserved for services:*N*i*k*S*r*v* Q::Reserved for services:*M*m*o*S*r*v* Q::Reserved for services:*H*l*p*S*r*v* Q::Reserved for services:*O*p*r*S*r*v* # == Ports == # P:IP:*:*Port # - IP is the ip to bind to, either a full IP address or * # - Port is the port to bind to P:*:*:*:6660 P:*:*:*:6661 P:*:*:*:6662 P:*:*:*:6663 P:*:*:*:6664 P:*:*:*:6665 P:*:*:*:6666 P:*:*:*:6667 P:*:*:*:6668 P:*:*:*:6669 P:*:*:*:6670 P:*:*:*:7000 P:*:*:*:8000 # == Config Lines == # - Optional lines (with unique syntax) to preset values that can be changed # by the Adminsitrative /SET command # - Available options: # * G:maxclients:*:*:1024 # * G:maxchans:*:*:10 # * G:dvsstatus:*:*:1 (valid options are 0-3, cannot be changed with /SET) # See include/config.h for more information