Commit graph

610 commits

Author SHA1 Message Date
Abhishek Kondur
26b40c8d97 host relay api logic 2023-01-09 11:42:57 +05:30
Abhishek Kondur
3e2d22a16b add proxy action to peer update 2023-01-09 09:11:39 +05:30
Abhishek Kondur
893f13d8b4 proxy update json marshal fix 2023-01-09 08:12:26 +05:30
Abhishek Kondur
95b578455d proxy updates refactor changes 2023-01-08 18:50:02 +05:30
Abhishek Kondur
6bc3417caf comments for exported funcs 2023-01-06 18:18:25 +05:30
Abhishek Kondur
ca3d9dc40b fix node update 2023-01-06 16:58:41 +05:30
Abhishek Kondur
9f0ef1628c node update fix, nil pointer errors fix 2023-01-06 00:29:55 +05:30
Abhishek Kondur
3f8f841313 Merge branch 'netclient_refactor_latest' of https://github.com/gravitl/netmaker into netclient_refactor_peer_updates 2023-01-05 08:46:49 +05:30
Matthew R. Kasun
8bfe255eab Merge remote-tracking branch 'origin/develop' into netclient_refactor_latest
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2023-01-04 14:16:12 -05:00
Abhishek Kondur
21133bca7d host based updates 2023-01-04 20:02:02 +05:30
Abhishek Kondur
88902f7823 fix host peer update model,add server name to peer update topic 2023-01-04 11:03:13 +05:30
Abhishek Kondur
d99526fd54 peer update for host 2023-01-04 10:04:17 +05:30
Abhishek Kondur
bf2f51ec3b update host struct in memory, set to proxy port if peer host is using proxy 2023-01-03 09:14:48 +05:30
Abhishek Kondur
8a9241d5e2 fix keepalive conversion type 2022-12-30 11:43:48 +05:30
Abhishek Kondur
ba2466aa25 delete node fix, mq modify client if host is already created 2022-12-29 19:25:35 +05:30
0xdcarns
8c92308ccf made mq functions a little easier to read and re-use 2022-12-28 12:10:03 -05:00
Abhishek Kondur
4f6bfc3722 Merge branch 'netclient_refactor_latest' of https://github.com/gravitl/netmaker into proxy_models_refactor 2022-12-28 09:36:31 +05:30
dcarns
91fb01d489
Merge pull request #1878 from gravitl/netclient_refactor_fixes
bug fixes
2022-12-27 22:00:39 -05:00
Abhishek Kondur
2cb3ee65af change proxy models reference paths 2022-12-27 21:56:55 +05:30
dcarns
2df89c196a
Merge pull request #1876 from gravitl/story/GRA-793
consolidated add default hosts to net function
2022-12-27 11:03:52 -05:00
0xdcarns
875718d824 consolidated add default hosts to net function 2022-12-27 10:15:00 -05:00
Abhishek Kondur
d5446fb302 fix node removal from host 2022-12-27 19:47:30 +05:30
Abhishek Kondur
749452af53 merge conflicts resolved 2022-12-27 19:41:10 +05:30
Abhishek Kondur
5f2d73dd52 get host info from db before updating 2022-12-27 17:43:31 +05:30
Matthew R. Kasun
f42c04e3c6 set allowedip mask to /32 /128 2022-12-27 06:15:29 -05:00
Abhishek Kondur
fd172caa06 change cidr mask to /32 for peer allowed ips 2022-12-27 12:49:00 +05:30
Matthew R. Kasun
319193c18a update IsIPUnique
also:
 - remove unnecessary call to UpertHost in create node
 - remove debugging logs
2022-12-23 18:06:59 -05:00
dcarns
afc1812ef3
Merge pull request #1870 from gravitl/story/GRA-793
Add default hosts to network upon creation
2022-12-23 17:09:03 -05:00
Matthew R. Kasun
f5db3fd853 refactor of peerUpdate
contains some debugging logging
2022-12-23 16:12:45 -05:00
Matthew R Kasun
a371b7ae21
Merge branch 'netclient_refactor_latest' into GRA-824-getPeerUpdate 2022-12-23 15:59:55 -05:00
0xdcarns
2b3747cc33 added function to get default hosts 2022-12-23 15:56:33 -05:00
0xdcarns
8058640cdf change local address and join create func 2022-12-23 14:22:34 -05:00
0xdcarns
ad2934a8fc remove allowed ips and local address 2022-12-23 14:07:16 -05:00
0xdcarns
368d01ff10 removed localaddress 2022-12-23 14:06:39 -05:00
Matthew R. Kasun
eae92470c5 refactor of peerUpdate
contains some debugging logging
2022-12-23 13:41:17 -05:00
0xdcarns
df614d6d4f added associate and dissasociate functions 2022-12-23 13:03:33 -05:00
0xdcarns
5f5f8be5d5 created functions 2022-12-23 12:38:22 -05:00
0xdcarns
309cfff577 updated controllers to use conversion routines 2022-12-22 15:44:42 -05:00
dcarns
7328fbd351
Merge pull request #1849 from gravitl/fix_peer_errors
fix compile errors
2022-12-22 08:49:08 -05:00
Matthew R. Kasun
bce2f8a45c fix compile errors 2022-12-22 06:42:33 -05:00
Matthew R. Kasun
1a4fa60bdf comment for public var 2022-12-21 16:15:00 -05:00
dcarns
54691d94cf
Merge pull request #1843 from gravitl/GRA-824-refactor-join
set mask on address sent to node
2022-12-21 15:01:13 -05:00
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
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
dcarns
f3d9840824
Merge pull request #1840 from walkerwmanuel/story/GRA-825
Refactored user functions to use references rather than values
2022-12-21 12:19:18 -05:00
Matthew R. Kasun
b51ee38db5 set mask on address sent to node 2022-12-21 12:04:06 -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