Crates.io | ockam_ebpf |
lib.rs | ockam_ebpf |
version | 0.6.0 |
source | src |
created_at | 2024-11-26 14:02:13.277098 |
updated_at | 2024-12-04 14:45:06.197436 |
description | eBPF program used by Ockam Privileged Portals |
homepage | https://github.com/build-trust/ockam |
repository | https://github.com/build-trust/ockam-ebpf |
max_upload_size | |
id | 1461730 |
size | 47,716 |
Ockam is a library for building devices that communicate securely, privately and trustfully with cloud services and other devices.
This crate contains the eBPF part of Ockam Reliable TCP Portals.
This crate exposes eBPF binary through the EBPF_BINARY
static constant in the root of the crate. That binary can be
used to attach Ockam eBPF to network devices.
By default, this crate ships a prebuilt eBPF binary downloaded from the corresponding GitHub release artifacts. This allows to build Ockam without all the dependencies that are required to build eBPF.
AsyncPerfEventArray
, therefore it implies performance penalty.cargo build
Please refer to ockam_ebpf_impl/README.md
Using ockam with eBPFs requires:
Add this to your Cargo.toml
:
[dependencies]
ockam_ebpf = "0.5.0"
This code is licensed under the terms of the Apache License 2.0.