From 58015561c8969c80732f131c0f0af7b82c50b8b2 Mon Sep 17 00:00:00 2001 From: Jason McCormick Date: Tue, 24 Nov 2026 21:45:57 -0500 Subject: Add ysf-zapper: drop YSF links requested by invalid callsigns Watches YSFGateway logs on WPSD for WiresX connect requests from stations with a blank/invalid callsign (e.g. "0") and issues UnLink via the remote command port. Co-Authored-By: Claude Opus 5.5 --- ysf-zapper.service | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 ysf-zapper.service (limited to 'ysf-zapper.service') diff --git a/ysf-zapper.service b/ysf-zapper.service new file mode 100644 index 0000000..463c430 --- /dev/null +++ b/ysf-zapper.service @@ -0,0 +1,16 @@ +[Unit] +Description=YSF Zapper - drop links requested by stations with no valid callsign +After=ysfgateway.service +Wants=ysfgateway.service + +[Service] +Type=simple +ExecStart=/usr/bin/python3 -u /opt/ysf-zapper/ysf-zapper.py +# Environment=YSFZ_DENYLIST=NOCALL,N0CALL +# Environment=YSFZ_DRY_RUN=1 +Restart=always +RestartSec=5 +User=mmdvm + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3