Mikhail Bragin
1f29975737
feature: basic auth0 support ( #78 )
...
* feature: basic auth0 support
* refactor: improve auth flow
* refactor: extract HttpServer config
* feature: merge HTTP API layer with Let's Encrypt
2021-08-07 12:26:07 +02:00
andpar83
11982d6dde
Add client's interaction with management service ( #71 )
...
* Add client's interaction with management service
* Getting updates
* Fixed key and nil ptr
* Added setupKey param
* Added managment address parameter
* Fixed test
* feature: use RemotePeers from the management server instead of deprecated Peers
* merge: merge changes from main
2021-08-01 19:06:01 +02:00
Maycon Santos
6ce5b2c815
Support Signal server with TLS ( #76 )
...
* tlsEnabled flag and DialOption
* Update signal client invocations
2021-08-01 12:54:35 +02:00
andpar83
9e4aa4f1f1
Move management server to a separate directory ( #67 )
...
* Move management server to a separate directory
2021-07-24 16:14:29 +02:00
Mikhail Bragin
2172d6f1b9
Extract common server encryption logic ( #65 )
...
* refactor: extract common message encryption logic
* refactor: move letsencrypt logic to common
* refactor: rename common package to encryption
* test: add encryption tests
2021-07-22 15:23:24 +02:00
Mikhail Bragin
079d35eada
Extend Management to support peer changes distribution ( #55 )
...
* feature: add peer sync and a server public key endpoints
* test: add Management.Sync() gRpc endpoint test
* feat: implement peer sync
* docs: added some comments to the Management server
* chore: use for loop over channel when monitoring peer updates
* fix: exit infinite loop when sending updates to peers
* test: add multiple concurrent peers test for management service
* chore: remove unused test
* fix: reduce the amount peers for a concurrent peer update test
Co-authored-by: braginini <m.bragin@wiretrustee.com>
2021-07-22 10:28:00 +02:00
Mikhail Bragin
d27eb317aa
update signal gRpc, enable TLS and add keepalive params ( #62 )
...
* chore: update signal gRpc
* chore: add Signal keep alive params and policy
* feature: add signal TLS support
* refactor: move signal Dockerfile to the corresponding folder
Co-authored-by: braginini <m.bragin@wiretrustee.com>
2021-07-21 20:23:11 +02:00
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
Mikhail Bragin
f9c3ed784f
Merge pull request #52 from wiretrustee/tls-peer-management
...
feature: add letsencrypt support to the management service
2021-07-18 10:17:13 +02:00
braginini
ea524e2a53
chore: remove unused code
2021-07-17 17:42:00 +02:00
braginini
2d85fcfcc3
refactor: set default flags in code not Dockerfile
2021-07-17 17:26:51 +02:00
braginini
07118d972d
chore: change default datadir
2021-07-17 15:47:16 +02:00
braginini
84f4d51c6c
fix: lint warnings
2021-07-17 15:46:25 +02:00
mlsmaycon
1e250fc0df
Handle read config file errors
2021-07-17 14:58:02 +02:00
braginini
d4a9f4d38a
feature: add letsencrypt support to the management service
2021-07-17 14:51:16 +02:00
Mikhail Bragin
4587f7686e
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>
2021-07-17 14:38:59 +02:00
mlsmaycon
ca5970140f
set config path to avoid ci/cd limitations
2021-06-25 11:08:16 +02:00
mlsmaycon
80665049dc
fixed Init Execution
2021-06-25 10:59:10 +02:00
mlsmaycon
881f078759
Removed engine.Stop
2021-06-25 10:58:42 +02:00
mlsmaycon
158547f3eb
rebase
2021-06-25 10:39:56 +02:00
mlsmaycon
20248dadb7
Merge remote-tracking branch 'origin/add-service-command' into add-service-command
2021-06-23 01:07:05 +02:00
mlsmaycon
1a06518f1b
Update resource file with requireAdministrator, added resources.rc and manifests.xml
2021-06-23 01:06:47 +02:00
braginini
bbfbf797d5
chore: remove os.Exit - unnecessary call
2021-06-22 12:11:51 +02:00
mlsmaycon
52db303104
Add service command tests
2021-06-22 01:17:30 +02:00
mlsmaycon
5122294adf
golint: properly handle defer engine stop
2021-06-22 01:17:01 +02:00
mlsmaycon
a87f828844
Adjust service command outputs to use cmd Print functions
2021-06-22 01:07:12 +02:00
braginini
8088c7a591
feature: add stop handling for engine
2021-06-21 11:18:03 +02:00
mlsmaycon
74355a2292
fix windows default config path
2021-06-20 23:33:49 +02:00
mlsmaycon
a66cdccda9
Add service controllers and installers commands
2021-06-20 23:01:44 +02:00
mlsmaycon
06c7af058b
Create config dir if using default configPath
2021-06-20 23:01:12 +02:00
mlsmaycon
41b50a08d4
feature: Adding service run command
2021-06-19 15:09:32 +02:00
braginini
5f8a489f90
test: add basic signal IT tests
2021-06-15 16:13:27 +02:00
braginini
790858c31b
fix: golint errors (part 2)
2021-05-19 11:13:25 +02:00
braginini
5342f10e7f
fix: golint errors
2021-05-19 10:58:21 +02:00
braginini
f0048d16fb
Merge remote-tracking branch 'origin/main' into lint-warns
...
# Conflicts:
# connection/engine.go
2021-05-19 10:45:44 +02:00
braginini
a773ec8150
feat: add interface black list to avoid undesired interfaces
2021-05-16 18:05:08 +02:00
mlsmaycon
73720951d7
fix doc and lint warns for the cmd package
2021-05-15 15:33:07 +05:00
mlsmaycon
e6358e7bb2
fix doc and lint warns for signal package
2021-05-15 15:20:49 +05:00
braginini
682049b49c
chore: add a bit more logs to the init command
2021-05-05 12:15:55 +02:00
braginini
f171f6755b
fix: signal message encryption
2021-05-05 10:40:53 +02:00
braginini
6cd44f1522
feat: add encryption of the payload exchanged via signal
2021-05-01 18:29:59 +02:00
braginini
4f3799ac65
feat: add addpeer cmd to add a remote Wireguard peer
2021-05-01 16:03:43 +02:00
braginini
550698c3b5
chore: remove unnecessary config prop init
2021-05-01 15:52:08 +02:00
braginini
6b5fe4f082
fix: go dependencies
2021-05-01 15:51:02 +02:00
braginini
ff225a485a
feat: add wiretrustee init cmd to initialize config
2021-05-01 15:47:24 +02:00
braginini
2b77da4e12
project init
2021-05-01 12:45:37 +02:00