I am new to VRS and new to the forum. At the moment I am building on at radar-like system for AFIS (aerodrome flight information service) at our local airfield and like to center this all on VRS. Some words about my intended setup:
I am running a VRS installation with Mono on my Ubuntu Server at home already. Also I did successfully connect a RaspberryPi with Dump1090 as receiver to it via my LAN. But in the future I like to have the Pi installed on our control tower to have the best view of the airfield. Also when this is working I like to add a couple more Pi's to club members around the airfield to increase coverage. But first things first.
Of course the airfields LAN uses a router to go to the internet and unfortunately I have no control over that part so I can't get some port forwardings or so. As far as I understand, Dump1090 provides a TCP server listening for connections and as soon ans VRS connects it starts streaming its data.
So far I managed to setup a reverse SSH connection to look into port 30003 of the Pi by using telnet. This is what I did on the Pi:
Code: Select all
ssh -R 50000:localhost:22 florian@server
Code: Select all
ssh pi@localhost -p 50000 telnet localhost 30003
Code: Select all
#!/usr/bin/env python
### FILE INFO
# Name: tcpServer.py
# Description: Forward stdin to TCP port
# Author: Florian Meissner <florianmeissner@gmx.de>
# Date: 2016/12/12
### FILE INFO END
import sys
import socket
bindAddr= ""
sbsPort = 30003
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.bind((bindAddr, sbsPort))
s.listen(1)
try:
while True:
comm, addr = s.accept()
while True:
line = sys.stdin.readline()
if not line:
break
try:
comm.send(line)
except socket.error:
comm.close()
break
except KeyboardInterrupt:
pass
finally:
s.close()
Now my question to the pros of VRS. Is there some description on how the protocol between VRS and dump1090 is working. Maybe I am missing a handshake or so?
Florian