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

Facing problem with capturing traffic of ble with wireshark #194

Closed Nag5115 closed 3 years ago

Nag5115 commented 8 years ago

Hi All, I follow below procedure for capturing the ble traffic but it is not working. I'm using ubertooth-2015-10-R1 libbtbb-2015-10-R1 wireshark 1.6.5

Run the command: mkfifo /tmp/pipe Open Wireshark Click Capture -> Options Click "Manage Interfaces" button on the right side of the window Click the "New" button In the "Pipe" text box, type "/tmp/pipe" Click Save, then click Close Click "Start"

In a terminal, run ubertooth-btle: ubertooth-btle -f -c /tmp/pipe

after execution of the above command I'm getting below error in wireshark traffic.

I got the error """User encapsulation not handled: DLT=147, check your Preferences->Protocols->DLT_USER the steps you want are:"""

Click Edit -> Preferences Click Protocols -> DLT_USER Click Edit (Encapsulations Table) Click New Under DLT, select "User 0 (DLT=147)" (adjust this selection as appropriate if the error message -showed a different DLT number than 147) ---->>>Under Payload Protocol, enter: btle

after entering above step I'm getting below error. """error in column 'payload protocol': dissector not found"""

I'm new to this ubertooth project. so,please provide information about this issue.

Thanks...

dominicgs commented 8 years ago

The BLE packet dissector is included with Wireshark 1.12 and later versions.

Wireshark 1.6.5 is over four years old and predates the BLE implementation in Ubertooth. The BLE packet dissector will not build for version 1.6.5.

Nag5115 commented 8 years ago

Thanks for the replay, I upgraded wireshark version to stable version of 2.0.3. its working fine.

Thanks for the support...

EMCP commented 8 years ago

I'm not sure how to get started with the new wireshark.. it's saying "This version of wireshark does not save pipe settings" in the manage interfaces... window

Nag5115 commented 8 years ago

@EMCP yes,it is not showing the pipe settings but in offline mode we can filter the btle packets. I'm also facing same problem with newer version of wireshark with "mkfifo /tmp/pipe" settings... Is anyone try this with latest version of wireshark???

humberthumbert commented 8 years ago

@EMCP @Nag5115 I faced the same problem that "This version of wireshark does not save pipe settings". And I think I have figured it out. There is an article on wireshark's wiki website taking about pipe. Here is the link https://wiki.wireshark.org/CaptureSetup/Pipes

So I tried the following steps: $ mkfifo /tmp/sharkfin $ wireshark -k -i /tmp/sharkfin & $ ubertooth-btle -f -c /tmp/sharkin &

And it works for me now.

pekkanikander commented 8 years ago

@humberthumbert Thanks for your instructions. They work for me, too.

mikeryan commented 3 years ago

@IgorGanapolsky can you please confirm you're using 2018-12-R1 along with Wireshark 3.2.6?

mikeryan commented 3 years ago

Closing this due to inactivity. Please reopen if you're still having this problem.