masscan: drop default rate to 1000 pps (home uplink)
All checks were successful
build-and-deploy / build (push) Successful in 1m39s

10k pps saturated the residential link. New default is 1000 pps
(~0.6 Mbps of SYNs). Live override is /etc/osint-dashboard/masscan.env.
This commit is contained in:
Sirius DevOps 2026-08-24 23:22:03 -04:00
commit 3af9511a3a
3 changed files with 13 additions and 12 deletions

View file

@ -32,11 +32,11 @@ SNAPSHOT_TTL_SECONDS=300
# Continuous rolling sweep for open RTSP port 554 across a range. Runs on the
# Pi host via deploy/osint-masscan.service (needs root + raw sockets). Results
# land in the same `cameras` table as the scraper (discovery_source=masscan).
# NOTE: at a conservative 10000 pps a full 0.0.0.0/0 sweep takes ~5 days, so
# this is a continuous rolling sweep, not a daily job.
# NOTE: 1000 pps is the residential-safe default. 10k pps saturated a home
# uplink. A full 0.0.0.0/0 sweep at 1000 pps takes ~50 days (rolling).
MASSCAN_RANGE=0.0.0.0/0
MASSCAN_PORTS=554
MASSCAN_RATE=10000
MASSCAN_RATE=1000
MASSCAN_RETRIES=1
MASSCAN_WAIT=0
MASSCAN_EXCLUDEFILE=/etc/osint-dashboard/masscan-excludes.txt