netbird/cmd
Maycon Santos 1a8c03bef0
feature: Support live peer list update (#51)
* created InitializePeer and ClosePeerConnection functions

* feature: simplify peer stopping

* chore: remove unused code

* feature: basic management service implementation (#44)

* feat: basic management service implementation [FAILING TESTS]

* test: fix healthcheck test

* test: #39 add peer registration endpoint test

* feat: #39 add setup key handling

* feat: #39 add peer management store persistence

* refactor: extract config read/write to the utility package

* refactor: move file contents copy to the utility package

* refactor: use Accounts instead of Users in the Store

* feature: add management server Docker file

* refactor: introduce datadir instead of config

* chore: use filepath.Join to concat filepaths instead of string concat

* refactor: move stop channel to the root

* refactor: move stop channel to the root

* review: fix PR review notes

Co-authored-by: braginini <hello@wiretrustee.com>

* Handle read config file errors

* feature: add letsencrypt support to the management service

* fix: lint warnings

* chore: change default datadir

* refactor: set default flags in code not Dockerfile

* chore: remove unused code

* Added RemovePeer and centralized configureDevice code

* remove peer from the wg interface when closing proxy

* remove config file

* add iface tests

* fix tests, validate if file exists before removing it

* removed unused functions UpdateListenPort and ConfigureWithKeyGen

* Ensure we don't wait for timeout when closing

* Rename ClosePeerConnection to RemovePeerConnection

* Avoid returning on uapi Accept failures

* Added engine tests

* Remove extra add address code

* Adding iface.Close

* Ensure Close the interface and disable parallel test execution

* check err var when listing interfaces

* chore: add synchronisation to peer management

* chore: add connection status to track peer connection

* refactor: remove unused code

Co-authored-by: braginini <hello@wiretrustee.com>
Co-authored-by: Mikhail Bragin <bangvalo@gmail.com>
2021-07-19 15:02:11 +02:00
..
addpeer.go Handle read config file errors 2021-07-17 14:58:02 +02:00
config.go Create config dir if using default configPath 2021-06-20 23:01:12 +02:00
init.go fix: golint errors (part 2) 2021-05-19 11:13:25 +02:00
management.go chore: remove unused code 2021-07-17 17:42:00 +02:00
root.go feature: basic management service implementation (#44) 2021-07-17 14:38:59 +02:00
service_controller.go feature: basic management service implementation (#44) 2021-07-17 14:38:59 +02:00
service_installer.go Adjust service command outputs to use cmd Print functions 2021-06-22 01:07:12 +02:00
service_test.go feature: Support live peer list update (#51) 2021-07-19 15:02:11 +02:00
service.go Update resource file with requireAdministrator, added resources.rc and manifests.xml 2021-06-23 01:06:47 +02:00
signal.go feature: basic management service implementation (#44) 2021-07-17 14:38:59 +02:00
up.go Handle read config file errors 2021-07-17 14:58:02 +02:00