Commit Graph

221 Commits

Author SHA1 Message Date
Abhishek Kondur
35c8fb3b41 addd server to host update model 2023-01-31 12:48:37 +04:00
Abhishek Kondur
36cf202ad5 extclient info model changes 2023-01-31 12:37:22 +04:00
Abhishek Kondur
841a61a0b2 get consolidated ingress update 2023-01-31 11:10:23 +04:00
Abhishek Kondur
56d26b5ea0 add ingress model to host peer update 2023-01-31 10:21:10 +04:00
Abhishek Kondur
f2d8cf4fb6 add ext peers field to host update 2023-01-31 09:27:36 +04:00
Matthew R Kasun
aad4abc181 remove dependencies on netclient 2023-01-27 14:51:06 -05:00
Abhishek Kondur
af10808cfc skip if ext client doesn't belong to ingress GW 2023-01-27 17:27:44 +04:00
dcarns
a4e5f84be8 Merge pull request #1976 from gravitl/bugfix_v0.18_0_address_of_loop_vars
correct use: address of loop vars
2023-01-25 21:33:17 -05:00
Matthew R Kasun
73dfc6fe47 correct using address of loop vars 2023-01-25 13:21:18 -05:00
Abhishek Kondur
051f60343b reset ingress to older way 2023-01-25 15:35:45 +04:00
0xdcarns
706bba0593 addressed majority of static checks 2023-01-24 11:20:06 -05:00
Abhishek Kondur
63f18f539e GRA-985: rm locallistenport, added proxy public listen port field 2023-01-20 06:26:08 -05:00
Abhishek Kondur
10f724310c change public listen port field 2023-01-18 12:00:26 +05:30
Abhishek Kondur
e290994021 get peer listen via function 2023-01-18 11:14:31 +05:30
Abhishek Kondur
c077e3d1c1 GRA-985: rm locallistenport, added proxy public listen port field 2023-01-18 02:03:19 +05:30
0xdcarns
f4829088ca ignored nodes with PendingDelete set 2023-01-16 14:38:22 -05:00
dcarns
05b068cd89 Merge pull request #1936 from gravitl/proxy_refactor_cleanup
Proxy refactor cleanup
2023-01-16 13:44:56 -05:00
0xdcarns
7d17892344 implemented correct node delete flow 2023-01-14 11:05:03 -05:00
Abhishek Kondur
fad108ca92 rm unused fields 2023-01-14 10:44:20 +05:30
Abhishek Kondur
e9dd9ac0a4 fix fetching uniqueIp 2023-01-13 19:11:40 +05:30
Abhishek Kondur
f129316bfe get extclient allowed ips for ingressGw peer 2023-01-13 10:13:45 +05:30
Abhishek Kondur
2cebece6b7 update peer id map on node peer upate 2023-01-12 14:48:18 +05:30
Abhishek Kondur
599656618d func comments,rm old proxy code 2023-01-10 19:52:54 +05:30
Abhishek Kondur
87ae255a58 rm commented code 2023-01-10 19:10:41 +05:30
Abhishek Kondur
9b1d8b1d89 remove parameters from mq peer msg 2023-01-10 10:49:15 +05:30
Abhishek Kondur
80d9032d47 relay fix 2023-01-10 10:18:03 +05:30
Abhishek Kondur
d373e90597 enable proxy when host is relay and on relayed hosts, add relay related feilds to api host model 2023-01-09 23:03:23 +05:30
Abhishek Kondur
6100f8a466 update go mod 2023-01-09 15:48:51 +05:30
Abhishek Kondur
6385527d01 moved relay to host level, peer updates with relay configuration for host 2023-01-09 11:43:40 +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
2cb3ee65af change proxy models reference paths 2022-12-27 21:56:55 +05:30
Matthew R. Kasun
f42c04e3c6 set allowedip mask to /32 /128 2022-12-27 06:15:29 -05:00
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
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
ad2934a8fc remove allowed ips and local address 2022-12-23 14:07:16 -05:00
Matthew R. Kasun
eae92470c5 refactor of peerUpdate
contains some debugging logging
2022-12-23 13:41:17 -05:00
Matthew R. Kasun
bce2f8a45c fix compile errors 2022-12-22 06:42:33 -05:00
Matthew R. Kasun
770a293049 new constant for wireguard interface name 2022-12-21 03:31:37 -05:00