]> git.netwichtig.de Git - user/henk/code/inspircd.git/blob - conf/links.conf.example
Update example configs for SSL changes [dKingston]
[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 the server on.
32       # It must be bound as a server port on the other server.
33       port="7000"
34
35       # allowmask: Range of IP addresses to allow for this link.
36       # Can be a CIDR (see example).
37       allowmask="69.58.44.0/24"
38
39       # autoconnect: Time to wait to attempt to autoconnect
40       # to remote server (in seconds).
41       autoconnect="300"
42
43       # failover: If defined, if this link fails,
44       # what is the next link that is tried.
45       failover="hub.other.net"
46
47       # timeout: If defined, this option defines how long the server
48       # will wait to consider the connect attempt failed and try the
49       # failover (see above).
50       timeout="300"
51
52       # fingerprint: If defined, this option will force servers to be
53       # authenticated using SSL Fingerprints. For more information,
54       # see http://wiki.inspircd.org/SSL
55       #fingerprint=""
56
57       # ssl: If defined, this states extra modules that can be
58       # used in the connection. Options are: "openssl" and "gnutls"
59       # for encryption (they are compatible with each other) and
60       # "ziplinks" for compression. You must use the same (or a
61       # compatible) transport on both sides of the link.
62       # You will need to load the m_ssl_openssl.so module for openssl,
63       # m_ssl_gnutls.so for gnutls or m_ziplinks.so for ziplinks.
64       ssl="gnutls"
65
66       # bind: Local IP address to bind to.
67       bind="1.2.3.4"
68
69       # statshidden: defines if IP is shown to opers when
70       # /stats c is invoked.
71       statshidden="no"
72
73       # hidden: If this is set to yes, this server and it's "child"
74       # servers will not be shown when users do a /map or /links
75       hidden="no"
76
77       # passwords: the passwords we send and recieve.
78       # The remote server will have these passwords reversed.
79       sendpass="outgoing!password"
80       recvpass="incoming!password">
81
82 # A duplicate of the first link block without comments
83 # if you like copying & pasting.
84 <link name="hub.penguin.org"
85       ipaddr="penguin.box.com"
86       port="7000"
87       allowmask="69.58.44.0/24"
88       autoconnect="300"
89       failover="hub.other.net"
90       timeout="300"
91       ssl="gnutls"
92       bind="1.2.3.4"
93       statshidden="no"
94       hidden="no"
95       sendpass="outgoing!password"
96       recvpass="incoming!password">
97
98 # Link block for services. Options are the same as for the first
99 # link block (depending on what your services package supports).
100 <link name="services.antarctic.com"
101       ipaddr="localhost"
102       port="7000"
103       allowmask="127.0.0.0/8"
104       sendpass="penguins"
105       recvpass="polarbears">
106
107
108 #-#-#-#-#-#-#-#-#-#-#-#- ULINES CONFIGURATION #-#-#-#-#-#-#-#-#-#-#-#-#
109 # This tag defines a ulined server. A U-Lined server has special      #
110 # permissions, and should be used with caution. Services servers are  #
111 # usually u-lined in this manner.                                     #
112 #                                                                     #
113 # The 'silent' value, if set to yes, indicates that this server should#
114 # not generate quit and connect notices, which can cut down on noise  #
115 # to opers on the network.                                            #
116 #                                                                     #
117 <uline server="services.antarctic.com" silent="yes">