Commit graph

506 commits

Author SHA1 Message Date
0xdcarns
c2286b3a4b dns fix 2022-04-25 16:48:36 -04:00
0xdcarns
15c44dddad test fix 2022-04-25 16:43:54 -04:00
0xdcarns
68b52279ae added peers to pull/join responses 2022-04-25 16:30:18 -04:00
0xdcarns
1b17bcd087 remove unnecessary test 2022-04-25 13:28:00 -04:00
0xdcarns
7654556a3a bugfix tweaks 2022-04-25 13:10:55 -04:00
0xdcarns
8b84692455 new allowed ips fix 2022-04-25 13:10:55 -04:00
0xdcarns
3ca9843328 small bug fixes 2022-04-25 13:10:55 -04:00
0xdcarns
99abd9666d removed required status for ipv6 and added check on create network 2022-04-25 13:10:55 -04:00
0xdcarns
dc12b1e418 route changes + primary addr on node 2022-04-25 13:10:54 -04:00
0xdcarns
8e976d1f55 removed isdualstack references 2022-04-25 13:09:23 -04:00
Matthew R. Kasun
f5aa1d1e62 reorder register/join 2022-04-25 10:38:29 -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
33746a7bf6 eliminate superfluous response.WriteHeader call 2022-04-21 14:22:34 -04:00
Matthew R. Kasun
d319501fbf add logic from grpc CreateNode to api createNode
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-04-20 16:32:51 -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
34cac9ced0 allow nodes to authorize for certain controller/node endpoints 2022-04-20 15:46:19 -04:00
Matthew R Kasun
a3f44f152b
Merge pull request #1016 from gravitl/feature_v0.13.0_mq_register
Feature v0.13.0 mq register
2022-04-20 09:33:33 -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
1cbbd52e7d fixed comment
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-04-18 09:47:01 -04:00
Matthew R. Kasun
94b89dfff1 Merge branch 'feature_v0.13.0_mq_cleanup' into feature_v0.13.0_mq_register 2022-04-18 09:27:51 -04:00
Matthew R. Kasun
d312bf6636 return certs in correct order
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-04-18 09:22:11 -04:00
Matthew R. Kasun
f8fe382c02 cleanup and comments 2022-04-16 16:43:10 -04:00
Matthew R. Kasun
eae74e3430 gen certs with go rather than openssl 2022-04-16 08:37:55 -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
7524f08146 response update
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-04-15 13:43:05 -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
3e6a9be9ba return struct 2022-04-13 18:22:03 -04:00
Matthew R. Kasun
8c1eedc385 parse token correctly 2022-04-13 17:57:04 -04:00
Matthew R. Kasun
92d3e40bde logging 2022-04-13 17:33:40 -04:00
Matthew R. Kasun
867a616227 register command - server 2022-04-13 16:22:46 -04:00
dcarns
010c1deddc
Merge pull request #1014 from gravitl/feature_v0.13.0_mq_refactor
mq direct to server public ip
2022-04-12 15:57:09 -04:00
Matthew R. Kasun
935567761b mq direct to server public ip 2022-04-12 10:43:02 -04:00
Matthew R. Kasun
8e44eb80c9 remove unnecessary code
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-03-30 18:59:03 -04:00
0xdcarns
5ba79afeba added default acl value option for networks 2022-03-17 13:24:57 -04:00
0xdcarns
ffbc0db33f send created network back in response to net create 2022-03-17 10:08:28 -04:00
0xdcarns
d25ca2d424 ext client MTU 2022-03-15 09:16:15 -04:00
0xdcarns
a3b5c10508 edited logs and used pre-existing mq function 2022-03-11 11:11:03 -05:00
0xdcarns
01484eec7b added ability to disable ext clients 2022-03-11 09:41:14 -05:00
0xdcarns
112f03cf1f changed dir name and added to gitignore, removed log 2022-03-11 08:46:01 -05:00