{"id":15056951,"url":"https://github.com/pyaillet/aya-lb-dr","last_synced_at":"2026-02-19T16:02:40.896Z","repository":{"id":230756156,"uuid":"780096641","full_name":"pyaillet/aya-lb-dr","owner":"pyaillet","description":"A minimal example of using aya to build a loadbalancer with direct return","archived":false,"fork":false,"pushed_at":"2024-04-01T19:38:24.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-30T14:52:43.425Z","etag":null,"topics":["aya","ebpf","example","learning-exercise","rust-lang"],"latest_commit_sha":null,"homepage":"","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/pyaillet.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":"2024-03-31T17:21:17.000Z","updated_at":"2024-03-31T17:22:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"21abfd93-0a54-439a-bd89-0dff2f5767e9","html_url":"https://github.com/pyaillet/aya-lb-dr","commit_stats":null,"previous_names":["pyaillet/aya-lb-dr"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pyaillet/aya-lb-dr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyaillet%2Faya-lb-dr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyaillet%2Faya-lb-dr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyaillet%2Faya-lb-dr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyaillet%2Faya-lb-dr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pyaillet","download_url":"https://codeload.github.com/pyaillet/aya-lb-dr/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyaillet%2Faya-lb-dr/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29621902,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T13:04:20.082Z","status":"ssl_error","status_checked_at":"2026-02-19T13:03:33.775Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["aya","ebpf","example","learning-exercise","rust-lang"],"created_at":"2024-09-24T21:59:12.221Z","updated_at":"2026-02-19T16:02:40.880Z","avatar_url":"https://github.com/pyaillet.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lb-dr\n\nExperiment using [eBPF](https://ebpf.io/) and [aya-rs](https://aya-rs.dev/) to build a simple load balancer with direct return.\n\n## How to use\n\nThere is an example setup with [containerlab](https://containerlab.dev/) in the `./test/` directory.\n\nYou can deploy all what's necessary with `make deploy` (which is the default make target).\n\nYou can then test a request from the `client` container to the VIP:\n\n```bash\ndocker container exec clab-aya-lb-dr-client curl --silent --head 192.168.31.50\n```\n\n\n### Prerequisites\n\n1. Install bpf-linker: `cargo install bpf-linker`\n2. Install [containerlab](https://containerlab.dev/install/)\n\n### Build eBPF\n\n```bash\ncargo xtask build-ebpf\n```\n\nTo perform a release build you can use the `--release` flag.\nYou may also change the target architecture with the `--target` flag.\n\n### Build Userspace\n\n```bash\ncargo build\n```\n\n### Deploy the example lab\n\nCheck the make targets and use the default one:\n\n`make deploy`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyaillet%2Faya-lb-dr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpyaillet%2Faya-lb-dr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyaillet%2Faya-lb-dr/lists"}