Example configuration updates from jdhore

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11293 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
danieldg 2009-04-08 21:11:53 +00:00
parent 200e06f78d
commit 76d29d4d59
2 changed files with 41 additions and 17 deletions

View File

@ -145,7 +145,8 @@
# gnutls or openssl here. The appropriate SSL modules must be loaded # gnutls or openssl here. The appropriate SSL modules must be loaded
# for ssl to work. If you do not want this bind section to support ssl, # for ssl to work. If you do not want this bind section to support ssl,
# just remove or comment out this option. # just remove or comment out this option.
ssl="gnutls"> ssl="gnutls"
>
<bind address="" port="6660-6669" type="clients"> <bind address="" port="6660-6669" type="clients">
@ -206,16 +207,6 @@
<connect deny="3ffe::0/32"> <connect deny="3ffe::0/32">
<connect <connect
# name: Name to use for this connect block. Mainly used for
# connect class inheriting.
name="secret"
# parent: This setting is to specify if this connect class
# inherits settings from any other. Put the other class's name
# in here to use its settings as a template - for example, if
# you only want to adjust sendq and a password
parent="main"
# allow: What IP addresses/hosts to allow for this block. # allow: What IP addresses/hosts to allow for this block.
allow="196.12.*" allow="196.12.*"
@ -230,15 +221,48 @@
# password: Password to use for this block/user(s) # 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="60"
# pingfreq: How often (in seconds) the server tries to ping connecting clients.
pingfreq="120"
# sendq: Amount of data that the server is allowed to send to the user
# before they are dropped.
sendq="262144"
# recvq: amount of data allowed in a clients queue before they are dropped.
recvq="8192"
# localmax: Maximum local connections per IP.
localmax="3"
# globalmax: Maximum global (network-wide) connections per IP.
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.
modes="+x"
# port: What port this user is allowed to connect on. (optional) # port: What port this user is allowed to connect on. (optional)
# The port MUST be set to listen in the bind blocks above. # The port MUST be set to listen in the bind blocks above.
port="6667"> port="6667">
<connect <connect
# name: Name to use for this connect block. Mainly used for
# connect class inheriting.
name="main"
# allow: What IP addresses/hosts to allow for this block. # allow: What IP addresses/hosts to allow for this block.
allow="*" allow="*"

View File

@ -46,7 +46,7 @@
# timeout: If defined, this option defines how long the server # timeout: If defined, this option defines how long the server
# will wait to consider the connect attempt failed and try the # will wait to consider the connect attempt failed and try the
# failover (see above). # failover (see above).
timeout="15" timeout="300"
# transport: If defined, this states extra modules that can be # transport: If defined, this states extra modules that can be
# used in the connection. Options are: "openssl" and "gnutls" # used in the connection. Options are: "openssl" and "gnutls"
@ -81,7 +81,7 @@
allowmask="69.58.44.0/24" allowmask="69.58.44.0/24"
autoconnect="300" autoconnect="300"
failover="hub.other.net" failover="hub.other.net"
timeout="15" timeout="300"
transport="gnutls" transport="gnutls"
bind="1.2.3.4" bind="1.2.3.4"
statshidden="no" statshidden="no"