netbird/client/internal/routemanager
Maycon Santos e4ad6174ca
Improve module load (#470)
* Add additional check for needed kernel modules

* Check if wireguard and tun modules are loaded

If modules are loaded return true, otherwise attempt to load them

* fix state check

* Add module function tests

* Add test execution in container

* run client package tests on docker

* add package comment to new file

* force entrypoint

* add --privileged flag

* clean only if tables where created

* run from within the directories
2022-09-15 01:26:11 +05:00
..
client.go Use the client network for log errors (#455) 2022-09-07 18:26:59 +02:00
common_linux_test.go Add routing peer support (#441) 2022-09-05 09:06:35 +02:00
firewall_linux.go Add routing peer support (#441) 2022-09-05 09:06:35 +02:00
firewall_nonlinux.go Add routing peer support (#441) 2022-09-05 09:06:35 +02:00
firewall.go Add routing peer support (#441) 2022-09-05 09:06:35 +02:00
iptables_linux_test.go Add routing peer support (#441) 2022-09-05 09:06:35 +02:00
iptables_linux.go Add routing peer support (#441) 2022-09-05 09:06:35 +02:00
manager_test.go Add routing peer support (#441) 2022-09-05 09:06:35 +02:00
manager.go Add routing peer support (#441) 2022-09-05 09:06:35 +02:00
mock.go Add routing peer support (#441) 2022-09-05 09:06:35 +02:00
nftables_linux_test.go Add routing peer support (#441) 2022-09-05 09:06:35 +02:00
nftables_linux.go Improve module load (#470) 2022-09-15 01:26:11 +05:00
server.go Add routing peer support (#441) 2022-09-05 09:06:35 +02:00
systemops_linux.go Add routing peer support (#441) 2022-09-05 09:06:35 +02:00
systemops_nonlinux.go Add routing peer support (#441) 2022-09-05 09:06:35 +02:00
systemops_test.go Add routing peer support (#441) 2022-09-05 09:06:35 +02:00
systemops.go Add routing peer support (#441) 2022-09-05 09:06:35 +02:00