1 #-#-#-#-#-#-#-#-#-#-#- SERVER LINK CONFIGURATION -#-#-#-#-#-#-#-#-#-#
3 # Defines which servers can link to this one, and which servers this #
4 # server may create outbound links to. #
6 # ____ _ _____ _ _ ____ _ _ _ #
7 # | _ \ ___ __ _ __| | |_ _| |__ (_)___ | __ )(_) |_| | #
8 # | |_) / _ \/ _` |/ _` | | | | '_ \| / __| | _ \| | __| | #
9 # | _ < __/ (_| | (_| | | | | | | | \__ \ | |_) | | |_|_| #
10 # |_| \_\___|\__,_|\__,_| |_| |_| |_|_|___/ |____/|_|\__(_) #
12 # If you want to link servers to InspIRCd you must load the #
13 # spanningtree module! #
18 # name: The name of the remote server. This must match
19 # the <server:name> value of the remote server.
20 name="hub.example.org"
22 # ipaddr: The IP address of the remote server.
23 # Can also be a hostname, but hostname must resolve.
24 ipaddr="penguin.example.org"
26 # port: The port to connect to the server on.
27 # It must be bound as a server port on the other server.
30 # allowmask: Range of IP addresses to allow for this link.
31 # Can be a CIDR (see example).
32 allowmask="203.0.113.0/24 127.0.0.0/8 2001:db8::/32"
34 # timeout: If defined, this option defines how long the server
35 # will wait to consider the connect attempt failed and try the
36 # failover (see above).
39 # ssl: If defined, this states the SSL module that will be used when
40 # making an outbound connection to the server. Options are: "openssl"
41 # and "gnutls" (they are compatible with each other).
43 # You will need to load the ssl_openssl module for OpenSSL,
44 # or ssl_gnutls for GnuTLS. The server port that you connect to
45 # must be capable of accepting this type of connection.
48 # fingerprint: If defined, this option will force servers to be
49 # authenticated using SSL certificate fingerprints. See
50 # http://wiki.inspircd.org/SSL for more information. This will
51 # require an SSL link for both inbound and outbound connections.
54 # bind: Local IP address to bind to.
57 # statshidden: Defines if IP is shown to opers when
58 # /STATS c is invoked.
61 # hidden: If this is set to yes, this server and its "child"
62 # servers will not be shown when users do a /MAP or /LINKS.
65 # passwords: the passwords we send and receive.
66 # The remote server will have these passwords reversed.
67 # Passwords that contain a space character or begin with
68 # a colon (:) are invalid and may not be used.
69 sendpass="outgoing!password"
70 recvpass="incoming!password">
72 # A duplicate of the first link block without comments
73 # if you like copying & pasting.
74 <link name="hub.example.org"
75 ipaddr="penguin.example.org"
77 allowmask="203.0.113.0/24"
83 sendpass="outgoing!password"
84 recvpass="incoming!password">
86 # Link block for services. Options are the same as for the first
87 # link block (depending on what your services package supports).
88 <link name="services.example.com"
91 allowmask="127.0.0.0/8"
93 recvpass="polarbears">
95 # Simple autoconnect block. This enables automatic connection of a server
96 # Recommended setup is to have leaves connect to the hub, and have no
97 # automatic connections started by the hub.
98 <autoconnect period="10m" server="hub.example.org">
100 # Failover autoconnect block. If you have multiple hubs, or want your network
101 # to automatically link even if the hub is down, you can specify multiple
102 # space separated servers to autoconnect; they will be tried in a round
103 # robin fashion until one succeeds. Period defines the time for restarting
105 <autoconnect period="120"
106 server="hub.us.example.org hub.eu.example.org leaf.eu.example.org">
109 #-#-#-#-#-#-#-#-#-#-#-#- ULINES CONFIGURATION #-#-#-#-#-#-#-#-#-#-#-#-#
110 # This tag defines a ulined server. A U-Lined server has special #
111 # permissions, and should be used with caution. Services servers are #
112 # usually u-lined in this manner. #
114 # The 'silent' value, if set to yes, indicates that this server should#
115 # not generate quit and connect notices, which can cut down on noise #
116 # to opers on the network. #
118 <uline server="services.example.com" silent="yes">