Minor formatting fixes
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
59cd35a51e
commit
b8a16fed7f
@ -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-<architecture> 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.
|
To build this yourself, you will need Linux with packages for: git, clang, linux-headers-<architecture> 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
|
```sh
|
||||||
|
# Clone repository
|
||||||
git clone https://deadbeef.codes/steven/hyp.git
|
git clone https://deadbeef.codes/steven/hyp.git
|
||||||
|
|
||||||
|
# Build eBPF program
|
||||||
cd hyp/hypd/server
|
cd hyp/hypd/server
|
||||||
go generate
|
go generate
|
||||||
|
|
||||||
|
# Build knock daemon
|
||||||
cd ..
|
cd ..
|
||||||
go build -o hypd .
|
go build -o hypd .
|
||||||
chmod +x hypd
|
chmod +x hypd
|
||||||
|
|
||||||
|
# Run knock daemon and show help
|
||||||
./hypd -h
|
./hypd -h
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### References
|
### References
|
||||||
|
Loading…
Reference in New Issue
Block a user