-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🚀 Feature/cidds flow #17
Conversation
🚀 Feature/ipv6 support
env_logger::init(); | ||
|
||
// Loading the eBPF program for egress, the macros make sure the correct file is loaded | ||
#[cfg(debug_assertions)] | ||
let mut bpf_egress = Bpf::load(include_bytes_aligned!( | ||
"../../target/bpfel-unknown-none/debug/feature-extraction-tool-egress" | ||
let mut bpf_egress_ipv4 = Bpf::load(include_bytes_aligned!( |
Check warning
Code scanning / clippy
use of deprecated type alias aya::Bpf: use Ebpf instead Warning
))?; | ||
|
||
#[cfg(debug_assertions)] | ||
let mut bpf_egress_ipv6 = Bpf::load(include_bytes_aligned!( |
Check warning
Code scanning / clippy
use of deprecated type alias aya::Bpf: use Ebpf instead Warning
))?; | ||
|
||
// Loading the eBPF program for ingress, the macros make sure the correct file is loaded | ||
#[cfg(debug_assertions)] | ||
let mut bpf_ingress = Bpf::load(include_bytes_aligned!( | ||
"../../target/bpfel-unknown-none/debug/feature-extraction-tool-ingress" | ||
let mut bpf_ingress_ipv4 = Bpf::load(include_bytes_aligned!( |
Check warning
Code scanning / clippy
use of deprecated type alias aya::Bpf: use Ebpf instead Warning
))?; | ||
|
||
#[cfg(debug_assertions)] | ||
let mut bpf_ingress_ipv6 = Bpf::load(include_bytes_aligned!( |
Check warning
Code scanning / clippy
use of deprecated type alias aya::Bpf: use Ebpf instead Warning
Added a cidds flow struct to create cidds flows.
Added a new test to test one cidds function.
Also made architectural changes so now you can choose what flow you want to have exported.