Commit graph

4139 commits

Author SHA1 Message Date
Matthew R Kasun
996a08ba93
Merge branch 'netclient_refactor_latest' into GRA-824-save-hostpass 2022-12-21 14:45:18 -05:00
Matthew R. Kasun
bc47ef4868 encrypt and save hostpass on HostCreate 2022-12-21 14:43:46 -05:00
dcarns
69dd23b34c
Merge pull request #1839 from gravitl/story/GRA-823
tech(GRA-823): add node DTO
2022-12-21 14:28:06 -05:00
0xdcarns
8f8335aa4f finished model conversion 2022-12-21 14:06:33 -05:00
Matthew R. Kasun
b07504c286 fix logic 2022-12-21 13:01:32 -05:00
Matthew R. Kasun
3baf5fb6fd reorder brackets 2022-12-21 12:54:52 -05:00
Matthew R. Kasun
72cce05ae6 missing bracket 2022-12-21 12:51:21 -05:00
Matthew R. Kasun
b51ee38db5 set mask on address sent to node 2022-12-21 12:04:06 -05:00
0xdcarns
e92f524fbe finished convert api to nm node 2022-12-21 11:56:29 -05:00
Aceix
d1c51aed24 tech(GRA-823): address comments 2022-12-21 10:17:20 -05:00
Aceix
dcad50d0ee tech(GRA-823): add node DTO 2022-12-21 10:17:20 -05:00
dcarns
6e05834399
Merge pull request #1841 from gravitl/GRA-824-refactor-join
Gra 824 refactor join
2022-12-21 10:05:39 -05:00
Matthew R. Kasun
23590a1d4a fix panic set node defaults for non dualstack network 2022-12-21 06:50:51 -05:00
Matthew R. Kasun
9c8331e6b8 add validation function for defaultacl 2022-12-21 06:40:43 -05:00
Matthew R. Kasun
716dc3def5 update validations for boolean attributes 2022-12-21 06:29:05 -05:00
Matthew R. Kasun
a219f8f22c create host on join if host does not exist 2022-12-21 06:08:52 -05:00
Matthew R. Kasun
0272e88c0f fix panic joining non-dual stack network 2022-12-21 05:58:52 -05:00
Matthew R. Kasun
770a293049 new constant for wireguard interface name 2022-12-21 03:31:37 -05:00
Matthew R. Kasun
38cd4d7700 refactor join
also removes server node
suspect there may be issues with proxy
and UI interactions with nodes
2022-12-20 15:29:09 -05:00
dcarns
3ba66ec437
Merge pull request #1835 from gravitl/story/GRA-823
initial commit
2022-12-20 08:38:20 -05:00
0xdcarns
9188dd2cdf initial commit 2022-12-19 18:04:55 -05:00
Matthew R. Kasun
c086e9499d rebase
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-12-19 15:15:35 -05:00
Matthew R Kasun
a5e6aea563
Merge pull request #1834 from gravitl/story/GRA-822
finished initial crud for hosts, fixed stun server close bug
2022-12-19 15:13:54 -05:00
0xdcarns
cc529ab3bd finished initial crud for hosts, fixed stun server close bug 2022-12-19 14:55:24 -05:00
dcarns
f267648286
Merge pull request #1833 from gravitl/GRA-821-host-model
new host model
2022-12-19 11:15:45 -05:00
Matthew R. Kasun
4f303dd4c5 add comment for public type 2022-12-19 11:03:14 -05:00
Matthew R. Kasun
dd80fd6ab4 new host model 2022-12-19 10:41:55 -05:00
Matthew R Kasun
55f7a0eb02
Merge pull request #1828 from gravitl/story/GRA-752
fix(GRA-752f): add address string to be sent to frontend
2022-12-16 07:42:07 -05:00
dcarns
8088d24b46
Merge pull request #1823 from gravitl/netclient_refactor_update
remove netclient releated workflows
2022-12-14 15:18:12 -05:00
Matthew R. Kasun
44e8ecd875 remove netclient releated workflows 2022-12-14 10:17:37 -05:00
Matthew R Kasun
4e4c8eab6f
Merge pull request #1810 from gravitl/netclient_refactor_update
add endpoint for re-joins (migration)
2022-12-14 08:09:53 -05:00
Aceix
457060d41a fix(GRA-752f): add address string to be sent to frontend 2022-12-14 11:39:33 +00:00
dcarns
b2a7d1f92b
Merge pull request #1816 from gravitl/feature_proxy_ingress_routing
Feature proxy ingress routing
2022-12-13 08:17:05 -05:00
Abhishek Kondur
96598e0f1d remove commented code 2022-12-13 17:36:36 +05:30
Abhishek Kondur
792dc686d9 check if proxy is enabled 2022-12-13 10:45:57 +05:30
Abhishek Kondur
8cf3144013 publish proxy for ext peers 2022-12-13 10:44:28 +05:30
Abhishek Kondur
759b9bc6cd rm ext cidr 2022-12-13 01:14:28 +05:30
Abhishek Kondur
38651502f4 update go mod 2022-12-12 22:59:05 +05:30
Abhishek Kondur
07dd20734d extclients internal ips 2022-12-12 22:49:35 +05:30
Abhishek Kondur
83dfa1f920 add proxy listen port to peer config 2022-12-12 10:49:11 +05:30
Abhishek Kondur
8fc09fd5cd fix stun port format,use proxy listen port from node model 2022-12-12 10:33:35 +05:30
Abhishek Kondur
30951d12f9 update go mod 2022-12-12 09:01:06 +05:30
Abhishek Kondur
0b8257f0d7 fix models change, merge conflicts resolved 2022-12-12 08:50:28 +05:30
Matthew R. Kasun
bf2d4ccf1e rejoin using updatenode vice createnode 2022-12-10 06:58:54 -05:00
Matthew R. Kasun
653229feba add endpoint for re-joins (migration) 2022-12-09 17:41:44 -05:00
Matthew R. Kasun
99cf813753 fix yaml tag for HostID 2022-12-09 13:25:24 -05:00
Abhishek Kondur
30bc92a878 update go mod for netclient 2022-12-09 01:17:22 +05:30
Abhishek Kondur
e00199a650 update proxy pkg path 2022-12-09 00:54:11 +05:30
Abhishek Kondur
1dab5ed004 update proxy pkg path 2022-12-09 00:48:47 +05:30
Abhishek Kondur
449a1e25a8 resolve conflicts 2022-12-09 00:05:07 +05:30