A small utility to convert DECT traces captured using dtrace on a Fritz!Box (https://www.boxmatrix.info/wiki/Property:dtrace_(avmcmd)) into a format that can be loaded into Wireshark for analysis.
You can create a dtrace capture using your Fritz!Box at http://fritz.box/html/capture.html.
No additional arguments need to be specified.
The resulting fritzbox_<timestamp>_dtrace.txt file can then be converted to a .pcap file using this utility.
- Install the requirements using
pip install -r requirements.txtoruv sync. - Run
python3 dtrace-to-pcap.py <your_dtrace.txt> -o out.pcap
Load the .pcap file as usual or launch dtrace-to-pcap.py with the --open-in-wireshhark flag.
I am abusing the Mitel DECT-over-Ethernet packet type to put DECT packets into the .pcap file.
Since I have not added the full TCP flow below it, we need to tell Wireshark that it should use the Mitel-DECToE dissector to decode it.
Right-click one of the packets in Wireshark (they will be shown as Ethernet II) > Decode as... > Select Current: Mitel-DECToE > Save

