Commit graph

142 commits

Author SHA1 Message Date
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
Abhishek Kondur 80c7d46ec6 docker compose update, add stun to caddyfile 2022-12-06 19:27:38 +05:30
Abhishek Kondur 4b1a85a3ee proxy changes 2022-12-02 17:35:41 +05:30
Abhishek Kondur 5b7ead91e6 merge conflicts resolved 2022-12-02 10:08:01 +05:30
Abhishek Kondur cff3508425 Merge branch 'develop' of https://github.com/gravitl/netmaker into feature_proxy_metrics 2022-12-01 19:31:56 +05:30
Matthew R. Kasun 407c6ed20a fix error from branch create 2022-11-29 10:11:47 -05:00
Matthew R. Kasun fbd905a91a fix finger problem (missing } 2022-11-29 10:11:47 -05:00
Abhishek Kondur 015bd5d366 add wg address to proxy payload 2022-11-21 10:09:49 +05:30
Abhishek Kondur 968f91edb4 fetch ext peerts only for ingress gw 2022-11-21 10:02:33 +05:30
Abhishek Kondur 40a9ae0e76 return after pushing proxy updateto server 2022-11-20 15:10:20 +05:30
Abhishek Kondur f95306ddbd make proxy optional 2022-11-20 09:35:29 +05:30
Abhishek Kondur c54080e150 fix relay updates for proxy 2022-11-18 10:48:28 +05:30
Abhishek Kondur 653b5f21d6 configure proxy on peer update without resetting 2022-11-17 16:51:27 +05:30
Abhishek Kondur 7d166ac14a add ext client only on ingress node 2022-11-15 18:37:58 +05:30
Abhishek Kondur 4b9f68da8f set ingress node 2022-11-15 16:24:58 +05:30
Abhishek Kondur 4f76cc3ac3 forward unknown pkts to all interfaces 2022-11-15 09:31:31 +05:30
Abhishek Kondur 0a17a0744b configure proxy for ext clients 2022-11-14 14:10:52 +05:30
Abhishek Kondur 5d7bf9502b configure proxy for ext clients 2022-11-09 08:46:16 +05:30
Abhishek Kondur ce5e7bee4a route inbound packets to relayed node 2022-11-07 10:44:14 +05:30
Abhishek Kondur a7c0abe2fc refactor proxy updates 2022-11-07 01:25:04 +05:30