Commit Graph

9 Commits

Author SHA1 Message Date
Marco Cadetg 4ae965a8a4
feat: remove CAP_NET_ADMIN and CAP_SYS_ADMIN, use read-only packet capture (#59)
Rust / build (push) Has been cancelled Details
Remove CAP_NET_ADMIN requirement and eliminate need for CAP_SYS_ADMIN on
modern kernels by using non-promiscuous mode for packet capture. This
significantly reduces security surface by following principle of least privilege.
2025-10-19 17:03:58 +02:00
Marco Cadetg 52fb1c2cce
feat: make eBPF default on Linux (#46)
Make eBPF the default build configuration on Linux for better
performance and lower overhead process identification.

Changes:
- Set default features to include ebpf in Cargo.toml
- Remove explicit --features linux-default from build configs
- Update all documentation to reflect eBPF is now default
- Add instructions for building without eBPF (--no-default-features)

eBPF automatically falls back to procfs if it fails to load.

Closes #32
2025-10-12 13:53:11 +02:00
Marco Cadetg 0d02b99b79
Bundle vmlinux.h files to eliminate network dependency during builds (#41)
* feat: bundle vmlinux.h files to eliminate network dependency during builds

- Add bundled vmlinux.h for x86, aarch64, and arm (~3MB total)
- Remove network download code from build.rs
- Remove ureq dependency and transitive deps
- Update Dockerfile to copy bundled headers
- Remove obsolete vmlinux_min.h
- Update documentation to reflect bundled approach

Fixes #38
2025-10-09 12:07:40 +02:00
Marco Cadetg 99c69e6f51 feat: ebpf docker builds 2025-09-30 09:59:22 +02:00
Marco Cadetg 9ead15f3ed do not use CMD --help 2025-09-11 08:35:10 +02:00
Marco Cadetg 533d2d718c
Change license label from MIT to Apache 2.0 2025-09-11 08:20:56 +02:00
Marco Cadetg 93e1834661 fix: use debian trixie to match glibc version 2025-09-11 08:13:26 +02:00
Marco Cadetg ca7d2b33eb update rust version 2025-09-10 14:39:08 +02:00
Marco Cadetg d07ec2ae77 add docker container 2025-09-10 14:33:03 +02:00