Commit graph

416 commits

Author SHA1 Message Date
afeiszli
72e7f6bfde fixing get config 2021-08-19 19:00:23 -04:00
afeiszli
cd37d7701b removing some errors 2021-08-19 17:35:14 -04:00
afeiszli
8056f024e2 client mode enablement 2021-08-19 13:41:04 -04:00
worker-9
9d2962a171 added version and fixed script and doc stuff 2021-08-16 16:30:55 -04:00
worker-9
f5f06f9f8f dns on for nodes 2021-08-10 13:47:36 -04:00
worker-9
324337eac1 added auth stuff 2021-08-10 12:52:22 -04:00
worker-9
fa2d8ef8ee changed not and else 2021-08-10 11:30:58 -04:00
worker-9
46d6899982 ispending bug fix and node auth fix 2021-08-10 10:55:48 -04:00
worker-9
c799df59ce edited auth for deleted nodes 2021-08-09 22:31:01 -04:00
afeiszli
70493754b2 ripping out wg grpc stuff 2021-08-09 17:34:13 -04:00
afeiszli
59cf51a659 static configs 2021-08-09 17:04:16 -04:00
worker-9
31e81342fb user security bug fixed 2021-08-09 16:18:24 -04:00
worker-9
0bdaaf8b63 fixed name issue 2021-08-09 15:32:04 -04:00
afeiszli
aae89cbaca static configs 2021-08-09 14:13:19 -04:00
afeiszli
f8df4b571b fixing login err 2021-08-09 13:30:40 -04:00
afeiszli
382901b124 changed logs 2021-08-09 12:43:09 -04:00
worker-9
c5fc65ebdf dns checks 2021-08-06 17:48:46 -04:00
worker-9
f26f7b4097 logs removal 2021-08-06 17:14:17 -04:00
worker-9
60c5f06679 switched ingress stuff 2021-08-06 16:53:17 -04:00
worker-9
7a61af2fce switched ingress ext client call params 2021-08-06 16:38:04 -04:00
worker-9
d694930aa9 ingress change 2021-08-06 15:45:22 -04:00
worker-9
22eb39e8cd egress change 2021-08-06 15:42:12 -04:00
worker-9
013230eb1e removed allowedip for egress gateways 2021-08-06 14:09:42 -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
bed63c1e15 added egress gateway status to peers 2021-08-06 13:17:42 -04:00
worker-9
2b9590cc63 added local address to peers 2021-08-06 12:41:40 -04:00
worker-9
618fcd6bee moved something 2021-08-05 23:38:34 -04:00
worker-9
5d4d3fd6d1 moved something 2021-08-05 23:34:40 -04:00
worker-9
049126a9f0 moved something 2021-08-05 23:08:59 -04:00
worker-9
27de1580e9 fixed udp ports? 2021-08-05 21:49:44 -04:00
worker-9
72f053b5c2 bug squashin 2021-08-05 16:06:19 -04:00
worker-9
6210c34bee bug squashin 2021-08-05 16:02:42 -04:00
worker-9
18d1a72dd8 bug squashin 2021-08-05 15:27:05 -04:00
worker-9
9e495569f2 bug squashin 2021-08-05 14:27:37 -04:00
worker-9
a58a6be665 bug squashin 2021-08-05 14:19:19 -04:00
worker-9
3f1ce8be7a bug squashin 2021-08-05 14:15:32 -04:00
worker-9
57e5414668 bug squashin 2021-08-05 14:10:35 -04:00
worker-9
ebcaf7e244 bug squashin 2021-08-05 14:01:16 -04:00
worker-9
102aff9fd4 bug squashin 2021-08-05 13:47:05 -04:00
worker-9
20f8bc8214 bug squashin 2021-08-05 13:32:06 -04:00
worker-9
736bcc3e55 Fixed nil err in isempty record 2 2021-08-05 13:11:21 -04:00
worker-9
8337daf007 Fixed node count err 2021-08-05 13:03:05 -04:00
worker-9
3a49eb3b4c changed check to network http create 2021-08-05 12:25:16 -04:00
worker-9
44d03f6805 began refactoring of client 2021-08-05 12:24:16 -04:00
afeiszli
a2f27e27ec added netmaker check on checkin 2021-08-02 14:56:23 -04:00
afeiszli
be1d8d48ea added netmaker check on checkin 2021-08-02 14:54:09 -04:00
afeiszli
4385131bc6 added netmaker check on checkin 2021-08-02 14:50:01 -04:00
afeiszli
8d27876a15 added netmaker check on checkin 2021-08-02 12:34:25 -04:00
afeiszli
2bf5a69845 added netmaker check on checkin 2021-08-02 12:14:35 -04:00
afeiszli
7e7cf40d24 adding setpeers to client 2021-07-28 23:08:00 -04:00
worker-9
cdbbc4bb68 added peer checking 2021-07-28 22:14:06 -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
621c097499 attempting to fix permissions 2021-07-28 12:18:20 -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
6d18c67ea0 adding logs to server join 2021-07-26 14:11:46 -04: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
eec7a8f61a making sure all changes are in 2021-07-26 15:08:25 +00: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
4a6ebfc108 added udp holepunching 2021-07-25 14:22:20 -04: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
d22ad13cfe Began converting to rqlite 2021-07-20 17:18:45 -04:00
afeiszli
f9b987767a added logging 2021-07-19 11:30:27 -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
4cf5aad2e7 fixing validation 2021-07-11 10:51:21 -04:00
afeiszli
45895f5f93 fixing validation 2021-07-11 10:35:01 -04:00
afeiszli
2178612d60 fixing validation 2021-07-11 10:28:57 -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
c97bb95203 added setting node limits 2021-07-02 23:31:40 -04:00
afeiszli
ccce74be97 added setting node limits 2021-07-02 23:25:36 -04:00
Alex
7d2af0cf38
Merge pull request #192 from gravitl/feature_v0.6_multitenancy
Feature v0.6 multitenancy
2021-07-02 22:04:44 -04:00
afeiszli
4424432879 fix tests 2021-07-02 00:28:57 -04:00
afeiszli
67e2eebb7d fix tests 2021-07-02 00:22:08 -04:00
afeiszli
20f6d5b6ac multitenancy working 2021-07-02 00:03:54 -04:00
afeiszli
041b641e17 multitenancy working 2021-07-02 00:03:46 -04:00
Karmanyaah Malhotra
b4fbbeb869 Concat host/port with net package
This makes sure IPv6 addresses are treated properly
2021-06-09 13:11:37 -04:00
afeiszli
4f3a2bc3c8 netmaker default network add --fixed 2021-06-02 16:18:42 +00:00
afeiszli
2a4395014e got server side client registration working 2021-06-02 15:13:47 +00:00
afeiszli
e732d180fd fixing server 2021-06-02 02:32:20 +00:00
afeiszli
085877ace2 making changes to grpc comms vars 2021-06-01 18:40:14 -04:00
afeiszli
be0d274ca6 making changes to grpc comms vars 2021-06-01 18:40:04 -04:00
afeiszli
3d685e15c0 add port to token 2021-06-01 19:32:20 +00:00
afeiszli
778bdef485 Merge branch 'feature_v0.5_integration' of https://github.com/gravitl/netmaker into feature_v0.5_integration 2021-06-01 19:28:50 +00:00
afeiszli
1c6b8f8a2b add port to token 2021-06-01 19:28:01 +00:00
Alex
fd04bb7450
Merge branch 'feature_v0.5_integration' into feature_v0.5_docs 2021-06-01 12:25:49 -04:00
afeiszli
742f019f9b fixed grpc registration 2021-06-01 16:23:37 +00:00
afeiszli
a681750195 register now working 2021-06-01 12:23:05 -04:00
afeiszli
9813fd24a3 fixed server config api 2021-06-01 15:14:34 +00:00
afeiszli
963a3d1b92 fixed readme, composes, netclient push/pull 2021-06-01 00:36:08 +00:00
afeiszli
cd49cff809 feature_v0.5_uiint 2021-05-31 18:05:48 -04:00
afeiszli
b3655d2fdf fixed startup logs. Removed comms from network list 2021-05-30 11:26:10 -04:00
afeiszli
8dfd81794d UI integration 2021-05-30 08:05:05 -04:00
afeiszli
990946e431 UI integration 2021-05-30 08:04:40 -04:00
afeiszli
da8918e26e fixing tests 2021-05-29 20:39:17 +00:00
afeiszli
e08ce5df63 fixing tests 2021-05-29 20:31:46 +00:00
afeiszli
02bf77a1a1 fixing tests 2021-05-29 20:24:49 +00:00
afeiszli
4f531e1c54 admin user auth working 2021-05-29 20:18:22 +00:00
root
d566d010ae got grpc private comms working 2021-05-29 19:06:35 +00:00
root
6bb3695465 saving changes 2021-05-29 17:24:13 +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
afeiszli
cab7bb681f test changes 2021-05-27 16:48:47 -04:00
afeiszli
a842f4a32b netclient working for ingress controller 2021-05-27 15:00:56 -04:00
afeiszli
112b01f526 netclient working for ingress controller 2021-05-27 14:57:59 -04:00
afeiszli
c27c863d6a netclient for ingress gateway now working 2021-05-27 14:56:08 -04:00
root
884037e228 ingress gateway functional 2021-05-27 18:54:24 +00:00
root
0517fa399d saving docker compose changes 2021-05-26 11:57:13 +00:00
root
1001d43abe saving docker compose changes 2021-05-26 11:55:52 +00:00
afeiszli
85af4dd85f set ingress gateway endpoint 2021-05-25 18:05:14 -04:00
afeiszli
3996d48380 auto generate clientid 2021-05-25 17:57:06 -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
root
c5c38f0856 fixing extclient controller 2021-05-20 02:09:48 +00:00
afeiszli
47f5dc95dc add gateway to node response 2021-05-19 20:39:57 -04:00
afeiszli
f5743a1626 fixing conf file 2021-05-19 19:27:22 -04:00
afeiszli
f031087afc fixing mongo post 2021-05-19 14:22:59 -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
f8d6ca06c7 addition of responseHttp tests 2021-05-10 14:29:03 -04:00
Matthew R Kasun
4c73ff49da addition of nodeHttpController tests 2021-05-10 11:44:19 -04:00
Matthew R Kasun
e2d7d9024a fix test failures 2021-05-09 15:46:31 -04:00
Matthew R Kasun
bb2bb0e1ee fixed tests 2021-05-09 13:31:50 -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
afeiszli
e34102a342 hotfixing dns 2021-05-06 17:26:32 +00: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
0765c92efd ipv6 and private dns now working. docs updated. 2021-05-06 14:33:05 +00:00
afeiszli
2199e4f2f8 adding ipv6 responses 2021-05-06 11:49:39 +00:00
afeiszli
45eb3b4466 added ipv6 responses 2021-05-06 11:41:11 +00:00
afeiszli
4ddd83aefb new config fully functional 2021-05-06 00:41:28 +00:00
afeiszli
de3d81db3a configs mostly working. Need to add in public dns default check. 2021-05-05 22:03:37 +00:00
Matthew R Kasun
4b74e52f83 add dns controller tests 2021-05-05 17:24:24 -04:00
afeiszli
46a81c9767 refactoring logic in main 2021-05-05 20:42:17 +00:00
afeiszli
731f938efe dns working 2021-05-05 00:44:23 +00:00
afeiszli
2b77ae6723 dns server setup 2021-05-04 21:36:55 +00: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
ce0cd9cd54 SecurityCheck tests 2021-05-02 16:58:03 -04:00
Matthew R Kasun
74f6b5639d GetNetwork tests 2021-05-02 15:54: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
c533bf7183 updated test/user tests 2021-04-30 11:30:19 -04:00
Matthew R Kasun
2e5511a0ab userHttpController tests complete 2021-04-29 18:14:13 -04:00
Matthew R Kasun
97119f86f1 Delete User Test 2021-04-28 13:49:24 -04:00
Matthew R Kasun
3a702ab3f5 fix return value for network.NodesLastModified 2021-04-28 11:12:48 -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
6b26999db6 fixed validation 2021-04-27 22:00:43 -04:00
afeiszli
bcbda3faac coredns api working 2021-04-27 21:07:37 -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
Matthew R Kasun
ae826002cd fixed network tests that failed with nodes 2021-04-24 18:03:26 -04:00
Matthew R Kasun
f28937c1f6 cleanup 2021-04-23 16:19:02 -04:00
Matthew R Kasun
21e66a1e88 sunny day scenarios for node tests 2021-04-22 16:52:44 -04:00
Ubuntu
fa3faf778d fixed JWT token auth 2021-04-20 01:50:58 +00:00
Matthew R Kasun
3ec0505a57
Merge branch 'develop' into fix-tests 2021-04-19 12:02:01 -04:00
Matthew R Kasun
420bfe0f6b CheckInInterval tests working 2021-04-19 11:56:57 -04:00
Alex
5d8d279d4d
Merge branch 'develop' into bugfix_v0.2_misc 2021-04-19 10:53:36 -04:00
afeiszli
529a511a79 fixed constant peer update issue 2021-04-19 10:49:52 -04:00
Alex
c194f84e9e
Merge pull request #100 from gravitl/bugfix_v0.2_misc
Bugfix v0.2 misc
2021-04-19 10:07:07 -04:00
afeiszli
c6714bcb8e gateway now appears to be fully functional 2021-04-19 10:02:30 -04:00
Matthew R Kasun
ed80a219b9 key tests updated 2021-04-17 16:52:53 -04:00
Matthew R Kasun
1c7dbd42c9 fixed UpdateNetwork/InvalidAddress 2021-04-17 15:12:03 -04:00
Matthew R Kasun
c62dc50d46 userdelete fixed 2021-04-17 14:03:01 -04:00
afeiszli
62ace03f5e gateway works but local address not being set to endpoint. 2021-04-17 12:13:26 -04:00
Matthew R Kasun
e6ccf7a4a1 removed duplicate code from merge conflict 2021-04-16 08:02:12 -04:00
Alex
3144956aff
Merge branch 'develop' into fix-tests 2021-04-16 07:34:48 -04:00
Matthew R Kasun
adcfc74b7b issue #42 fixed 2021-04-15 15:26:15 -04:00
Matthew R Kasun
66fb590be2 added error on attempt to update NetID 2021-04-15 14:48:10 -04:00
afeiszli
e2ec093eaf iptables now being set by client 2021-04-15 09:48:14 -04:00
afeiszli
77914d22b0 turning validation back on and changing response message. 2021-04-14 23:39:39 -04:00
afeiszli
b33f971706 fixing runtime panic on user delete 2021-04-14 22:59:33 -04:00
afeiszli
3a2eb1411a fixing runtime panic on user delete 2021-04-14 22:59:25 -04:00
afeiszli
675a6ad284 updating models 2021-04-14 13:54:02 -04:00
afeiszli
2130fa08a9 fixing postdown for gateway 2021-04-13 16:23:52 -04:00
afeiszli
dbb9975c00 update docs and endpoints 2021-04-13 15:21:37 -04:00
afeiszli
09d9f41745 temp validation testing 2021-04-13 10:25:33 -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
e8364e5828 fixing some bool problems 2021-04-13 03:27:33 -04:00
afeiszli
61958d8109 fixing some bool problems 2021-04-13 03:27:24 -04:00
afeiszli
6bc3a543f9 adding gateway functionality 2021-04-13 02:55:58 -04:00
afeiszli
9839cbd806 adding gateway functionality 2021-04-13 02:55:49 -04:00
afeiszli
587442dfe3 adding necessary changes for client and server key to work 2021-04-13 01:10:57 -04:00
afeiszli
2ea497c6ff massive number of changes to schema and error handling. 2021-04-13 00:42:35 -04:00
afeiszli
569092eb69 changed all error responses 2021-04-12 23:19:15 -04:00
afeiszli
cc81830516 changed all error responses 2021-04-12 23:19:01 -04:00
Alex
8d434bd43c
Merge branch 'develop' into bugfix_v0.2_portconflicts 2021-04-07 09:42:28 -04:00
afeiszli
d8467cc2dd removed unnecessary dependency 2021-04-07 09:40:53 -04:00
afeiszli
0ad06984e6 fixed conflicting password issue 2021-04-07 09:39:40 -04:00
afeiszli
f3f2140f23 add remove server from networks with api. Add to default network by default. 2021-04-06 19:13:34 -04:00
afeiszli
5b955f2201 returning string for access key 2021-04-06 12:33:01 -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
1f377997cb fixed client side for multinet and added group filter to query params server side. 2021-04-05 11:06:30 -04:00
afeiszli
aeb13da21b changed wirecat --> netmaker. Changed defaults to be more sensible 2021-04-01 14:50:18 -04:00
afeiszli
2063b3dcdc adding returns for auth to remove superfluous writeheader calls 2021-03-26 16:13:51 -04:00
afeiszli
e489a18492 hotfixes for repo. Now works. 2021-03-25 22:29:36 -04:00
afeiszli
0bacbd9f6c first commit 2021-03-25 12:17:52 -04:00