DragonSync is a powerful tool for monitoring Remote ID-compliant drones and system status, generating Cursor on Target (CoT) messages in real-time. It integrates with ATAK or other TAK clients and leverages ZeroMQ (ZMQ) for seamless data flow. Everything is pre-configured for use on the WarDragon, but installation on other systems is also supported with additional dependencies.
- Remote ID Drone Detection:
Uses DroneID to detect Bluetooth/Wi-Fi Remote ID signals. Thanks to @bkerler for this fantastic tool. - System Status Monitoring:
wardragon_monitor.py
gathers hardware status (vialm-sensors
), GPS location, and serial number. - CoT Generation:
Converts system and drone data into CoT messages. - ZMQ Support:
Uses ZMQ for communication between components. - TAK/ATAK Integration:
Supports multicast for ATAK or direct TAK server connections.
If running DragonSync on the WarDragon kit, all dependencies are pre-configured, including hardware-specific sensors and GPS modules.
If you install DragonSync elsewhere, ensure the following:
- Python 3.x
- lm-sensors: Install via:
sudo apt update && sudo apt install lm-sensors
- gpsd (GPS Daemon):
sudo apt install gpsd gpsd-clients
- USB GPS Module: Ensure a working GPS connected to the system.
- Other necessary Python packages (listed in the
requirements.txt
or as dependencies).
Clone the DroneID repository:
git clone https://github.com/bkerler/DroneID
cd DroneID
git submodule init
git submodule update
Clone the DragonSync repository:
git clone https://github.com/alphafox02/DragonSync/
This command configures the dongle to capture Bluetooth 5 long-range extended packets and sends the data via ZMQ:
python3 sniffle/python_cli/sniff_receiver.py -l -e -a -z
Open another terminal and run the decoder to process the captured packets and serve the decoded results on port 4224:
cd DroneID
python3 zmq_decoder.py -z
In a new terminal, start the wardragon_monitor.py
script to collect system info and GPS data, serving it on port 4225:
cd DragonSync
python3 wardragon_monitor.py --zmq_host 127.0.0.1 --zmq_port 4225 --interval 30
python3 dragonsync.py --zmq-host 0.0.0.0 --zmq-port 4224 --zmq-status-port 4225
python3 dragonsync.py --zmq-host 0.0.0.0 --zmq-port 4224 --zmq-status-port 4225 --tak-host <tak_host> --tak-port <tak_port>
Replace <tak_host>
and <tak_port>
with your TAK server’s IP address and port.
-
Sniffle Receiver:
Captures Bluetooth Remote ID packets and forwards them via ZMQ. -
ZMQ Decoder:
Listens for the captured packets, decodes the data, and transmits it on port 4224. -
WarDragon Monitor:
Collects system status, GPS location, and the serial number, serving this data on port 4225. -
DragonSync:
- Subscribes to ZMQ feeds on ports 4224 and 4225.
- Converts incoming data into CoT messages.
- Sends CoT messages to a TAK server or multicasts them to the network for ATAK clients.
To start DragonSync using ZMQ on ports 4224 and 4225:
python3 dragonsync.py --zmq-host 127.0.0.1 --zmq-port 4224 --zmq-status-port 4225
- Ensure ATAK and DragonSync are on the same network.
- Verify multicast traffic is enabled on your network.
- Confirm that the correct ZMQ host and port are specified.
- Use the
-d
flag with DragonSync for debug logging. - Use Wireshark to verify multicast traffic.
MIT License
© 2024 cemaxecuter
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES, OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.