Repository navigation
Releases
v1.0.3
What changed in 1.0.3
Slow storage no longer loses observations. On an SD card or other slow storage, writes could stall for seconds at a time, and whatever was being written was dropped. Now a write that hits a busy database is retried, and the capture pipeline holds a failed batch in memory and tries again, backing off to every 30 seconds while the storage is slow. The write-ahead log is folded back into the database on a timer instead of in the middle of a write, and the Docker health check no longer opens the database at all. Thanks to @tian-sigons for the report in #9.
A damaged database is now reported. If the database file is damaged, usually by failing storage, LAN Sheriff now says so: in a banner on the dashboard, in /api/health, and through lan-sheriff health, which exits 1. All three say how to fix it. A full check of the database runs a minute after start and every six hours after that. Before, the damage only showed up as warnings in the log while the Wanted List quietly stopped growing.
A new malware list. URLhaus retired its free downloads, so new installs, including fresh Docker containers, were starting with no malware list at all, and the threat list rule could never fire. It is replaced with the HaGeZi Threat Intelligence Feed (the mini edition, about 200,000 domains, refreshed by HaGeZi every few hours). A domain on both the malware list and the ad list is now labelled malware; before, the ad list won. Expect about 15 MB more memory.
One rare-destination finding per device. A device that reaches unusual countries now raises a single finding that lists them, instead of one per country. Findings from earlier versions are merged on upgrade without notifying you again.
Four new languages. Italian, Korean, Polish and Ukrainian, for sixteen in all. They have not yet been reviewed by native speakers; corrections are welcome.
Smaller fixes.
- The Settings dialog no longer disappears behind ad blockers that hide anything named like a pop-up.
- Radio Chatter hides reverse lookups (
.arpa) by default. Tick "Show reverse lookups" to see them. Search and export are not filtered. - The Start here section of Help now separates what is working from what is not available, then says how to see more.
- The dashboard footer and the Docker image show the real build number.
Security
- Built with Go 1.27.4, which fixes GO-2026-6859, a crash in Go's HTTP/1 server that was reachable through the dashboard's own server. The build also picks up the Go 1.27.3 certificate change, which rejects certificate chains through eight compromised intermediate CA keys. That check is compiled in, so it only reaches you through a new build.
golang.org/x/net0.62.0,golang.org/x/crypto0.58.0 andgopacket1.7.2.- libpcap 1.10.7 in the capture builds, and the release build now verifies the checksums of the libpcap and Npcap SDK downloads before using them.
- The Docker image moves to Debian 13, and its base images are pulled fresh on every build.
- Release builds run on a fixed Ubuntu 24.04 runner instead of whatever "latest" happens to be.
Changes to know about
- New command:
lan-sheriff health. It asks a running instance whether it is alive and exits 0 if so. The Docker health check now uses it. Write stalls are reported but do not fail it; a damaged database does. It asks127.0.0.1:2911unless you pass--url. /api/healthanswers without a password. It reports whether the server is up, whether writes are landing and whether the database is damaged. It contains nothing that was observed, and it does not reveal where your data is stored.lan-sheriff statusno longer writes. It now opens the database read-only, so it never creates or migrates one. It exits 1 if there is no database. On a database from before 1.0.3, runlan-sheriff serveonce first.- Rare-destination scores can rise. A device that reaches several unusual countries scores up to 0.2 higher than before, which can carry it over a
--notify-min-scorethreshold.
v1.0.2
Fixed in this release
A reachable crash in the HTTP server (GO-2026-6617). A race in the HTTP/2
HPACK encoder in Go's net/http and golang.org/x/net could bring the process
down from a crafted request. The dashboard and The Dispatch are both served
over net/http, so this was reachable by anyone who could open a connection
to either. Fixed by moving the build to Go 1.27.2 and x/net 0.60.0, which
carry the patch in both halves.
The CI security job was pinned to Go 1.25 and could not see a fix that only
existed on newer Go lines, which is how this one hid. Every workflow now follows
the Go version declared in go.mod, so a stdlib advisory turns the job red the
day it is published, not the day someone looks.
Upgrading is the fix. There is no workaround short of not exposing the
dashboard or The Dispatch.
Also in this release. Static analysis bumped to staticcheck 0.8.2, CodeQL
to v4, Vite to 8.2.2 in the dashboard build, and a single aggregate CI gate so
one green check means every job passed. The README now says plainly what runs
on OpenWrt today and what the 1.5 router release will add.
v1.0.1
LAN Sheriff v1.0.1
Nothing leaves town unnoticed.
Fixed in this release
An unbounded allocation reachable from the dashboard. The limit query
parameter was passed to the store unclamped and used as a slice capacity, so a
request such as ?limit=500000000 asked Go for tens of gigabytes in a single
allocation and killed the process. It is now clamped for every endpoint that
takes a limit.
Found by CodeQL. Reachable by anyone who can open the dashboard, which on the
default loopback bind means somebody already on the machine, and on a network
bind means an authenticated user. Upgrading is the fix; there is no workaround
short of not exposing the dashboard.
Download the archive for your platform, unpack it, and run lan-sheriff.
No configuration, no account, and no elevated privileges for Deputy Mode.
Patrol Mode (which sees every device rather than only this machine) is
compiled in. It needs privilege, not a rebuild; the dashboard tells you the
exact command for your system if it is unavailable.
Shipped unsigned by a certificate authority. macOS will say the developer
cannot be verified and Windows SmartScreen will hide the run button; the
README
explains the way past each. A signed build follows as a point release and
changes nothing about the software.
Homebrew and Scoop are published, and both were installed and run from the
published release before this note was written:
brew install 291-group/tap/lan-sheriffscoop bucket add 291group https://github.com/291-Group/scoop-bucket
scoop install lan-sheriffThe Homebrew cask clears the quarantine attribute as it installs, so macOS does
not report the binary as coming from an unverified developer.
Checking what you downloaded
Every archive is listed in checksums.txt, and that file is signed. The
signature is keyless: it is bound to the GitHub Actions run that built this
release and recorded in a public transparency log, so verifying it requires
trusting sigstore rather than trusting us.
cosign verify-blob checksums.txt \
--signature checksums.txt.sig \
--certificate checksums.txt.pem \
--certificate-identity-regexp 'https://github.com/291-Group/LAN-Sheriff' \
--certificate-oidc-issuer https://token.actions.githubusercontent.com
sha256sum -c checksums.txt --ignore-missinginstall.sh does the checksum half of this for you and refuses to install
without it.
_portable archives are built without packet capture. They run
anywhere and offer Deputy Mode only. Use one if the standard build will not
start, or if you would rather not have a capture library in the process.
Full Changelog: https://github.com/291-Group/LAN-Sheriff/commits/v1.0.0
v1.0.0
LAN Sheriff v1.0.0
Nothing leaves town unnoticed.
Download the archive for your platform, unpack it, and run lan-sheriff.
No configuration, no account, and no elevated privileges for Deputy Mode.
Patrol Mode (which sees every device rather than only this machine) is
compiled in. It needs privilege, not a rebuild; the dashboard tells you the
exact command for your system if it is unavailable.
Shipped unsigned by a certificate authority. macOS will say the developer
cannot be verified and Windows SmartScreen will hide the run button; the
README
explains the way past each. A signed build follows as a point release and
changes nothing about the software.
Homebrew and Scoop are published, and both were installed and run from the
published release before this note was written:
brew install 291-group/tap/lan-sheriffscoop bucket add 291group https://github.com/291-Group/scoop-bucket
scoop install lan-sheriffThe Homebrew cask clears the quarantine attribute as it installs, so macOS does
not report the binary as coming from an unverified developer.
Checking what you downloaded
Every archive is listed in checksums.txt, and that file is signed. The
signature is keyless: it is bound to the GitHub Actions run that built this
release and recorded in a public transparency log, so verifying it requires
trusting sigstore rather than trusting us.
cosign verify-blob checksums.txt \
--signature checksums.txt.sig \
--certificate checksums.txt.pem \
--certificate-identity-regexp 'https://github.com/291-Group/LAN-Sheriff' \
--certificate-oidc-issuer https://token.actions.githubusercontent.com
sha256sum -c checksums.txt --ignore-missinginstall.sh does the checksum half of this for you and refuses to install
without it.
_portable archives are built without packet capture. They run
anywhere and offer Deputy Mode only. Use one if the standard build will not
start, or if you would rather not have a capture library in the process.
Full Changelog: https://github.com/291-Group/LAN-Sheriff/commits/v1.0.0