updates.
[silc.git] / doc / example_silcd.conf
index 6f9afc639a3969d57e616da4614a4fc6480c1e9a..aa29aabf4969fe7c099460aa636d22ac7224f0aa 100644 (file)
@@ -1,3 +1,9 @@
+#
+# Example configuration file.  Note that this attempts to present various
+# configuration possibilities and may not actually give any sensible 
+# configuration.  For real life example see the examples/ directory.
+#
+
 #
 # Configured ciphers.
 #
@@ -173,7 +179,8 @@ infologfile:/usr/local/silc/logs/silcd.log:10000
 # configured connection is the primary route.
 #
 # Format: <remote host>:<auth method>:<auth data>:<port>:<version ID>:
-#         <class>:<initiator>:<backup connection>:<local backup>
+#         <class>:<initiator>:<backup replace IP>:<backup replace port>:
+#         <local backup>
 #
 # The <auth data> is either passphrase or file path to the public key
 # file. If you are the initiator of the connection then set the <initiator>
@@ -181,14 +188,16 @@ infologfile:/usr/local/silc/logs/silcd.log:10000
 # incoming connection) then set it to 0.
 #
 # If the connection is backup router connection then set the <backup
-# connection> to value 1.  For normal connection set it to 0.  If this
+# replace IP> to the IP address of the router that the backup router will
+# replace if it becomes unavailable.  Set also the router's port to the
+# <backup replace port>.  For normal connection leave both empty. If this
 # backup router is in our cell then set the <local backup> to value 1.
 # If the backup router is in other cell then set it to value 0.
 #
 [RouterConnection]
-#10.2.1.100:passwd:veryverysecret:706:1:1:1:0:0
-#10.2.100.131:pubkey:/path/to/the/publickey:706:1:1:1:0:0
-#10.2.100.100:pubkey:/path/to/the/publickey:706:1:1:0:1:1
+#10.2.1.100:passwd:veryverysecret:706:1:1:1
+#10.2.100.131:pubkey:/path/to/the/publickey:706:1:1:1
+#10.2.100.100:pubkey:/path/to/the/publickey:706:1:1:0:10.2.1.6:706:1
 
 #
 # Denied connections.