This project is a Proof of Concept (PoC) for eBPF that I created to learn more about this technology. It includes a simple BPF script that is run using Go and Python. The project also includes automation scripts written in shell, a Makefile for building the project, and a Dockerfile for containerizing the project.
To get started with this project, follow these steps:
-
Clone the repository:
git clone https://github.com/your-username/ebpf-poc-project.git
-
Install required packages (Linux):
cd scripts chmod +x requirements.sh ./requirements.sh
-
Build and run the project using make (binary go):
make all
-
Build a docker image to run the project(go):
# Build the docker image docker build -t ebpf-poc:latest . # run the container docker run ebpf-poc:latest
-
Run the python script:
cd python pip install -r requirements.txt python ebpf.py
-
also theres shell scripts for running the project located at /scripts.