1 2# Configuration for aprsc, an APRS-IS server for core servers 3 4# Your unique server ID 5ServerId NOCALL 6# Passcode for the server ID 7PassCode 0 8# Who is running this server? 9MyAdmin "My Name, MYCALL" 10# The email address where the admin can be reached 11MyEmail email@example.com 12 13### Directories ######### 14# Data directory (for persistent state files - currently none) 15RunDir data 16 17# If logging to a file (-o file), enable built-in log rotation. 18# LogRotate <megabytes> <filecount> 19# "LogRotate 10 5" keeps 5 old files of 10 megabytes each. 20LogRotate 10 5 21 22### Intervals and timers ######### 23# Interval specification format examples: 24# 600 (600 seconds), or 600s, 5m, 2h, 1h30m, 1d3h15m24s, etc... 25 26# When no data is received from an upstream server in N seconds, switch to 27# another server. 28UpstreamTimeout 15s 29 30# When no data is received from a downstream server in N seconds, disconnect 31ClientTimeout 48h 32 33### TCP listener ########## 34# Listen <socketname> <porttype> tcp <address to bind> <port> <options...> 35# socketname: any name you wish to show up in logs and statistics 36# porttype: one of: 37# fullfeed - everything, after dupe filtering 38# igate - igate / client port with user-specified filters 39# udpsubmit - UDP packet submission port (8080) 40# dupefeed - duplicate packets dropped by the server 41# options: 42# filter "m/500" - force a filter for users connected here 43# maxclients 100 - limit clients connected on this port 44# acl etc/client.acl - match client addresses against ACL 45# hidden - don't show the port in the status page 46# 47# If you wish to provide UDP service for clients, set up a 48# second listener on the same address, port and protocol. 49# 50# The "::" is IPv6 "IN6ADDR_ANY", whereas "0.0.0.0" is same 51# with IPv4. 52# 53# On FreeBSD you need to have separate listeners for IPv4 and 54# IPv6. On Linux, just use :: alone - the IPv6 listener will 55# catch the IPv4 connections just as well. 56# 57# Example of normal server ports for Linux, supporting both TCP and UDP, 58# IPv4 and IPv6: 59# 60Listen "Full feed" fullfeed tcp :: 10152 hidden 61Listen "" fullfeed udp :: 10152 hidden 62 63Listen "Client-Defined Filters" igate tcp :: 14580 64Listen "" igate udp :: 14580 65 66#Listen "350 km from my position" igate tcp :: 20350 filter "m/350" 67#Listen "" igate udp :: 20350 filter "m/350" 68 69Listen "UDP submit" udpsubmit udp :: 8080 70 71### Uplink configuration ######## 72# Uplink <name> <type> tcp <address> <port> 73# name: a name of the server or service you're connecting to 74# type: one of: 75# full - full feed 76# ro - read-only, do not transmit anything upstream 77# 78# If you wish to specify multiple alternative servers, use multiple 79# Uplink lines, one for each server. 80# 81# Normally a single line for the 'rotate' address is fine - it will connect 82# to one of the servers in a random fashion and go for another one should 83# the first one become unavailable. 84# 85#Uplink "Core rotate" full tcp rotate.aprs.net 10152 86#Uplink "Core rotate" ro tcp rotate.aprs.net 10152 87 88# OPTIONAL: Bind source address before connecting to an uplink 89# You can enter two addresses, one for IPv4 and one for IPv6 connections. 90# Needed if you have multiple IP addresses on your server and only one 91# of them is allowed to connect by the remote server. 92#UplinkBind 127.0.0.1 93#UplinkBind ::1 94 95### HTTP server ########## 96# HTTPStatus port provides a status view to web browsers. 97# IPv6+IPv4 support works slightly differently than in Listen: 98# :: is "all addresses" for IPv6, 0.0.0.0 for IPv4, but 99# :: only works if you actually have a global IPv6 address 100# configured on the system. 101# The example is for IPv4, change the address to :: if you have 102# IPv6. For FreeBSD, or if you wish to support multiple specific 103# ports/addresses, use multiple HTTPStatus directives for each. 104HTTPStatus 0.0.0.0 14501 105# HTTPUpload port allows position uploads over HTTP 106HTTPUpload 0.0.0.0 8080 107 108### Environment ############ 109# When running this server as super-user, the server can (in many systems) 110# increase several resource limits, and do other things that less privileged 111# server can not do. 112# 113# The FileLimit is resource limit on how many simultaneous connections and 114# some other internal resources the system can use at the same time. 115# If the server is not being run as super-user, this setting has no effect 116# in case it is above what normal user can set. 117# 118FileLimit 10000 119 120### Operator attention span qualification run ########### 121# After configuring the rest of the settings, remove this bad command 122# from the configuration file. It's here only to avoid starting the 123# server up accidentally with an invalid configuration. 124MagicBadness 42.7 125 126