Commit graph

39 commits

Author SHA1 Message Date
Gustavo Iñiguez Goia
68de35141b
use go-gen-grpc@v1.3.0 for compiling the daemon
With @1.4.0 fails with the error "undefined: grpc.StaticMethod"
2024-06-11 01:15:31 +02:00
Gustavo Iñiguez Goia
fe181b14dd
ci: use go1.20 compiler 2023-10-23 20:32:29 +02:00
Gustavo Iñiguez Goia
654a0fb54b
updated compilation/tests workflow 2023-07-06 14:40:47 +02:00
Gustavo Iñiguez Goia
4a19fde155
tests: run tests as root 2023-06-30 16:29:20 +02:00
Gustavo Iñiguez Goia
af9a5ad0e1
updated bug report template 2023-06-25 21:51:04 +02:00
Gustavo Iñiguez Goia
1dd74b9573
sponsors list updated 2023-06-12 20:01:55 +02:00
Gustavo Iñiguez Goia
53c7850c17
adding new sponsor link
See #967
2023-06-12 14:14:39 +02:00
Gustavo Iñiguez Goia
6b297a93b1
ci: removed compiling for 5.8 kernel 2023-05-17 17:28:55 +02:00
Gustavo Iñiguez Goia
0bb46197cc
ci fixes 2023-05-17 12:54:36 +02:00
Gustavo Iñiguez Goia
f97e7392a3
ci fixes 2023-05-17 12:26:49 +02:00
Gustavo Iñiguez Goia
ba64379348
ebpf: new way of compiling the modules
- Don't rename libbpf's bpf_map_def struct, and distribute the needed bpf
  headers.
  The bpf_map_def struct has been deprecated for quite some time now,
  and it was been removed on >= 6.2 anyway.
  We still need it, because we use gobpf.
- Improved compilation behaviour:
  - We don't require the kernel sources anymore. We can just use the
    kernel headers from the distribution.
  - There's no need to copy the sources to the kernel tree, the modules
    can be compiled from the ebpf_prog/ dir.
- Compiling against kernels 6.x seems to solve the problem we had with
  VPNs, where connections were not intercepted with modules compiled
  against 5.8, on kernels >= 5.19.

The modules has been tested on kernels 4.17, 5.4, 5.10, 5.15, 6.1 and
6.2 (kernel connections included).

Closes: #939
2023-05-17 01:20:53 +02:00
Gustavo Iñiguez Goia
9578f62e38
actions: added resources validations 2023-02-11 14:12:41 +01:00
Spencer Comfort
a5a24403eb
Bump workflow actions (#828)
* Update build_ebpf_modules.yml

* Update go.yml
2023-02-01 17:31:13 +01:00
Gustavo Iñiguez Goia
1a1e87c474
workflows: execute daemon tests on changes 2022-10-23 11:49:22 +02:00
Gustavo Iñiguez Goia
037f00827e
tests workflow: run on workflow updates, manually 2022-10-18 23:59:44 +02:00
Gustavo Iñiguez Goia
09182fad2e
ebpf,action: compile modules when a change is pushed
Build eBPF modules whenever a change to the modules is pushed.
It'll fail if there're some warnings.

The action compiles *and publishes* the modules for several branches and
kernels.

Hopefully this will help to automate this process and be more transparent.
It'll also help on issues like this one: #454
2022-10-05 16:38:58 +02:00
Gustavo Iñiguez Goia
fe3de13875
build and test daemon only if changed 2022-10-05 14:13:03 +02:00
Gustavo Iñiguez Goia
0ba5fc44c9 run tests on every change, fixed fw options
- Run unit tests on every push/pr.
- Silence gcc warnings, it doesn't seem to work and causes unit tests to
  fail:
  https://github.com/golang/go/issues/6883#issuecomment-383800123
- Improved firewall configuration contraints, to meet with this table:
  https://wiki.nftables.org/wiki-nftables/index.php/Netfilter_hooks#Hooks_by_family_and_chain_type
2022-05-18 17:47:39 +02:00
Gustavo Iñiguez Goia
51c5cd53da actions: updated go version to 1.15
Needed to compile the daemon with latest nftables lib version.
2022-02-18 00:33:26 +01:00
Gustavo Iñiguez Goia
fd40feb78c
Create feature-request.md 2021-10-06 23:54:37 +02:00
Gustavo Iñiguez Goia
3af6a11da2
Create config.yml 2021-10-06 23:32:44 +02:00
Gustavo Iñiguez Goia
eb51840bea
Update bug_report.md 2021-10-06 23:30:22 +02:00
Gustavo Iñiguez Goia
67afb5b8ed
Update go.yml 2021-10-06 22:52:19 +02:00
themighty1
9b0f400c5e github action fix 2021-02-23 18:11:27 +03:00
themighty1
be0c051205 makefile:
rename, remove unused targets
    trigger targets only when relevant files actually are changed
git:
    do not track files which are generated during make
github actions fix to not rely on a pre-built ui.pb.go
2021-02-13 18:48:49 +03:00
Gustavo Iñiguez Goia
3a3d3d8f42 Merge opensnitch 1.3.0-rc2 2020-12-09 15:41:18 +01:00
Gustavo Iñiguez Goia
76f078e146 Update issue templates 2020-11-18 10:59:02 +01:00
Gustavo Iñiguez Goia
c2daf45df3
Update go.yml: golint on pull_requests 2020-07-30 02:02:00 +02:00
Gustavo Iñiguez Goia
3c500a9314 Update issue templates 2020-03-09 19:32:21 +01:00
Gustavo Iñiguez Goia
aaf4c449a0 Updated github action build name 2020-02-25 22:23:09 +01:00
Gustavo Iñiguez Goia
9d0f7c27ca
Update go.yml 2020-02-25 01:41:18 +01:00
Gustavo Iñiguez Goia
aad5eb8a48
Update go.yml 2020-02-25 01:39:24 +01:00
Gustavo Iñiguez Goia
e617dd834f
Update go.yml 2020-02-25 01:36:04 +01:00
Gustavo Iñiguez Goia
2a85a27685
Update go.yml 2020-02-25 00:26:50 +01:00
Gustavo Iñiguez Goia
4abe3ee4cc
Update go.yml 2020-02-24 20:03:04 +01:00
Gustavo Iñiguez Goia
f114439dba
Update go.yml 2020-02-23 16:16:17 +01:00
Gustavo Iñiguez Goia
8719286853
Update go.yml 2020-02-23 16:11:58 +01:00
Gustavo Iñiguez Goia
ceb5290b13
Create go.yml 2020-02-23 08:52:48 +01:00
evilsocket
2b49871a2d
Create FUNDING.yml 2019-10-09 16:05:04 +02:00