This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
howto:dumlcapture [2021/11/02 03:20] czokie |
howto:dumlcapture [2021/12/04 20:57] (current) lawq Add m1 instructions |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Capturing DUML ====== | + | ====== Capturing DUML - OSX ====== |
Capturing DUML packets can be tricky if you are new to the scene. This page is designed to list some of the easy ways to capture DUML. It will grow over time as other people document other methods. | Capturing DUML packets can be tricky if you are new to the scene. This page is designed to list some of the easy ways to capture DUML. It will grow over time as other people document other methods. | ||
Line 7: | Line 7: | ||
==== 1. Disable SIP === | ==== 1. Disable SIP === | ||
+ | To capture DUML via the USB port, you need to capture data from an interface that is not normally accessible. Apple protects this interface to prevent key grabbers for example from capturing keyboard USB traffic. Once you are finished doing DUML capture work, you should re-enable SIP unless you are comfortable and understand the risks involved. The process to re-enable is the same as below, but change the word disable to enable. | ||
+ | |||
+ | M1 Mac: | ||
+ | * Shutdown your Mac | ||
+ | * Hold the power button until " | ||
+ | * Click options, enter your password for your user | ||
+ | * Again, enter your password to enter " | ||
+ | * Click Utility >> Terminal, type " | ||
+ | * Restart your Mac | ||
+ | |||
+ | Intel Mac: | ||
* Restart your Mac | * Restart your Mac | ||
* Hold down Command-R to reboot into Recovery Mode | * Hold down Command-R to reboot into Recovery Mode | ||
- | * Click Utility-> | + | * Click Utility |
* Restart your Mac | * Restart your Mac | ||
Line 15: | Line 26: | ||
sudo ifconfig XHC20 up | sudo ifconfig XHC20 up | ||
+ | |||
+ | NOTE: When not required for capturing, you should disable this interface using the following command. | ||
+ | |||
+ | sudo ifconfig XHC20 down | ||
==== 3. Capture ==== | ==== 3. Capture ==== | ||
Line 53: | Line 68: | ||
==== 4. Set a display filter ==== | ==== 4. Set a display filter ==== | ||
- | (frame.protocols == " | + | (frame.protocols == " |
+ | |||
+ | This filter is designed to capture all POSSIBLE | ||
+ | |||
+ | dji_dumlv1 | ||
+ | |||
+ | This filter will display ONLY matched valid dji_dumlv1 packets. | ||
+ | ==== 5. Set display columns ==== | ||
+ | |||
+ | This is an optional step, but it will make it easier to read and interpret a DUML flow at a glance. | ||
+ | |||
+ | * Click Wireshark >> Preferences >> Appearance >> Columns | ||
+ | * Configure to your requirements. The default layout is shown below. | ||
+ | {{: | ||
+ | |||
+ | However, this looks shows Phantom 3 specific data. Unless you have a phantom, you might need to change this to suit your drone. Alternatively, | ||
- | This filter is designed to capture all valid dji_dumlv1 packets, but also to capture any poorly decoded packets to allow you to look at the cause of any problems with the dissectors. | + | {{: |