Commit graph

1448 commits

Author SHA1 Message Date
Matthew R Kasun ef32150cc5 added extclient peers and persitent keepalive 2022-01-20 12:53:14 -05:00
Matthew R Kasun 2ddf9e59b3 write node to database when localAddress update received. 2022-01-20 12:53:14 -05:00
Matthew R Kasun 443ed80e4d updated service files for linux and darwin to start netclient daemon vice netclient checkin 2022-01-20 12:53:14 -05:00
Matthew R Kasun 09b9e658b9 add logic to grpc leave handler to publish peer update message 2022-01-20 12:53:14 -05:00
Matthew R Kasun e0275c90d8 fixed tests and removed some debugging logs 2022-01-20 12:53:14 -05:00
Matthew R Kasun 56a5a928ab fix UpdateWgPeers to enable multiple peer sections 2022-01-20 12:53:14 -05:00
Matthew R Kasun 353c92e333 fix UpdateWgPeers 2022-01-20 12:53:14 -05:00
Matthew R Kasun fc86015c29 calculate allowed ips 2022-01-20 12:53:13 -05:00
Matthew R Kasun 989d76ea3d remove metrics from client 2022-01-20 12:53:13 -05:00
Matthew R Kasun 767abc7d5e fix publish peers 2022-01-20 12:53:13 -05:00
Matthew R Kasun a86b9bd380 moved peer determination to server 2022-01-20 12:52:49 -05:00
Matthew R Kasun d60ce26c9f fix off by one error in GetID 2022-01-20 12:52:49 -05:00
Matthew R Kasun ec486addf0 use uuid in message queue functions 2022-01-20 12:52:49 -05:00
Matthew R Kasun aa6f7a138b WIP commit to enable rebasing to uuid feature 2022-01-20 12:52:49 -05:00
Matthew R Kasun 496187985e WIP commit 2022-01-20 12:52:49 -05:00
Matthew R Kasun 84884e5c23 refactor NodeUpdate message queue handler 2022-01-20 12:52:49 -05:00
Matthew R Kasun 1046c0ad55 add error handling on failed key generation 2022-01-20 12:52:49 -05:00
Matthew R Kasun 2cf53819f3 subscribed message handlers implemented 2022-01-20 12:52:49 -05:00
Matthew R Kasun 09fbd06884 Rebase to develop (#4)
* add nameserver in call to CreateUserSpaceConf

* fixed user deletion

* changed log

* go mod tidy and conver azure tenant to env/conf var

* added egress relayed addrs to relayed nodes

* added post commands for wg quick

* refactored ncutils x-platform

* log fix

* adding egress to relay

* fixing egress on relay

Co-authored-by: dcarns <75687250+0xdcarns@users.noreply.github.com>
Co-authored-by: 0xdcarns <dillon.carns@gmail.com>
Co-authored-by: afeiszli <alex.feiszli@gmail.com>
2022-01-20 12:52:49 -05:00
0xdcarns 4bc28e455a linting fixes 2022-01-20 12:52:49 -05:00
Matthew R Kasun c7dc874bb8 go routines now run forever like they are supposed to 2022-01-20 12:52:49 -05:00
Matthew R Kasun f11fa093fb move context up a level 2022-01-20 12:52:49 -05:00
Matthew R Kasun 5458379b32 Replaced ### with - in Node.ID (local copy) to fix mqtt publishing
errors
added context to all go routines
removed connectivity function
2022-01-20 12:52:49 -05:00
Matthew R Kasun cb51a6be78 work in progress for message queue 2022-01-20 12:52:49 -05:00
Matthew R Kasun 19ff3ee408 update mosquitto broker conf and volume info 2022-01-20 12:52:49 -05:00
Matthew R Kasun 90b468f9f9 WIP commit to enable rebasing to uuid feature 2022-01-20 12:52:49 -05:00
Matthew R Kasun 3e016ef8b5 WIP commit 2022-01-20 12:50:00 -05:00
Matthew R Kasun deef5482a3 refactor NodeUpdate message queue handler 2022-01-20 12:50:00 -05:00
Matthew R Kasun 17eabe5841 add error handling on failed key generation 2022-01-20 12:50:00 -05:00
0xdcarns d09d3dee63 constants 2022-01-20 12:50:00 -05:00
Matthew R Kasun 6dff650b08 subscribed message handlers implemented 2022-01-20 12:50:00 -05:00
0xdcarns e2bb597ab1 linting fixes 2022-01-20 12:50:00 -05:00
Matthew R Kasun 8768a2c390 go routines now run forever like they are supposed to 2022-01-20 12:50:00 -05:00
Matthew R Kasun efd8764de3 move context up a level 2022-01-20 12:50:00 -05:00
Matthew R Kasun f968ecf4f5 Replaced ### with - in Node.ID (local copy) to fix mqtt publishing
errors
added context to all go routines
removed connectivity function
2022-01-20 12:50:00 -05:00
Matthew R Kasun a44ad51661 work in progress for message queue 2022-01-20 12:50:00 -05:00
Matthew R Kasun 0d61875658 update mosquitto broker conf and volume info 2022-01-20 12:50:00 -05:00
Matthew R Kasun 66c58280b1 fix typo 2022-01-20 12:50:00 -05:00
Matthew R Kasun e778d0f519 update compose file and scripts to use mosquitto broker. Includes insecure config file for mosquitto 2022-01-20 12:50:00 -05:00
Matthew R Kasun fd1f03e568 update mosquitto broker conf and volume info 2022-01-20 12:50:00 -05:00
Matthew R Kasun 0fd08e28a5 fix typo 2022-01-20 12:50:00 -05:00
Matthew R Kasun 273322c6ad update compose file and scripts to use mosquitto broker. Includes insecure config file for mosquitto 2022-01-20 12:50:00 -05:00
dcarns 1ba4ff3d89
Merge pull request #635 from gravitl/feature_v0.10.0_contributing
Create CONTRIBUTING.md
2022-01-20 08:51:06 -05:00
Alex 95659ef0a5
Create CONTRIBUTING.md 2022-01-20 08:19:23 -05:00
Alex f3a424343e
Merge pull request #634 from louis-zhou/develop_600
add cli parameter
2022-01-20 07:35:24 -05:00
louis-zhou 242fcacae0 add cli parameter 2022-01-20 10:55:11 +08:00
Alex b6309ad16b
Merge pull request #626 from gravitl/bugfix_v0.10.0_update_ip
prevent nodes from changing address out of range or to .0 or .255 add…
2022-01-19 11:24:37 -05:00
0xdcarns 2430eb0a47 prevent nodes from changing address out of range or to .0 or .255 addresses 2022-01-19 10:47:23 -05:00
dcarns de8c4d782d
Merge pull request #620 from gravitl/feature_v0.10.0_better_server
Feature v0.10.0 better server
2022-01-18 15:33:22 -05:00
0xdcarns 5c1300997c rough draft 2022-01-18 11:32:21 -05:00