]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - docs/conf/links.conf.example
Merge insp20
[user/henk/code/inspircd.git] / docs / conf / links.conf.example
index 94340cd31d4e62a616bb6cc36b9367b862a492cc..90849ede2897564e6ba10e16872678a3ecc7460b 100644 (file)
 #   |_| \_\___|\__,_|\__,_|   |_| |_| |_|_|___/ |____/|_|\__(_)       #
 #                                                                     #
 #  If you want to link servers to InspIRCd you must load the          #
-#  m_spanningtree.so module!                                          #
+#  spanningtree module!                                               #
 #                                                                     #
 #                                                                     #
 
 <link
       # name: The name of the remote server. This must match
       # the <server:name> value of the remote server.
-      name="hub.penguin.org"
+      name="hub.example.org"
 
       # ipaddr: The IP address of the remote server.
       # Can also be a hostname, but hostname must resolve.
-      ipaddr="penguin.box.com"
+      ipaddr="penguin.example.org"
 
       # port: The port to connect to the server on.
       # It must be bound as a server port on the other server.
 
       # allowmask: Range of IP addresses to allow for this link.
       # Can be a CIDR (see example).
-      allowmask="69.58.44.0/24"
+      allowmask="203.0.113.0/24 127.0.0.0/8 2001:db8::/32"
 
       # 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="300"
 
-      # ssl: If defined, this states extra modules that will be used when
+      # ssl: If defined, this states the SSL module that will be used when
       # making an outbound connection to the server. Options are: "openssl"
-      # and "gnutls" for encryption (they are compatible with each other).
-      # You must use the same (or a compatible) transport on both sides of the link.
+      # and "gnutls" (they are compatible with each other).
       #
-      # You will need to load the m_ssl_openssl.so module for openssl,
-      # m_ssl_gnutls.so for gnutls. The server port that you connect to
+      # You will need to load the ssl_openssl module for OpenSSL,
+      # or ssl_gnutls for GnuTLS. The server port that you connect to
       # must be capable of accepting this type of connection.
       ssl="gnutls"
 
       # fingerprint: If defined, this option will force servers to be
-      # authenticated using SSL Fingerprints. See http://wiki.inspircd.org/SSL
-      # for more information. This will require an SSL link for both inbound
-      # and outbound connections.
+      # authenticated using SSL certificate fingerprints. See
+      # http://wiki.inspircd.org/SSL for more information. This will
+      # require an SSL link for both inbound and outbound connections.
       #fingerprint=""
 
       # bind: Local IP address to bind to.
       bind="1.2.3.4"
 
-      # statshidden: defines if IP is shown to opers when
-      # /stats c is invoked.
+      # statshidden: Defines if IP is shown to opers when
+      # /STATS c is invoked.
       statshidden="no"
 
       # hidden: If this is set to yes, this server and its "child"
-      # servers will not be shown when users do a /map or /links
+      # servers will not be shown when users do a /MAP or /LINKS.
       hidden="no"
 
       # passwords: the passwords we send and receive.
 
 # A duplicate of the first link block without comments
 # if you like copying & pasting.
-<link name="hub.penguin.org"
-      ipaddr="penguin.box.com"
+<link name="hub.example.org"
+      ipaddr="penguin.example.org"
       port="7000"
-      allowmask="69.58.44.0/24"
+      allowmask="203.0.113.0/24"
       timeout="300"
       ssl="gnutls"
       bind="1.2.3.4"
@@ -86,7 +85,7 @@
 
 # Link block for services. Options are the same as for the first
 # link block (depending on what your services package supports).
-<link name="services.antarctic.com"
+<link name="services.example.com"
       ipaddr="localhost"
       port="7000"
       allowmask="127.0.0.0/8"
 # Simple autoconnect block. This enables automatic connection of a server
 # Recommended setup is to have leaves connect to the hub, and have no
 # automatic connections started by the hub.
-<autoconnect period="300" server="hub.penguin.org">
+<autoconnect period="10m" server="hub.example.org">
 
 # Failover autoconnect block. If you have multiple hubs, or want your network
 # to automatically link even if the hub is down, you can specify multiple
-# space seperated servers to autoconnect; they will be tried in a round
+# space separated servers to autoconnect; they will be tried in a round
 # robin fashion until one succeeds. Period defines the time for restarting
 # a single loop.
 <autoconnect period="120"
-       server="hub.us.penguin.org hub.eu.penguin.org leaf.eu.penguin.org">
+       server="hub.us.example.org hub.eu.example.org leaf.eu.example.org">
 
 
 #-#-#-#-#-#-#-#-#-#-#-#- ULINES CONFIGURATION #-#-#-#-#-#-#-#-#-#-#-#-#
 # not generate quit and connect notices, which can cut down on noise  #
 # to opers on the network.                                            #
 #                                                                     #
-<uline server="services.antarctic.com" silent="yes">
+<uline server="services.example.com" silent="yes">