This repository has been archived by the owner on Dec 9, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmetaserver-ng.conf.in
96 lines (86 loc) · 2.93 KB
/
metaserver-ng.conf.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
#Worldforge Next Generation MetaServer
#
#Copyright (C) 2011 Sean Ryan <[email protected]>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
[server]
port=8453
ip=0.0.0.0
daemon=true
logfile=@logdir@/metaserver-ng.log
pidfile=@rundir@/metaserver-ng.pid
client_stats=true
server_stats=true
# Domain under which all metaserver information is published
# E.g. serverfoo.servers.ms.worldforge.org
domain=ms.worldforge.org
[scoreboard]
# m_serverData
server=@rundir@/server.score
# m_clientData
client=@rundir@/client.score
# Collected various sources, e.g. number of total packets processed and uptime
stats=@rundir@/stats.score
# m_serverListreq (server list per client)
ccache=@rundir@/ccache.score
[logging]
loglevel=INFO
logging_flush_seconds=10
server_sessions=true
client_sessions=true
packet_logging=false
packet_logfile=@logdir@/packetlog.bin
packet_logging_flush_seconds=10
packet_allow=true
packet_deny=true
[security]
auth_scheme=none
# any|none|allow list
# if set to anything other than 'any', will evaluate each packet source IP
# based on this string value. If not a match, ms will drop packet
# is a csv list, e.g:
# global_firewall_allow=127.0.0.1
# global_firewall_allow=192.168.0.0/24
# global_firewall_allow=127.0.0.1,192.168.0.0/24
global_firewall_allow=any
# none|any|deny list
# if set to anything other than 'none', will evaluate each packet source IP
# based on this value. If MATCHED, ms will drop packet
# is a csv list. A value of 'any' will result in all packets other than
# administrative packets will be dropped.
# is a csv list, e.g:
# global_firewall_deny=any
# global_firewall_deny=127.0.0.1
# global_firewall_deny=127.0.0.1,192.168.0.0/24
global_firewall_deny=none
# admin packets based on whitelist policy (aka default deny).
# any non-matching are dropped
# any|none|allow list
# any - allow from anywhere
# none - do not allow for any admin packets
# allow list - list to allow admin packets
admin_firewall_allow=any
# monitor packets based on whitelist policy (aka default deny)
# any|none|allow list
monitor_firewall_allow=any
[performance]
max_server_sessions=1000
max_client_sessions=4000
server_session_expiry_seconds=360
server_client_cache_expiry_seconds=30
client_session_expiry_seconds=360
tick_expiry_milliseconds=3000
tick_update_milliseconds=5000
tick_score_milliseconds=60000