netbird/client/internal
pascal-fischer 818c6b885f
Feature/add iOS support (#1244)
* starting engine by passing file descriptor on engine start

* inject logger that does not compile

* logger and first client

* first working connection

* support for routes and working connection

* small refactor for better code quality in swift

* trying to add DNS

* fix

* updated

* fix route deletion

* trying to bind the DNS resolver dialer to an interface

* use dns.Client.Exchange

* fix metadata send on startup

* switching between client to query upstream

* fix panic on no dns response

* fix after merge changes

* add engine ready listener

* replace engine listener with connection listener

* disable relay connection for iOS until proxy is refactored into bind

* Extract private upstream for iOS and fix function headers for other OS

* Update mock Server

* Fix dns server and upstream tests

* Fix engine null pointer with mobile dependencies for other OS

* Revert back to disabling upstream on no response

* Fix some of the remarks from the linter

* Fix linter

* re-arrange duration calculation

* revert exported HostDNSConfig

* remove unused engine listener

* remove development logs

* refactor dns code and interface name propagation

* clean dns server test

* disable upstream deactivation for iOS

* remove files after merge

* fix dns server darwin

* fix server mock

* fix build flags

* move service listen back to initialize

* add wgInterface to hostManager initialization on android

* fix typo and remove unused function

* extract upstream exchange for ios and rest

* remove todo

* separate upstream logic to ios file

* Fix upstream test

* use interface and embedded struct for upstream

* set properly upstream client

* remove placeholder

* remove ios specific attributes

* fix upstream test

* merge ipc parser and wg configurer for mobile

* fix build annotation

* use json for DNS settings handover through gomobile

* add logs for DNS json string

* bring back check on ios for private upstream

* remove wrong (and unused) line

* fix wrongly updated comments on DNSSetting export

---------

Co-authored-by: Maycon Santos <mlsmaycon@gmail.com>
2023-12-18 11:46:58 +01:00
..
acl Fix/acl for forward (#1305) 2023-12-08 10:48:21 +01:00
auth Add gocritic linter (#1324) 2023-11-27 16:40:02 +01:00
dns Feature/add iOS support (#1244) 2023-12-18 11:46:58 +01:00
ebpf Add gocritic linter (#1324) 2023-11-27 16:40:02 +01:00
listener Feature/add iOS support (#1244) 2023-12-18 11:46:58 +01:00
peer Feature/add iOS support (#1244) 2023-12-18 11:46:58 +01:00
routemanager Feature/add iOS support (#1244) 2023-12-18 11:46:58 +01:00
stdnet Routemgr error handling (#1073) 2023-08-12 11:42:36 +02:00
templates Add html screen for pkce flow (#1034) 2023-07-28 18:10:12 +02:00
wgproxy Set not found ebpf log to Info (#1134) 2023-09-08 18:24:19 +02:00
config_test.go Allow removal of preshared keys (#1385) 2023-12-14 11:48:12 +01:00
config.go Allow removal of preshared keys (#1385) 2023-12-14 11:48:12 +01:00
connect.go Feature/add iOS support (#1244) 2023-12-18 11:46:58 +01:00
device_auth.go Add PKCE authorization flow (#1012) 2023-07-27 11:31:07 +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 Add gocritic linter (#1324) 2023-11-27 16:40:02 +01:00
engine.go Feature/add iOS support (#1244) 2023-12-18 11:46:58 +01:00
login.go Mobile (#735) 2023-03-17 10:37:27 +01:00
mobile_dependency.go Feature/add iOS support (#1244) 2023-12-18 11:46:58 +01:00
pkce_auth.go Add jumpcloud IdP (#1124) 2023-10-03 19:33:42 +02:00
state.go Client Login via device authorization flow (#309) 2022-05-12 11:17:24 +02:00