Commit graph

122 commits

Author SHA1 Message Date
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
Gabriel de Souza Seibel
8ce7da2ce9
[NET-494 / ACC-322] New free tier limits (#2495)
* Rename var

* Rename consts and use iota

* Use switch instead of repeated else if

* Rename limits related vars

* Introduce new free tier limits

* Measure new limits and report on license validation

* Separate usage and limits, have new ones

* Don't check for hosts and clients limits, but for machines instead

* Error on egress creation @ free tier w/ internet gateways

* Remove clients and hosts limit from code

* Rename var

* Rename consts and use iota

* Use switch instead of repeated else if

* Rename limits related vars

* Introduce new free tier limits

* Measure new limits and report on license validation

* Separate usage and limits, have new ones

* Don't check for hosts and clients limits, but for machines instead

* Error on egress creation @ free tier w/ internet gateways

* Remove clients and hosts limit from code
2023-08-08 23:17:49 +05:30
Gabriel de Souza Seibel
de146321f0
[NET-477] Pick AMB URL dynamically (#2489)
* Introduce config for environment

* Introduce func to get environment

* Choose accounts api host from environment

* Test the ee package on workflows

* Use build tag ee for license_test.go
2023-08-08 15:59:38 +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
Christopher Blaha
dd7e553472
Nm quick ee instructions update (#2441)
* updated instructions and fix exp env vars

* Tenant ID for clarity

* and

* changed account id to tenant id

* struct field to tenant & references to field

* fix local variables
2023-07-13 08:23:34 +05:30
Abhishek K
230e062c84
GRA-1298: License check changes, free tier limits for saas (#2418)
* set free tier limits through config

* add host limit to config

* check for host limit on free tier

* fix license validation, replace node limit with hosts

* add hosts to telemetry data

* debug init

* validate license every 1hr

* hook manager, api to fetch server usage

* hook manager, server usage api

* encode json server usage api

* update ngork url

* update license validation endpoint

* avoid setting limits on eer

* adding hotfix

* correct users limits env var

* add comments to exported funcs

---------

Co-authored-by: afeiszli <alex.feiszli@gmail.com>
2023-06-28 20:33:06 +05:30
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 Kondur
423abf0fe4 add use_turn option to config,check if server is using turn 2023-04-28 14:06:28 +05:30
Abhishek Kondur
9e0038f39c merge conflicts resolved 2023-04-25 11:12:22 +04:00
Abhishek Kondur
4f95e9f562 add basic auth to turn server apis, handle host registration on server 2023-04-17 15:33:05 +04:00
Abhishek Kondur
f54ae9ae8f turnserver registration apis 2023-04-06 08:50:34 +04:00
Abhishek Kondur
cafdfa70c1 turn server poc 2023-03-22 11:00:03 +04:00
Anish Mukherjee
96d7b67822 add auto update config to server yaml 2023-03-21 18:05:04 +05:30
Matthew R Kasun
b3cfbe7266 default proxy mode 2023-03-13 14:39:13 -04:00
afeiszli
dba954c529 add stunlist string to serverconfig 2023-03-03 10:37:04 -05:00
afeiszli
bf8a5bbc69 changing StunList to slice 2023-03-03 10:28:50 -05:00
afeiszli
4ff135e196 adding StunList 2023-03-01 17:10:36 -05:00
dcarns
ad4bab064b
Merge pull request #2050 from gravitl/GRA-1198-enrollment_keys
Gra 1198 enrollment keys
2023-02-28 09:26:23 -05:00
dcarns
dbf6f1034b
Merge pull request #2058 from gravitl/feature_emqx
Add emqx boilerplate
2023-02-28 08:41:39 -05:00
Anish Mukherjee
c57c892119 remove duplicate env var 2023-02-27 21:19:59 +05:30
0xdcarns
e759637750 Merge branch 'develop' into GRA-1198 2023-02-24 11:23:41 -05:00
Anish Mukherjee
2700acc1d7 user BROKER_ENDPOINT and SERVER_BROKER_ENDPOINT 2023-02-23 17:48:37 +05:30
Anish Mukherjee
186064052c fix broker type yaml tag 2023-02-22 20:37:08 +05:30
Anish Mukherjee
d2adf88b21 add emqx boilerplate 2023-02-22 20:37:08 +05:30
yearski
efa8b0e465
remove DefaultNodeLimit
originally added in c97bb95203
2023-02-20 02:36:29 -07:00
yearski
ac0ff1fc2a
remove ServerCheckinInterval
orphaned by 2a5405982e
2023-02-20 02:29:43 -07:00
yearski
67f5eff181
config: remove AgentBackend
deprecated by 7152f6ccd4
2023-02-20 02:20:37 -07:00
yearski
caa832c22c
remove agentbackend 2023-02-20 02:19:10 -07:00
0xdcarns
db4ea9faa4 completed crud unit tests 2023-02-15 15:27:26 -05:00
Abhishek Kondur
cb308e11f4 Merge branch 'develop' of https://github.com/gravitl/netmaker into GRA-1011/remove_mq_dyn_sec 2023-02-07 20:46:57 +04:00
Abhishek Kondur
bd878f79c1 merge conflicts resolved 2023-02-07 14:24:39 +04:00
0xdcarns
6a5057f57b removed client mode and references 2023-02-06 12:14:52 -05:00
Matthew R Kasun
77cfae41ff remove postup/down 2023-02-02 11:16:54 -05:00
Matthew R Kasun
9b072e1050 remove network capabilities from netmaker
remove NET_ADMIN, NET_RAW, SYS_MODULE capabilities from docker-compose
files
remove sysctls from dockerfiles
remove ManageIPTables and PortForwardServices from ServerConfig
remove functions related to removed attributes
2023-01-23 12:37:07 -05:00
Abhishek Kondur
81e9febf2a rm mq dynamic security, add mq username,password to config 2023-01-19 23:11:28 +05:30
Abhishek Kondur
79aa9893dc change stun port to int type 2022-12-08 21:45:32 +05:30
Abhishek Kondur
80c7d46ec6 docker compose update, add stun to caddyfile 2022-12-06 19:27:38 +05:30
Abhishek Kondur
5b7ead91e6 merge conflicts resolved 2022-12-02 10:08:01 +05:30
Abhishek Kondur
f95306ddbd make proxy optional 2022-11-20 09:35:29 +05:30
Matthew R. Kasun
b3f90f2929 add hostid and separate server name/broker name 2022-11-02 11:22:40 -04:00
Abhishek Kondur
1b92cb2442 add stun to servercfg 2022-10-26 10:53:57 +05:30
Abhishek Kondur
f632bec11d merge conflicts resolved 2022-09-26 17:47:20 +05:30
Abhishek Kondur
55542f3359 mq admin password config 2022-09-26 16:54:09 +05:30
afeiszli
4917c457db added ee check 2022-09-13 15:44:45 -04:00
0xdcarns
88cd0a6497 initial commit 2022-09-13 15:25:56 -04:00
cameronts
a925f4635c Lowercased publicipservice. 2022-07-28 10:16:50 -07:00
cameronts
067d2aca2d Added config file handling for public IP service. 2022-07-27 11:57:37 -07:00
0xdcarns
5c2106dd46 re-add server mq port 2022-07-07 14:08:24 -04:00
0xdcarns
3a74170ab2 added v0.14.5 and removed MQ_SERVER_PORT 2022-07-07 10:23:07 -04:00
capric98
2fa31a6947 add oidc provider for auth 2022-06-25 23:47:00 +08:00