Commit graph

251 commits

Author SHA1 Message Date
0xdcarns ffbc0db33f send created network back in response to net create 2022-03-17 10:08:28 -04:00
John Sahhar c71c739ba2 logic/accesskeys: math.Rand -> crypto.Rand
This replaces the usage of the non-cryptographically
secure math.Rand with the system CSPRNG accessed via crypto.Rand.

Signed-off-by: John Sahhar <john@gravitl.com>
2022-03-16 22:19:22 -05:00
Matthew R Kasun 9e23e69141
Merge branch 'develop' into worklows 2022-03-15 09:10:10 -04:00
Matthew R. Kasun 628f1f1468 remove debug logs 2022-03-14 16:32:14 -04:00
Matthew R. Kasun 7d2aa4fc82 add network to peer 2022-03-14 15:56:01 -04:00
Matthew R. Kasun 0abba58bfb use string rather than []byte for dns 2022-03-14 14:59:41 -04:00
Matthew R. Kasun ead3570064 debugging log 2022-03-14 14:37:16 -04:00
Matthew R. Kasun fcbdca0263 change order of dns entry 2022-03-14 13:55:38 -04:00
Matthew R. Kasun 649bea1e40 fix typo
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-03-14 13:42:42 -04:00
Matthew R. Kasun 1b8a3ed347 calc dns entries during peerupdate 2022-03-14 11:34:25 -04:00
0xdcarns 8ab7266c30 moved acl check 2022-03-11 15:19:06 -05:00
Alex Feiszli 52c7a5897a
Merge pull request #888 from gravitl/feature_v0.12.0_disabling_ext_clients
added ability to disable ext clients
2022-03-11 12:01:52 -05:00
0xdcarns 80b7862370 made server peer check more efficient 2022-03-11 11:48:08 -05:00
0xdcarns 8385d02987 edited where server sets peers to account for ACLs 2022-03-11 11:48:08 -05:00
0xdcarns 3e8a0554c2 changed dir name and added to gitignore, removed log 2022-03-11 11:48:08 -05:00
0xdcarns 53c662476b comment changes 2022-03-11 11:48:08 -05:00
0xdcarns 18cfdfd2ad added server update on ACL update 2022-03-11 11:48:08 -05:00
0xdcarns 1f6e347213 added acl logic to affect peers 2022-03-11 11:48:08 -05:00
0xdcarns 84a66af3ee log add 2022-03-11 11:48:08 -05:00
0xdcarns 7b5692b8b0 added basic api endpoints 2022-03-11 11:48:08 -05:00
0xdcarns 3d531cb830 added one more test 2022-03-11 11:48:08 -05:00
0xdcarns d3be82cf9d refactored node functions further 2022-03-11 11:48:08 -05:00
0xdcarns 765c264b56 began generalizing 2022-03-11 11:48:08 -05:00
0xdcarns c2514c06d4 refactored some logic to use typed functions 2022-03-11 11:48:08 -05:00
0xdcarns c1e3a79ba7 node ACL logic + tests implemented 2022-03-11 11:48:08 -05:00
0xdcarns 09c54b1c61 began ACL implementation 2022-03-11 11:48:08 -05:00
John Sahhar d322631ebb logic/extpeers: Set IPv6 in CreateExtClient
Signed-off-by: John Sahhar <john@gravitl.com>
2022-03-11 11:48:08 -05:00
0xdcarns 01484eec7b added ability to disable ext clients 2022-03-11 09:41:14 -05:00
0xdcarns 9f7afdcf37 made server peer check more efficient 2022-03-11 09:04:12 -05:00
0xdcarns 7eac05528a edited where server sets peers to account for ACLs 2022-03-11 08:59:53 -05:00
0xdcarns 112f03cf1f changed dir name and added to gitignore, removed log 2022-03-11 08:46:01 -05:00
0xdcarns c25ea9fe15 comment changes 2022-03-10 16:01:36 -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 2e43facb8b log add 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
0xdcarns 6061ccec76 began ACL implementation 2022-03-10 14:55:40 -05:00
John Sahhar be0055a630 logic/extpeers: Set IPv6 in CreateExtClient
Signed-off-by: John Sahhar <john@gravitl.com>
2022-03-08 16:12:17 -06:00
afeiszli 3bd4be258f fix gateway error 2022-03-07 14:48:56 -05:00
dcarns e1cb3531e1
Merge pull request #854 from gravitl/feature_0.12.0_host_dns
host dns
2022-03-07 08:58:19 -05:00
Schemen dbe5336a8e Add accept iptables rule for out interface 2022-03-03 11:58:17 +01:00
Matthew R. Kasun d596ec4753 hostctl for dns 2022-03-02 06:28:53 -05:00
afeiszli ccf1293736 fixed hub logic 2022-02-21 11:12:15 -05:00
afeiszli 11b3bc3c09 fixed hub logic 2022-02-21 11:11:46 -05:00
afeiszli 33df27a721 fixed hub logic 2022-02-21 11:08:45 -05:00