Commit graph

360 commits

Author SHA1 Message Date
Matthew R. Kasun 11b1098390 replace ncutil.Log/PrintLog with logger.Log 2022-03-21 11:27:25 -04:00
dcarns 9efb15e688
Merge pull request #929 from gravitl/bugfix_v0.12.0_keepalive
keepalive handling updates
2022-03-21 10:41:01 -04:00
dcarns b397f5014f
Merge pull request #918 from gravitl/bugfix_v0.12.1_hostctl_profile_names
use interface as hostctl profile
2022-03-21 10:24:28 -04:00
Matthew R. Kasun c16687be61 keepalive handling updates 2022-03-21 07:07:50 -04:00
john s 24f292c934
netclient: pass by value -> reference (#919)
* netclient: pass by value -> reference

Updates various function arguments to accept config.ClientConfig
as a reference to avoid deep copying the struct.

Signed-off-by: John Sahhar <john@gravitl.com>
2022-03-20 23:43:17 -05:00
Matthew R. Kasun b1a640eb83 temp code to remove netmaker profiles from /etc/hosts on daemon start 2022-03-18 15:53:59 -04:00
Matthew R. Kasun 58988706d9 missed on call
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-03-18 13:47:03 -04:00
Matthew R. Kasun 3b12f55de0 use interface as hostctl profile 2022-03-18 10:10:34 -04:00
afeiszli fbb18d86d0 fixing windows join issue 2022-03-15 11:11:22 -04:00
Matthew R. Kasun 628f1f1468 remove debug logs 2022-03-14 16:32:14 -04:00
Matthew R Kasun 11e0bd20d3 dns per network 2022-03-14 19:44:38 +00:00
Matthew R. Kasun 0abba58bfb use string rather than []byte for dns 2022-03-14 14:59:41 -04:00
Matthew R. Kasun 0f7cbdac49 eliminate the need for a tmp file to update dns 2022-03-12 16:15:49 -05:00
0xdcarns 7eac05528a edited where server sets peers to account for ACLs 2022-03-11 08:59:53 -05:00
0xdcarns 12ca8e09aa update logs 2022-03-10 15:46:48 -05:00
Matthew R. Kasun 078be94fd2 don't update dns on comms network peer update 2022-03-08 17:15:13 -05:00
dcarns a6a4c8da1a
Merge pull request #877 from gravitl/hotfix_v0.11.0_wrong_error
change error
2022-03-08 07:50:35 -05:00
Matthew R. Kasun 63c87ade73 another one 2022-03-08 06:22:02 -05:00
Matthew R. Kasun b4fff48e9b change error 2022-03-08 06:02:50 -05:00
afeiszli 25224f72ee random ID for comms nodes 2022-03-07 20:33:03 -05:00
Matthew R. Kasun aa24037d28 fix stay paste error 2022-03-04 14:00:05 -05:00
Matthew R. Kasun 7722ba910b window tmp file path 2022-03-04 13:29:56 -05:00
Matthew R. Kasun cc5bc8f84d fix vscode autocompletion error 2022-03-04 11:10:52 -05:00
Matthew R. Kasun d7b0852e24 disable resolvctl dns 2022-03-03 15:07:27 -05:00
Matthew R. Kasun 9bd0af7e9c remove /etc/hosts entries if DONon=off ('no') 2022-03-02 09:07:52 -05:00
Matthew R. Kasun 72fd657116 add check for DNSOn 2022-03-02 07:54:15 -05:00
Matthew R. Kasun d596ec4753 hostctl for dns 2022-03-02 06:28:53 -05:00
Matthew R. Kasun 6c064cd4c6 ensure new listen port is written to config files and mq uses comms network 2022-02-22 22:34:08 -05:00
Matthew R. Kasun 8ab0f1a46c deleted debugging log messages 2022-02-22 18:13:27 -05:00
afeiszli 04d15d27af listenport logic 2022-02-22 17:50:41 -05:00
0xdcarns 26c70bb2f1 changed logs and saved private key 2022-02-21 15:38:46 -05:00
Matthew R Kasun c01b950ca9
Merge pull request #815 from gravitl/feature_v0.11.0_hublogic
fixed hub logic
2022-02-21 09:49:08 -05:00
afeiszli f21dad5184 fixed hub logic 2022-02-21 09:45:42 -05:00
0xdcarns 3596754734 bug fixes 2022-02-21 09:31:31 -05:00
afeiszli 5e8eab0a1e force leave for comms net 2022-02-20 18:09:32 -05:00
0xdcarns 595e00125b 1 2022-02-20 11:12:51 -05:00
0xdcarns ad155087b3 added os.kill 2022-02-20 10:13:27 -05:00
0xdcarns f1fa3dec0a client key update change 2022-02-20 10:08:42 -05:00
0xdcarns 086eb842be made node update with server more efficient 2022-02-20 09:38:28 -05:00
0xdcarns 5f7c94b304 cleaned up logs, go initial updates working 2022-02-19 10:45:25 -05:00
0xdcarns 7bf716429f fixed some bugs around join.. 2022-02-18 20:21:03 -05:00
0xdcarns 095f1002dd updated to run a daemon per different comms 2022-02-18 16:43:12 -05:00
Matthew R. Kasun 4cc293ee89 client logic for comms network 2022-02-18 16:27:54 -05:00
Matthew R. Kasun c7cf5fb2fb refactor to reduce number of goroutines 2022-02-18 14:56:26 -05:00
Matthew R. Kasun 52ac4c3bc3 refactor functions/dameon into multiple files; addressed code review comments 2022-02-18 11:34:18 -05:00
Matthew R. Kasun 2390f017be client logic for comms network 2022-02-18 10:34:03 -05:00
afeiszli be1763bb74 removing old node logic 2022-02-18 10:15:21 -05:00
0xdcarns 25c4d8ff1e fixes 2022-02-17 10:33:48 -05:00
0xdcarns 506a897f26 added ack and done signals 2022-02-17 09:08:20 -05:00
0xdcarns bd8b66c169 refactored clients 2022-02-16 22:27:20 -05:00