Commit graph

5690 commits

Author SHA1 Message Date
abhishek9686
1d250963aa add license logs 2024-01-23 09:34:49 +05:30
abhishek9686
32974e21d4 skip trial end date check on err 2024-01-23 09:21:19 +05:30
abhishek9686
487c3f51b0 addtional logs in script 2024-01-23 09:08:08 +05:30
abhishek9686
1f44817e64 add tenantid check 2024-01-23 08:33:17 +05:30
abhishek9686
96c6495585 check if netclient exists 2024-01-23 08:02:03 +05:30
abhishek9686
ce34a3f4cb more info log 2024-01-23 01:02:32 +05:30
abhishek9686
c16ea48bb4 fix script args 2024-01-23 00:55:55 +05:30
abhishek9686
dc953c73a8 fix script args 2024-01-23 00:53:02 +05:30
abhishek9686
cf9febba03 fix script args 2024-01-23 00:48:16 +05:30
abhishek9686
49c64ef95b save config only if values are not empty 2024-01-23 00:41:32 +05:30
abhishek9686
49641dff5a fix script args 2024-01-23 00:26:40 +05:30
abhishek9686
5b335fb762 add upgrade and downgrade options 2024-01-23 00:18:04 +05:30
abhishek9686
dbc48b1b2f check if trial table is empty 2024-01-22 13:25:30 +05:30
abhishek9686
17980cc222 get trial end date only if license key is missing 2024-01-20 01:39:31 +05:30
abhishek9686
7a39ef3e4e add trial end date to server status api 2024-01-20 01:30:09 +05:30
abhishek9686
e390398e8c conv key pair to bytes 2024-01-20 01:10:13 +05:30
abhishek9686
ffb979001f store trial as bytes 2024-01-20 00:30:46 +05:30
abhishek9686
34e61403c5 fix build 2024-01-19 19:13:02 +05:30
abhishek9686
040e700099 revamp pro trial invocation 2024-01-19 19:10:07 +05:30
abhishek9686
c674929b90 invoke trial from main 2024-01-19 17:57:30 +05:30
abhishek9686
5b7d1709e5 remvove license input on pro in script 2024-01-19 15:07:14 +05:30
abhishek9686
6749fb4516 add trial license logic 2024-01-19 14:51:51 +05:30
abhishek9686
abe7f4cf52 upgrade flag 2024-01-18 21:45:55 +05:30
abhishek9686
4dd9d35c81 cleanup script 2024-01-18 21:20:53 +05:30
abhishek9686
058338f372 tag enrollment key 2024-01-17 09:20:32 +05:30
Christopher Blaha
c4b36ac791
Net 792 remove freebsd (#2735)
* remove freebsd

* undo quick script changes

* Update nm-quick.sh

---------

Co-authored-by: Abhishek K <32607604+abhishek9686@users.noreply.github.com>
2024-01-16 20:19:08 +05:30
Aceix
e6301e7a5c
release notes fixes v0.22.0 (#2768) 2024-01-16 19:50:43 +05:30
Aceix
b840ef80b0
docs: release notes for v0.22.0 (#2766) 2024-01-16 18:20:14 +05:30
Abhishek K
465f2bd5be
NET-896: Scale test bug fixes (#2764)
* send peer update in async

* update metrics on fallback

* return http json response
2024-01-15 23:17:36 +05:30
Abhishek K
718f739b7d
NET-891: Send deleted node peer update when expired (#2763)
* send deleted node peer update when expired

* set default expiration to 100 years

* pruge expired nodes

* send mq node delete update before deleting node

* initalise to new var

* revert expiration time interval
2024-01-12 16:01:40 +05:30
Abhishek K
5bf30b2c10
NET-877: Replace peers on Refreshkeys peer update (#2761)
* replace peers on key refresh

* add peer conf to metrics map only when allowed
2024-01-11 15:59:19 +05:30
abhishek9686
015a628e7a remove quotes in netmaker.env file 2024-01-11 12:02:55 +05:30
abhishek9686
fff2239f02 set caching to true by defaulT 2024-01-11 12:00:48 +05:30
Abhishek K
797f3a4533
Send deleted extclient mq update when disabled (#2760) 2024-01-10 14:57:29 +05:30
Abhishek K
8bfd791135
Net 822 (#2759)
* add extclient allowed ips to rac resp

* add gw peer public key

* fix static check

* add param for remote access client id

* don't decode body

* debug

* debug

* change user gws req to POST

* debug

* change api to GET

* send array for user gws if req came from mobile
2024-01-09 13:25:18 +05:30
Abhishek K
9730897b2b
NET-836: intialize error in api resp (#2756)
* debug logs

* intialize err on return
2024-01-03 21:59:38 +05:30
Abhishek K
3b739ed22a
Update Dockerfile-go-builder 2024-01-03 16:36:39 +05:30
Aceix
033e203d91
fix(NET-786): enhance enrollment key validation (#2726) 2024-01-03 12:23:04 +05:30
Abhishek K
44ee28d4b5
Update Dockerfile-go-builder 2024-01-03 12:18:53 +05:30
Farukh Khan
1f9ef50df7
NET-655 (#2670)
* NET-655

* Updated HostPull structure to include EgressRoutes and FirewallUpdate models.

* added ServerVersion structure to hostpull model

* added ServerVersion structure to hostpull model

* removed ServerVersion structure

* removed ServerVersion structure

* added egressroute and fwupdate to hostpull handler

* add host update fallback handler

* set broker type on server cfg

* use actual host password to create emqx user

---------

Co-authored-by: Christopher Blaha <crispspiceguitar@gmail.com>
Co-authored-by: Abhishek Kondur <abhi281342@gmail.com>
2023-12-21 10:43:06 +04:00
Aceix
61d6b2fa3f
fix(NET-799): fix acl allow/deny subcommands (#2736) 2023-12-20 13:30:45 +04:00
Abhishek K
9fcefd7911
Net 822 (#2745)
* add extclient allowed ips to rac resp

* add gw peer public key

* fix static check

* add param for remote access client id

* don't decode body

* debug

* debug

* change user gws req to POST

* debug

* change api to GET
2023-12-20 13:17:34 +04:00
dependabot[bot]
e801c157d1
Bump github.com/google/uuid from 1.4.0 to 1.5.0 (#2739)
Bumps [github.com/google/uuid](https://github.com/google/uuid) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/google/uuid/releases)
- [Changelog](https://github.com/google/uuid/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/uuid/compare/v1.4.0...v1.5.0)

---
updated-dependencies:
- dependency-name: github.com/google/uuid
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-20 10:37:59 +04:00
dependabot[bot]
56d522ce41
Bump github.com/mattn/go-sqlite3 from 1.14.18 to 1.14.19 (#2740)
Bumps [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3) from 1.14.18 to 1.14.19.
- [Release notes](https://github.com/mattn/go-sqlite3/releases)
- [Commits](https://github.com/mattn/go-sqlite3/compare/v1.14.18...v1.14.19)

---
updated-dependencies:
- dependency-name: github.com/mattn/go-sqlite3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-20 10:37:42 +04:00
dependabot[bot]
319d7d1a0b
Bump golang.org/x/crypto from 0.16.0 to 0.17.0 (#2741)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.16.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.16.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-20 10:37:32 +04:00
dependabot[bot]
a6ccf3de3a
Bump dawidd6/action-download-artifact from 2 to 3 (#2742)
Bumps [dawidd6/action-download-artifact](https://github.com/dawidd6/action-download-artifact) from 2 to 3.
- [Release notes](https://github.com/dawidd6/action-download-artifact/releases)
- [Commits](https://github.com/dawidd6/action-download-artifact/compare/v2...v3)

---
updated-dependencies:
- dependency-name: dawidd6/action-download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-20 10:37:19 +04:00
Abhishek K
7e3bf3baea
NET-812: Deprecate Setting /etc/hosts entries (#2733)
* deprecate setting etc host dns entries, set coredns entries at neccessary places

* remove dns mq topics

* only set dns when set on

* add extcleints dns entries to coredns

* fix static checks

* run coredns with host network mode

* add bind address to coredns container
2023-12-20 10:24:53 +04:00
Abhishek K
b69bf60160
NET-811: block normal user login from accessing dashboard (#2724)
* block normal user login from accessing dashboard

* header change

* allow from ui header

* allow from ui header

* check for user role after decoding

* block oauth login for normal user

* handle other oauth provider callback funcs for user login
2023-12-20 09:08:55 +04:00
Aceix
72f84c1355
feat(NET-810): add RAC support for admins (#2731)
admins and superadmins can access and connect to any ingress
different users cannot connect to the same ingress with the same remote device
2023-12-20 08:56:30 +04:00
Abhishek K
98c01c4325
NET-814: Deprecating TURN (#2723)
* deprecate turn

* process signals through mq
2023-12-13 22:46:57 +04:00