Commit graph

384 commits

Author SHA1 Message Date
0xdcarns 01484eec7b added ability to disable ext clients 2022-03-11 09:41:14 -05:00
John Sahhar 0cfa197500 models/extclient: Add Address6 to ExtClient
Signed-off-by: John Sahhar <john@gravitl.com>
2022-03-08 16:08:56 -06: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
0xdcarns e5ebe48e0b set ishub default was missing 2022-03-02 15:08:23 -05:00
Matthew R. Kasun d596ec4753 hostctl for dns 2022-03-02 06:28:53 -05:00
afeiszli f21dad5184 fixed hub logic 2022-02-21 09:45:42 -05:00
0xdcarns 6028e1b6de added comms checks 2022-02-18 19:37:12 -05:00
0xdcarns d87b7002d5 added comms id field to nodes 2022-02-18 16:12:40 -05:00
afeiszli c6a7238453 adding random comms network name logic 2022-02-18 15:18:50 -05:00
afeiszli f55eeedbb9 settings for comms network 2022-02-18 11:11:21 -05:00
afeiszli be1763bb74 removing old node logic 2022-02-18 10:15:21 -05:00
afeiszli 8cd19c20c6 removed unnecessary variables from network, added IsHubAndSpoke 2022-02-18 09:49:58 -05:00
Matthew R. Kasun e8a897f342 checkin logic updated 2022-02-15 15:40:38 -05:00
Matthew R. Kasun 7e9f65ad1b remove corednsAddrr from token 2022-02-15 11:25:50 -05:00
Matthew R. Kasun 5e3654faa9 remove commented out code 2022-02-15 08:10:51 -05:00
Matthew R. Kasun 950ce4b4da removed APIConnString from accessToken 2022-02-15 07:13:02 -05:00
Matthew R. Kasun f3c5800912 removed unnecessary data elements 2022-02-14 17:57:28 -05:00
afeiszli 9400209d97 adding OS and Version 2022-02-03 15:33:19 -05:00
afeiszli 239b9d36fc change queue identifier from server.ID to Network.NetID 2022-02-03 09:51:37 -05:00
Matthew R Kasun 7ac0bfd13a Merge remote-tracking branch 'origin/develop' into feature_v0.10.0_serverPings 2022-01-30 09:18:24 -05:00
0xdcarns ad79f2ea1f addresses review comments 2022-01-29 18:18:46 -05:00
0xdcarns 410efbab50 switched to eliptical strategy 2022-01-29 18:18:46 -05:00
0xdcarns 2d703dce7c refactored continue 2022-01-29 18:18:46 -05:00
0xdcarns 3dadb8dcbf added e.. 2022-01-29 18:18:46 -05:00
0xdcarns aa22afeb95 tracking mod 2022-01-29 18:18:46 -05:00
0xdcarns ac632a75b7 refactored struct 2022-01-29 18:18:46 -05:00
0xdcarns 3483e45beb added struct to model 2022-01-29 18:18:46 -05:00
0xdcarns 48d6d57f25 trying again 2022-01-29 18:18:46 -05:00
0xdcarns 7be2b0e09d adjusted to byte buffer 2022-01-29 18:18:46 -05:00
0xdcarns d27dee0691 debugging 2022-01-29 18:18:46 -05:00
0xdcarns 0015d6fdf8 added encryption/decryption strategy 2022-01-29 18:18:46 -05:00
0xdcarns cd4e2c57d6 added new struct and adapted to funcs 2022-01-29 18:15:52 -05:00
0xdcarns 0d3813295d server update 2022-01-29 18:15:52 -05:00
0xdcarns 26a0d8bdbe initial commit 2022-01-29 18:15:52 -05:00
Matthew R Kasun 513f85ede7 refactor server pings 2022-01-27 09:48:32 -05:00
0xdcarns 27b29baf32 added new struct and adapted to funcs 2022-01-26 10:40:39 -05:00
0xdcarns 424c801c6c server update 2022-01-25 23:04:03 -05:00
0xdcarns d6554ef081 initial commit 2022-01-25 22:14:31 -05:00
Matthew R Kasun c239ee3787 Merge branch 'develop' into feature-messageQueue 2022-01-24 06:21:21 -05:00
afeiszli 2f12ded906 adding telemetry 2022-01-20 17:52:49 -05:00
afeiszli 4d2a85f879 adding telemetry 2022-01-20 17:50:42 -05:00
Matthew R Kasun d4399d1321 rebase fixes 2022-01-20 16:39:54 -05:00
0xdcarns 7700a68d5b Cover a legacy case, allow server to run with uuids 2022-01-20 13:00:04 -05:00
0xdcarns df23b50165 refactored more 2022-01-20 12:59:31 -05:00
0xdcarns de4e317aea began transition 2022-01-20 12:56:34 -05:00
Matthew R Kasun a86b9bd380 moved peer determination to server 2022-01-20 12:52:49 -05:00
Matthew R Kasun aa6f7a138b WIP commit to enable rebasing to uuid feature 2022-01-20 12:52:49 -05:00
Matthew R Kasun 496187985e WIP commit 2022-01-20 12:52:49 -05:00
Matthew R Kasun 90b468f9f9 WIP commit to enable rebasing to uuid feature 2022-01-20 12:52:49 -05:00
Matthew R Kasun 3e016ef8b5 WIP commit 2022-01-20 12:50:00 -05:00
Matthew R Kasun 6dff650b08 subscribed message handlers implemented 2022-01-20 12:50:00 -05:00
0xdcarns cbe54ef2cf test 2022-01-18 10:14:27 -05:00
0xdcarns a5495300d0 added logs 2022-01-18 09:06:43 -05:00
0xdcarns 2a5405982e began server client reactive 2022-01-17 18:35:16 -05:00
0xdcarns 2fe8025afa Cover a legacy case, allow server to run with uuids 2022-01-17 14:22:39 -05:00
0xdcarns 545f45d86d refactored more 2022-01-17 14:21:40 -05:00
0xdcarns 64e7791011 restructuring continued 2022-01-17 14:21:40 -05:00
0xdcarns c033be41bb began transition 2022-01-17 14:21:40 -05:00
0xdcarns 548997f9ef optimize further 2021-12-10 21:09:42 -05:00
0xdcarns 85e8c0abb6 memory issue work 2021-12-08 16:52:32 -05:00
afeiszli 1a16e5ad25 fixed dns and keys 2021-11-16 12:20:48 -05:00
afeiszli 84c8299bb0 freebsd working 2021-11-15 11:42:52 -05:00
afeiszli 05d27c8af3 remote route on delete 2021-11-14 19:17:30 -05:00
afeiszli 437955ab90 saving to work on linux 2021-11-14 16:50:20 -05:00
Alex d30877e131
Merge pull request #361 from pete1019/patch-2
Update README.md
2021-10-26 16:22:45 -04:00
0xdcarns 8f72ecbaa0 refactored logic 2021-10-26 12:50:34 -04:00
Adrien Raffin-Caboisse 51a09167fc feat(netclient): add listing of nodes with hostnames 2021-10-15 15:02:32 +02:00
Adrien Raffin-Caboisse b044dd404b feat(models): increase node name length
Custom server name can have more than 12 chars.
2021-10-13 09:37:23 +02:00
afeiszli 875b1d72b9 adding userspace docker server implementation 2021-10-08 22:46:39 -04:00
0xdcarns d7cafbbc4c code linting 2021-10-08 15:07:12 -04:00
0xdcarns 989676e77f Combined client + server code, Added HA ability, minor bug fixes 2021-10-06 17:48:54 -04:00
afeiszli 21ba362eca allowing IsServer to be modified, configurable checkin time, single checkin for linux, moved cfg files 2021-10-02 12:28:17 -04:00
0xdcarns 90cbbfdf4a minor cleanups 2021-09-28 14:08:16 -04:00
0xdcarns 90d941854b made some more efficient images and added set defaults for node reads 2021-09-27 17:51:20 -04:00
afeiszli 3ea101ba5d updating install docs 2021-09-23 00:12:32 -04:00
0xdcarns 0b645a4417 edited non kernel message, fixed comment 2021-09-21 20:32:09 -04:00
afeiszli b828f7b6d9 fixing model 2021-09-18 11:01:34 -04:00
afeiszli 74b15a6a13 fixing relay model 2021-09-18 10:33:14 -04:00
afeiszli 61c2c5f0a0 relay functionality working 2021-09-16 20:00:40 -04:00
afeiszli cacab5c30b fixing donotpropagate 2021-09-14 09:42:31 -04:00
afeiszli cf26b31779 relay server functionality ready to test 2021-09-13 20:25:27 -04:00
0xdcarns 34717417ce began windows userspace implementation 2021-09-10 13:39:51 -04:00
Matthew R Kasun 49f6a6f308 fixed network tests 2021-09-06 15:30:39 -04:00
worker-9 c2a9007b8c automated ext client egress range addition and ext client dns from network 2021-08-25 09:46:45 -04:00
afeiszli 8056f024e2 client mode enablement 2021-08-19 13:41:04 -04:00
afeiszli 1eb9decb15 fixing default dns settings 2021-08-11 12:19:28 -04:00
worker-9 47fe905438 added dualstack default from parent net 2021-08-10 13:32:35 -04:00
worker-9 9b37940c1a changed stuff to make it work 2021-08-10 12:15:30 -04:00
afeiszli b38a3688a8 removing vulnerability 2021-08-09 17:59:54 -04:00
afeiszli e333d04e72 removing vulnerability 2021-08-09 17:57:40 -04:00
worker-9 31e81342fb user security bug fixed 2021-08-09 16:18:24 -04:00
worker-9 4f9ce3635a fixed name issue 2021-08-09 15:08:53 -04:00
worker-9 ba4a177bfd added logo and updated version 2021-08-09 14:56:27 -04:00
afeiszli f496beac4e static configs 2021-08-09 14:28:43 -04:00
afeiszli aae89cbaca static configs 2021-08-09 14:13:19 -04:00
afeiszli 382901b124 changed logs 2021-08-09 12:43:09 -04:00
worker-9 1c521934ba added node names 2021-08-09 10:58:09 -04:00
worker-9 7ec18afbbe node update bug 2021-08-06 17:35:31 -04:00
worker-9 095ff2fbfc added egress as pull change 2021-08-06 13:47:39 -04:00
worker-9 94cf8bfbc6 added egress action 2021-08-06 13:39:14 -04:00
worker-9 09a35eabd0 fixed roaming and ip forwarding default 2021-08-06 12:32:41 -04:00
worker-9 5d4d3fd6d1 moved something 2021-08-05 23:34:40 -04:00
worker-9 68a3109cae bug squashin 2021-08-05 16:46:23 -04:00
worker-9 102aff9fd4 bug squashin 2021-08-05 13:47:05 -04:00
worker-9 f5c4258a55 Fixed node defaults 2021-08-05 12:55:20 -04:00
worker-9 0b2a830e4d Fixed unique db checks 2021-08-05 12:52:50 -04:00
worker-9 e029979ab6 I push 2021-08-05 12:39:01 -04:00
worker-9 44d03f6805 began refactoring of client 2021-08-05 12:24:16 -04:00
worker-9 fb5f08be5a Fixed client and server issues with updates and dns before db connect 2021-07-28 16:08:50 -04:00
afeiszli 12c4fa33f5 v0.7 2021-07-28 02:23:20 +00:00
afeiszli 60ef0e80b7 fixed egress gateway 2021-07-27 17:32:07 +00:00
afeiszli 4710a3db6d updated netclient for egressgatways 2021-07-27 14:48:58 +00:00
afeiszli 037271f0aa removing pubkey update 2021-07-26 17:57:50 +00:00
afeiszli b35cac8c5e added ifs to update 2021-07-26 12:24:36 -04:00
afeiszli f1cac641dc rando logs 2021-07-25 20:42:07 +00:00
afeiszli 9fb01f9620 updating netclient 2021-07-25 20:05:31 +00:00
afeiszli fd223e3d4a refactored nodes model 2021-07-24 16:13:24 -04:00
afeiszli a982b62445 refactoring validation and models 2021-07-23 18:24:34 -04:00
afeiszli 93b0b94788 Mid way through adopting rqlite 2021-07-21 18:55:19 -04:00
afeiszli c360eb1878 fixing merge problems 2021-07-15 15:17:33 -04:00
afeiszli 68607ae8ca fixing netclient 2021-07-15 15:14:48 -04:00
afeiszli d41207172c Added logging and user specific requests 2021-07-14 16:47:05 -04:00
afeiszli b33f5b2fab fixing validation 2021-07-11 10:28:50 -04:00
afeiszli 9860082b7c token configs and secure grpc working 2021-07-11 10:18:31 -04:00
afeiszli 977da6b129 compiling with changes pushed for json token. Have NOT TESTED. Will probably run into issues. Need to test multiple egress ranges, AllowedIPs, and overriding connection strings. 2021-07-11 00:49:31 -04:00
afeiszli e11a15dfff figured out how to get GRPC working 2021-07-10 20:11:19 -04:00
afeiszli ccce74be97 added setting node limits 2021-07-02 23:25:36 -04:00
afeiszli 041b641e17 multitenancy working 2021-07-02 00:03:46 -04:00
afeiszli e732d180fd fixing server 2021-06-02 02:32:20 +00:00
afeiszli be0d274ca6 making changes to grpc comms vars 2021-06-01 18:40:04 -04:00
afeiszli 1c6b8f8a2b add port to token 2021-06-01 19:28:01 +00:00
afeiszli 9813fd24a3 fixed server config api 2021-06-01 15:14:34 +00:00
Alex a8dc388640
Merge branch 'develop' into feature_v0.5_netclient 2021-05-29 15:15:27 -04:00
afeiszli afa4f1e8bb netclient grpc registration working 2021-05-29 15:12:15 -04:00
root d566d010ae got grpc private comms working 2021-05-29 19:06:35 +00:00
afeiszli 6c13f06001 feature_v0.5_netclient 2021-05-29 13:22:18 -04:00
afeiszli 4e758d67aa tests working locally 2021-05-28 10:04:07 -04:00
afeiszli 8e9a0b46aa test changes 2021-05-27 17:21:28 -04:00
root 884037e228 ingress gateway functional 2021-05-27 18:54:24 +00:00
afeiszli aaf184fabd set ingress gateway endpoint 2021-05-25 18:05:21 -04:00
afeiszli 85af4dd85f set ingress gateway endpoint 2021-05-25 18:05:14 -04:00
afeiszli 5db62d22d7 changing returnNode pointers 2021-05-25 16:40:44 -04:00
afeiszli b930027a95 modify access key 2021-05-25 16:09:49 -04:00
afeiszli 78ae219b03 major overhaul initiated 2021-05-25 12:48:04 -04:00
afeiszli 19c22a049e removing alphanum quailfier 2021-05-19 20:18:44 -04:00
afeiszli 29e332edf7 adding extclient functionality 2021-05-19 13:59:10 -04:00
afeiszli 5662a1538e saving progress. Got structs together, made a new controller (backup) and got the api calls created 2021-05-16 09:49:01 -04:00
Matthew R Kasun 073be947c6 Merge branch 'develop' into refactor-controllers 2021-05-09 10:52:42 -04:00
Matthew R Kasun b4490d5a95 remainder of controller common tests 2021-05-09 08:51:49 -04:00
Matthew R Kasun 99474f0d66 refactor node update validation 2021-05-06 16:14:31 -04:00
Matthew R Kasun 646f613b93 refactor validation for node creation 2021-05-06 11:57:32 -04:00
Matthew R Kasun 8ec8731eb5 node create validation test 2021-05-06 10:35:04 -04:00
afeiszli 45eb3b4466 added ipv6 responses 2021-05-06 11:41:11 +00:00
Matthew R Kasun 4b74e52f83 add dns controller tests 2021-05-05 17:24:24 -04:00
Matthew R Kasun a827f8caad Test Cleanup 2021-05-03 17:51:38 -04:00
Matthew R Kasun aa6112a38e Network update validation tests 2021-05-03 07:13:12 -04:00
Matthew R Kasun 699619a371 Fix Access Key tests 2021-05-02 10:46:07 -04:00
Matthew R Kasun 0e1a5f534f Network Validation Test Cases 2021-04-30 23:07:25 -04:00
Matthew R Kasun 2e5511a0ab userHttpController tests complete 2021-04-29 18:14:13 -04:00
afeiszli 5e114cba08 fixing address choosing 2021-04-27 23:40:01 -04:00
afeiszli 22b5a714fd fixing address validation 2021-04-27 23:22:52 -04:00
afeiszli a0dd5929cb adding ipv6 details. Need to test now 2021-04-27 23:17:59 -04:00
afeiszli 3f84ea493f validation now working 2021-04-27 14:41:05 -04:00
afeiszli 7905f09849 saving work. API functioning but validation bad. 2021-04-27 13:57:26 -04:00
afeiszli 482c8616aa created dns api but no testing yet 2021-04-26 23:39:15 -04:00
Matthew R Kasun e40712063c add validation for node.Address 2021-04-25 08:18:43 -04:00
afeiszli 529a511a79 fixed constant peer update issue 2021-04-19 10:49:52 -04:00
afeiszli 675a6ad284 updating models 2021-04-14 13:54:02 -04:00
Alex 0d526aee74
Update network.go 2021-04-13 16:01:54 -04:00
afeiszli 976c1847bf changing private to local for clarity 2021-04-13 10:04:31 -04:00
afeiszli 03ff6f64fa fixing update methods 2021-04-13 03:46:26 -04:00
afeiszli 61958d8109 fixing some bool problems 2021-04-13 03:27:24 -04:00
afeiszli 9839cbd806 adding gateway functionality 2021-04-13 02:55:49 -04:00
afeiszli 2ea497c6ff massive number of changes to schema and error handling. 2021-04-13 00:42:35 -04:00
afeiszli cc81830516 changed all error responses 2021-04-12 23:19:01 -04:00
afeiszli ed947cad88 committing updated script 2021-04-12 15:38:33 -04:00
afeiszli 87727c448a changing default exp time for nodes to 1000 years 2021-04-09 10:53:17 -04:00
afeiszli 1bc00067ed adding returnNode fields for frontend 2021-04-09 10:35:00 -04:00
afeiszli 5725530d56 auto delete timestamp works 2021-04-05 20:47:19 -04:00
afeiszli 3ca3a3e172 peer update functionality 2021-04-05 18:09:21 -04:00
afeiszli 779dc6d499 added access token for ease of configuration 2021-04-05 14:47:07 -04:00
afeiszli c7a6874830 putting netmaker default port 1 above WG port to avoid conflicts with preexisting setups 2021-04-01 14:51:16 -04:00
afeiszli aeb13da21b changed wirecat --> netmaker. Changed defaults to be more sensible 2021-04-01 14:50:18 -04:00
afeiszli 0bacbd9f6c first commit 2021-03-25 12:17:52 -04:00