Rust 语言实现的 DTN
2 分•作者: ray-gee•6 个月前
我刚刚发布了 [`sdtn`](https://crates.io/crates/sdtn),这是一个基于 RFC 9171 的延迟/中断容忍网络 (DTN) 的开源实现。<p>它的目标是提供一个最小化、实用的 DTN 节点,能够:
- 通过 TCP 传输 Bundle (CLA)
- CBOR 编码的 Bundle
- 基于 ACK 的交付确认
- Bundle 的过期和清理
- 基于 CLI 的控制和调试<p>目标是扩展这个基础,以支持 BLE、LoRa 和动态路由,适用于间歇性连接的环境——例如太空、偏远地区或灾难恢复场景。<p>GitHub: https://github.com/Ray-Gee/spacearth-dtn
文档: https://docs.rs/sdtn<p>欢迎提供反馈和讨论!
查看原文
I just released [`sdtn`](https://crates.io/crates/sdtn), an open-source implementation of Delay/Disruption Tolerant Networking (DTN) based on RFC 9171.<p>It aims to provide a minimal, practical DTN node capable of:
- Bundle transmission over TCP (CLA)
- CBOR-encoded bundles
- ACK-based delivery confirmation
- Expiration and cleanup of bundles
- CLI-based control and debugging<p>The goal is to extend this foundation to support BLE, LoRa, and dynamic routing for environments with intermittent connectivity—such as space, remote areas, or disaster recovery scenarios.<p>GitHub: https://github.com/Ray-Gee/spacearth-dtn
Docs: https://docs.rs/sdtn<p>Feedback and discussion are very welcome!