]> git.netwichtig.de Git - user/henk/code/inspircd.git/blob - conf/links.conf.example
m_timedbans was incorrectly listed as oper-only in the example config. Found by Taros.
[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 #                                                                     #
21
22 <link
23       # name: The name of the remote server. This must match
24       # the <server:name> value of the remote server.
25       name="hub.penguin.org"
26
27       # ipaddr: The IP address of the remote server.
28       # Can also be a hostname, but hostname must resolve.
29       ipaddr="penguin.box.com"
30
31       # port: the port to connect to this server on
32       port="7000"
33
34       # allowmask: Range of IP addresses to allow for this link.
35       # Can be a CIDR (see example).
36       allowmask="69.58.44.0/24"
37
38       # autoconnect: Time to wait to attempt to autoconnect
39       # to remote server (in seconds).
40       autoconnect="300"
41
42       # failover: If defined, if this link fails,
43       # what is the next link that is tried.
44       failover="hub.other.net"
45
46       # timeout: If defined, this option defines how long the server
47       # will wait to consider the connect attempt failed and try the
48       # failover (see above).
49       timeout="15"
50
51       # transport: If defined, this states extra modules that can be
52       # used in the connection. Options are: "openssl" and "gnutls"
53       # for encryption (they are compatible with each other) and
54       # "zip" for compression. You must use the same (or a compa-
55       # tible) transport on both sides of the link.
56       # You will need to load the m_ssl_openssl.so module for openssl,
57       # m_ssl_gnutls.so for gnutls or m_ziplinks.so for zip.
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">