From b8a16fed7f6caae44c261eafc439eab53b43c090 Mon Sep 17 00:00:00 2001 From: Steven Polley Date: Fri, 19 Apr 2024 19:21:56 -0600 Subject: [PATCH] Minor formatting fixes --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index df48023..c686b77 100644 --- a/README.md +++ b/README.md @@ -29,15 +29,20 @@ Pre-built binaries for configurations I've tested are available on the [releases To build this yourself, you will need Linux with packages for: git, clang, linux-headers- libbpf-dev and golang. Check out the [Dockerfile ](https://deadbeef.codes/steven/hyp/src/branch/main/Dockerfile) as a reference for how the build environment for official releases is configured. Once the environment is ready, you can clone the repo and build. ```sh +# Clone repository git clone https://deadbeef.codes/steven/hyp.git + +# Build eBPF program cd hyp/hypd/server go generate + +# Build knock daemon cd .. go build -o hypd . chmod +x hypd +# Run knock daemon and show help ./hypd -h - ``` ### References