Commit graph

491 commits

Author SHA1 Message Date
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
0xdcarns 09551776fa added server update on ACL update 2022-03-10 14:55:40 -05:00
0xdcarns af8918e35f added acl logic to affect peers 2022-03-10 14:55:40 -05:00
0xdcarns 03d35528cc removed unneccasy api exposure 2022-03-10 14:55:40 -05:00
0xdcarns aefc8b090b added basic api endpoints 2022-03-10 14:55:40 -05:00
0xdcarns 9668a84cd0 added one more test 2022-03-10 14:55:40 -05:00
0xdcarns 68c7014802 refactored node functions further 2022-03-10 14:55:40 -05:00
0xdcarns 1d92e4cf5a began generalizing 2022-03-10 14:55:40 -05:00
0xdcarns da25da775c refactored some logic to use typed functions 2022-03-10 14:55:40 -05:00
0xdcarns a8043accc9 node ACL logic + tests implemented 2022-03-10 14:55:40 -05:00
afeiszli 33f7ed52a3 remove iscomms filter on getnodes 2022-03-07 20:23:18 -05:00
0xdcarns 3e18687612 reallowed the editing of comms network 2022-02-28 09:50:03 -05:00
0xdcarns 324d2ba70c moved telemetry check and generated comms CIDR better 2022-02-22 14:53:40 -05:00
0xdcarns 26c70bb2f1 changed logs and saved private key 2022-02-21 15:38:46 -05:00
0xdcarns 4f181a950c disallowed comms access to non admins 2022-02-21 09:42:39 -05:00
0xdcarns a2392721e9 removed filter 2022-02-21 09:05:41 -05:00