afeiszli
13db6ced0c
adding separator
2022-04-25 20:07:47 -04:00
0xdcarns
cfb0904bd6
refactor + bugs
2022-04-25 19:33:31 -04:00
0xdcarns
a6ee8101e6
small refactors
2022-04-25 19:28:56 -04:00
Alex Feiszli
baeae557ce
Merge pull request #1033 from gravitl/bugfix_v0.13.0_cidr_parsing
...
Bugfix v0.13.0 cidr parsing
2022-04-25 16:48:08 -04:00
afeiszli
6766219574
fix cidr parsing
2022-04-25 20:37:05 -04:00
0xdcarns
68b52279ae
added peers to pull/join responses
2022-04-25 16:30:18 -04:00
dcarns
6c024dd5e5
Merge pull request #1031 from gravitl/feature_v0.13.0_reorder_join_register
...
gen new key and re-register on pull
2022-04-25 14:32:54 -04:00
Matthew R. Kasun
092441441c
redo register on pull
2022-04-25 14:30:51 -04:00
Matthew R. Kasun
e3206c5b4c
gen new key and re-register on pull
2022-04-25 14:04:36 -04:00
dcarns
1b7efe1ced
Merge pull request #1029 from gravitl/feature_v0.13.0_btr_serv_reset
...
added initial notification to clients on server startup
2022-04-25 13:40:51 -04:00
Matthew R. Kasun
1ae9240d86
gen new key and re-register on pull
2022-04-25 13:25:21 -04:00
0xdcarns
dc12b1e418
route changes + primary addr on node
2022-04-25 13:10:54 -04:00
afeiszli
14cebf56a0
rebased off develop
2022-04-25 11:37:30 -04:00
afeiszli
93a25bb9a6
adding freebsd logic and using wgctrl.Device
2022-04-25 11:36:09 -04:00
afeiszli
9a66674a5c
minor logic revisions
2022-04-25 11:36:09 -04:00
afeiszli
91ca96534b
adding comments, removing bad check
2022-04-25 11:36:09 -04:00
afeiszli
6a90cd803a
publishing port changes
2022-04-25 11:36:08 -04:00
afeiszli
5f303cb50a
fixing localport issues
2022-04-25 11:34:55 -04:00
afeiszli
ccc0ed851d
adding local listen port
2022-04-25 11:34:32 -04:00
0xdcarns
773ad9b753
added initial notification to clients on server startup
2022-04-25 11:12:49 -04:00
Matthew R. Kasun
d626cf0e9b
remove write and return error
2022-04-25 11:11:44 -04:00
Matthew R. Kasun
38309aab20
remove cfg.Registered
2022-04-25 11:07:21 -04:00
Matthew R. Kasun
f5aa1d1e62
reorder register/join
2022-04-25 10:38:29 -04:00
Matthew R. Kasun
a8b1d48e02
more certificate cleanup
2022-04-25 06:38:20 -04:00
Matthew R. Kasun
8f8272aad7
certificate cleanup
2022-04-25 06:33:06 -04:00
Matthew R. Kasun
747d6bc692
remove comms network leftovers
...
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-04-22 05:21:35 -04:00
Matthew R. Kasun
7152f6ccd4
remove references to grpc/comms net
2022-04-21 15:53:44 -04:00
Matthew R. Kasun
886ec31553
remove grpc
2022-04-21 15:04:44 -04:00
Matthew R. Kasun
955e0e544c
join as api call
...
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-04-20 15:46:19 -04:00
Matthew R. Kasun
12dfc5f820
refactor leave to use API
...
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-04-20 15:46:19 -04:00
Matthew R. Kasun
b7a18eac1f
refactor pull to use api
...
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-04-20 15:46:19 -04:00
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
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