{"id":20934370,"url":"https://github.com/lvillis/protego","last_synced_at":"2026-04-13T09:31:19.234Z","repository":{"id":263440487,"uuid":"889072233","full_name":"lvillis/protego","owner":"lvillis","description":"🛡️ Protego is an eBPF-based security tool for Linux designed to enhance system protection.","archived":false,"fork":false,"pushed_at":"2024-11-29T15:16:56.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-26T21:00:02.861Z","etag":null,"topics":["aya","bpf","ebpf","linux","protego","tc","xdp"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/lvillis.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}},"created_at":"2024-11-15T14:58:36.000Z","updated_at":"2024-11-29T15:16:59.000Z","dependencies_parsed_at":"2025-01-19T19:38:23.356Z","dependency_job_id":"990b821a-b88c-4c22-8d94-951b91dd8b69","html_url":"https://github.com/lvillis/protego","commit_stats":null,"previous_names":["lvillis/protego"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lvillis/protego","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lvillis%2Fprotego","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lvillis%2Fprotego/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lvillis%2Fprotego/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lvillis%2Fprotego/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lvillis","download_url":"https://codeload.github.com/lvillis/protego/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lvillis%2Fprotego/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31746290,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T09:16:15.125Z","status":"ssl_error","status_checked_at":"2026-04-13T09:16:05.023Z","response_time":93,"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","bpf","ebpf","linux","protego","tc","xdp"],"created_at":"2024-11-18T22:07:43.634Z","updated_at":"2026-04-13T09:31:19.216Z","avatar_url":"https://github.com/lvillis.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# protego\n\n## Prerequisites\n\n1. stable rust toolchains: `rustup toolchain install stable`\n2. nightly rust toolchains: `rustup toolchain install nightly --component rust-src`\n3. (if cross-compiling) rustup target: `rustup target add ${ARCH}-unknown-linux-musl`\n4. (if cross-compiling) LLVM: (e.g.) `brew install llvm` (on macOS)\n5. (if cross-compiling) C toolchain: (e.g.) [`brew install filosottile/musl-cross/musl-cross`](https://github.com/FiloSottile/homebrew-musl-cross) (on macOS)\n6. bpf-linker: `cargo install bpf-linker` (`--no-default-features` on macOS)\n\n## Build \u0026 Run\n\nUse `cargo build`, `cargo check`, etc. as normal. Run your program with:\n\n```shell\ncargo run --release --config 'target.\"cfg(all())\".runner=\"sudo -E\"'\n```\n\nCargo build scripts are used to automatically build the eBPF correctly and include it in the\nprogram.\n\n## Cross-compiling on macOS\n\nCross compilation should work on both Intel and Apple Silicon Macs.\n\n```shell\nCC=${ARCH}-linux-musl-gcc cargo build --package protego --release \\\n  --target=${ARCH}-unknown-linux-musl \\\n  --config=target.${ARCH}-unknown-linux-musl.linker=\\\"${ARCH}-linux-musl-gcc\\\"\n```\nThe cross-compiled program `target/${ARCH}-unknown-linux-musl/release/protego` can be\ncopied to a Linux server or VM and run there.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flvillis%2Fprotego","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flvillis%2Fprotego","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flvillis%2Fprotego/lists"}