]> git.netwichtig.de Git - user/henk/code/inspircd.git/blob - conf/links.conf.example
Fix old typo.
[user/henk/code/inspircd.git] / conf / 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 # If you would like more detailed options, but a slightly more        #
7 # painful configuration, please see inspircd.conf.example.old         #
8 #                                                                     #
9 #    ____                _   _____ _     _       ____  _ _   _        #
10 #   |  _ \ ___  __ _  __| | |_   _| |__ (_)___  | __ )(_) |_| |       #
11 #   | |_) / _ \/ _` |/ _` |   | | | '_ \| / __| |  _ \| | __| |       #
12 #   |  _ <  __/ (_| | (_| |   | | | | | | \__ \ | |_) | | |_|_|       #
13 #   |_| \_\___|\__,_|\__,_|   |_| |_| |_|_|___/ |____/|_|\__(_)       #
14 #                                                                     #
15 #  If you want to link servers to InspIRCd you must load the          #
16 #  m_spanningtree.so module! Please see the modules list below for    #
17 #  information on how to load this module! If you do not load this    #
18 #  module, server links will NOT work!                                #
19 #                                                                     #
20 #  Also, if you define any transports, you must load the modules for  #
21 #  these transports BEFORE you load m_spanningtree, e.g. place them   #
22 #  above it in the configuration file. Currently this means the three #
23 #  modules m_ssl_gnutls, m_ziplinks and m_ssl_openssl, depending on   #
24 #  which you choose to use.                                           #
25 #                                                                     #
26
27 <link name="hub.penguin.org"
28
29       # ipaddr: The IP address of the remote server. 
30       # Can also be a hostname, but hostname must resolve.
31       ipaddr="penguin.box.com"
32
33       # port: the port to connect to this server on
34       port="7000"
35
36       # allowmask: Range of IP addresses to allow for this link.
37       # Can be a CIDR (see example).
38       allowmask="69.58.44.0/24"
39
40       # autoconnect: Time to wait to attempt to autoconnect
41       # to remote server (in seconds).
42       autoconnect="300"
43
44       # failover: If defined, if this link fails, 
45       # what is the next link that is tried.
46       failover="hub.other.net"
47
48       # timeout: If defined, this option defines how long the server
49       # will wait to consider the connect attempt failed and try the
50       # failover (see above).
51       timeout="15"
52
53       # transport: If defined, this states extra modules that can be
54       # used in the connection. Options are: "openssl" and "gnutls"
55       # for encryption (they are compatible with each other) and
56       # "zip" for compression. You must use the same (or a compa-
57       # tible) transport on both sides of the link.
58       transport="gnutls"
59
60       # bind: Local IP address to bind to.
61       bind="1.2.3.4"
62
63       # statshidden: defines if IP is shown to opers when
64       # /stats c is invoked.
65       statshidden="no"
66
67       # hidden: If this is set to yes, this server and it's "child"
68       # servers will not be shown when users do a /map or /links
69       hidden="no"
70
71       # passwords: the passwords we send and recieve.
72       # The remote server will have these passwords reversed.
73       sendpass="outgoing!password"
74       recvpass="incoming!password">
75
76 # A duplicate of the first link block without comments
77 # if you like copying & pasting.
78 <link name="hub.penguin.org"
79       ipaddr="penguin.box.com"
80       port="7000"
81       allowmask="69.58.44.0/24"
82       autoconnect="300"
83       failover="hub.other.net"
84       timeout="15"
85       transport="gnutls"
86       bind="1.2.3.4"
87       statshidden="no"
88       hidden="no"
89       sendpass="outgoing!password"
90       recvpass="incoming!password">
91
92 # Link block for services. Options are the same as for the first
93 # link block (depending on what your services package supports).
94 <link name="services.antarctic.com"
95       ipaddr="localhost"
96       port="7000"
97       allowmask="127.0.0.0/8"
98       sendpass="penguins"
99       recvpass="polarbears">
100
101
102 #-#-#-#-#-#-#-#-#-#-#-#- ULINES CONFIGURATION #-#-#-#-#-#-#-#-#-#-#-#-#
103 # This tag defines a ulined server. A U-Lined server has special      #
104 # permissions, and should be used with caution. Services servers are  #
105 # usually u-lined in this manner.                                     #
106 #                                                                     #
107 # The 'silent' value, if set to yes, indicates that this server should#
108 # not generate quit and connect notices, which can cut down on noise  #
109 # to opers on the network.                                            #
110 #                                                                     #
111 <uline server="services.antarctic.com" silent="yes">