
Meshtastic 这几年快速流行,原因是门槛低:不需要执照,硬件价格相比传统业余无线电设备便宜得多。但低门槛不等于零门槛——它有很多信道与模式,如果事先不知道参数,很难找到附近正在通信的节点。开发者 cemaxecuter 为此在自己的无线电发行版 DragonOS 中集成了一个 Meshtastic 嗅探器。
嗅探软件用 C 语言编写,编译为独立的单文件二进制,不依赖 GNU Radio,因此在资源受限的机器上也能跑。配合 DragonOS 启动后,软件可以扫描 Meshtastic 使用的整个频段,发现任何流量并尝试解码——前提是已知对应的密钥。
该项目使用 HackRF 作为软件定义无线电前端。作者坦言 HackRF 的瞬时带宽不足以覆盖 Meshtastic 的全部工作频点,但能覆盖其中大部分。测试时启动自己的节点,软件很快就发现并在终端里列出了该节点的详细信息。
相比标准 Meshtastic 节点,这类嗅探工具打开了很多原本繁琐甚至无法完成的操作:更快找到活跃信道、做路测(wardriving)、定位或发现其他网络。对于部署大范围 LoRa mesh 的团队,这类工具能显著缩短现场排查时间。
需要注意的是,嗅探与解码涉及无线电法规与隐私边界:只能用于自有网络或获得授权的测试,加密信道在没有密钥时无法读出内容。项目已在 DragonOS 中提供,可随发行版更新获取。
本文来源:https://hackaday.com/2026/10/19/meshtastic-sniffer-for-dragonos/
若有版权问题,请来信告知:13951431913#139.com 或在右方提交评论。
Meshtastic has gained a lot of popularity over the last few years thanks to its low barrier of entry. No licenses are needed and the hardware is dirt cheap, at least when compared to a lot of ham radio gear. But while that physical barrier is low, there is a bit of a learning curve. Part of that comes from the fact that there are a lot of channels and modes that people could be communicating on, and unless the user knows that information up front it can be hard to find where the conversations are happening. [cemaxecuter] noticed this problem and built a Meshtastic sniffer into his radio-forward Linux distribution, DragonOS .
The sniffing software is built in C and comes as a complete standalone binary and does not rely on GNU Radio. With DragonOS up and running and the software loaded, it can look at the entire bandwidth that Meshtastic operates on and detect any traffic and decode it (as long as the key is known). [cemaxecuter] is using a HackRF as a software-defined radio for this project, which he notes doesn’t quite have enough bandwidth to cover every Meshtastic operating frequency, but it can get most of them. After firing up his own node, the software quickly detects it and shows its details in the terminal.
Software like this opens up a lot of opportunities for things that would be tedious, difficult, or impossible to do with with a standard Meshtastic node. Besides finding places where conversations are happening more easily, [cemaxecuter] also suggests that it could be used for wardriving and for locating or finding other networks much more easily. For those who still haven’t tried it out, take a look at this 2023 treatise on the protocol and hardware and then dive right in.