]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - conf/links.conf.example
Add directory change to unit-cc, to fix the immensely stupid BSD make behavior of...
[user/henk/code/inspircd.git] / conf / links.conf.example
index e304cd0e658e7c0d0bef51c0510c1042808f8c1d..fa7d017e46e41430079378f42bfc863b6495f08b 100644 (file)
 #  information on how to load this module! If you do not load this    #
 #  module, server links will NOT work!                                #
 #                                                                     #
-#  Also, if you define any transports, you must load the modules for  #
-#  these transports BEFORE you load m_spanningtree, e.g. place them   #
-#  above it in the configuration file. Currently this means the three #
-#  modules m_ssl_gnutls, m_ziplinks and m_ssl_openssl, depending on   #
-#  which you choose to use.                                           #
 #                                                                     #
 
-<link name="hub.penguin.org"
+<link
+      # name: The name of the remote server. This must match
+      # the <server:name> value of the remote server.
+      name="hub.penguin.org"
 
-      # ipaddr: The IP address of the remote server. 
+      # ipaddr: The IP address of the remote server.
       # Can also be a hostname, but hostname must resolve.
       ipaddr="penguin.box.com"
 
-      # port: the port to connect to this server on
+      # port: The port to connect to the server on.
+      # It must be bound as a server port on the other server.
       port="7000"
 
       # allowmask: Range of IP addresses to allow for this link.
       # to remote server (in seconds).
       autoconnect="300"
 
-      # failover: If defined, if this link fails, 
+      # failover: If defined, if this link fails,
       # what is the next link that is tried.
       failover="hub.other.net"
 
       # timeout: If defined, this option defines how long the server
       # will wait to consider the connect attempt failed and try the
       # failover (see above).
-      timeout="15"
+      timeout="300"
 
       # transport: If defined, this states extra modules that can be
       # used in the connection. Options are: "openssl" and "gnutls"
       # for encryption (they are compatible with each other) and
       # "zip" for compression. You must use the same (or a compa-
       # tible) transport on both sides of the link.
+      # You will need to load the m_ssl_openssl.so module for openssl,
+      # m_ssl_gnutls.so for gnutls or m_ziplinks.so for zip.
       transport="gnutls"
 
       # bind: Local IP address to bind to.
@@ -81,7 +82,7 @@
       allowmask="69.58.44.0/24"
       autoconnect="300"
       failover="hub.other.net"
-      timeout="15"
+      timeout="300"
       transport="gnutls"
       bind="1.2.3.4"
       statshidden="no"