osint-dashboard/deploy
Sirius DevOps 3af9511a3a
All checks were successful
build-and-deploy / build (push) Successful in 1m39s
masscan: drop default rate to 1000 pps (home uplink)
10k pps saturated the residential link. New default is 1000 pps
(~0.6 Mbps of SYNs). Live override is /etc/osint-dashboard/masscan.env.
2026-08-24 23:22:03 -04:00
..
masscan-excludes.txt masscan: active RTSP (554) camera discovery service 2026-08-24 22:23:36 -04:00
osint-masscan.service masscan: active RTSP (554) camera discovery service 2026-08-24 22:23:36 -04:00
README.md masscan: drop default rate to 1000 pps (home uplink) 2026-08-24 23:22:03 -04:00

systemd unit template — copy to /etc/systemd/system/osint-masscan.service

The masscan service is a CONTINUOUS rolling sweep (a full IPv4 pass at a

conservative rate takes ~5 days), so it runs as a long-lived service, NOT a

daily timer. The [Install] WantedBy means it starts at boot and Restart=always

keeps it up. Install steps (run once on the Pi, as root):

apt install -y masscan # or: apt-get install masscan

mkdir -p /etc/osint-dashboard /opt/siriusdevops

cp deploy/masscan-excludes.txt /etc/osint-dashboard/masscan-excludes.txt

# Optional tuning (override env in this file; the DB_* values in the unit

# already point at the host-published Postgres on 127.0.0.1:5432):

cat > /etc/osint-dashboard/masscan.env <<'EOF'

MASSCAN_RANGE=0.0.0.0/0

MASSCAN_PORTS=554

MASSCAN_RATE=1000

EOF

# Venv for the scanner (host-level, not the compose image):

cd /opt/siriusdevops/osint-dashboard

python3 -m venv .venv-masscan

.venv-masscan/bin/pip install -r app/requirements.txt

install -m 644 deploy/osint-masscan.service /etc/systemd/system/

systemctl daemon-reload

systemctl enable --now osint-masscan

Watch: journalctl -u osint-masscan -f

DB: writes into the same Postgres the compose stack uses (127.0.0.1:5432)

so findings appear on the dashboard camera map automatically.