Skip AP-less handshakes in the wigle plugin #163
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "wigle-skip-apless"
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
The
wigleplugin no longer records AP-less handshakes. Builds on #161 (it uses the newHandshakeEvent.apless); merge that first. Until then this diff includes #161's commit.AngryOxide files an AP-less handshake (a phone answering it for a network the phone remembers) under its own random rogue address, with the name the phone asked for. The plugin recorded every handshake with a BSSID as an observation, so with a GPS fix it queued that rogue address and name for upload as if it were an access point at the device's location. Without a fix, with
geolocateon, it queued the rogue address for a WiGLE lookup.plugins/wigle.py:_record()returns early for an AP-less handshake, so it is neither uploaded nor looked up. It reads the flag withgetattr, so an event without it (an older test double) behaves as before.GUIDE_MD) say AP-less captures are skipped.This is thanks to a community member who sent in a patch for a related problem following CONTRIBUTING.md; reviewing it turned up this one.
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: 1669 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
plugins/wigle.pyand thekestrel_pipackage's guide text only.Notes for review
test_wigle_skips_apless_handshakes: an AP-less line is neither recorded nor queued for a lookup, and the same line without the AP-less bit is still recorded..wigle-state.json) don't carry the flag, so a rogue address queued before the update still uploads once. Clearing the queue would also drop real observations, so it's left alone.🤖 Generated with Claude Code