Commit graph

5917 commits

Author SHA1 Message Date
dependabot[bot] 8175a0e240
Bump golang.org/x/crypto from 0.19.0 to 0.21.0 (#2848)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.19.0 to 0.21.0.
- [Commits](https://github.com/golang/crypto/compare/v0.19.0...v0.21.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>
2024-03-12 08:15:14 +07:00
dependabot[bot] c4b1c88265
Bump github.com/go-playground/validator/v10 from 10.18.0 to 10.19.0 (#2845)
Bumps [github.com/go-playground/validator/v10](https://github.com/go-playground/validator) from 10.18.0 to 10.19.0.
- [Release notes](https://github.com/go-playground/validator/releases)
- [Commits](https://github.com/go-playground/validator/compare/v10.18.0...v10.19.0)

---
updated-dependencies:
- dependency-name: github.com/go-playground/validator/v10
  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>
2024-03-12 08:14:35 +07:00
Abhishek K 24c784a10c
NET-962: add semver check (#2854)
* add semver check

* indentation on if
2024-03-12 08:14:05 +07:00
dependabot[bot] 8fa898e9d3
Bump github.com/go-jose/go-jose/v3 from 3.0.1 to 3.0.3 (#2855)
Bumps [github.com/go-jose/go-jose/v3](https://github.com/go-jose/go-jose) from 3.0.1 to 3.0.3.
- [Release notes](https://github.com/go-jose/go-jose/releases)
- [Changelog](https://github.com/go-jose/go-jose/blob/v3.0.3/CHANGELOG.md)
- [Commits](https://github.com/go-jose/go-jose/compare/v3.0.1...v3.0.3)

---
updated-dependencies:
- dependency-name: github.com/go-jose/go-jose/v3
  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>
2024-03-12 08:10:58 +07:00
Christopher Blaha 83cb39db5a
update develop to 0.23.1 (#2835) 2024-03-05 18:08:54 +07:00
Aceix b8c1dde152
fix(NET-1044): use new update acls endpoint (#2842)
allow for updating both node and client acls
2024-03-05 18:02:27 +07:00
Abhishek K 8227e7899c
Merge pull request #2851 from gravitl/master
master
2024-03-05 12:06:25 +07:00
Abhishek K d390f444bd
Merge pull request #2850 from gravitl/release-v0.23.0
Release v0.23.0
2024-03-05 12:05:47 +07:00
Abhishek K e7eb40ab1f
Merge pull request #2849 from gravitl/ACC-468
delete server user on start up to re-initialize
2024-03-05 12:04:47 +07:00
abhishek9686 96f649393c increase verbosity on mq log 2024-03-05 12:02:02 +07:00
abhishek9686 a5dff67bfd delete server user on start up to re-initialize 2024-03-05 11:48:24 +07:00
Abhishek K 37e877c553
Merge pull request #2844 from gravitl/release-v0.23.0
Release v0.23.0
2024-03-04 21:43:07 +07:00
Abhishek K e846881bf2
Merge pull request #2843 from gravitl/ACC-468
ACC-468: EMQX Migration Helpers
2024-03-04 21:15:08 +07:00
Abhishek K c45f7bf022
Merge pull request #2839 from gravitl/NET-1047
NET-1047: ACLs mutex fix
2024-03-04 18:24:33 +07:00
Abhishek K 077ec49b80
Merge pull request #2838 from gravitl/NET-940-fix
NET-940: validate relay req for inet gws
2024-03-04 18:23:43 +07:00
abhishek9686 778d02581c Merge branch 'develop' of https://github.com/gravitl/netmaker into ACC-468 2024-03-04 18:20:17 +07:00
abhishek9686 8ac864fec8 add update check for validate relay 2024-03-04 13:39:33 +07:00
abhishek9686 8e0580764b remove debug logs 2024-03-04 13:14:51 +07:00
abhishek9686 c25a732015 fix acl mutex lock 2024-03-04 13:11:51 +07:00
abhishek9686 f165f5fcf4 add debug logs to removing host from network 2024-03-04 12:51:37 +07:00
abhishek9686 0dae81438f add debug logs to removing host from network 2024-03-04 12:38:21 +07:00
abhishek9686 1b4eb1b768 add debug logs to removing host from network 2024-03-04 12:25:44 +07:00
abhishek9686 e3b6b060c3 add debug logs to removing host from network 2024-03-04 12:06:36 +07:00
abhishek9686 b4f788f557 add debug logs to removing host from network 2024-03-04 11:43:17 +07:00
abhishek9686 d69d0ed2e2 validate relay req for inet gws 2024-03-02 12:42:04 +07:00
abhishek9686 2e3b640a9a migrate emqx 2024-03-01 14:59:47 +07:00
abhishek9686 81af1d92c0 migrate emqx 2024-03-01 14:46:32 +07:00
abhishek9686 83cdc1abf6 migrate emqx 2024-03-01 14:26:07 +07:00
abhishek9686 8e240ff701 migrate emqx 2024-03-01 13:35:59 +07:00
abhishek9686 0259c87f87 migrate emqx 2024-03-01 13:08:25 +07:00
abhishek9686 be0a5885ea use kick out clients 2024-03-01 12:58:00 +07:00
Abhishek K 089df3d4cf
Merge pull request #2834 from gravitl/release-v0.23.0
v0.23.0
2024-03-01 01:09:39 +07:00
abhishek9686 01592b2ecc add additional logging 2024-02-29 19:58:18 +07:00
abhishek9686 4630925182 send pull syn over old mq for emqx migration 2024-02-29 13:30:51 +07:00
Aceix 6f61f8abcc
docs(NET-992): update release notes for v0.23.0 (#2833)
* docs(NET-992): update release notes for v0.23.0

* docs(NET-992): update release notes for v0.23.0

* docs(NET-992): update release notes for v0.23.0
2024-02-29 00:45:29 +07:00
Abhishek K 5b8711415b
check node is still valid on enrollment key to act as relay (#2832) 2024-02-29 00:08:45 +07:00
abhishek9686 eb28faf669 add emqx migration func 2024-02-28 17:57:25 +07:00
Abhishek K 91bfcba8e2
NET-969: add additional acl mutex (#2827)
* add additional acl mutex

* fix acls race issue

* rm defer mutex
2024-02-28 09:04:36 +07:00
Aceix b79a457ce2
fix: fix extclient creation and ACL migration (#2831) 2024-02-28 09:01:07 +07:00
Abhishek K 0638dcac49
NET-940: Inet Gws (#2828)
* internet gws apis

* add validate check for inet request

* add default gw changes to peer update

* update json tag

* add OS checks for inet gws

* add set defaul gw pro func

* allow disable and enable inet gw

* add inet handlers to pro

* add fields to api node

* add inet allowed ips

* add default gw to pull

* unset node inet details on deletion

* unset internet gw on network nodes

* unset inet gw fix

* unset inet gw fix

* send default gw ip

* fix inet node endpoint

* add default gw endpoint ip to pull resp

* validate after unset gws

* add inet client peer allowedips to inet node

* validate after unset gws

* fix allowed ips for inet peer and gw node

* fix allowed ips for inet peer and gw node

* fix allowed ips for inet peer and gw node

* fix allowed ips for inet peer and gw node

* fix inet gw and relayed conflict

* fix inet gw and relayed conflict

* fix update req

* fix update inet gw api

* when inet gw is peer ignore other allowedIps

* test relay

* revert test relay

* revert inet peer update changes

* channel internet traffic of relayed node to relay's inetgw

* channel internet traffic of relayed node to relay's inetgw

* channel internet traffic of relayed node to relay's inetgw

* add check for relayed node

* add inet info to peer update

* add inet info to peer update

* fix update node to persist inet info

* fix go tests

* egress ranges with inet gw fix

* egress ranges with inet gw fix

* disallow node acting using inet gw to act as inet gw

* add check to validate inet gw

* fix typos

* add firewall check

* set inetgw on ingress req on community

* set inetgw to false on community on ingress del
2024-02-28 08:46:51 +07:00
abhishek9686 fd95e80dc7 rm certs ref from upgrade script 2024-02-28 08:41:53 +07:00
Abhishek K a9ce842d1e
fix relayed node issue (#2826) 2024-02-21 13:41:26 +07:00
Abhishek K 2d8f67db11
ignore post cmd for qr code and if empty (#2825) 2024-02-19 19:53:45 +07:00
dependabot[bot] 217c676ee7
Bump github.com/go-playground/validator/v10 from 10.17.0 to 10.18.0 (#2820)
Bumps [github.com/go-playground/validator/v10](https://github.com/go-playground/validator) from 10.17.0 to 10.18.0.
- [Release notes](https://github.com/go-playground/validator/releases)
- [Commits](https://github.com/go-playground/validator/compare/v10.17.0...v10.18.0)

---
updated-dependencies:
- dependency-name: github.com/go-playground/validator/v10
  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>
2024-02-13 20:27:52 +07:00
dependabot[bot] b908db5df9
Bump golang.org/x/oauth2 from 0.16.0 to 0.17.0 (#2821)
Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2) from 0.16.0 to 0.17.0.
- [Commits](https://github.com/golang/oauth2/compare/v0.16.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/oauth2
  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>
2024-02-13 20:25:55 +07:00
Aceix 100b778449
fix(NET-897): uniform client and node acls (#2803) 2024-02-13 20:25:27 +07:00
Abhishek K 2c29a70df1
NET-941: allows creation of gws without client node or egress ranges (#2822)
* allow creation of relay without relayed nodes

* allow creation of egress gw without egress ranges

* initalize empty egress ranges
2024-02-13 20:24:22 +07:00
dependabot[bot] 1f592a60a2
Bump alpine from 3.19.0 to 3.19.1 (#2809)
Bumps alpine from 3.19.0 to 3.19.1.

---
updated-dependencies:
- dependency-name: alpine
  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>
2024-02-08 23:31:04 +05:30
dependabot[bot] 28df620455
Bump github.com/mattn/go-sqlite3 from 1.14.19 to 1.14.22 (#2815)
Bumps [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3) from 1.14.19 to 1.14.22.
- [Release notes](https://github.com/mattn/go-sqlite3/releases)
- [Commits](https://github.com/mattn/go-sqlite3/compare/v1.14.19...v1.14.22)

---
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>
2024-02-08 23:30:31 +05:30
Christopher Blaha eaa62d8f22
update develop to v0.23.0 (#2816) 2024-02-08 23:30:10 +05:30