config.properties 2.91 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
###############################################################################
# Copyright 2015 SPECURE GmbH
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#   http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
###############################################################################
16 17 18 19 20 21
##############################
#	SERVER IP SETTINGS
##############################

#the ip all server sockets will be bound to (default: 0.0.0.0 = wildcard = listen on all interfaces)
#simply comment out this setting for a wildcard ip
22
server.ip=10.9.8.160
23 24 25 26 27 28 29 30 31 32

#check ip of tcp test candidates. if set to true a candidate map will be managed by the server, where only allowed ips (got during the test registration process) will get responses from the qos server
server.ip.check=false


##############################
#	OTHER SERVER SETTINGS
##############################

#use secure connection for test requests
33
server.ssl=true
34 35

#server port number (listens to incoming test requests, default: 5233)
36
server.port=5443
37 38 39 40 41

#max number of threads (=max clients at same time, default: 100) 
server.threads=100

#secret key:
42
server.secret=
43 44 45 46 47 48 49 50 51 52 53 54 55


##############################
#	UDP TEST SETTINGS
##############################

#lowest udp port number (default: 10000)
server.udp.minport=10200

#highest udp port number (default: 10050)
server.udp.maxport=10250

#extended udp port list
56
server.udp.ports=53,123,500,554,5004,5005,7078,7082,27005,27015
57

58 59 60
#udp port list for nio (non blocking) access
#IMPORTANT: voip tests need non blocking udp sockets because of incoming and outgoing data streams
server.udp.nio.ports=5060
61 62 63 64 65 66 67 68

##############################
#	DEBUG SETTINGS
##############################

#verbose level (allowed values: 0,1,2)
server.verbose=2

69 70 71 72 73 74 75 76 77 78 79
#command console on/off
server.console=true

#log console on/off
server.log.console=true

#########################
## file logging:
#########################
#logging on/off:
server.logging=true
80 81 82 83 84

#log files:
server.log=/var/log/qos/main
server.log.udp=/var/log/qos/udp
server.log.tcp=/var/log/qos/tcp
85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110

#logging pattern:
server.log.pattern=%p %d{ISO8601} - %m%n

########################
## syslog:
########################
#syslog on/off: 
server.syslog=true

#syslog host:
server.syslog.host=localhost

#syslog pattern (see Log4j Pattern)
server.syslog.pattern=%p %d{ISO8601} %c - %m%n

##############################
#	PLUGINS/SERVICES
##############################

#rest servive on/off
server.service.rest=true
#rest port
server.service.rest.port=10080
#use ssl
server.service.rest.ssl=false