- Install bpf-linker:
cargo install bpf-linker
cargo xtask build-ebpf
To perform a release build you can use the --release
flag.
You may also change the target architecture with the --target
flag.
cargo build
RUST_LOG=info cargo xtask run
Userspace application will manage blacklist and whitelist ip in a map: BLACKLIST and WHITELIST. eBpf program will using that map for checking BLACKLIST or WHITELIST
The list can be updated by some ways
- API and token
- Config file and dynamic reload by send POST to api/reload_config
Map between ip address and port range
Map between ip address and port range