netbird/client/internal/dns
Maycon Santos 4fec709bb1
Release 0.28.0 (#2092)
* compile client under freebsd (#1620)

Compile netbird client under freebsd and now support netstack and userspace modes.
Refactoring linux specific code to share same code with FreeBSD, move to *_unix.go files.

Not implemented yet:

Kernel mode not supported
DNS probably does not work yet
Routing also probably does not work yet
SSH support did not tested yet
Lack of test environment for freebsd (dedicated VM for github runners under FreeBSD required)
Lack of tests for freebsd specific code
info reporting need to review and also implement, for example OS reported as GENERIC instead of FreeBSD (lack of FreeBSD icon in management interface)
Lack of proper client setup under FreeBSD
Lack of FreeBSD port/package

* Add DNS routes (#1943)

Given domains are resolved periodically and resolved IPs are replaced with the new ones. Unless the flag keep_route is set to true, then only new ones are added.
This option is helpful if there are long-running connections that might still point to old IP addresses from changed DNS records.

* Add process posture check (#1693)

Introduces a process posture check to validate the existence and active status of specific binaries on peer systems. The check ensures that files are present at specified paths, and that corresponding processes are running. This check supports Linux, Windows, and macOS systems.


Co-authored-by: Evgenii <mail@skillcoder.com>
Co-authored-by: Pascal Fischer <pascal@netbird.io>
Co-authored-by: Zoltan Papp <zoltan.pmail@gmail.com>
Co-authored-by: Viktor Liu <17948409+lixmal@users.noreply.github.com>
Co-authored-by: Bethuel Mmbaga <bethuelmbaga12@gmail.com>
2024-06-13 13:24:24 +02:00
..
consts_freebsd.go Release 0.28.0 (#2092) 2024-06-13 13:24:24 +02:00
consts_linux.go Release 0.28.0 (#2092) 2024-06-13 13:24:24 +02:00
dbus_unix.go Release 0.28.0 (#2092) 2024-06-13 13:24:24 +02:00
file_parser_unix_test.go Release 0.28.0 (#2092) 2024-06-13 13:24:24 +02:00
file_parser_unix.go Release 0.28.0 (#2092) 2024-06-13 13:24:24 +02:00
file_repair_unix_test.go Release 0.28.0 (#2092) 2024-06-13 13:24:24 +02:00
file_repair_unix.go Release 0.28.0 (#2092) 2024-06-13 13:24:24 +02:00
file_unix_test.go Release 0.28.0 (#2092) 2024-06-13 13:24:24 +02:00
file_unix.go Release 0.28.0 (#2092) 2024-06-13 13:24:24 +02:00
host_android.go Restore dns on unclean shutdown (#1494) 2024-01-30 09:58:56 +01:00
host_darwin.go Restore dns on unclean shutdown (#1494) 2024-01-30 09:58:56 +01:00
host_ios.go Restore dns on unclean shutdown (#1494) 2024-01-30 09:58:56 +01:00
host_unix.go Release 0.28.0 (#2092) 2024-06-13 13:24:24 +02:00
host_windows.go Restore dns on unclean shutdown (#1494) 2024-01-30 09:58:56 +01:00
host.go Restore dns on unclean shutdown (#1494) 2024-01-30 09:58:56 +01:00
hosts_dns_holder.go Feature/exit node Android (#1916) 2024-05-07 12:28:30 +02:00
local_test.go Feature/add iOS support (#1244) 2023-12-18 11:46:58 +01:00
local.go Fix DNS not found query response (#1877) 2024-04-23 10:20:09 +02:00
mock_server.go Validate upstream reachability on first DNS configuration (#1489) 2024-01-23 17:23:12 +01:00
mock_test.go Fix nameserver peer conn check (#676) 2023-02-13 18:25:11 +04:00
network_manager_unix.go Release 0.28.0 (#2092) 2024-06-13 13:24:24 +02:00
notifier.go Feature/add iOS support (#1244) 2023-12-18 11:46:58 +01:00
resolvconf_unix.go Release 0.28.0 (#2092) 2024-06-13 13:24:24 +02:00
response_writer_test.go Feat fake dns address (#902) 2023-06-08 13:46:57 +04:00
response_writer.go Restore dns on unclean shutdown (#1494) 2024-01-30 09:58:56 +01:00
server_android.go Restore dns on unclean shutdown (#1494) 2024-01-30 09:58:56 +01:00
server_darwin.go Restore dns on unclean shutdown (#1494) 2024-01-30 09:58:56 +01:00
server_export_test.go fix some typo spotted with codespell (#1278) 2023-11-01 17:11:16 +01:00
server_export.go Feature/permanent dns (#967) 2023-07-14 21:56:22 +02:00
server_ios.go Feature/add iOS support (#1244) 2023-12-18 11:46:58 +01:00
server_test.go Release 0.28.0 (#2092) 2024-06-13 13:24:24 +02:00
server_unix.go Release 0.28.0 (#2092) 2024-06-13 13:24:24 +02:00
server_windows.go Feature/add iOS support (#1244) 2023-12-18 11:46:58 +01:00
server.go Fix lost root zone handler (#1975) 2024-05-13 18:11:08 +02:00
service_listener.go Update port, ip choice logic in DNS service (#1514) 2024-02-02 17:53:55 +01:00
service_memory_test.go Feature/permanent dns (#967) 2023-07-14 21:56:22 +02:00
service_memory.go Restore dns on unclean shutdown (#1494) 2024-01-30 09:58:56 +01:00
service.go Feature/permanent dns (#967) 2023-07-14 21:56:22 +02:00
systemd_freebsd.go Release 0.28.0 (#2092) 2024-06-13 13:24:24 +02:00
systemd_linux.go Release 0.28.0 (#2092) 2024-06-13 13:24:24 +02:00
unclean_shutdown_android.go Restore dns on unclean shutdown (#1494) 2024-01-30 09:58:56 +01:00
unclean_shutdown_darwin.go Restore dns on unclean shutdown (#1494) 2024-01-30 09:58:56 +01:00
unclean_shutdown_ios.go Restore dns on unclean shutdown (#1494) 2024-01-30 09:58:56 +01:00
unclean_shutdown_unix.go Release 0.28.0 (#2092) 2024-06-13 13:24:24 +02:00
unclean_shutdown_windows.go Restore dns on unclean shutdown (#1494) 2024-01-30 09:58:56 +01:00
upstream_android.go Feature/exit node Android (#1916) 2024-05-07 12:28:30 +02:00
upstream_general.go Feature/exit node Android (#1916) 2024-05-07 12:28:30 +02:00
upstream_ios.go Feature/exit node Android (#1916) 2024-05-07 12:28:30 +02:00
upstream_test.go Feature/exit node Android (#1916) 2024-05-07 12:28:30 +02:00
upstream.go Enable namserver deactivation if unresponsive on iOS (#1982) 2024-05-17 12:59:46 +02:00
wgiface_windows.go Extend netbird status command to include health information (#1471) 2024-01-22 12:20:24 +01:00
wgiface.go Release 0.28.0 (#2092) 2024-06-13 13:24:24 +02:00