{"id":13701994,"url":"https://github.com/dtn7/dtn7-go","last_synced_at":"2026-01-16T13:01:19.874Z","repository":{"id":231766539,"uuid":"655719039","full_name":"dtn7/dtn7-go","owner":"dtn7","description":"Delay-tolerant networking software suite, Bundle Protocol Version 7 ","archived":false,"fork":false,"pushed_at":"2025-11-06T22:49:20.000Z","size":301,"stargazers_count":21,"open_issues_count":3,"forks_count":5,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-11-07T00:20:52.526Z","etag":null,"topics":["bundle-protocol","delay-tolerant-network","dtn","dtn7","rfc9171"],"latest_commit_sha":null,"homepage":"https://dtn7.github.io","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dtn7.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-06-19T13:08:01.000Z","updated_at":"2025-10-29T15:37:13.000Z","dependencies_parsed_at":"2024-04-05T20:31:31.856Z","dependency_job_id":"42fd7b29-707c-4da6-bd46-30c9d54963d8","html_url":"https://github.com/dtn7/dtn7-go","commit_stats":null,"previous_names":["dtn7/dtn7-go"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/dtn7/dtn7-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dtn7%2Fdtn7-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dtn7%2Fdtn7-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dtn7%2Fdtn7-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dtn7%2Fdtn7-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dtn7","download_url":"https://codeload.github.com/dtn7/dtn7-go/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dtn7%2Fdtn7-go/sbom","scorecard":{"id":358510,"data":{"date":"2025-08-11","repo":{"name":"github.com/dtn7/dtn7-go","commit":"c2f9c111393c9e3b2a6286ffdd23f17fcc9705a2"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.3,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":10,"reason":"22 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-18T10:11:55.963Z","repository_id":231766539,"created_at":"2025-08-18T10:11:55.964Z","updated_at":"2025-08-18T10:11:55.964Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28478886,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bundle-protocol","delay-tolerant-network","dtn","dtn7","rfc9171"],"created_at":"2024-08-02T21:00:29.141Z","updated_at":"2026-01-16T13:01:19.869Z","avatar_url":"https://github.com/dtn7.png","language":"Go","funding_links":[],"categories":["Bundle Protocol Version 7 - RFC 9171"],"sub_categories":[],"readme":"\u003c!--\nSPDX-FileCopyrightText: 2019, 2020, 2021, 2022 Alvar Penning\nSPDX-FileCopyrightText: 2020 Jonas Höchst\nSPDX-FileCopyrightText: 2020 Matthias Axel Kröll\nSPDX-FileCopyrightText: 2022, 2024, 2025 Markus Sommer\n\nSPDX-License-Identifier: GPL-3.0-or-later\n--\u003e\n\n# dtn7-go\n[![PkgGoDev](https://pkg.go.dev/badge/github.com/dtn7/dtn7-go)](https://pkg.go.dev/github.com/dtn7/dtn7-go)\n\nDelay-Tolerant Networking software suite and library based on the Bundle Protocol Version 7 ([RFC 9171](https://datatracker.ietf.org/doc/html/rfc9171)).\n\n### Convergence Layer\nA *convergence layer* in bundle protocol parlance is the abstraction for peer-to-peer communication.\nWe have implemented the following protocols:\n\n- Minimal TCP Convergence-Layer Protocol (`mtcp`) ([draft-ietf-dtn-mtcpcl-01](https://tools.ietf.org/html/draft-ietf-dtn-mtcpcl-01)) (RFC draft expired)\n- QUIC Convergence Layer (QUICL) (Custom, not (yet) standardised)\n\n## Software\n### Installation\n\nInstall the [Go programming language](https://go.dev/), version 1.24 or later.\n\n```bash\ngit clone https://github.com/dtn7/dtn7-go.git\ncd dtn7-go\n\ngo build ./cmd/dtnd\ngo build ./cmd/dtnclient\n```\n\n### dtnd\n`dtnd` is a delay-tolerant networking daemon.\nIt acts as a node in the network and can transmit, receive and forward bundles to other nodes.\nA node's neighbours may be specified in the configuration or detected within the local network through a peer discovery.\nBundles might be sent and received through a REST-like web interface.\nThe features and configuration are described inside the provided example [`configuration.toml`](https://github.com/dtn7/dtn7-go/blob/master/cmd/dtnd/configuration.toml).\n\n#### Application Agents\nWe provide different interfaces to allow communication from external programs with `dtnd`.\nA REST API and an API based on UNIX domain sockets.\n\nThe REST API allows a client to register itself with an address, receive bundles and create/dispatch new ones simply by POSTing JSON objects to `dtnd`'s RESTful HTTP server.\nThe endpoints and structure of the JSON objects are described in the [documentation](https://pkg.go.dev/github.com/dtn7/dtn7-go) for the `github.com/dtn7/dtn7-go/agent.RestAgent` type.\n\nThe UNIX API is meant to be somewhat simpler and faster than the HTTP-based alternatives.\nThe message formats are described in `pkg/application_agent/unix_agent/messages.go` type.\nMessages are to be marshaled using the [msgpack](https://github.com/vmihailenco/msgpack) format.\nThe communication protocol is very simple - first send the length of the message (encoded as a uint64, big endian), and then send the message.\n\n### dtnclient\n`dtnclient` is a cli for interacting with `dtnd` via the UNIX application agent.\nFor usage see `dtnclient -h`.\n\n## Go Library\nMost components of this software are usable as a Go library.\nThose libraries are available within the `pkg`-directory.\n\nFor example, the `bpv7`-package contains code for bundle modification, serialization and deserialization and would most likely be the most interesting part.\n\n## Contributing\nWe warmly welcome any contribution.\n\nPlease format your code using [Gofmt](https://blog.golang.org/gofmt).\nFurther inspection of the code via [golangci-lint](https://github.com/golangci/golangci-lint) is highly recommended.\n\nAs a development environment, you may, of course, use whatever you personally like best.\nHowever, we have had a good experience with [GoLand](https://www.jetbrains.com/go/), especially because of the size of the project.\n\nAssuming you have a supported version of the [Go programming language](https://go.dev/) installed, just clone the repository and install the dependencies as documented in the _Installation, From Source_ section above.\n\n### OS-specific\n#### macOS\nInstalling Go via [homebrew](https://brew.sh), should solve permission errors while trying to fetch the dependencies.\n\n## License\n\nThis project's code is licensed under the [GNU General Public License version 3 (_GPL-3.0-or-later_)](LICENSE).\n\n## Acknowledging this work\n\nIf you use this software in a scientific publication, please cite the following papers:\n\n```BibTeX\n@inproceedings{penning2019dtn,\n\ttitle        = {DTN7: An Open-Source Disruption-Tolerant Networking Implementation of Bundle Protocol 7},\n\tauthor       = {Penning, Alvar and Baumgärtner, Lars and Höchst, Jonas and Sterz, Artur and Mezini, Mira and Freisleben, Bernd},\n\tyear         = 2019,\n\tbooktitle    = {Ad-Hoc, Mobile, and Wireless Networks},\n\tpublisher    = {Springer International Publishing},\n\taddress      = {Cham},\n\tpages        = {196--209},\n\tisbn         = {978-3-030-31831-4},\n\teditor       = {Palattella, Maria Rita and Scanzio, Stefano and Coleri Ergen, Sinem},\n}\n@article{sommer2025quicl,\n\ttitle        = {QUICL: Disruption-tolerant networking via a QUIC convergence layer},\n\tauthor       = {Markus Sommer and Artur Sterz and Markus Vogelbacher and Hicham Bellafkir and Bernd Freisleben},\n\tyear         = 2025,\n\tjournal      = {Computer Communications},\n\tvolume       = 241,\n\tpages        = 108247,\n\tdoi          = {https://doi.org/10.1016/j.comcom.2025.108247},\n\tissn         = {0140-3664},\n\turl          = {https://www.sciencedirect.com/science/article/pii/S014036642500204X},\n\tkeywords     = {Disruption-tolerant networks, QUIC, Go},\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdtn7%2Fdtn7-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdtn7%2Fdtn7-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdtn7%2Fdtn7-go/lists"}