]> git.netwichtig.de Git - user/henk/code/inspircd.git/blob - conf/links.conf.example
Remove unneeded Extensible inheritance and remove "age" field from classbase
[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       # transport: If defined, this states extra modules that can be
53       # used in the connection. Options are: "openssl" and "gnutls"
54       # for encryption (they are compatible with each other) and
55       # "zip" for compression. You must use the same (or a compa-
56       # tible) transport on both sides of the link.
57       # You will need to load the m_ssl_openssl.so module for openssl,
58       # m_ssl_gnutls.so for gnutls or m_ziplinks.so for zip.
59       transport="gnutls"
60
61       # bind: Local IP address to bind to.
62       bind="1.2.3.4"
63
64       # statshidden: defines if IP is shown to opers when
65       # /stats c is invoked.
66       statshidden="no"
67
68       # hidden: If this is set to yes, this server and it's "child"
69       # servers will not be shown when users do a /map or /links
70       hidden="no"
71
72       # passwords: the passwords we send and recieve.
73       # The remote server will have these passwords reversed.
74       sendpass="outgoing!password"
75       recvpass="incoming!password">
76
77 # A duplicate of the first link block without comments
78 # if you like copying & pasting.
79 <link name="hub.penguin.org"
80       ipaddr="penguin.box.com"
81       port="7000"
82       allowmask="69.58.44.0/24"
83       autoconnect="300"
84       failover="hub.other.net"
85       timeout="300"
86       transport="gnutls"
87       bind="1.2.3.4"
88       statshidden="no"
89       hidden="no"
90       sendpass="outgoing!password"
91       recvpass="incoming!password">
92
93 # Link block for services. Options are the same as for the first
94 # link block (depending on what your services package supports).
95 <link name="services.antarctic.com"
96       ipaddr="localhost"
97       port="7000"
98       allowmask="127.0.0.0/8"
99       sendpass="penguins"
100       recvpass="polarbears">
101
102
103 #-#-#-#-#-#-#-#-#-#-#-#- ULINES CONFIGURATION #-#-#-#-#-#-#-#-#-#-#-#-#
104 # This tag defines a ulined server. A U-Lined server has special      #
105 # permissions, and should be used with caution. Services servers are  #
106 # usually u-lined in this manner.                                     #
107 #                                                                     #
108 # The 'silent' value, if set to yes, indicates that this server should#
109 # not generate quit and connect notices, which can cut down on noise  #
110 # to opers on the network.                                            #
111 #                                                                     #
112 <uline server="services.antarctic.com" silent="yes">