Commit graph

161 commits

Author SHA1 Message Date
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
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
0xdcarns ae1b2e0e3f added sort before peer update 2022-12-20 11:50:58 -05:00
Matthew R. Kasun c086e9499d rebase
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-12-19 15:15:35 -05:00
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 0b8257f0d7 fix models change, merge conflicts resolved 2022-12-12 08:50:28 +05:30
Abhishek Kondur e00199a650 update proxy pkg path 2022-12-09 00:54:11 +05:30
Abhishek Kondur d8075e69c6 add alias internal ip to ext clients 2022-12-08 19:48:47 +05:30
Abhishek Kondur 728c24c16a avoid getting relay allowed ips if node is using proxy 2022-12-07 17:22:17 +05:30