Commit graph

1631 commits

Author SHA1 Message Date
Matthew R Kasun fdf52391c7 log message for debugging 2022-01-22 09:04:11 -05:00
Matthew R Kasun e164e6446f publish node update when UI updates a node 2022-01-21 17:22:56 -05:00
Matthew R Kasun 9c6a26dcc5 fix lookup for netclient wg config file 2022-01-21 14:07:28 -05:00
Matthew R Kasun 95dea6a4ba fix for issue #621 2022-01-21 13:15:54 -05:00
Matthew R Kasun 1a00f8377e write persistent keepalive to wg.conf file 2022-01-21 09:36:29 -05:00
Matthew R Kasun 799f32c664 fix missing slash in msg topic; update handling of keyUpdates 2022-01-21 07:07:38 -05:00
Matthew R Kasun 30a6b0f4c9 fix pointer in message queue daemon 2022-01-21 06:16:49 -05:00
Matthew R Kasun 2310977391 refactor to reduce number of types of message in message queue simplifying the subscribers and publishers 2022-01-21 05:19:17 -05:00
Matthew R Kasun d4399d1321 rebase fixes 2022-01-20 16:39:54 -05:00
Matthew R Kasun b15a5112fc fixes due to rebase 2022-01-20 15:41:06 -05:00
Matthew R Kasun 639f129407 Merge branch 'feature-messageQueue' of github.com:gravitl/netmaker into feature-messageQueue
# Conflicts:
#	.gitignore
#	docker/mosquitto.conf
#	netclient/wireguard/unix.go
2022-01-20 13:21:01 -05:00
Matthew R Kasun eec491564b add logic to grpc leave handler to publish peer update message 2022-01-20 13:16:03 -05:00
Matthew R Kasun 688b2a3a65 fixed tests and removed some debugging logs 2022-01-20 13:16:03 -05:00
Matthew R Kasun e8683469a5 fix UpdateWgPeers to enable multiple peer sections 2022-01-20 13:16:03 -05:00
Matthew R Kasun cef9fb8bf1 fix UpdateWgPeers 2022-01-20 13:16:03 -05:00
Matthew R Kasun 14c4b446aa remove metrics from client 2022-01-20 13:14:59 -05:00
Matthew R Kasun e7b9715cf7 fix publish peers 2022-01-20 13:14:59 -05:00
Matthew R Kasun 2f0f0f9c4d moved peer determination to server 2022-01-20 13:14:48 -05:00
Matthew R Kasun 7c1e672693 use uuid in message queue functions 2022-01-20 13:14:13 -05:00
Matthew R Kasun b1e66703ff WIP commit to enable rebasing to uuid feature 2022-01-20 13:14:00 -05:00
Matthew R Kasun a94e848021 WIP commit 2022-01-20 13:13:38 -05:00
Matthew R Kasun 1b0aabf429 refactor NodeUpdate message queue handler 2022-01-20 13:12:51 -05:00
Matthew R Kasun b5b7425eaf add error handling on failed key generation 2022-01-20 13:12:51 -05:00
Matthew R Kasun a46209cea5 subscribed message handlers implemented 2022-01-20 13:12:12 -05:00
Matthew R Kasun b85ab18404 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 13:10:59 -05:00
Matthew R Kasun ec9f72d2d4 work in progress for message queue 2022-01-20 13:08:08 -05:00
Matthew R Kasun 5e00bd8a3d WIP commit to enable rebasing to uuid feature 2022-01-20 13:05:59 -05:00
Matthew R Kasun e7f80c178d WIP commit 2022-01-20 13:05:41 -05:00
Matthew R Kasun c9d0cc56ef refactor NodeUpdate message queue handler 2022-01-20 13:04:58 -05:00
Matthew R Kasun d95b7e1dab subscribed message handlers implemented 2022-01-20 13:03:20 -05:00
Matthew R Kasun aad4e44e73 work in progress for message queue 2022-01-20 13:01:23 -05:00
Matthew R Kasun 7b6d253aea update mosquitto broker conf and volume info 2022-01-20 13:00:35 -05:00
Matthew R Kasun 7412acc51d fix typo 2022-01-20 13:00:35 -05:00
Matthew R Kasun 0317aa1e37 update compose file and scripts to use mosquitto broker. Includes insecure config file for mosquitto 2022-01-20 13:00:34 -05:00
Matthew R Kasun 2ac2c05413 update mosquitto broker conf and volume info 2022-01-20 13:00:34 -05:00
Matthew R Kasun 551018c8dc fix typo 2022-01-20 13:00:34 -05:00
Matthew R Kasun 5f149ab45c update compose file and scripts to use mosquitto broker. Includes insecure config file for mosquitto 2022-01-20 13:00:34 -05:00
0xdcarns bed4eb25ed rebased 2022-01-20 13:00:04 -05:00
0xdcarns 2e1bc755e2 version update 2022-01-20 13:00:04 -05:00
0xdcarns 7700a68d5b Cover a legacy case, allow server to run with uuids 2022-01-20 13:00:04 -05:00
0xdcarns e4161426f1 removed cleanup function, kind of pointless 2022-01-20 13:00:04 -05:00
0xdcarns d2fb5fc4d5 cleaned up logs 2022-01-20 13:00:04 -05:00
0xdcarns a394bf7424 server fix 2022-01-20 13:00:04 -05:00
0xdcarns ef81763e30 misplaced variable 2022-01-20 13:00:04 -05:00
0xdcarns be093a951f added legacy check to maintain compatibility 2022-01-20 13:00:04 -05:00
0xdcarns 41401cfb58 version updates 2022-01-20 13:00:04 -05:00
0xdcarns 0f657b4378 adapted node routes further to new id 2022-01-20 12:59:31 -05:00
0xdcarns 73c982b9fa updated routes to use uuid 2022-01-20 12:59:31 -05:00
0xdcarns ff79860487 updated routes to use uuid 2022-01-20 12:59:31 -05:00
0xdcarns 66d6c71441 adjusting client join 2022-01-20 12:59:31 -05:00