Don't count AP-less captures' rogue addresses as access points #162
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "rogue-not-an-ap"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What this PR does
Stops counting an AP-less capture's rogue address as an access point. Builds on #161; merge that first (until then this diff includes #161's commit).
AngryOxide files every AP-less handshake (a phone answering it for a network the phone remembers) under one random rogue address per capture run. That address isn't an access point, but it was counted and drawn as one: in the "access points" totals (dashboard, Captured networks page, e-ink
APcounter), in each network's access-point count, and, when thegpsplugin tagged it, as a location for every name it collected and a marker on the map.CaptureInterface:apless_addresses()gives the addresses that hold only AP-less handshakes, from the existing cached parse.capture_counts()'saccess_pointsand each network'sbssidsincaptured_networks()leave them out;captured_access_points()marks their entriesapless;ap_bssids()skips AP-less handshakes. Handshake totals are unchanged.GUIDE_MD), Working with your captures, and the plugin developer guide (captured_access_points()'sapless,apless_addresses()).This is thanks to a community member who sent in a patch for the recovered-passphrase problem following CONTRIBUTING.md; reviewing it turned up these related counts.
Checklist
make lint(ansible--syntax-check,yamllint,shellcheck --severity=error, and the real-data check). The Lint workflow runs this on the PR.make test: 1671 passed locally, with the two tests that only fail off a device deselected (test_main_ignores_sighup,test_gps_serial_reader_recovers_from_a_stalled_link). The Test workflow runs it on the PR.Release impact
kestrel_pipackage andplugins/map.pyonly.Notes for review
ap_bssids()), the by-AP row's label and headline count, no location for a rogue address in either view, the dashboard total, and no map marker.agent/env.py,_distinct_bssids) also counts a rogue address as a distinct AP. It's left alone here: changing it changes the training signal, so it needs its own decision.🤖 Generated with Claude Code