X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=conf%2Finspircd.conf.example;h=fba35bd86c7c09bb5b281248188e7aafefc1860b;hb=c64333e02a4449616683e672739526f4cc762101;hp=72f79329b738639d5649b466012b6f1abe99b2ec;hpb=28801718521fa1d07af3678d6ec171e4a95ffd19;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/conf/inspircd.conf.example b/conf/inspircd.conf.example index 72f79329b..fba35bd86 100644 --- a/conf/inspircd.conf.example +++ b/conf/inspircd.conf.example @@ -21,7 +21,7 @@ # Change the options to suit your network # # # # $Id$ -# # +# # # ____ _ _____ _ _ ____ _ _ _ # # | _ \ ___ __ _ __| | |_ _| |__ (_)___ | __ )(_) |_| | # # | |_) / _ \/ _` |/ _` | | | | '_ \| / __| | _ \| | __| | # @@ -57,9 +57,9 @@ # Syntax is as follows: # # # # # -# # -# Executable Include Example: # -# +# # +# Executable Include Example: # +# # # @@ -68,13 +68,20 @@ # Here is where you enter the information about your server. # # # - + # just remove or comment out this option. + ssl="gnutls" + > # When linking servers, the openssl and gnutls transports are largely -# link-compatible and can be used alongside each other or either/or +# link-compatible and can be used alongside each other # on each end of the link without any significant issues. # Transports can only be used on server blocks. # Supported Transports are: "zip", "openssl" and "gnutls". @@ -161,19 +169,22 @@ # need this ability should know the die and restart password. # # # - + #hash="sha256" - # diepass: Password for opers to use if they need to shutdown (die) - # a server. - diepass="" + # diepass: Password for opers to use if they need to shutdown (die) + # a server. + diepass="" - # restartpass: Password for opers to use if they need to restart - # a server. - restartpass="" - - # pause: Seconds to wait after a die command is sent before the - # server actually shuts down - pause="2"> + # restartpass: Password for opers to use if they need to restart + # a server. + restartpass=""> #-#-#-#-#-#-#-#-#-#- CONNECTIONS CONFIGURATION -#-#-#-#-#-#-#-#-#-#-# @@ -183,19 +194,91 @@ # You may have as many of these as you require. To allow/deny all # # connections, use a '*' or 0.0.0.0/0. # # # +# -- It is important to note that connect tags are read from the -- # +# TOP DOWN. This means that you should have more specific deny # +# and allow tags at the top, progressively more general, followed # +# by a + + + + + #hash="sha256" # password: Password to use for this block/user(s) - password="secret" + password="secret" + + # maxchans: Maximum number of channels a user in this class + # be in at one time. This overrides every other maxchans setting. + #maxchans="30" + + # timeout: How long (in seconds) the server will wait before + # disconnecting a user if they do not do anything on connect. + # (Note, this is a client-side thing, if the client does not + # send /nick, /user or /pass) + timeout="10" + + # pingfreq: How often (in seconds) the server tries to ping connecting clients. + pingfreq="120" + + # sendq: Amount of data (in bytes) that the server is allowed to send to the user + # before they are dropped. + sendq="262144" + + # recvq: Amount of data (in bytes) allowed in a clients queue before they are dropped. + recvq="8192" + + # localmax: Maximum local connections per IP (or CIDR mask, see below). + localmax="3" + + # globalmax: Maximum global (network-wide) connections per IP (or CIDR mask, see below). + globalmax="3" + + # useident: Defines if users in this class MUST respond to a ident query or not. + useident="no" + + # limit: How many users are allowed in this class + limit="5000" + + # modes: Usermodes that are set on users in this block on connect. + # Enabling this option requires that the m_conn_umodes module be loaded. + # This entry is highly recommended to use for/with IP Cloaking/masking. + # For the example to work, this also requires that the m_cloaking + # module be loaded as well. + modes="+x" # port: What port this user is allowed to connect on. (optional) # The port MUST be set to listen in the bind blocks above. port="6667"> - + limit="5000" + + # modes: Usermodes that are set on users in this block on connect. + # Enabling this option requires that the m_conn_umodes module be loaded. + # This entry is highly recommended to use for/with IP Cloaking/masking. + # For the example to work, this also requires that the m_cloaking + # module be loaded as well. + modes="+x"> - - #-#-#-#-#-#-#-#-#-#-#-#- CIDR CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#- # # @@ -247,21 +328,23 @@ # throttle limits across a CIDR range. (A CIDR range is a group of # # IPs, for example, the CIDR range 192.168.1.0-192.168.1.255 may be # # represented as 192.168.1.0/24). This means that abuse across an ISP # -# is detected and curtailed much easier. # +# is detected and curtailed much easier. Here is a good chart that # +# shows how many IPs the different CIDRs correspond to: # +# http://en.wikipedia.org/wiki/CIDR#Prefix_aggregation # # # + # ipv4clone: specifies how many bits of an IP address should be + # looked at for clones. The default only looks for clones on a + # single IP address of a user. You do not want to set this + # extremely low. (Values are 0-32). + ipv4clone="32" + + # ipv6clone: specifies how many bits of an IP address should be + # looked at for clones. The default only looks for clones on a + # single IP address of a user. You do not want to set this + # extremely low. (Values are 0-128). + ipv6clone="128"> # This file has all the information about oper classes, types and o:lines. # You *MUST* edit it. @@ -274,17 +357,18 @@ #-#-#-#-#-#-#-#-#-#- MISCELLANEOUS CONFIGURATION -#-#-#-#-#-#-#-#-#-# # # - #-#-#-#-#-#-#-#-#-#-#-# MAXIMUM CHANNELS -#-#-#-#-#-#-#-#-#-#-#-#-#-#-# # # - @@ -340,6 +430,9 @@ # Note that any disabled commands take effect only after the user has # # 'registered' (e.g. after the initial USER/NICK/PASS on connection) # # so for example disabling NICK will not cripple your network. # +# # +# You can also define if you want to disable any channelmodes # +# or usermodes from your users. # # # # `fakenonexistant' will make the ircd pretend that nonexistant # # commands simply don't exist to non-opers ("no such command"). # @@ -361,7 +454,7 @@ # Settings to define which features are usable on your server. # # # - + invitebypassmodes="yes"> #-#-#-#-#-#-#-#-#-#-#-# PERFORMANCE CONFIGURATION #-#-#-#-#-#-#-#-#-#-# # # - #-#-#-#-#-#-#-#-#-#-#-# SECURITY CONFIGURATION #-#-#-#-#-#-#-#-#-#-#-# # # -