| Crates.io | spacearth-dtn |
| lib.rs | spacearth-dtn |
| version | 0.1.2 |
| created_at | 2025-06-18 12:29:36.586174+00 |
| updated_at | 2025-06-19 14:30:05.792661+00 |
| description | 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 | 1717017 |
| size | 148,587 |
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 --path .
# 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 (Completed)
✅ Bundle Storage/Load (Completed)
✅ CLA (Convergence Layer Adapter) (Completed)
🔜 Bundle Transmission & Reception (Next)
🚧 Forwarding Control
🚧 Software Bus
🚧 Event Loop / 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.