104 lines
3.9 KiB
Plaintext
104 lines
3.9 KiB
Plaintext
###############################################################################
|
|
# Sample configuration file for FSD
|
|
#
|
|
|
|
###############################################################################
|
|
# The system group holds information about your server.
|
|
#
|
|
# clientport & serverport:
|
|
# The ports where clients and servers will connect to
|
|
# systemport:
|
|
# The port where the system management services will be located
|
|
# ident:
|
|
# The ident of your server. This ident has to be unique. It is used to
|
|
# identify your server in the global network. It should not contain spaces.
|
|
# Please use a small ident code, it will be sent in every packet
|
|
# email:
|
|
# The email address that can be used to mail the maintainer of this server.
|
|
# name:
|
|
# The name(description) of your server. It may contain spaces.
|
|
# hostname:
|
|
# The hostname that can be used to reach this server.
|
|
# password:
|
|
# The password you need to specify before you can execute privileged
|
|
# commands on the system port.
|
|
# location:
|
|
# The (physical) location of the server in the world, and the internet.
|
|
# Example: 'Delft, The netherlands (SURFnet)'
|
|
# mode:
|
|
# The mode of the server; can be 'normal' or 'silent'. Use 'normal'
|
|
# for normal operation.
|
|
# certificates:
|
|
# The file to read certificates from.
|
|
# maxclients:
|
|
# The maximum amount of clients this server will allow
|
|
# whazzup:
|
|
# The file to put WhazzUp data in.
|
|
|
|
[system]
|
|
clientport=6809
|
|
serverport=3011
|
|
systemport=3010
|
|
ident=FSD
|
|
email=nobody@nowhere.com
|
|
name=FSFDT FSD Unix Windows server
|
|
hostname=localhost
|
|
password=disable
|
|
location=Nowhere
|
|
mode=normal
|
|
certificates=cert.txt
|
|
maxclients=200
|
|
whazzup=whazzup.txt
|
|
|
|
###############################################################################
|
|
# The connections group holds information about the (server) connections this
|
|
# server wil establish and accept.
|
|
#
|
|
# connectto:
|
|
# Contains the hostname and port numbers of the servers to connect to.
|
|
# Multiple servers can be used here. For example:
|
|
# connectto=server.hinttech.com:5001,server.flightsim.com:4006
|
|
# allowfrom:
|
|
# Contains the IP addresses from which servers can connect to this server.
|
|
# Multiple IP addresses can be used, separated by commas. For example:
|
|
# allowfrom=server.flightsim.com,atc.aol.com
|
|
|
|
[connections]
|
|
#connectto=
|
|
#allowfrom=
|
|
|
|
###############################################################################
|
|
# The hosts group contains a list of hosts that are trusted for some activity.
|
|
# There are 2 entries:
|
|
# certificates : contains a list of server ID's that are allowed to change
|
|
# certificates
|
|
# weather : contains a list of server ID's that are allowed to change
|
|
# weather profiles
|
|
#[hosts]
|
|
#certificates=
|
|
#weather=
|
|
|
|
###############################################################################
|
|
# This group controls the weather system.
|
|
# The 'source' variable determines the source of the METAR data.
|
|
# For normal operation, set this to 'network'.
|
|
# There are 3 possible values here:
|
|
# 'file' : Read the METAR data from the file 'metar.txt'
|
|
# and allow weather requests from other servers.
|
|
# 'download' : Like 'file', but refresh metar.txt every hour by downloading
|
|
# the latest weather observations from metlab. The server has
|
|
# to be connected to the internet for this to work.
|
|
# 'network' : Relay weather requests to the closest METAR capable server.
|
|
#
|
|
# 'server','dir' and 'ftpmode' are only used when the METAR source is 'download'. These
|
|
# fields determine the host name and the directory from where metar data is
|
|
# read. FSD uses the FTP protocol to get the data. ftpmode can have the value 'active'
|
|
# 'passive' that are Active and Passive FTP protocol mode, default is 'passive'.
|
|
# If you use FSD on a computer having a private IP, only use passive mode.
|
|
|
|
[weather]
|
|
source=download
|
|
server=weather.noaa.gov
|
|
dir=data/observations/metar/cycles/
|
|
ftpmode=passive
|