| Crates.io | sdtn |
| lib.rs | sdtn |
| version | 0.1.4 |
| created_at | 2025-06-21 15:24:20.520944+00 |
| updated_at | 2025-06-26 12:21:42.028523+00 |
| description | SpaceArth DTN - A Rust-based implementation of Delay Tolerant Networking (DTN) for resilient communication |
| homepage | |
| repository | https://github.com/Ray-Gee/spacearth-dtn |
| max_upload_size | |
| id | 1720891 |
| size | 279,426 |
sdtn (SpaceArth DTN) is a Rust-based implementation of Delay Tolerant Networking (DTN), designed for resilient communication between space and earth — and beyond.
This project aims to offer modular, efficient, and extensible components for BPv7-based DTN systems, suitable for both space and terrestrial disruption-tolerant networks.
"From space to earth. For the disconnected."
For questions, suggestions, or contributions, please contact:
A command-line tool for creating and managing Bundle Protocol bundles is available:
# Install the project
cargo install sdtn
# Create a bundle
sdtn insert --message "Hello, DTN!"
# List all bundles
sdtn list
# Show bundle details (using partial ID)
sdtn show --id <partial_id>
# Start daemon listener (receiver)
sdtn daemon listener --addr 127.0.0.1:3000
# Start daemon dialer (sender)
sdtn daemon dialer --addr 127.0.0.1:3000
Configuration is managed in config/default.toml and can be overridden with environment variables:
# Specify config file
export DTN_CONFIG="config/development.toml"
# Override individual settings
export DTN_BUNDLE_VERSION=8
export DTN_ENDPOINTS_DESTINATION="dtn://new-dest"
You can verify basic DTN communication with the following steps:
# Run in terminal 1
sdtn daemon listener --addr 127.0.0.1:3000
# Run in terminal 2
sdtn insert --message "Hello, DTN!"
sdtn daemon dialer --addr 127.0.0.1:3000
This procedure allows you to verify that the created bundle is transmitted via TCP and received by the listener.
Current development phase and future plans:
✅ Bundle Structure & CBOR Support
✅ Bundle Storage/Load
✅ TCP CLA Communication
🚧 CLA Abstraction and Transmission Integration
trait Cla🔜 Routing Function Implementation (Highest Priority)
⏸ CLA Diversification (Low Priority)
trait Cla🚧 Software Bus and Task Management
⬛ Management CLI / WebUI (Optional)
⬛ RFC Compliance (Optional)
MIT OR Apache-2.0
Some parts of this project (README, code comments, and sample logic) are co-authored or generated using AI tools. All code is manually reviewed and tested before use.