{"id":21741392,"url":"https://github.com/keplerc/capsule-router","last_synced_at":"2026-04-17T10:10:08.405Z","repository":{"id":133558165,"uuid":"289415284","full_name":"KeplerC/capsule-router","owner":"KeplerC","description":null,"archived":false,"fork":false,"pushed_at":"2020-09-03T05:09:43.000Z","size":31,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-21T01:17:47.652Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/KeplerC.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2020-08-22T03:58:08.000Z","updated_at":"2020-09-03T05:09:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"f428806e-708f-40f3-b2a6-656e64268827","html_url":"https://github.com/KeplerC/capsule-router","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/KeplerC/capsule-router","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KeplerC%2Fcapsule-router","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KeplerC%2Fcapsule-router/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KeplerC%2Fcapsule-router/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KeplerC%2Fcapsule-router/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KeplerC","download_url":"https://codeload.github.com/KeplerC/capsule-router/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KeplerC%2Fcapsule-router/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262490400,"owners_count":23319284,"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":[],"created_at":"2024-11-26T06:18:33.109Z","updated_at":"2026-04-17T10:10:08.308Z","avatar_url":"https://github.com/KeplerC.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Capsule Router\n\nA basic UDP router with Capsule framework. Now we are heading towards an implementation of GDP router(WIP). The current plan is  \n\n- [x] UDP Sending and Fowarding\n- [x] Capsule integration\n- [ ] KVS \n- [ ] dTLS\n\nThe list continues to grow!\n\n## Running the application\n\nBuilding the capsule and sandbox environment by the official `Vagrant` [virtual machine](https://github.com/capsule-rs/sandbox/blob/master/Vagrantfile) and the `Docker` [sandbox](https://hub.docker.com/repository/docker/getcapsule/sandbox). \n```\nhost$ git clone --recursive https://github.com/capsule-rs/sandbox.git\nhost$ cd sandbox\nhost$ vagrant up\n```\n\nThen we put our `capsule-router` in the subdirectory of capsule. \n```\nhost$ cd sandbox/capsule\nhost$ git clone https://github.com/KeplerC/capsule-router\n```\nThen we modify `sandbox/capsule/Cargo.toml` by adding `capsule-router` to `members`. \n\nAfter setting up the code environment, we enter the virtual machine and docker by \n```\nhost$ vagrant ssh\nvagrant$ docker run -it --rm     --privileged     --network=host     --name sandbox     --cap-add=SYS_PTRACE     --security-opt seccomp=unconfined     -v /lib/modules:/lib/modules   -v /vagrant/capsule:/capsule  -v /dev/hugepages:/dev/hugepages     getcapsule/sandbox:19.11.1-1.43 /bin/bash\n```\n\nFinally, we run example by \n```\ncd capsule/capsule-router\ncargo run -- -f capsule-router.toml\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeplerc%2Fcapsule-router","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkeplerc%2Fcapsule-router","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeplerc%2Fcapsule-router/lists"}