{"id":15190164,"url":"https://github.com/martichou/nrt-onl","last_synced_at":"2026-02-24T05:42:55.057Z","repository":{"id":230017385,"uuid":"743241331","full_name":"Martichou/nRT-ONL","owner":"Martichou","description":"Near Real Time Outage Notification Library","archived":false,"fork":false,"pushed_at":"2024-10-08T21:00:10.000Z","size":96,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-20T01:31:07.412Z","etag":null,"topics":["ebpf"],"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/Martichou.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-01-14T18:45:01.000Z","updated_at":"2024-10-08T21:00:08.000Z","dependencies_parsed_at":"2024-03-27T12:26:56.284Z","dependency_job_id":"1d9da12b-cd0e-4572-a4a8-181755f78d5d","html_url":"https://github.com/Martichou/nRT-ONL","commit_stats":null,"previous_names":["martichou/nrt-onl"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Martichou%2FnRT-ONL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Martichou%2FnRT-ONL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Martichou%2FnRT-ONL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Martichou%2FnRT-ONL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Martichou","download_url":"https://codeload.github.com/Martichou/nRT-ONL/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241039348,"owners_count":19898672,"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":["ebpf"],"created_at":"2024-09-27T20:05:28.623Z","updated_at":"2025-10-24T02:22:39.060Z","avatar_url":"https://github.com/Martichou.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# n-rt-onl\n\n**TLDR**: Operating system support:\n\n| Operating System | userspace | ebpf |\n|---|---|---|\n| Windows | yes | no |\n| macOS | yes | no |\n| Linux | yes | yes |\n\nFeatures:\n- default: eBPF on Linux and userspace on macOS/Windows\n- userspace: userspace on all OSes\n\n# Linux (default - ebpf, userspace available)\n\nThe Linux version use eBPF with TC in order to perform the analysis on the TX/RX packets.\n\n### Prerequisites\n\n1. Install bpf-linker: `cargo install bpf-linker`\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### Run\n\n```bash\nexport RUST_LOG=info\ncargo xtask run\n```\n\n### Use the library\n\nYou can check the [example](examples/nrt_test/). You'll need to download the ebpf program\nand place it somewhere accessible for the user running the binary.\n\n# macOS and Windows (only userspace)\n\nThe macOS and Windows version use pnet's datalink::channel.\n\n### Prerequisites\n\n1. None, just Rust\n\n### Run\n\n```bash\nexport RUST_LOG=info\ncargo run\n```\n\n### Use the library\n\nSame as for the Linux (they share the same API), but you don't need to\nspecify the eBPF program path.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmartichou%2Fnrt-onl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmartichou%2Fnrt-onl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmartichou%2Fnrt-onl/lists"}