Gabriel de Souza Seibel
1a1ba1ccf4
[NET-546] Move ee code to ee package, unify ee status and terminology ( #2538 )
...
* Move ee code to ee package and unify ee status to IsPro
* Consolidate naming for paid/professional/enterprise version as "pro". Notes:
- Changes image tags
- Changes build tags
- Changes package names
- Doesn't change links to docs that mention "ee"
- Doesn't change parameters sent to PostHog that mention "ee"
* Revert docker image tag being -pro, back to -ee
* Revert go build tag being pro, back to ee
* Add build tags for some ee content
* [2] Revert go build tag being pro, back to ee
* Fix test workflow
* Add a json tag to be backwards compatible with frontend "IsEE" check
* Add a json tag for the serverconfig struct for IsEE
* Ammend json tag to Is_EE
* fix ee tags
---------
Co-authored-by: Abhishek Kondur <abhi281342@gmail.com>
2023-09-01 07:42:05 +05:30
Abhishek K
31fcc8cd6d
NET-528: add host static info to peer update ( #2550 )
...
* set isstatic field on peer update
* remove static check for peer port
2023-08-31 00:33:37 +05:30
Abhishek K
f2dcac12af
use local port for metrics pinger ( #2479 )
2023-07-31 19:02:22 +05:30
Abhishek K
cf11169553
NET-433: Only Set Routes for NAT enabled egress GW ( #2469 )
...
* remove related fields and code
* remover metrics collection from server code
* fw update struct
* add ext client flag to metrics data
* simply nat types
* rm proxy update from cli
* remove ingress routes from firewall update
* check if egress ranges are present
* rm unused func
2023-07-28 19:44:51 +05:30
Abhishek K
645bc4c126
NET-447: Removed proxy related fields and code ( #2459 )
...
* remove related fields and code
* remover metrics collection from server code
* fw update struct
* add ext client flag to metrics data
* simply nat types
* rm proxy update from cli
2023-07-26 11:22:49 +05:30
Aceix
f4a5520f86
Kwesi/net 326 bug client ac ls ( #2462 )
...
* feat(NET-326): return 200 [] instead of 500 when there are not network acls
* fix(NET-326): implement allow/deny client acl functions
* fix(NET-326): implement extclient acl update
* fix(NET-326): kame fixes, send peer updates
2023-07-26 10:32:54 +05:30
Abhishek K
e6c6ec3b45
add egress routes info to peer update ( #2452 )
2023-07-14 18:49:52 +05:30
Abhishek K
9f59ab8b5c
Net 427 ( #2451 )
...
* send delete peer update always
* fix add/remove host api calls
* keep mq updates in a single go func
* handle IOT OS
2023-07-13 16:53:47 +05:30
Abhishek K
7121f370c6
NET-427: Peer Update fixes ( #2445 )
...
* send delete peer update always
* fix add/remove host api calls
* keep mq updates in a single go func
2023-07-11 13:00:09 +05:30
Abhishek Kondur
5015da3db9
rm commented code
2023-06-29 01:34:17 +05:30
Abhishek Kondur
086ef25ac6
remove peer update context
2023-06-29 00:17:42 +05:30
Abhishek Kondur
950a303f66
Merge branch 'develop' of https://github.com/gravitl/netmaker into NET-390-scale-latest
2023-06-28 23:10:00 +05:30
Abhishek Kondur
b64cef3447
fix merge conflicts
2023-06-28 22:12:30 +05:30
Abhishek K
38454ece79
IOT-66: Single Peer update for IOT client ( #2424 )
...
* send peer update to IOT client only when it is relayed
* move node check
* send relay del update for iot client
* fix relay delete logic for iot
* set relay node to true for iot peer update
* add node addrs to peer update
* revert tag
2023-06-28 22:08:49 +05:30
Abhishek Kondur
1a67b4e49b
Merge branch 'NET-390-endpointdetection-config-fix' of https://github.com/gravitl/netmaker into NET-390-scale-latest
2023-06-28 21:05:38 +05:30
Abhishek Kondur
4efbe6256f
stop context cancel on peer updates
2023-06-28 21:05:21 +05:30
Abhishek Kondur
243cc74490
remove endpoint detection from host model
2023-06-27 22:36:24 +05:30
Aceix
9787ce6ae8
fix(NET-312): increase log levels for verbose logs ( #2403 )
2023-06-20 16:28:40 +05:30
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
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
Abhishek Kondur
433b61417b
merge conflicts resolved
2023-04-19 13:23:06 +04:00
Abhishek Kondur
559880f11d
add nat type to peer conf
2023-04-10 11:20:51 +04:00
0xdcarns
0e4e98e9db
Merge branch 'develop' into GRA-1505/ingress
2023-04-06 12:27:56 -04:00
0xdcarns
9d230d3540
initial commit
2023-04-06 12:27:33 -04:00
0xdcarns
c67403585d
move ingress/egress check outside of peers calc
2023-04-05 12:31:51 -04:00
Abhishek Kondur
5e8e56b56e
merge conflicts resolved
2023-04-03 22:43:33 +04:00
Abhishek Kondur
20cf3b00bc
remove additional port field
2023-03-29 05:24:07 +04:00
Abhishek Kondur
60ddad3189
proxy only required connections
2023-03-28 14:04:27 +04:00
Abhishek Kondur
851fdbfee1
add turn config to host model
2023-03-22 12:05:51 +04:00
0xdcarns
ac6363dda6
adjust peer updates to send ifaces with peer
2023-03-16 11:54:29 -04:00
dcarns
17762a3297
Merge pull request #2120 from gravitl/GRA-1392
...
GRA-1392: skip deleted/disconnected peers in proxy payload
2023-03-15 17:33:37 -04:00
Abhishek Kondur
1d0f480a4c
skip disconnected/deleted nodes in proxy update
2023-03-15 22:44:31 +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
Abhishek Kondur
ddab09a974
skip deleted or not connected peers for proxy
2023-03-15 20:57:29 +04:00
0xdcarns
0f3faceb93
added logic for ext client ACLs
2023-03-14 13:39:33 -04:00
Abhishek Kondur
7b96a184bd
add proxy listen port to peerid map
2023-03-13 16:56:09 +04:00
Abhishek Kondur
178ded7572
change proxy listen port type
2023-03-13 13:13:45 +04:00
Abhishek Kondur
5daa73cd92
add proxy listen port to peerConf model
2023-03-13 12:37:51 +04:00
dcarns
bcbe355281
Merge pull request #2107 from gravitl/feature_best_interface
...
Feature best interface
2023-03-10 19:36:56 -05:00
0xdcarns
ee9df20b05
changed register response, simplified host port check dereference
2023-03-10 11:43:26 -05:00
Anish Mukherjee
83f3262a87
remove redundant interface
2023-03-10 19:07:33 +05:30
Anish Mukherjee
0891dcb854
append proxy listen port and peer host interfaces to peerID map
2023-03-10 19:01:30 +05:30
Anish Mukherjee
ea6623ba3e
append host interfaces to hostPeerUpdate
2023-03-09 18:40:40 +05:30
Anish Mukherjee
c11ba7c44b
append local addresses
2023-03-08 19:17:09 +05:30
0xdcarns
58adef9e12
address non-functional comment
2023-03-07 11:00:21 -05:00
0xdcarns
28119c22ee
added context to peer updates, moved nodes to memory
2023-03-06 12:21:51 -05:00
0xdcarns
d6f9d37be9
fixed default ACLs and peer update deletion logic
2023-03-02 13:30:37 -05:00
0xdcarns
9a7407f635
updated logic to add new nodes
2023-02-27 19:18:41 -05:00
0xdcarns
adf3967e0d
handled forced deleted peer
2023-02-24 10:41:04 -05:00