{"id":17356729,"url":"https://github.com/00jciv00/zing","last_synced_at":"2025-07-08T10:10:26.525Z","repository":{"id":155525508,"uuid":"615907793","full_name":"00JCIV00/zing","owner":"00JCIV00","description":"A small Zig tool \u0026 library to craft and interact with basic network datagrams based on IETF specifications.","archived":false,"fork":false,"pushed_at":"2024-02-04T05:55:26.000Z","size":4216,"stargazers_count":5,"open_issues_count":6,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-15T00:11:25.705Z","etag":null,"topics":["networking","packets"],"latest_commit_sha":null,"homepage":"","language":"Zig","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/00JCIV00.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}},"created_at":"2023-03-19T02:52:33.000Z","updated_at":"2025-02-16T13:17:20.000Z","dependencies_parsed_at":"2023-11-09T01:24:57.293Z","dependency_job_id":"70555eda-f1af-41aa-914a-6d320161cb6b","html_url":"https://github.com/00JCIV00/zing","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/00JCIV00/zing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/00JCIV00%2Fzing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/00JCIV00%2Fzing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/00JCIV00%2Fzing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/00JCIV00%2Fzing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/00JCIV00","download_url":"https://codeload.github.com/00JCIV00/zing/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/00JCIV00%2Fzing/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264248024,"owners_count":23579059,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["networking","packets"],"created_at":"2024-10-15T18:58:17.576Z","updated_at":"2025-07-08T10:10:26.495Z","avatar_url":"https://github.com/00JCIV00.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"# zing\n\nA small Zig tool for crafting datagrams and interacting with networks, based on IETF specifications.\n\n# Overview\nThis project is an experiment to learn more about the basics of how network datagrams (Frames, Packets, and Segments/UDP Datagrams) work by coding parts of the IETF spec in Zig. This is a continuation of [packt-lib](https://github.com/00JCIV00/packt-lib), a similar project written in Kotlin. I've moved to Zig to help myself understand the lower level intricasies of networking and bit/byte manipulation. Optimally, the tool will allow users to manipulate network directly through the library, a DSL (.json, .toml?, and .zon?), or an interactive shell.\n\n# Goals\n- [x] Replicate Basic Networking Headers:\n\t- [x] IP\n\t- [x] ICMP\n\t- [x] UDP\n\t- [x] TCP\n\t- [x] Ethernet\n- [ ] Replicate Basic Networking Addresses:\n\t- [x] IPv4\n\t- [ ] IPv6\n\t- [x] MAC\n- [x] Add data to Networking Headers to create Datagrams\n- [x] Craft \u0026 Send Datagrams on an interface:\n\n| Datagram | Layer | Craft | Send |\n|---|---|---|---|\n| Ethernet | 2 | Y | Y |\n| WiFi | 2 | Y | N |\n| Bluetooth | 2 | N | N |\n| IP | 3 | Y | Y |\n| ICMP | 3 | Y | Y |\n| ARP | 3 | Y | Y |\n| UDP | 4 | Y | Y |\n| TCP | 4 | Y | Y |\n\n- [ ] Implement Sending a Stream of Datagrams\n- [x] Implement Receiving Datagrams\n- [x] Implement Basic Connection Protocol Handling\n\t- [x] ICMP\n\t- [x] ARP\n\t- [x] TCP\n\t\n- [x] Network Scanning tools\n- [ ] File Transfer tools\n\n# Resources\n- [IP](https://datatracker.ietf.org/doc/html/rfc791)\n- [ARP](https://datatracker.ietf.org/doc/html/rfc826)\n- [ICMP](https://datatracker.ietf.org/doc/html/rfc792)\n- [UDP](https://datatracker.ietf.org/doc/html/rfc768)\n- [TCP](https://www.ietf.org/rfc/rfc9293.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F00jciv00%2Fzing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F00jciv00%2Fzing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F00jciv00%2Fzing/lists"}