Matthew R. Kasun
adfa5236f8
review comments addressed
...
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-04-20 09:26:23 -04:00
Matthew R. Kasun
9eddb971cc
fix logic for key/cert gen on start
...
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-04-19 07:42:28 -04:00
Matthew R. Kasun
2b1f20e94b
changes from code review
...
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-04-18 18:21:55 -04:00
Matthew R. Kasun
924403d5b4
ncutils.GetNetclientServerPath
...
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-04-18 15:30:59 -04:00
Matthew R. Kasun
f8fe382c02
cleanup and comments
2022-04-16 16:43:10 -04:00
Matthew R. Kasun
de7ca68c23
join after register
2022-04-16 15:35:05 -04:00
Matthew R. Kasun
a2805ddc80
register/cert gen
2022-04-16 08:27:22 -04:00
Matthew R. Kasun
4f19beda00
save returned certs/keys
2022-04-15 16:07:19 -04:00
0xdcarns
08e219cdcc
idk
2022-04-15 15:20:46 -04:00
0xdcarns
1cf9ac77e9
changed encoding of structs
2022-04-15 15:03:54 -04:00
Matthew R. Kasun
a6c388db67
use openssl to gen client key/cert
2022-04-15 13:32:10 -04:00
Matthew R. Kasun
84de5c5216
use issuer's public key for certs
2022-04-15 09:54:35 -04:00
Matthew R. Kasun
d50f7a8c0b
revert to gen csr on client
2022-04-14 14:42:46 -04:00
Matthew R. Kasun
fb6059e4a1
wip
2022-04-14 14:14:37 -04:00
Matthew R. Kasun
38cf8b0ceb
gen csr on server
2022-04-14 11:40:13 -04:00
Matthew R. Kasun
9677957023
logging
2022-04-14 09:22:07 -04:00
Matthew R. Kasun
5008462b3e
send csr and get cert
2022-04-14 07:15:50 -04:00
Matthew R. Kasun
4525698f87
return struct
2022-04-14 06:08:51 -04:00
Matthew R. Kasun
3e6a9be9ba
return struct
2022-04-13 18:22:03 -04:00
Matthew R. Kasun
92d3e40bde
logging
2022-04-13 17:33:40 -04:00
Matthew R. Kasun
6aa1a68a6f
register command - client
2022-04-13 15:25:35 -04:00
Matthew R. Kasun
199ea15b1d
add VerifyConnection func to NewTLSConf as InsecureSkipVerify:false doesn't work
...
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-04-13 11:58:15 -04:00
Matthew R. Kasun
a0e7163e7e
program to generate initial server certs/key
2022-04-12 17:19:24 -04:00
Matthew R. Kasun
ab8cf43b3b
remove debug logs
...
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-04-12 15:43:53 -04:00
Matthew R. Kasun
9897b2228c
mqttSetup refactor
...
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-04-12 15:16:06 -04:00
Matthew R. Kasun
935567761b
mq direct to server public ip
2022-04-12 10:43:02 -04:00
dcarns
94d843c3bd
Merge pull request #953 from gravitl/feature_v0.12.2_list_id
...
Feature v0.12.2 list
2022-03-23 20:33:35 -04:00
john s
d1fb0b90af
netclient: math.Rand -> crypto.Rand ( #956 )
...
* netclient: math.Rand -> crypto.Rand
Signed-off-by: John Sahhar <john@gravitl.com>
* netclient: math.Rand -> crypto.Rand
* add tests
Signed-off-by: John Sahhar <john@gravitl.com>
* netclient: math.Rand -> crypto.Rand
* add test
Signed-off-by: John Sahhar <john@gravitl.com>
2022-03-23 12:06:26 -06:00
0xdcarns
a477eaa767
added local node ID's to list command
2022-03-22 15:33:38 -04:00
0xdcarns
4cd75f2985
initial commit
2022-03-22 15:13:48 -04:00
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