Commit graph

479 commits

Author SHA1 Message Date
Abhishek K 6c2582651c
Net-137: Node relays (#2401)
* revert relays

* initial relay commit

* get relayed allowed ips

* add more relay validation checks, peer logic cleanup

* rm relayed nodes from relay node when relayed node is deleted

* fix egress updates for relayed nodes

* rm unused func

* remove  debug logs

* avoid adding egress ranges on the relayed gw node

---------

Co-authored-by: Matthew R Kasun <mkasun@nusak.ca>
2023-06-19 12:26:14 -04:00
Tobias Cudnik 94ca72e370
NET-173 Sync EndpointDetection config (#2374)
* adding serverconfig logic and variable to hosts

* - sync EndpointDetection on peerupdate
- add EndpointDetection to env config

* - endpoint detection always comes from the server
- fixed ENDPOINT_DETECTION -> NETCLIENT_ENDPOINT_DETECTION

---------

Co-authored-by: afeiszli <alex.feiszli@gmail.com>
2023-06-13 16:33:53 -04:00
Abhishek K 78e26c4673
add nodes to pull response (#2371) 2023-06-06 22:16:21 -04:00
Abhishek K 47edf65b1f
NET-186: Wg public listen port (#2344)
* fetch public listen of wg if present

* check if wg pub listen port has been changed on host update

* wg public port to host api model for visibility

* rm comment
2023-05-31 08:21:02 +05:30
Matthew R Kasun 78640f1342
Extclient NET-63x (#2286)
* model changes

* additional fields for extclient create

* add DNS to extclient config

* extclient name checks

* update extclient

* nmctl extclient

* final tweaks

* review comments

* add extclientdns to node on ingress creation

* fix to add ingress dns to api (#2296)

---------

Co-authored-by: Aceix <aceixsmartX@gmail.com>
2023-05-17 10:58:03 -04:00
Abhishek K 46acf1d336
NET-129: Turn Signal Actions (#2290)
* add signal action field

* add negotiation signal action

* typo fix

* change signal action name
2023-05-15 15:40:34 -04:00
Matthew R Kasun 13473f4dd7 review comments 2023-05-08 13:44:32 -04:00
Matthew R Kasun 3ccd81eac8 add type to APIEnrollementKey 2023-05-08 06:30:55 -04:00
Matthew R Kasun 3567811aab add type to enrollement key 2023-05-05 11:03:59 -04:00
Abhishek Kondur 423abf0fe4 add use_turn option to config,check if server is using turn 2023-04-28 14:06:28 +05:30
Abhishek Kondur 9b87a6b722 remove unused fields 2023-04-26 17:03:25 +04:00
Abhishek Kondur 9e0038f39c merge conflicts resolved 2023-04-25 11:12:22 +04:00
Matthew R Kasun 754ab44a48 Merge remote-tracking branch 'origin/develop' into GRA-1529-key-update 2023-04-19 09:48:04 -04:00
dcarns 3d82df3bc6
Merge pull request #2133 from gravitl/refactor_auto_update
Add host level auto update setting with default true
2023-04-19 09:40:56 -04:00
Abhishek Kondur 23e3c1ce29 remove unused field 2023-04-19 13:24:36 +04:00
Abhishek Kondur 3d6005b649 remove unused field on peer conf 2023-04-19 13:24:06 +04:00
Abhishek Kondur 433b61417b merge conflicts resolved 2023-04-19 13:23:06 +04:00
Abhishek Kondur aaa2211939 add server field to signal struct 2023-04-19 07:05:17 +04:00
0xdcarns 18c9bcc58f adapted sso to host registration 2023-04-17 22:23:17 -04:00
Abhishek Kondur a8e234efc9 avoid sending turn domain to client 2023-04-17 11:44:17 +04:00
Abhishek Kondur d4ceabd4b3 register host through server, add basic auth to turn apis 2023-04-17 11:21:28 +04:00
Matthew R Kasun 63552891ee refactor key updates on host basis vice node 2023-04-13 15:02:14 -04:00
Abhishek Kondur 1324b6443d add reply field to signal struct 2023-04-13 10:00:09 +04:00
Abhishek Kondur 726531af25 change relayendpoint type to str 2023-04-11 09:46:51 +04:00
Abhishek Kondur 4d223c1cdc api for signalling peer 2023-04-10 12:14:40 +04:00
Abhishek Kondur 559880f11d add nat type to peer conf 2023-04-10 11:20:51 +04:00
Abhishek Kondur 5153c471d8 add turn port to server config 2023-04-06 11:30:53 +04:00
Abhishek Kondur f54ae9ae8f turnserver registration apis 2023-04-06 08:50:34 +04:00
Abhishek Kondur b8904d1f3c Merge branch 'develop' of https://github.com/gravitl/netmaker into GRA-1494 2023-04-04 18:32:55 +04:00
Abhishek Kondur 5e8e56b56e merge conflicts resolved 2023-04-03 22:43:33 +04:00
0xdcarns 2da7d7242f remove debug items 2023-03-30 17:33:55 -04:00
0xdcarns 8f2c38b118 Merge branch 'develop' into GRA-1401/host-nattype 2023-03-30 17:27:09 -04:00
0xdcarns fa40a5929d added turn ep + nat type to host model 2023-03-30 17:23:21 -04:00
0xdcarns 63eac1e79c added host pull model, made API 2023-03-22 15:36:53 -04:00
Abhishek Kondur 851fdbfee1 add turn config to host model 2023-03-22 12:05:51 +04:00
Abhishek Kondur 91b4d237c8 add turn config to server config 2023-03-22 11:09:50 +04:00
Abhishek Kondur cafdfa70c1 turn server poc 2023-03-22 11:00:03 +04:00
0xdcarns 8f8b4c8b70 merge develop 2023-03-20 17:05:41 -04:00
0xdcarns bf687dd478 add return 2023-03-20 08:55:28 -04:00
Anish Mukherjee 6b684d95a4 add host auto updated setting with default true 2023-03-20 17:47:41 +05:30
0xdcarns 5fb3100c72 merge develop 2023-03-17 15:16:43 -04:00
afeiszli 0bbf1dbe54 hotfixing logging and model issues found during IoT testing 2023-03-16 13:41:56 -04:00
0xdcarns ac6363dda6 adjust peer updates to send ifaces with peer 2023-03-16 11:54:29 -04:00
Matthew R Kasun 8b5d194666 Merge remote-tracking branch 'origin/develop' into GRA-1375-default-proxy 2023-03-15 13:24:52 -04:00
dcarns 99cb2195a0
Merge pull request #2119 from gravitl/GRA-1369-ext-acls
GRA-1369 - added logic for ext client ACLs
2023-03-15 13:19:41 -04:00
dcarns 78b367cf0c
Merge pull request #2117 from gravitl/GRA-1388-adapt-migrate
GR-1388 adapt migrate
2023-03-15 10:55:15 -04:00
dcarns abee5e104a
Merge pull request #2116 from gravitl/GRA-1321
GRA-1321: Metrics Fix
2023-03-15 08:49:55 -04:00
0xdcarns 0f3faceb93 added logic for ext client ACLs 2023-03-14 13:39:33 -04:00
0xdcarns 11daff3f1c added iot check in mq message handlers 2023-03-14 10:46:12 -04:00
0xdcarns 0baa3a743c adapted migrate to easier registration 2023-03-14 08:44:18 -04:00