Commit graph

50 commits

Author SHA1 Message Date
0xdcarns a5e483adab added mutex on log 2022-01-26 11:20:46 -05:00
0xdcarns 27b29baf32 added new struct and adapted to funcs 2022-01-26 10:40:39 -05:00
0xdcarns 424c801c6c server update 2022-01-25 23:04:03 -05:00
0xdcarns d6554ef081 initial commit 2022-01-25 22:14:31 -05:00
Matthew R Kasun a27c403925 another dns fix 2022-01-24 16:12:57 -05:00
Matthew R Kasun 1c69ee18c8 call UpdateDNS on node update if DNSOn 2022-01-24 15:46:38 -05:00
Matthew R Kasun 8aee75d32b unsubscribe from node topic on node delete 2022-01-23 18:18:42 -05:00
Matthew R Kasun c1813c52e9 publish node update and peer update on ingress gateway creation 2022-01-22 15:34:01 -05:00
Matthew R Kasun fcc1259adf fix writes/updates to wg config files 2022-01-22 11:38:56 -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 688b2a3a65 fixed tests and removed some debugging logs 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 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 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 e0275c90d8 fixed tests and removed some debugging logs 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 989d76ea3d remove metrics from client 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 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
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 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
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