netbird/client/internal
Zoltan Papp 7ebe58f20a
Feature/permanent dns (#967)
* Add DNS list argument for mobile client

* Write testable code

Many places are checked the wgInterface != nil condition.
It is doing it just because to avoid the real wgInterface creation for tests.
Instead of this involve a wgInterface interface what is moc-able.

* Refactor the DNS server internal code structure

With the fake resolver has been involved several
if-else statement and generated some unused
variables to distinguish the listener and fake
resolver solutions at running time. With this
commit the fake resolver and listener based
solution has been moved into two separated
structure. Name of this layer is the 'service'.
With this modification the unit test looks
simpler and open the option to add new logic for
the permanent DNS service usage for mobile
systems.



* Remove is running check in test

We can not ensure the state well so remove this
check. The test will fail if the server is not
running well.
2023-07-14 21:56:22 +02:00
..
acl ACL firewall manager fix/improvement (#970) 2023-06-20 20:33:41 +02:00
dns Feature/permanent dns (#967) 2023-07-14 21:56:22 +02:00
peer Reduce the peer status notifications (#956) 2023-06-19 11:20:34 +02:00
proxy Share kernel Wireguard port with raw socket (#826) 2023-05-03 14:47:44 +02:00
routemanager FIx error on ip6tables not available (#999) 2023-07-14 20:44:35 +02:00
stdnet Ignore ipv6 labeled address (#809) 2023-04-14 15:40:27 +02:00
config_test.go Fix pre-shared key not persistent (#1011) 2023-07-13 10:49:15 +02:00
config.go Fix pre-shared key not persistent (#1011) 2023-07-13 10:49:15 +02:00
connect.go Feature/permanent dns (#967) 2023-07-14 21:56:22 +02:00
device_auth.go Support remote scope and use id token configuration (#784) 2023-04-05 17:46:34 +02:00
engine_stdnet_android.go Add route management for Android interface (#801) 2023-04-17 11:15:37 +02:00
engine_stdnet.go Bind implementation (#779) 2023-04-13 17:00:01 +02:00
engine_test.go Feature/android route notification (#868) 2023-05-31 18:25:24 +02:00
engine.go Feature/permanent dns (#967) 2023-07-14 21:56:22 +02:00
login.go Mobile (#735) 2023-03-17 10:37:27 +01:00
mobile_dependency.go Feature/permanent dns (#967) 2023-07-14 21:56:22 +02:00
oauth_test.go Support remote scope and use id token configuration (#784) 2023-04-05 17:46:34 +02:00
oauth.go Fix incomplete verification URI issue in device auth flow (#838) 2023-05-05 12:43:04 +02:00
state.go Client Login via device authorization flow (#309) 2022-05-12 11:17:24 +02:00