{"id":24108138,"url":"https://github.com/rez0an/lb-xdp-poc","last_synced_at":"2026-04-16T10:01:50.771Z","repository":{"id":245694144,"uuid":"818944421","full_name":"REZ0AN/lb-xdp-poc","owner":"REZ0AN","description":"A custom LoadBalancer Using eBPF and xdp","archived":false,"fork":false,"pushed_at":"2024-06-24T17:21:07.000Z","size":6884,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-31T09:54:26.188Z","etag":null,"topics":["bpf2go","docker","dockernetworking","ebpf","ebpf-programs","golang","kernelmodule","load-balancer","makefile","packet-capture","reactjs"],"latest_commit_sha":null,"homepage":"","language":"Go","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/REZ0AN.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-06-23T10:21:39.000Z","updated_at":"2024-12-20T17:12:41.000Z","dependencies_parsed_at":"2024-06-23T13:58:26.750Z","dependency_job_id":"f8405fb6-2622-470d-b9e2-c48cf539f1bc","html_url":"https://github.com/REZ0AN/lb-xdp-poc","commit_stats":null,"previous_names":["rez-oan/lb-xdp-poc","rez0an/lb-xdp-poc"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/REZ0AN/lb-xdp-poc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/REZ0AN%2Flb-xdp-poc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/REZ0AN%2Flb-xdp-poc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/REZ0AN%2Flb-xdp-poc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/REZ0AN%2Flb-xdp-poc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/REZ0AN","download_url":"https://codeload.github.com/REZ0AN/lb-xdp-poc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/REZ0AN%2Flb-xdp-poc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31880882,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T09:23:21.276Z","status":"ssl_error","status_checked_at":"2026-04-16T09:23:15.028Z","response_time":69,"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":["bpf2go","docker","dockernetworking","ebpf","ebpf-programs","golang","kernelmodule","load-balancer","makefile","packet-capture","reactjs"],"created_at":"2025-01-10T23:25:56.578Z","updated_at":"2026-04-16T10:01:50.744Z","avatar_url":"https://github.com/REZ0AN.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CUSTOM LOADBALANCER WITH XDP\n\n## Table Of Contents\n - [Prerequisite](#prerequisite)\n - [Clone Repository](#step-1-clone-the-repository)\n - [Build Images](#step-2-build-necessary-docker-images)\n - [Generate Objectfile](#step-3-generate-necessary-files-using-bpf2go)\n - [Build **lb-backend**](#step-4-build-the-lb-backend-binary)\n - [Install Packages For Frontend](#step-5-install-the-necessary-packages)\n - [Hands On](#step-6-hands-on)\n## Prerequisite\n\n - [Install Docker](https://docs.docker.com/engine/install/ubuntu/)\n - [Instal Go](https://go.dev/doc/install)\n - [Install Node and Npm](https://nodejs.org/en/download/package-manager)\n - [Install make](https://www.geeksforgeeks.org/how-to-install-make-on-ubuntu/)\n - [Install necessary tools to run eBPF code](https://github.com/REZ-OAN/lb-xdp-poc/blob/main/docs/Install_Tools_For_eBPF.md)\n\n## Step-1 (clone the repository)\n```\n git clone https://github.com/REZ-OAN/lb-xdp-poc.git\n```\n## Step-2 (Build Necessary Docker Images)\nNavigate to the `lb-xdp-poc` directory (**root** directory for the application)\n\n - For CLIENT-SERVER\n```\nmake build_client\n```\n - For LOADBALANCER-SERVER\n ```\n make build_lb\n ```\n [How i installed eBPF on docker image?](https://github.com/REZ-OAN/lb-xdp-poc/blob/main/docs/How_To_eBPF_in_Docker.md)\n - For SERVER-BACKEND\n```\nmake build_server\n```\n## Step-3 (Generate Necessary Files using bpf2go)\nTo interact with **bpf_maps** we have to convert the `bpf` code into go and object file.`github.com/cilium/ebpf/cmd/bpf2go` this module helps us to do this.Navigate to `lb-backend`.\n\nTo generate execute the following command : \n```\ngo generate\n```\nThis will generate the necessary files for you.\n\nYou Will See these logs :\n\n![go_generate_logs](https://github.com/REZ-OAN/lb-xdp-poc/blob/main/images/generate.png)\n\n\n## Step-4 (Build The lb-backend Binary)\nNavigate to `lb-backend`. To **build** execute the following command :\n```\ngo build\n```\n## Step-5 (Install The Necessary Packages)\nNavigate to `lb-frontend`. To **install** necessary packages execute the following command:\n```\nnpm i\n```\n## Step-6 (Hands On)\nTo see the hands on demonstration visit [HandsOn load_balancer_xdp](https://github.com/REZ-OAN/lb-xdp-poc/blob/main/docs/HandsOn.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frez0an%2Flb-xdp-poc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frez0an%2Flb-xdp-poc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frez0an%2Flb-xdp-poc/lists"}