greatscottgadgets / ubertooth

Software, firmware, and hardware designs for Ubertooth
https://greatscottgadgets.com/ubertoothone/
GNU General Public License v2.0
1.94k stars 433 forks source link

ubertooth-btle should support filtering based on device address #310

Closed Matir closed 6 years ago

Matir commented 6 years ago

Steps to reproduce

  1. Start ubertooth-btle with a command like ubertooth-btle -rwatch_conn2.pcap -A37 -f -tE0:A0:30:C5:E8:58
  2. Watch your screen (and pcap file) fill with packets completely unrelated to the device to be followed.

Expected behaviour

I expect that it will work as described. I would like it to be possible to filter to only see the advertising packets from the device, and the packets from both ends of the connection once a connection is being followed.

Actual behaviour

You see everything (which, where I am, is an unusable mess.)

Version information

Operating system: Linux human 4.14.0-3-amd64 #1 SMP Debian 4.14.17-1 (2018-02-14) x86_64 GNU/Linux

Ubertooth tools version (ubertooth-rx -V): libubertooth 1.0 (2017-03-R2), libbtbb 1.0 (2017-03-R2)

libbtbb version: 2017-03-R2

Ubertooth firmware version (ubertooth-util -v): ubertooth 2017-03-R2 (user@localhost)

mikeryan commented 6 years ago

The firmware in the le_phy branch has the behavior you expect.

To build it, clone the git repo and checkout the le_phy branch. Follow the instructions in the wiki: https://github.com/greatscottgadgets/ubertooth/wiki/Firmware#developing-firmware

Matir commented 6 years ago

Oh great, thanks! Is that firmware the canonical firmware for working on BLE? I noticed it's been mentioned on other bugs. And, should I have problems with the le_phy firmware, is this still the right place to open issues?

mikeryan commented 6 years ago

It's definitely the best firmware to use for BLE, as it's where all development is happening. It hasn't quite reached feature parity with existing master, so it hasn't merged yet. If you do find bugs in this branch, please file them!

mikeryan commented 6 years ago

This firmware has been merged into master and is in the latest pre release 2018-06-R1.