Commit graph

239 commits

Author SHA1 Message Date
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
0xdcarns be093a951f added legacy check to maintain compatibility 2022-01-20 13:00:04 -05:00
0xdcarns 66d6c71441 adjusting client join 2022-01-20 12:59:31 -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
0xdcarns 50016ed219 added legacy check to maintain compatibility 2022-01-17 14:22:39 -05:00
0xdcarns e2ffcd4b3c adjusting client join 2022-01-17 14:21:40 -05:00
0xdcarns d18b6d5ee2 refactored all grpc to be uniform 2022-01-17 14:21:40 -05:00
0xdcarns c033be41bb began transition 2022-01-17 14:21:40 -05:00
afeiszli 44084b7df9 mac client semi-functional 2022-01-12 10:03:23 -05:00
0xdcarns f43e5d9aff change resolve to resolv 2022-01-05 15:17:28 -05:00
0xdcarns 5448042b9a logs, unused funcs, cleanup 2022-01-02 10:30:07 -05:00
Matthew R Kasun 6056d711a6 fix dns issues on checkin when resolvconf not installed 2021-12-31 22:45:50 +00:00
Matthew R Kasun 45464c00f5 use dns entry in wireguard config file; checkin temporarily disabled til figure issue with dns on checkin 2021-12-31 16:04:25 +00:00
Matthew R Kasun 4ef0b164d7 use wireguard.conf files for all 2021-12-30 07:11:01 -05:00
afeiszli 833151c86d add route every time 2021-12-11 12:13:41 -05:00
0xdcarns e45a485bce added comments, optimized memory 2021-12-10 15:01:10 -05:00
afeiszli 801919ab0d fixing client issues for uspace, fwmark, vpn 2021-11-29 04:34:11 -05:00
afeiszli 84c8299bb0 freebsd working 2021-11-15 11:42:52 -05:00
afeiszli 05d27c8af3 remote route on delete 2021-11-14 19:17:30 -05:00
afeiszli 56ee112d1b sync logic working 2021-11-12 13:46:55 -05:00
afeiszli 5b3b6119ae adding sync 2021-11-12 11:24:29 -05:00
afeiszli c2948a3671 added fwmark 2021-11-12 08:53:50 -05:00
afeiszli 656b864552 adding freebsd logic for static config 2021-11-10 11:59:03 -05:00
0xdcarns 7e2be51b5b leave + join error fix, windows check 2021-11-08 12:15:20 -05:00
0xdcarns c7ca3c2495 added backups to help with reboot 2021-11-03 15:43:10 -04:00
0xdcarns 8f72ecbaa0 refactored logic 2021-10-26 12:50:34 -04:00
0xdcarns 72ce7dcfd0 format and update version in readme 2021-10-25 16:51:26 -04:00
afeiszli 7ae3559c0b fixing netclient logs 2021-10-20 11:45:11 -04:00
afeiszli 8a1b7d558b Merge branch 'develop' of https://github.com/gravitl/netmaker into hotfix_v0.8.4_netclient_dns 2021-10-20 11:07:14 -04:00
afeiszli c26f887e27 updating install script and README 2021-10-20 11:06:54 -04:00
0xdcarns 51c1973b21 added ability to remove local instance of netmaker 2021-10-20 09:22:05 -04:00
afeiszli fb4d2d1272 change version of ubuntu 2021-10-19 15:53:01 -04:00
afeiszli 445df67030 updated helm charts 2021-10-17 15:31:37 -04:00
0xdcarns 340f50c535 transplanted setwgconfig and pull 2021-10-13 10:02:04 -04:00
0xdcarns 3f2e4ab764 transplanted join. 2021-10-12 15:44:19 -04:00
0xdcarns d7cafbbc4c code linting 2021-10-08 15:07:12 -04:00
0xdcarns c2a4000126 repaired potential null pointer in pull 2021-10-08 09:09:54 -04:00
0xdcarns 989676e77f Combined client + server code, Added HA ability, minor bug fixes 2021-10-06 17:48:54 -04:00
afeiszli 21ba362eca allowing IsServer to be modified, configurable checkin time, single checkin for linux, moved cfg files 2021-10-02 12:28:17 -04:00
afeiszli 1661f3dabf fixing dns setting on netclient 2021-09-29 10:02:34 -04:00
afeiszli 5d786740d7 runs, but need to remove resolvectl command 2021-09-28 18:24:10 -04:00
worker-9 5cf69ebe5b added conn closes 2021-09-23 09:04:33 -04:00
afeiszli 80eb6a8cee adding backup local ip function 2021-09-22 12:03:33 -04:00
afeiszli 50250d5859 userspace implementation 2021-09-21 21:35:52 -04:00
0xdcarns 3fc4c253a8 fixed windows, updated wgctrl 2021-09-21 17:50:09 -04:00
afeiszli ec46d303ab got service working 2021-09-21 14:01:52 -04:00
afeiszli a0586ea6d2 began adding macos service/daemon 2021-09-19 14:03:47 -04:00
afeiszli b828f7b6d9 fixing model 2021-09-18 11:01:34 -04:00
afeiszli 5c3bcbc32a added verbose command logs 2021-09-17 13:28:32 -04:00
afeiszli c0490061ee refactor join, fix network add; db retry connect; fix port issue; sqlite default 2021-09-10 17:48:24 -04:00
0xdcarns 34717417ce began windows userspace implementation 2021-09-10 13:39:51 -04:00
afeiszli 0757bd87f6 remove secret 2021-08-18 19:32:15 -04:00
worker-9 3a77f4df14 changed exec stuff and maybe fixed listenport 2021-08-18 18:59:17 -04:00
Emika fa5de4e777 Fix issue with netclient failing when interface doesnt exist, issue #221 2021-08-11 17:20:25 -06:00
worker-9 1bba3d270b removed a few logs 2021-08-10 14:10:01 -04:00
worker-9 324337eac1 added auth stuff 2021-08-10 12:52:22 -04:00
worker-9 19d0c3c5e9 fixed err check 2021-08-10 11:59:16 -04:00
worker-9 064685cbcd changed not and else 2021-08-10 11:52:50 -04:00
worker-9 e8db6e247f Merge branch 'feature_0.7.1_refactor' of https://github.com/gravitl/netmaker into feature_0.7.1_refactor 2021-08-10 10:56:06 -04:00
worker-9 46d6899982 ispending bug fix and node auth fix 2021-08-10 10:55:48 -04:00
afeiszli b7b18f751e updated docs 2021-08-10 10:02:15 -04:00
worker-9 c799df59ce edited auth for deleted nodes 2021-08-09 22:31:01 -04:00