• 1.0.13 ef51986a6e

    Release 1.0.13
    Some checks failed
    Lint / lint (push) Successful in 32s
    Test / test (push) Successful in 31s
    Sync Release to GitHub / sync-to-github (release) Failing after 2s
    Stable

    aluminum-ice released this 2026-11-04 08:52:16 +00:00 | 53 commits to main since this release

    Kestrel 1.0.13

    Recovered passphrases stay with the right network, and a hardening pass. This release fixes how the device matches recovered passphrases to your captures, stops counting the capture tool's made-up addresses as access points, and goes back over every place Kestrel signs you in, runs something as root or talks to the internet, making each one stricter. It also adds a Last 24 hours map filter and a clearer Census page.

    From 1.0.12, 1.0.11 or any 1.0.13 beta, this is an in-place update. Apply it from the dashboard (Upgrade) or with sudo kestrel update apply. No reflash: the build changes in this release only affect how you build your own image, not what's on the card. Your settings, plugins and captures are kept, and if the new version doesn't come up cleanly, the device rolls itself back.

    Recovered passphrases

    Thanks to caltru1sm, who found this problem and sent in a patch for it.

    • The problem. Some handshakes come from a phone answering the capture tool for a network it remembers, with no access point involved. The capture tool files all of those from one capture run under one made-up address, each with the name the phone asked for. The device matched recovered passphrases by address alone, so once one of those was recovered, the same passphrase showed against every network name under that address, and the address counted as a recovered access point.
    • The fix. A passphrase is now matched by the access point's address and the network name. For a handshake from a phone answering the capture tool, it's matched by the phone as well, and shown with it: My Network · client 00:00:5E:00:53:01. Those never count toward recovered N of M access points or turn a map marker green.
    • Imports keep the client. kestrel recovered import and the dashboard's Import results now keep each line's client address instead of dropping it. Results you imported before still show for ordinary access points; for a result from a phone answering the capture tool, import the file again.

    Access-point counts, the map and WiGLE

    • A made-up address isn't an access point. The address the capture tool answers phones from no longer counts in the access-point totals (the dashboard, the Captured networks page, the e-ink AP counter) or in a network's access-point count. On the Captured networks page it keeps its row in the by access point view, marked Not an access point, and its handshakes still count.
    • No location for it. Its location was only where the device was, so it no longer shows on the Captured networks page or as a marker on the map.
    • Only real access points go to WiGLE. The wigle plugin no longer records a handshake from a phone answering the capture tool, so the made-up address and the name the phone asked for are never uploaded or looked up.
    • "New networks / hour" counts only real access points. The learning agent's coverage figure leaves those handshakes out. It's for reading only, not part of the agent's reward or training, so models are unaffected.

    Captured networks

    • Searching by name lists only that name. In the by access point view, the search also matches a pasted BSSID. It used to read any search as a possible BSSID, so a name like Home became "e" and matched nearly every access point. It now treats a search as a BSSID only when it looks like one (hex digits with :, - or ., or at least six digits), so AA:BB:CC still finds its radio and a name matches names only.

    Map

    • A "Last 24 hours" filter. Beside Last 7 days, the map's filters now include Last 24 hours, showing only the locations recorded or estimated in the past day.
    • Reset view sits on the map. After you zoom in, ↺ Reset view appears in the map's top-left corner rather than in the filter bar, so the filters fit on a phone screen. It keeps the filter you chose.

    Census

    • A clearer Status card. It shows whether the phone's tether is up and the census can be read and written right now, and the date and time this device last pushed its report and last read the census (both kept across restarts).
    • A fresh connection after the tether reconnects. When the phone's Bluetooth tether drops and comes back, the census notices, even between cycles, and opens a fresh connection on the tether before it sends anything more. The journal says census: the tether reconnected; opening a fresh socket when it does.
    • Bounded reads. A device keeps at most what one census slot can hold from each slot it reads, and at most a full census (12,544 reports) a day. A reply from the DHT that can't be read is set aside, and the rest of the read carries on.

    Privileged helpers

    Kestrel's dashboard and plugins run as the ordinary pi user; a few small helpers run as root to do what pi can't (start capture, apply an update, check a password). This release tightens what those helpers accept from pi:

    • Files root leaves for pi's processes are made by pi. The trigger files that ask the learning agent or remote training to start are created as pi, and never through a link. A model added with sudo kestrel agent import is written into place as pi too.
    • Settings root acts on are terminal-only. The updates plugin's beta, timeout and backup_timeout_seconds, and remote-train's agent_dir, can be changed only with sudo kestrel plugins set .... The Plugins page shows them read-only, and the update engine keeps its timeouts within sensible bounds whatever the file says.
    • Password checks are paced on the device itself. The root helper that checks the device password spaces out its answers after repeated failures, for every caller at once, and accepts only a normal user account, such as pi.

    The dashboard

    • Every sign-in attempt counts. The sign-in page, scripts sending a username and password, and access tokens share one per-address backoff: after a few wrong attempts in a row, the dashboard asks you to wait. A login it verified in the last few minutes still gets straight in.
    • "Couldn't check" is not "wrong password". If the device is busy checking other sign-ins, the page says Couldn't check your password right now. Try again in a moment., and that doesn't count against you.
    • Size and connection limits. Requests over 64 KB are turned away before they're read (the potfile import keeps its own, larger limit). Each listener serves at most 64 connections, 16 from any one address (the device itself is exempt), and a request has 20 seconds to arrive.
    • A way back from every plugin page. Every page a plugin shows now opens with the same ← Plugins · Dashboard links, added by the dashboard itself.
    • "View" buttons. The census and wpa-sec row buttons on the Plugins page now read View, like the other plugins that open a page.
    • Text that renders, always. The renderer behind the guide and What's new treats a line starting with # that isn't a heading as ordinary text, and always finishes.

    Updates

    • The update token stays with your release server. If you update from a private repository with a token, the device follows a redirect only to an https:// address, at most five times, and doesn't send the token once a redirect leaves your release server. The release clone itself follows no redirect when a token is set.
    • Clearer wording when an update was cut short. An update interrupted part-way, for example by a power loss, and rolled back at boot is described as interrupted, not as one that failed to start.
    • Beta opt-in has moved to the terminal. Turn beta updates on or off with sudo kestrel plugins set updates beta=true (or =false). A device that already had it on keeps it.

    Building your own image

    • MY_PI_PASSWORD_HASH now reaches the image. Pass your hash in single quotes, sudo make image MY_PI_PASSWORD_HASH='$6$...'. The build stops if the value isn't a password hash, never prints it, and its log says only whether a custom hash or the default went in. If you built your own image with a custom hash before this release, set your password once with passwd to be sure it's the one you expect.

    Hardware

    • Raspberry Pi 3B and 4B. Community reports suggest Kestrel works on both; they haven't been verified on hardware by the maintainer. The Pi 5 and Pi Zero 2 W remain the tested boards.

    Tested in four betas

    1.0.13-beta.1 through 1.0.13-beta.4 were each checked on a Pi 5 with the beta-check script; their checklists are #150, #158, #166 and #172.

    Install: app-layer — apply in place via the updates plugin.


    Built from ef51986.

    Downloads