Commit graph

1709 commits

Author SHA1 Message Date
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
Matthew R Kasun 9f00ec8817 Merge branch 'feature-messageQueue' of github.com:gravitl/netmaker into feature-messageQueue 2022-01-20 11:32:12 -05:00
Matthew R Kasun 3c6208a2dc added extclient peers and persitent keepalive 2022-01-20 11:29:37 -05:00
Matthew R Kasun b28e1de50f write node to database when localAddress update received. 2022-01-20 11:29:37 -05:00
Matthew R Kasun c456537aff updated service files for linux and darwin to start netclient daemon vice netclient checkin 2022-01-20 11:29:37 -05:00
Matthew R Kasun 04ff830c76 add logic to grpc leave handler to publish peer update message 2022-01-20 11:29:16 -05:00
Matthew R Kasun 70cf2a26b1 fixed tests and removed some debugging logs 2022-01-20 11:29:16 -05:00
Matthew R Kasun 5147bb61d0 fix UpdateWgPeers to enable multiple peer sections 2022-01-20 11:29:16 -05:00
Matthew R Kasun 9539e78369 fix UpdateWgPeers 2022-01-20 11:29:16 -05:00
Matthew R Kasun b48cb8a9d7 calculate allowed ips 2022-01-20 11:29:16 -05:00
Matthew R Kasun d5939e255a remove metrics from client 2022-01-20 11:29:16 -05:00
Matthew R Kasun 3ffcce14cc fix publish peers 2022-01-20 11:29:16 -05:00
Matthew R Kasun 05dd87887e moved peer determination to server 2022-01-20 11:29:16 -05:00
Matthew R Kasun 3e890f4d8d fix off by one error in GetID 2022-01-20 11:29:16 -05:00
Matthew R Kasun 1e199665c0 use uuid in message queue functions 2022-01-20 11:29:16 -05:00
Matthew R Kasun 8fe732be41 WIP commit to enable rebasing to uuid feature 2022-01-20 11:29:16 -05:00
Matthew R Kasun fcc14fb1e4 WIP commit 2022-01-20 11:29:16 -05:00
Matthew R Kasun 5e5f85b51f refactor NodeUpdate message queue handler 2022-01-20 11:27:13 -05:00
Matthew R Kasun 2201aef4b2 add error handling on failed key generation 2022-01-20 11:27:13 -05:00
Matthew R Kasun d5cd88cae8 subscribed message handlers implemented 2022-01-20 11:27:13 -05:00
Matthew R Kasun d7828c1983 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 11:26:15 -05:00
0xdcarns 6704456cfd linting fixes 2022-01-20 11:19:39 -05:00
Matthew R Kasun e4bb2e8d38 go routines now run forever like they are supposed to 2022-01-20 11:19:39 -05:00
Matthew R Kasun cf6d1895b6 move context up a level 2022-01-20 11:19:39 -05:00
Matthew R Kasun f6b1eafbb3 Replaced ### with - in Node.ID (local copy) to fix mqtt publishing
errors
added context to all go routines
removed connectivity function
2022-01-20 11:19:39 -05:00
Matthew R Kasun e1cf1aed76 work in progress for message queue 2022-01-20 11:18:44 -05:00