Lock down the default config - no remote connections, no HTTP server.

The user can reconfigure if they want a more open setup.

Add Suggests: lighttpd and recommend that as the way to run the map interface.
This commit is contained in:
Oliver Jowett 2014-12-06 22:23:13 +00:00
parent e5931cbd50
commit 127bf0cbc2
3 changed files with 12 additions and 7 deletions

4
debian/control vendored
View file

@ -10,12 +10,10 @@ Vcs-Git: https://github.com/mutability/dump1090.git
Package: dump1090-mutability Package: dump1090-mutability
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, adduser Depends: ${shlibs:Depends}, ${misc:Depends}, adduser
Suggests: lighttpd
Description: ADS-B Ground Station System for RTL-SDR Description: ADS-B Ground Station System for RTL-SDR
Networked Aviation Mode S / ADS-B decoder/translator with RTL-SDR software Networked Aviation Mode S / ADS-B decoder/translator with RTL-SDR software
defined radio USB device support. defined radio USB device support.
. .
Includes a mini-webserver that you can access to see aircraft in the vicinity
of your receiver.
.
This is a packaging of the "mutability" fork of dump1090 that includes This is a packaging of the "mutability" fork of dump1090 that includes
sampling at 2.4MHz and other improvements. sampling at 2.4MHz and other improvements.

View file

@ -59,7 +59,12 @@ DUMP1090_USER="dump1090"
# #
# Port to listen on for HTTP connections. 0 disables. # Port to listen on for HTTP connections. 0 disables.
#HTTP_PORT=8080 # HTTP defaults to being disabled unless you specify something here. I
# that you do not enable this, and instead serve the contents of
# /usr/share/dump1090-mutability and JSON_DIR (below) using a proper
# webserver. See /etc/lighttpd/conf-available/90-dump1090.conf
# for an example configuration ("sudo lighty-enable-mod dump1090" to enable)
#HTTP_PORT=0
# Port to listen on for raw (AVR-format) input connections. 0 disables. # Port to listen on for raw (AVR-format) input connections. 0 disables.
#RAW_INPUT_PORT=30001 #RAW_INPUT_PORT=30001
@ -89,7 +94,9 @@ DUMP1090_USER="dump1090"
#NET_BUFFER=0 #NET_BUFFER=0
# Bind ports on a particular address. If unset, binds to all interfaces. # Bind ports on a particular address. If unset, binds to all interfaces.
#BIND_ADDRESS= # This defaults to binding to localhost. If you need to allow remote
# connections, change this.
#BIND_ADDRESS=127.0.0.1
# #
# Misc options # Misc options

View file

@ -38,7 +38,7 @@ PHASE_ENHANCE=no
AGGRESSIVE=no AGGRESSIVE=no
LAT= LAT=
LON= LON=
HTTP_PORT=8080 HTTP_PORT=0
RAW_INPUT_PORT=30001 RAW_INPUT_PORT=30001
RAW_OUTPUT_PORT=30002 RAW_OUTPUT_PORT=30002
SBS_OUTPUT_PORT=30003 SBS_OUTPUT_PORT=30003
@ -48,7 +48,7 @@ NET_HEARTBEAT=60
NET_OUTPUT_SIZE=5 NET_OUTPUT_SIZE=5
NET_OUTPUT_INTERVAL=1 NET_OUTPUT_INTERVAL=1
NET_BUFFER=0 NET_BUFFER=0
BIND_ADDRESS= BIND_ADDRESS=127.0.0.1
STATS_INTERVAL=3600 STATS_INTERVAL=3600
JSON_DIR=/run/$NAME JSON_DIR=/run/$NAME
JSON_INTERVAL=1 JSON_INTERVAL=1