From c39cc1033c8abad686b7354c5cf3f5ec49d56ec4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 15 Jun 2024 00:06:52 +0000 Subject: [PATCH 1/8] build(deps): bump actions/checkout from 4.1.6 to 4.1.7 Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.6 to 4.1.7. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4.1.6...v4.1.7) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/deploy.yml | 2 +- .github/workflows/on_pr.yml | 2 +- .github/workflows/pre-commit-updates.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 021b075..0e473be 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -58,7 +58,7 @@ jobs: name: Run hadolint against docker files runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4.1.6 + - uses: actions/checkout@v4.1.7 - name: Pull hadolint/hadolint:latest Image run: docker pull hadolint/hadolint:latest - name: Run hadolint against Dockerfiles diff --git a/.github/workflows/on_pr.yml b/.github/workflows/on_pr.yml index 693bf12..1515545 100644 --- a/.github/workflows/on_pr.yml +++ b/.github/workflows/on_pr.yml @@ -34,7 +34,7 @@ jobs: name: Run hadolint against docker files runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4.1.6 + - uses: actions/checkout@v4.1.7 - name: Pull hadolint/hadolint:latest Image run: docker pull hadolint/hadolint:latest - name: Run hadolint against Dockerfiles diff --git a/.github/workflows/pre-commit-updates.yaml b/.github/workflows/pre-commit-updates.yaml index c92a984..bfc1ca8 100644 --- a/.github/workflows/pre-commit-updates.yaml +++ b/.github/workflows/pre-commit-updates.yaml @@ -9,7 +9,7 @@ jobs: update: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4.1.6 + - uses: actions/checkout@v4.1.7 with: fetch-depth: 0 - uses: vrslev/pre-commit-autoupdate@v1.0.0 From 81c09c61cde865a266a2de87d3f65c27994d2353 Mon Sep 17 00:00:00 2001 From: fredclausen <43556888+fredclausen@users.noreply.github.com> Date: Sun, 16 Jun 2024 01:38:47 +0000 Subject: [PATCH 2/8] chore(deps): Update pre-commit hooks --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 023ed99..8bb5c61 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -41,7 +41,7 @@ repos: - id: shellcheck - repo: https://github.com/sirosen/check-jsonschema - rev: 0.28.4 + rev: 0.28.5 hooks: - id: check-github-actions - id: check-github-workflows @@ -59,7 +59,7 @@ repos: - id: black - repo: https://github.com/pycqa/flake8 - rev: "7.0.0" # pick a git hash / tag to point to + rev: "7.1.0" # pick a git hash / tag to point to hooks: - id: flake8 args: ["--extend-ignore=W503,W504,E501"] From 1e6f694d808dea0674166827c847dce191f4f840 Mon Sep 17 00:00:00 2001 From: kx1t <15090643+kx1t@users.noreply.github.com> Date: Sun, 16 Jun 2024 07:43:21 -0400 Subject: [PATCH 3/8] Add script to register for AussieADSB feed (#103) * add AussieADSB registration script * update readme * make independent of container run * update * update readme * minor update * fix typo * Update aussieadsb.sh * Update aussieadsb.sh * Update aussieadsb.sh * Add netcat-traditional and net-tools to install check * Update README.md * Update aussieadsb.sh * Update aussieadsb.sh --- README.md | 7 ++ aussieadsb.sh | 285 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 292 insertions(+) create mode 100755 aussieadsb.sh diff --git a/README.md b/README.md index 0a61549..e00d45b 100644 --- a/README.md +++ b/README.md @@ -343,9 +343,16 @@ There are several aggregators, both non-profit and commercial, that can directly | ADSB Exchange | C | Large aggregator owned by JetNet | adsb:`feed1.adsbexchange.com` port `30004`
mlat: `feed.adsbexchange.com` port `31090` | | RadarPlane | N | Run by a few aviation enthusiasts in Canada and Portugal | adsb: `feed.radarplane.com` port `30001`
mlat: `feed.radarplane.com` port `31090` | | Fly Italy ADSB | N | Run by a few aviation enthusiasts in Italy | adsb: `dati.flyitalyadsb.com` port `4905`
mlat: `dati.flyitalyadsb.com` port `30100` | +| AussieADSB | C | Small semi-commercial aggregator focused uniquely on Australia/Oceania. See . See below on how to configure a feed to them | adsb: `aussieadsb.com` port (varies)
mlat: `aussieadsb.com` port `30000` | When feeding AdsbExchange, Ultrafeeder will send statistics to adsbexchange.com by default. See the description of the `ADSBX_STATS` parameter on how to disable this. +To feed AussieADSB (Australia/Oceania only!), execute this command on your host and follow the instructions. You can also use this command to de-register your feeder, or to see its status: + +```bash +bash <(wget -qO - https://raw.githubusercontent.com/sdr-enthusiasts/docker-adsb-ultrafeeder/dev/aussieadsb.sh) +``` + ##### Alternate Configuration Method with `READSB_NET_CONNECTOR` Instead of (or in addition to) using `BEASTHOST`, you can also define ADSB data ingests using the `READSB_NET_CONNECTOR` parameter. This is the preferred way if you have multiple sources or destinations for your ADSB data. This variable allows you to configure incoming and outgoing connections. The variable takes a semicolon (`;`) separated list of `host,port,protocol[,uuid=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX]`, see the section [All-in-One Configuration using `ULTRAFEEDER_CONFIG`](#all-in-one-configuration-using-ultrafeeder_config) for explanation of these parameters. diff --git a/aussieadsb.sh b/aussieadsb.sh new file mode 100755 index 0000000..b7d9c60 --- /dev/null +++ b/aussieadsb.sh @@ -0,0 +1,285 @@ +#!/bin/bash + +# shellcheck shell=bash disable=SC2015,SC2162 +# +# Registration and query utility for aussieadsb, +# Meant for those who want to feed AussieADSB with Ultrafeeder +# +# AussieADSB is an Australian aggregator focused on feeders in Australia/Oceania. +# If you are in this region and are interested in feeding to them, please see: +# http://aussieadsb.com/ +# +# You can run this script from any modern Debian Linux machine with this command: +# bash <(wget -qO - https://raw.githubusercontent.com/sdr-enthusiasts/docker-adsb-ultrafeeder/main/aussieadsb.sh) +# +#--------------------------------------------------------------------------------------------- +# Copyright (C) 2024 Ramon F. Kolb (kx1t) and contributors +# +# This program is free software: you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the +# Free Software Foundation, either version 3 of the License, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY +# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along with this program. +# If not, see . +#--------------------------------------------------------------------------------------------- +# + +AAClientVersion="1.2.0" +argv="${1,,}" +if [[ "${argv:0:1}" != "-" ]]; then argv="-$argv"; fi + +while [[ "$argv" == "-" ]]; do + echo "AussieADSB registration utility" + echo "Visit https://aussieadsb.com for info" + echo + echo "Select an option:" + echo "(r)egister -- register a new receiver" + echo "(d)e-register -- deregister a receiver" + echo "(u)pdateinfo -- update your registration info" + echo "(s)tatus -- show the feeding status" + read -n 1 argv + echo + argv="${argv,,}" + case "$argv" in + r) argv="-register" ;; + d) argv="-deregister" ;; + u) argv="-updateinfo" ;; + s) argv="-status" ;; + *) echo "invalid selection, try again" ;; + esac +done + +if [[ "$argv" == "-help" ]]; then + echo "Usage: $0