Add link to binaries

This commit is contained in:
ppom 2023-10-28 12:00:00 +02:00
parent 8c50f8412a
commit 1012577b9c
2 changed files with 10 additions and 1 deletions

View File

@ -6,4 +6,4 @@ ip46tables: ip46tables.d/ip46tables.c
gcc ip46tables.d/ip46tables.c -o ip46tables gcc ip46tables.d/ip46tables.c -o ip46tables
reaction: app/* reaction.go go.mod go.sum reaction: app/* reaction.go go.mod go.sum
go build . go build -buildvcs=false .

View File

@ -137,6 +137,10 @@ If you don't know where to start reaction, `/var/lib/reaction` should be a sane
It permits to configure `iptables` and `ip6tables` at the same time. It permits to configure `iptables` and `ip6tables` at the same time.
It will execute `iptables` when detecting ipv4, `ip6tables` when detecting ipv6 and both if no ip address is present on the command line. It will execute `iptables` when detecting ipv4, `ip6tables` when detecting ipv6 and both if no ip address is present on the command line.
### Binaries
Executables are provided [here](https://u.ppom.me/reaction/releases/), for a standard x86-64 linux machine.
### Compilation ### Compilation
You'll need the go toolchain for reaction and a c compiler for ip46tables. You'll need the go toolchain for reaction and a c compiler for ip46tables.
@ -152,6 +156,11 @@ $ go build .
$ gcc ip46tables.d/ip46tables.c -o ip46tables $ gcc ip46tables.d/ip46tables.c -o ip46tables
``` ```
Provided binaries in the previous section are compiled this way:
```shell
$ docker run -it --rm -v (pwd):/code -w /code golang:1.20 make
```
### NixOS ### NixOS
- [ package ](https://framagit.org/ppom/nixos/-/blob/main/pkgs/reaction/default.nix) - [ package ](https://framagit.org/ppom/nixos/-/blob/main/pkgs/reaction/default.nix)