]> git.netwichtig.de Git - user/henk/code/inspircd.git/blob - docs/links.conf.example
Revert 05e6330fbd6e9a427c09cf90e2cada10656c48f7 and reference HELPOP instead (afteral...
[user/henk/code/inspircd.git] / docs / links.conf.example
1 #-#-#-#-#-#-#-#-#-#-#-  SERVER LINK CONFIGURATION  -#-#-#-#-#-#-#-#-#-#
2 #                                                                     #
3 # Defines which servers can link to this one, and which servers this  #
4 # server may create outbound links to.                                #
5 #                                                                     #
6 #    ____                _   _____ _     _       ____  _ _   _        #
7 #   |  _ \ ___  __ _  __| | |_   _| |__ (_)___  | __ )(_) |_| |       #
8 #   | |_) / _ \/ _` |/ _` |   | | | '_ \| / __| |  _ \| | __| |       #
9 #   |  _ <  __/ (_| | (_| |   | | | | | | \__ \ | |_) | | |_|_|       #
10 #   |_| \_\___|\__,_|\__,_|   |_| |_| |_|_|___/ |____/|_|\__(_)       #
11 #                                                                     #
12 #  If you want to link servers to InspIRCd you must load the          #
13 #  m_spanningtree.so module! Please see the modules list below for    #
14 #  information on how to load this module! If you do not load this    #
15 #  module, server links will NOT work!                                #
16 #                                                                     #
17 #                                                                     #
18
19 <link
20       # name: The name of the remote server. This must match
21       # the <server:name> value of the remote server.
22       name="hub.penguin.org"
23
24       # ipaddr: The IP address of the remote server.
25       # Can also be a hostname, but hostname must resolve.
26       ipaddr="penguin.box.com"
27
28       # port: The port to connect to the server on.
29       # It must be bound as a server port on the other server.
30       port="7000"
31
32       # allowmask: Range of IP addresses to allow for this link.
33       # Can be a CIDR (see example).
34       allowmask="69.58.44.0/24"
35
36       # timeout: If defined, this option defines how long the server
37       # will wait to consider the connect attempt failed and try the
38       # failover (see above).
39       timeout="300"
40
41       # ssl: If defined, this states extra modules that will be used when
42       # making an outbound connection to the server. Options are: "openssl"
43       # and "gnutls" for encryption (they are compatible with each other).
44       # You must use the same (or a compatible) transport on both sides of the link.
45       #
46       # You will need to load the m_ssl_openssl.so module for openssl,
47       # m_ssl_gnutls.so for gnutls. The server port that you connect to
48       # must be capable of accepting this type of connection.
49       ssl="gnutls"
50
51       # fingerprint: If defined, this option will force servers to be
52       # authenticated using SSL Fingerprints. See http://wiki.inspircd.org/SSL
53       # for more information. This will require an SSL link for both inbound
54       # and outbound connections.
55       #fingerprint=""
56
57       # bind: Local IP address to bind to.
58       bind="1.2.3.4"
59
60       # statshidden: defines if IP is shown to opers when
61       # /stats c is invoked.
62       statshidden="no"
63
64       # hidden: If this is set to yes, this server and its "child"
65       # servers will not be shown when users do a /map or /links
66       hidden="no"
67
68       # passwords: the passwords we send and receive.
69       # The remote server will have these passwords reversed.
70       sendpass="outgoing!password"
71       recvpass="incoming!password">
72
73 # A duplicate of the first link block without comments
74 # if you like copying & pasting.
75 <link name="hub.penguin.org"
76       ipaddr="penguin.box.com"
77       port="7000"
78       allowmask="69.58.44.0/24"
79       timeout="300"
80       ssl="gnutls"
81       bind="1.2.3.4"
82       statshidden="no"
83       hidden="no"
84       sendpass="outgoing!password"
85       recvpass="incoming!password">
86
87 # Link block for services. Options are the same as for the first
88 # link block (depending on what your services package supports).
89 <link name="services.antarctic.com"
90       ipaddr="localhost"
91       port="7000"
92       allowmask="127.0.0.0/8"
93       sendpass="penguins"
94       recvpass="polarbears">
95
96 # Simple autoconnect block. This enables automatic connection of a server
97 # Recommended setup is to have leaves connect to the hub, and have no
98 # automatic connections started by the hub.
99 <autoconnect period="300" server="hub.penguin.org">
100
101 # Failover autoconnect block. If you have multiple hubs, or want your network
102 # to automatically link even if the hub is down, you can specify multiple
103 # servers to autoconnect; they will be tried in a round robin fashion until
104 # one succeeds. Period defines the time for restarting a single loop.
105 <autoconnect period="120"
106         server="hub.us.penguin.org hub.eu.penguin.org leaf.eu.penguin.org">
107
108
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.                                     #
113 #                                                                     #
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.                                            #
117 #                                                                     #
118 <uline server="services.antarctic.com" silent="yes">