Mikhail Bragin
3b30beb567
add config properties to the SyncResponse of the management gRpc service ( #66 )
...
* feature: add config properties to the SyncResponse of the management gRpc service
2021-07-25 17:08:16 +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
braginini
83ac774264
test: fix management multiple concurrent peers test
2021-07-22 15:53:15 +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
braginini
c98be683bf
docs: add management service docs
2021-07-22 12:32:04 +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
braginini
940578d600
chore: use latest golang-grpc libs
2021-07-20 18:09:26 +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
braginini
4e17890597
docs: minor FilesStore corrections
2021-07-18 21:00:32 +02:00
andpar83
7b52049333
Improve addition of new peers in Management service. ( #56 )
...
* Store refactoring
* Improve addition of new peers in Management service.
2021-07-18 20:51:09 +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
Mikhail Bragin
bffea0e145
Merge pull request #53 from wiretrustee/handle-read-config-file-errors
...
Handle read config file errors
2021-07-17 17:30:07 +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
Mikhail Bragin
dd50f495ab
docs: add Wireguard trademark statement
2021-06-29 12:50:58 +03:00
Mikhail Bragin
bb2477491f
Merge pull request #37 from wiretrustee/add-service-command
...
feature: Adding service command
2021-06-27 16:50:27 +02:00
mlsmaycon
f4d7faaf4e
debug port value
2021-06-25 11:49:16 +02:00
mlsmaycon
cffb08ad23
Use go bin
2021-06-25 11:23:13 +02:00
mlsmaycon
8d05789749
preserve env GOROOT
2021-06-25 11:18:34 +02:00
mlsmaycon
ca5970140f
set config path to avoid ci/cd limitations
2021-06-25 11:08:16 +02:00
mlsmaycon
ac628b6efa
use sudo for testing service installation
2021-06-25 11:01:21 +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
1cf9b143e0
update go.mod with service command dependecies
2021-06-25 10:40:47 +02:00
mlsmaycon
158547f3eb
rebase
2021-06-25 10:39:56 +02:00
mlsmaycon
ab6452065d
Updated documentation for Powershell as admin
2021-06-25 10:28:50 +02:00
mlsmaycon
e553c5e97e
Avoid prompt admin at every execution
2021-06-25 10:28:27 +02:00
Mikhail Bragin
3041ff4ef7
Merge pull request #36 from wiretrustee/avoid-proxy-when-local-net
...
feature: initial implementation of avoiding local proxy if peers are …
2021-06-25 07:15:37 +02:00
mlsmaycon
61a7f3013b
Rename Name function
2021-06-24 23:16:09 +02:00
braginini
dac865c61f
chore: add log to detect a usage of the Wireguard kernel module
2021-06-24 12:49:14 +02:00
braginini
a40669270a
refactor: rearrange iface package
2021-06-24 11:46:33 +02:00
braginini
f2ca2fc7c1
refactort: extract method to create Wireguard interface using kernel module
2021-06-24 11:02:40 +02:00
braginini
729b16e599
fix: windows iface build
2021-06-24 10:59:41 +02:00
braginini
561bd681d9
fix: golint errors
2021-06-24 10:55:05 +02:00
braginini
0e313eec24
fix: mod.go build only for linux
2021-06-23 16:16:48 +02:00
braginini
4216cd2986
feature: add feature to determine when to run wireguard userspace implementation or native one (linux)
2021-06-23 16:11:54 +02:00
mlsmaycon
c18899d135
Add windows documentation
2021-06-23 01:38:44 +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
dd72a01ecf
feature: add check of Wireguard kernel module existence (Linux only)
2021-06-22 14:38:28 +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