From 9d5ac7988dc35df8a927e4984a979291be88c183 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 4 Sep 2006 23:25:28 +0000 Subject: failover connections are now added, thanks for the idea Lauren (happy now? lol) :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5141 e03df62e-2008-0410-955e-edbf42e46eb7 --- docs/inspircd.conf.example | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'docs') diff --git a/docs/inspircd.conf.example b/docs/inspircd.conf.example index 2c31849e1..ca06d0dc9 100644 --- a/docs/inspircd.conf.example +++ b/docs/inspircd.conf.example @@ -399,6 +399,24 @@ # into this value. If it is not defined, then only # # the ipaddr field of the server shall be allowed. # # # +# failover - If you define this option, it must be the name of a # +# different link tag in your configuration. This # +# option causes the ircd to attempt a connection to # +# the failover link in the event that the connection # +# to this server fails. For example, you could define # +# two hub uplinks to a leaf server, and set an # +# american server to autoconnect, with a european # +# hub as its failover. In this situation, your ircd # +# will only try the link to the european hub if the # +# american hub is unreachable. NOTE that for the # +# intents and purposes of this option, an unreachable # +# server is one which DOES NOT ANSWER THE CONNECTION. # +# If the server answers the connection with accept(), # +# EVEN IF THE CREDENTIALS ARE INVALID, the failover # +# link will not be tried! Failover settings will also # +# apply to autoconnected servers as well as manually # +# connected ones. # +# # # to u:line a server (give it extra privilages required for running # # services, Q, etc) you must include the tag as shown # # in the example below. You can have as many of these as you like. # @@ -430,6 +448,7 @@ port="7000" allowmask="69.58.44.0/24" autoconnect="300" + failover="hub.other.net" sendpass="outgoing!password" recvpass="incoming!password"> -- cgit v1.2.3