Abhishek K
530dbdc65c
NET-710: Internet Gws Re-Design ( #2718 )
...
* add internet gateway to client gateway
* migration func to remove internet egress range from egress gateway
* add internet gateways ranges to firewall update
* add internet gw ranges to extcleint conf
* add ipv6 internet address
* remove failover field from ingress req
* only let normal to be created on PRO (#2716 )
* feat(NET-805): send internet gw props to rac
* set inet gw field on node update api
* move internet gws to EE
---------
Co-authored-by: the_aceix <aceixsmartx@gmail.com>
2023-12-06 23:57:58 +04:00
dependabot[bot]
03db704436
Bump golang.org/x/oauth2 from 0.14.0 to 0.15.0 ( #2699 )
...
Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2 ) from 0.14.0 to 0.15.0.
- [Commits](https://github.com/golang/oauth2/compare/v0.14.0...v0.15.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>
2023-12-05 12:04:59 +04:00
dependabot[bot]
37f3773943
Bump golang.org/x/crypto from 0.15.0 to 0.16.0 ( #2700 )
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.15.0 to 0.16.0.
- [Commits](https://github.com/golang/crypto/compare/v0.15.0...v0.16.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-05 12:02:47 +04:00
dependabot[bot]
f365f83fef
Bump alpine from 3.18.4 to 3.18.5 ( #2720 )
...
Bumps alpine from 3.18.4 to 3.18.5.
---
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>
2023-12-05 12:02:33 +04:00
dependabot[bot]
f0052ac1d8
Bump github.com/coreos/go-oidc/v3 from 3.7.0 to 3.8.0 ( #2719 )
...
Bumps [github.com/coreos/go-oidc/v3](https://github.com/coreos/go-oidc ) from 3.7.0 to 3.8.0.
- [Release notes](https://github.com/coreos/go-oidc/releases )
- [Commits](https://github.com/coreos/go-oidc/compare/v3.7.0...v3.8.0 )
---
updated-dependencies:
- dependency-name: github.com/coreos/go-oidc/v3
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-05 12:01:57 +04:00
Abhishek K
2c4a27c53b
NET-735: HA Support ( #2701 )
...
* cache enabled option, cache hosts data if only enabled
* cache nodes only when enabled
* cache extclients only when enabled
* cache acls only when enabled
2023-12-05 12:01:35 +04:00
Abhishek K
8b659b3d00
only let normal to be created on PRO ( #2716 )
2023-11-30 22:37:00 +04:00
Aceix
a9e3f1ce67
fix: stability patches ( #2698 )
...
- avoid panic when deleting other admin users
- improve error handling
2023-11-29 20:12:37 +04:00
Abhishek K
b78cc0a8a1
NET-725: Failovers ( #2685 )
...
* api to to get host relayed from client
* add auto relay to api host
* add peer nat type
* set pro field on signal
* rm net check on relay me handler
* return success response
* re-establish failover logic
* set failOver ctx
* failOver with peer pub key
* failovered peer updates
* failover handlers, reset failovered peer on deletion
* rm unused funcs
* initialize failover handler on EE
* ignore failover node on signal
* failover changes
* set host id on signal
* extend signal model to include node ids
* add backwards compatibility
* add failover as node api
* set json response on failover handers
* add failover field to api node
* fix signal data check
* initialize failover peer map
* reset failovered status when relayed or deleted
* add failover info to api node
* reset network failover
* only proceed furtuer if failover exists in the network
* set failOver node defaults
* cannot set failover node as relayed
* debug log
* debug log
* debug changes
* debug changes
* debug changes
* revert debug changes
* don't add peers to idmap when removed
* reset failed Over
* fix static checks
* rm debug log
* add check for linux host
2023-11-29 20:10:07 +04:00
Abhishek K
5efa52279d
Merge pull request #2697 from gravitl/master
...
master
2023-11-27 20:31:26 +04:00
Abhishek K
54a3afc19a
Merge pull request #2696 from gravitl/release-v0.21.2
...
Release v0.21.2
2023-11-27 20:30:08 +04:00
Abhishek K
4c35a7101e
Merge pull request #2695 from gravitl/NET-802
...
set superadmin to user if owner conf is set
2023-11-27 20:28:48 +04:00
Abhishek Kondur
2f76fa577a
saas owner email
2023-11-27 20:27:10 +04:00
Abhishek Kondur
89e9a6f34e
set superadmin to user if owner conf is set
2023-11-27 20:13:29 +04:00
Abhishek K
45398c21da
Merge pull request #2694 from gravitl/NET-802
...
NET-802: return user details form db
2023-11-27 17:39:27 +04:00
Abhishek K
0874618aac
Merge pull request #2693 from gravitl/NET-800
...
NET-800: Extclients ExtraAllowed IPs
2023-11-27 17:35:43 +04:00
Abhishek Kondur
81de838d93
return user details form db
2023-11-27 14:43:12 +04:00
Farukh Khan
99adc96f72
NET-698 ( #2671 )
...
* create emqx creds for host on pull if not found
* create emqx creds for host on pull if not found.
* emqx creds creation changed to host authenticate function
* emqx creds creation changed to host authenticate function.
* added node acls update
* added node acls update.
2023-11-27 13:54:21 +04:00
Abhishek Kondur
a41fcb5faa
initalize extraallowed ips field
2023-11-27 12:24:31 +04:00
Abhishek Kondur
cf0b4cbd2b
fix extclient route conv
2023-11-27 11:19:46 +04:00
Abhishek Kondur
b3ec58a929
add extraclient egress routes
2023-11-27 10:16:18 +04:00
Abhishek Kondur
358bd12297
send peer update for extclient extraAllowedIps update
2023-11-27 10:03:21 +04:00
Abhishek Kondur
fceae8f93a
move code to extpeers
2023-11-24 19:29:43 +04:00
Abhishek Kondur
b6b71c951e
add extclient extra allowedIPs and attach them to egress routes
2023-11-24 18:32:43 +04:00
Abhishek Kondur
9a58c1237e
extraAllowedIps fix for ext clients
2023-11-24 15:17:27 +04:00
Abhishek K
1d7299cbb3
Merge pull request #2692 from gravitl/master
...
master
2023-11-24 14:57:46 +04:00
Abhishek K
a5249d0208
Merge pull request #2691 from gravitl/release-v0.21.2
...
Release v0.21.2
2023-11-24 14:56:38 +04:00
Abhishek K
0fc520ff6b
Merge pull request #2688 from gravitl/NET-793
...
NET-793: skip license validation on timeout error
2023-11-23 09:16:13 +04:00
Abhishek Kondur
5fd0f3c965
disable clear cache hook
2023-11-23 08:53:41 +04:00
Abhishek Kondur
8a0f96fe9c
skip license validation on timeout error
2023-11-23 08:40:10 +04:00
dependabot[bot]
48d9192983
Bump github.com/gorilla/websocket from 1.5.0 to 1.5.1 ( #2681 )
...
Bumps [github.com/gorilla/websocket](https://github.com/gorilla/websocket ) from 1.5.0 to 1.5.1.
- [Release notes](https://github.com/gorilla/websocket/releases )
- [Commits](https://github.com/gorilla/websocket/compare/v1.5.0...v1.5.1 )
---
updated-dependencies:
- dependency-name: github.com/gorilla/websocket
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-11-22 13:10:49 +04:00
dependabot[bot]
d2294f8100
Bump github.com/go-jose/go-jose/v3 from 3.0.0 to 3.0.1 ( #2682 )
...
Bumps [github.com/go-jose/go-jose/v3](https://github.com/go-jose/go-jose ) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/go-jose/go-jose/releases )
- [Changelog](https://github.com/go-jose/go-jose/blob/v3/CHANGELOG.md )
- [Commits](https://github.com/go-jose/go-jose/compare/v3.0.0...v3.0.1 )
---
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>
2023-11-22 13:10:34 +04:00
dependabot[bot]
9f58639d47
Bump golang.org/x/oauth2 from 0.13.0 to 0.14.0 ( #2683 )
...
Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2 ) from 0.13.0 to 0.14.0.
- [Commits](https://github.com/golang/oauth2/compare/v0.13.0...v0.14.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>
2023-11-22 13:10:21 +04:00
Gabriel de Souza Seibel
944405f0b7
[ACC-339] Add route to restart server ( #2672 )
...
* Add route to restart server with SIGINT
* Respond with 200 in /api/server/health DELETE
* Log before sending SIGINT
* Change route to shutdown
2023-11-22 12:02:11 +04:00
Christopher Blaha
b26a18d425
update develop ( #2679 )
2023-11-22 11:50:49 +04:00
dependabot[bot]
c635d78aca
Bump github.com/mattn/go-sqlite3 from 1.14.17 to 1.14.18 ( #2657 )
...
Bumps [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3 ) from 1.14.17 to 1.14.18.
- [Release notes](https://github.com/mattn/go-sqlite3/releases )
- [Commits](https://github.com/mattn/go-sqlite3/compare/v1.14.17...v1.14.18 )
---
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-11-20 15:58:53 +04:00
dependabot[bot]
0ceac2928e
Bump github.com/spf13/cobra from 1.7.0 to 1.8.0 ( #2658 )
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Commits](https://github.com/spf13/cobra/compare/v1.7.0...v1.8.0 )
---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
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-11-20 15:58:37 +04:00
dependabot[bot]
ae232d74cb
Bump github.com/go-playground/validator/v10 from 10.15.5 to 10.16.0 ( #2659 )
...
Bumps [github.com/go-playground/validator/v10](https://github.com/go-playground/validator ) from 10.15.5 to 10.16.0.
- [Release notes](https://github.com/go-playground/validator/releases )
- [Commits](https://github.com/go-playground/validator/compare/v10.15.5...v10.16.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>
2023-11-20 15:58:24 +04:00
dependabot[bot]
579d065e76
Bump github.com/gorilla/handlers from 1.5.1 to 1.5.2 ( #2660 )
...
Bumps [github.com/gorilla/handlers](https://github.com/gorilla/handlers ) from 1.5.1 to 1.5.2.
- [Release notes](https://github.com/gorilla/handlers/releases )
- [Commits](https://github.com/gorilla/handlers/compare/v1.5.1...v1.5.2 )
---
updated-dependencies:
- dependency-name: github.com/gorilla/handlers
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-11-20 15:57:40 +04:00
Abhishek K
d7c1501cb6
Merge pull request #2656 from gravitl/dependabot/go_modules/develop/github.com/gorilla/mux-1.8.1
...
Bump github.com/gorilla/mux from 1.8.0 to 1.8.1
2023-11-20 15:56:19 +04:00
Abhishek K
5af7a6a50f
Merge pull request #2674 from gravitl/release-v0.21.2
...
v0.21.2
2023-11-19 20:34:26 +04:00
Abhishek K
7820d64f77
Merge pull request #2676 from gravitl/develop
...
Net 687 : fix license validation failure log (#2675 )
2023-11-17 22:07:58 +04:00
Gabriel de Souza Seibel
291551b45c
Net 687 : fix license validation failure log ( #2675 )
...
* On license validation fail, parse and store the message of the response
* Return cached response body when necessary
* Have license validation return proper val,err
* Improve logs readability on lic val error
2023-11-17 22:07:22 +04:00
Abhishek K
82bbf9277a
V0.21.2 release notes ( #2673 )
...
* v0.21.2 release notes
* v0.21.2 release notes
2023-11-17 19:10:04 +04:00
Gabriel de Souza Seibel
0a88fdebd9
[NET-687] On license validation fail, parse and store the message of the response ( #2669 )
...
* On license validation fail, parse and store the message of the response
* Return cached response body when necessary
* Have license validation return proper val,err
2023-11-17 18:56:51 +04:00
Abhishek K
27378b9c52
NET-765: publish deleted node update on disconnect ( #2668 )
...
* publish deleted node update on disconnect
* delete any daemon node
* set peer update for disconnected Node
* set peer update for disconnected Node
2023-11-15 19:53:52 +04:00
Abhishek K
83e83f8392
NET-751: Send deleted node peer update on uninstall ( #2665 )
...
* send deleted node peer update, when deleted host from client
* remove duplicate peer update
2023-11-10 11:37:38 +04:00
Abhishek K
de85d29eb2
Update README.md
2023-11-08 17:45:05 +04:00
Abhishek K
7169db78ea
NET-717: DNS Fixes ( #2654 )
...
* send dns with complete entry name
* publish dns records on adding host to network from UI
* publish node dns updates when host is removed
2023-11-08 17:43:41 +04:00
Abhishek K
a9a237cafc
check if new network is overlapping ( #2655 )
2023-11-08 17:43:20 +04:00