1f1775bb07
Batched Dependabot updates ( #22961 )
...
* Bump libc from 0.2.139 to 0.2.140
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.139 to 0.2.140.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.139...0.2.140 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump k8s.io/klog/v2 from 2.90.0 to 2.90.1
Bumps [k8s.io/klog/v2](https://github.com/kubernetes/klog ) from 2.90.0 to 2.90.1.
- [Release notes](https://github.com/kubernetes/klog/releases )
- [Changelog](https://github.com/kubernetes/klog/blob/main/RELEASE.md )
- [Commits](https://github.com/kubernetes/klog/compare/v2.90.0...v2.90.1 )
---
updated-dependencies:
- dependency-name: k8s.io/klog/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump github.com/googleapis/gax-go/v2 from 2.7.0 to 2.7.1
Bumps [github.com/googleapis/gax-go/v2](https://github.com/googleapis/gax-go ) from 2.7.0 to 2.7.1.
- [Release notes](https://github.com/googleapis/gax-go/releases )
- [Commits](https://github.com/googleapis/gax-go/compare/v2.7.0...v2.7.1 )
---
updated-dependencies:
- dependency-name: github.com/googleapis/gax-go/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp
Bumps [go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp](https://github.com/open-telemetry/opentelemetry-go ) from 1.13.0 to 1.14.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases )
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.13.0...v1.14.0 )
---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump google.golang.org/protobuf from 1.28.1 to 1.29.0
Bumps [google.golang.org/protobuf](https://github.com/protocolbuffers/protobuf-go ) from 1.28.1 to 1.29.0.
- [Release notes](https://github.com/protocolbuffers/protobuf-go/releases )
- [Changelog](https://github.com/protocolbuffers/protobuf-go/blob/master/release.bash )
- [Commits](https://github.com/protocolbuffers/protobuf-go/compare/v1.28.1...v1.29.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump github.com/prometheus/common from 0.40.0 to 0.42.0
Bumps [github.com/prometheus/common](https://github.com/prometheus/common ) from 0.40.0 to 0.42.0.
- [Release notes](https://github.com/prometheus/common/releases )
- [Commits](https://github.com/prometheus/common/compare/v0.40.0...v0.42.0 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/common
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump github.com/jackc/pgx/v4 from 4.18.0 to 4.18.1
Bumps [github.com/jackc/pgx/v4](https://github.com/jackc/pgx ) from 4.18.0 to 4.18.1.
- [Release notes](https://github.com/jackc/pgx/releases )
- [Changelog](https://github.com/jackc/pgx/blob/v4.18.1/CHANGELOG.md )
- [Commits](https://github.com/jackc/pgx/compare/v4.18.0...v4.18.1 )
---
updated-dependencies:
- dependency-name: github.com/jackc/pgx/v4
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump google.golang.org/protobuf from 1.28.1 to 1.29.0 in /api
Bumps [google.golang.org/protobuf](https://github.com/protocolbuffers/protobuf-go ) from 1.28.1 to 1.29.0.
- [Release notes](https://github.com/protocolbuffers/protobuf-go/releases )
- [Changelog](https://github.com/protocolbuffers/protobuf-go/blob/master/release.bash )
- [Commits](https://github.com/protocolbuffers/protobuf-go/compare/v1.28.1...v1.29.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump github.com/russellhaering/gosaml2 from 0.9.0 to 0.9.1 in /api
Bumps [github.com/russellhaering/gosaml2](https://github.com/russellhaering/gosaml2 ) from 0.9.0 to 0.9.1.
- [Release notes](https://github.com/russellhaering/gosaml2/releases )
- [Commits](https://github.com/russellhaering/gosaml2/compare/v0.9.0...v0.9.1 )
---
updated-dependencies:
- dependency-name: github.com/russellhaering/gosaml2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* Update generated protos
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alan Parra <alan.parra@goteleport.com >
2023-03-13 15:45:25 +00:00
Michael Wilson
49c64aabcb
Move the authorizer into its own package. ( #22776 )
...
* Move the authorizer into its own package.
The Authorizer and associated functions and constants have been moved into
their own package `authz`. This will allow us to more easily create separate
services for gRPC functionality so that we're not pushing as much into the
`lib/auth` package.
Though this PR is large, the only actual code change here is making
`ContextForLocalUser` exported and changing the `permissions_test.go` so that
it doesn't rely on the `lib/auth` package.
* Use context functions.
* Test and linting fixes.
* Add in a temporary alias file to ensure e still compiles.
* Use functions instead of var aliases for performance reasons.
* Adding in godocs, cleaning up tests.
* Fix tests.
* Add a few more aliases.
2023-03-09 02:21:10 +00:00
Isaiah Becker-Mayer
490b4d9dc2
Loop for poll ( #22746 )
...
* Swap out select for poll
wait_for_fd now uses poll instead of select, allowing us to wait for
file descriptors > 1024.
* Restructuring the function to simplify and adds a log statement on error
* Puts poll in a loop that checks for EINTR and EAGAIN
and calls it again if either of those errors were the source
of the error.
2023-03-08 00:21:12 +00:00
369e5ce871
Batched Dependabot updates ( #22652 )
...
* Bump go.opentelemetry.io/otel/sdk from 1.13.0 to 1.14.0
Bumps [go.opentelemetry.io/otel/sdk](https://github.com/open-telemetry/opentelemetry-go ) from 1.13.0 to 1.14.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases )
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.13.0...v1.14.0 )
---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/sdk
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump k8s.io/cli-runtime from 0.26.1 to 0.26.2
Bumps [k8s.io/cli-runtime](https://github.com/kubernetes/cli-runtime ) from 0.26.1 to 0.26.2.
- [Release notes](https://github.com/kubernetes/cli-runtime/releases )
- [Commits](https://github.com/kubernetes/cli-runtime/compare/v0.26.1...v0.26.2 )
---
updated-dependencies:
- dependency-name: k8s.io/cli-runtime
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump sigs.k8s.io/controller-runtime from 0.14.4 to 0.14.5
Bumps [sigs.k8s.io/controller-runtime](https://github.com/kubernetes-sigs/controller-runtime ) from 0.14.4 to 0.14.5.
- [Release notes](https://github.com/kubernetes-sigs/controller-runtime/releases )
- [Changelog](https://github.com/kubernetes-sigs/controller-runtime/blob/main/RELEASE.md )
- [Commits](https://github.com/kubernetes-sigs/controller-runtime/compare/v0.14.4...v0.14.5 )
---
updated-dependencies:
- dependency-name: sigs.k8s.io/controller-runtime
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump github.com/aws/aws-sdk-go from 1.44.210 to 1.44.214
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.44.210 to 1.44.214.
- [Release notes](https://github.com/aws/aws-sdk-go/releases )
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.44.210...v1.44.214 )
---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump rsa from 0.8.1 to 0.8.2
Bumps [rsa](https://github.com/RustCrypto/RSA ) from 0.8.1 to 0.8.2.
- [Release notes](https://github.com/RustCrypto/RSA/releases )
- [Changelog](https://github.com/RustCrypto/RSA/blob/master/CHANGELOG.md )
- [Commits](https://github.com/RustCrypto/RSA/compare/v0.8.1...v0.8.2 )
---
updated-dependencies:
- dependency-name: rsa
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump go.opentelemetry.io/otel/trace from 1.13.0 to 1.14.0 in /api
Bumps [go.opentelemetry.io/otel/trace](https://github.com/open-telemetry/opentelemetry-go ) from 1.13.0 to 1.14.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases )
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.13.0...v1.14.0 )
---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/trace
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump github.com/Azure/azure-sdk-for-go/sdk/azcore from 1.3.1 to 1.4.0
Bumps [github.com/Azure/azure-sdk-for-go/sdk/azcore](https://github.com/Azure/azure-sdk-for-go ) from 1.3.1 to 1.4.0.
- [Release notes](https://github.com/Azure/azure-sdk-for-go/releases )
- [Changelog](https://github.com/Azure/azure-sdk-for-go/blob/main/documentation/release.md )
- [Commits](https://github.com/Azure/azure-sdk-for-go/compare/sdk/azcore/v1.3.1...sdk/azcore/v1.4.0 )
---
updated-dependencies:
- dependency-name: github.com/Azure/azure-sdk-for-go/sdk/azcore
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump golang.org/x/net from 0.7.0 to 0.8.0 in /api
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.7.0 to 0.8.0.
- [Release notes](https://github.com/golang/net/releases )
- [Commits](https://github.com/golang/net/compare/v0.7.0...v0.8.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump decode-uri-component from 0.2.0 to 0.2.2
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component ) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases )
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2 )
---
updated-dependencies:
- dependency-name: decode-uri-component
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump golang.org/x/oauth2 from 0.5.0 to 0.6.0
Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2 ) from 0.5.0 to 0.6.0.
- [Release notes](https://github.com/golang/oauth2/releases )
- [Commits](https://github.com/golang/oauth2/compare/v0.5.0...v0.6.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 >
* Bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc
Bumps [go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc](https://github.com/open-telemetry/opentelemetry-go ) from 1.13.0 to 1.14.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases )
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.13.0...v1.14.0 )
---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
Bumps [go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp](https://github.com/open-telemetry/opentelemetry-go-contrib ) from 0.39.0 to 0.40.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go-contrib/releases )
- [Changelog](https://github.com/open-telemetry/opentelemetry-go-contrib/blob/main/CHANGELOG.md )
- [Commits](https://github.com/open-telemetry/opentelemetry-go-contrib/compare/zpages/v0.39.0...zpages/v0.40.0 )
---
updated-dependencies:
- dependency-name: go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc
Bumps [go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc](https://github.com/open-telemetry/opentelemetry-go-contrib ) from 0.39.0 to 0.40.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go-contrib/releases )
- [Changelog](https://github.com/open-telemetry/opentelemetry-go-contrib/blob/main/CHANGELOG.md )
- [Commits](https://github.com/open-telemetry/opentelemetry-go-contrib/compare/zpages/v0.39.0...zpages/v0.40.0 )
---
updated-dependencies:
- dependency-name: go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* go mod tidy
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nic Klaassen <nic@goteleport.com >
2023-03-07 23:34:50 +00:00
Isaiah Becker-Mayer
6fbaa5946e
Swap out select for poll ( #22676 )
...
* Swap out select for poll
wait_for_fd now uses poll instead of select, allowing us to wait for
file descriptors > 1024.
* Restructuring the function to simplify and adds a log statement on error
2023-03-07 19:41:48 +00:00
d5417359b1
Batched Dependabot updates ( #22301 )
...
* Bump github.com/prometheus/common from 0.39.0 to 0.40.0
Bumps [github.com/prometheus/common](https://github.com/prometheus/common ) from 0.39.0 to 0.40.0.
- [Release notes](https://github.com/prometheus/common/releases )
- [Commits](https://github.com/prometheus/common/compare/v0.39.0...v0.40.0 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/common
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump github.com/aws/aws-sdk-go-v2/service/ec2 from 1.86.0 to 1.86.1
Bumps [github.com/aws/aws-sdk-go-v2/service/ec2](https://github.com/aws/aws-sdk-go-v2 ) from 1.86.0 to 1.86.1.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases )
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/ec2/v1.86.0...service/ec2/v1.86.1 )
---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/service/ec2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump github.com/jcmturner/gokrb5/v8 from 8.4.3 to 8.4.4
Bumps [github.com/jcmturner/gokrb5/v8](https://github.com/jcmturner/gokrb5 ) from 8.4.3 to 8.4.4.
- [Release notes](https://github.com/jcmturner/gokrb5/releases )
- [Commits](https://github.com/jcmturner/gokrb5/compare/v8.4.3...v8.4.4 )
---
updated-dependencies:
- dependency-name: github.com/jcmturner/gokrb5/v8
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump github.com/golang-jwt/jwt/v4 from 4.4.3 to 4.5.0
Bumps [github.com/golang-jwt/jwt/v4](https://github.com/golang-jwt/jwt ) from 4.4.3 to 4.5.0.
- [Release notes](https://github.com/golang-jwt/jwt/releases )
- [Changelog](https://github.com/golang-jwt/jwt/blob/main/VERSION_HISTORY.md )
- [Commits](https://github.com/golang-jwt/jwt/compare/v4.4.3...v4.5.0 )
---
updated-dependencies:
- dependency-name: github.com/golang-jwt/jwt/v4
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump tempfile from 3.3.0 to 3.4.0
Bumps [tempfile](https://github.com/Stebalien/tempfile ) from 3.3.0 to 3.4.0.
- [Release notes](https://github.com/Stebalien/tempfile/releases )
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/NEWS )
- [Commits](https://github.com/Stebalien/tempfile/commits )
---
updated-dependencies:
- dependency-name: tempfile
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump github.com/stretchr/testify from 1.8.1 to 1.8.2 in /api
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.8.1 to 1.8.2.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.8.1...v1.8.2 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump github.com/stretchr/testify from 1.8.1 to 1.8.2
* go mod tidy in /api
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tobiasz Heller <tobiasz.heller@goteleport.com >
2023-03-01 14:58:31 +00:00
rosstimothy
7f5c185d5b
Adds a new credentials.TransportCredentials to auth and refactors ( #21850 )
...
`auth.Middleware` to make use of them. This allows for less redundancy
per RPC and provides the ability to perform session control when grpc
connections are established.
The `auth.Middleware.withAuthenticatedUser` function was called from all
interceptors of any gRPC server that leveraged `auth.Middleware`. This
was constructing the identity of the client from the TLS certificate
per RPC. Since the identity of a connection cannot change between RPCs
there is no need to construct the identity in an interceptor. Instead,
the new `auth.TransportCredentials` can build the identity once after the
TLS handshake completes. When interceptors or gRPC handlers need to
acquire the identity they can do so using the same
mechanism via `peer.Peer.AuthInfo` and assert on the new `auth.IdentityInfo`
type:
```go
peerInfo, ok := peer.FromContext(ctx)
if !ok {
return
}
connInfo, ok := peerInfo.AuthInfo.(auth.IdentityInfo)
if !ok {
return
}
identity := connInfo.IdentityGetter.GetIdentity()
connState := connInfo.TLSInfo.State
```
The gRPC server that is served on the Proxy ssh port needs to hold the
same invariants as the ssh server available on the same port. This
means that connection limits need to be enforced when new connections
are established. To achieve this the new `auth.TransportCredentials` can
be provided with an `auth.ConnectionEnforcer` and an `auth.Authorizer`
to first build an identity, then ensures that the user is authorized and
finally that the user has not exceeded their connection limits.
Other minor changes include providing the cluster name to the
`auth.Middleware` instead of it looking the value up from the cache every
time an identity is created. Some interceptors were also moved around or
removed to eliminate the chances of having duplicate interceptors end up in
the interceptor chain.
Part of #19812
2023-02-23 14:55:06 +00:00
Anton Miniailo and Noah Stride
13fad744d6
Adjust clientIP/pinnedIP fields according to IP pinning RFD ( #21866 )
...
* Adjust clientIP/pinnedIP fields according to IP pinning RFD
* Improve wording.
Co-authored-by: Noah Stride <noah.stride@goteleport.com >
---------
Co-authored-by: Noah Stride <noah.stride@goteleport.com >
2023-02-15 19:36:19 +00:00
Jakub Nyckowski
79ebdc89c8
Bump golangci-lint to v1.51.1 ( #21440 )
2023-02-08 00:44:08 +00:00
Isaiah Becker-Mayer
43bfc37d01
adds a copy in PNG2Frame Decode to fix async buffer overwrite ( #21009 )
2023-02-01 21:32:06 +00:00
dependabot[bot]
7ca3be7402
Bump uuid from 1.2.2 to 1.3.0 ( #21084 )
...
Bumps [uuid](https://github.com/uuid-rs/uuid ) from 1.2.2 to 1.3.0.
- [Release notes](https://github.com/uuid-rs/uuid/releases )
- [Commits](https://github.com/uuid-rs/uuid/compare/1.2.2...1.3.0 )
---
updated-dependencies:
- dependency-name: 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-02-01 19:31:59 +00:00
Zac Bergquist
edcc5499d9
Attempt to reconnect a closed LDAP connection ( #20991 )
...
When desktop discovery via LDAP is enabled, there is enough traffic
on the connection for it to remain open for long periods of time.
If discovery is disabled and there are not frequent connections to
desktops, the LDAP server may close the connection.
In this case, future connection attempts will fail when making an
LDAP query for the user's SID. Now we detect closed connections in
this code path and attempt to open a new LDAP connection.
The first connection attempt after the connection is closed will
incur some extra latency, as we obtain a new cert when refreshing
the LDAP connection.
Additionally, increase the heartbeat period for static hosts from
5s to 5m. These hosts are infrequently changing, so heartbeating
every 5 seconds is an inefficient use of resources.
Fixes #20904
2023-02-01 15:56:14 +00:00
Zac Bergquist
b590a1556b
Disable desktop recording with a discard stream ( #20901 )
...
Prior to this, disabling desktop recordings would prevent them from
being uploaded, but AuditWriter would still write them to disk.
As a result, users who weren't recording sesions would still incur
both a performance penalty and unnecessary use of disk space.
Updates #16773
2023-01-31 17:42:16 +00:00
Zac Bergquist
19eae4a738
Update Rust to 1.67.0 ( #20821 )
...
Fix lint errors with cargo clippy --fix
2023-01-28 00:34:14 +00:00
Łukasz Kozłowski
84ac0ed936
Encode PNGs in Rust ( #20127 )
...
Encode PNGs in Rust
2023-01-25 18:54:50 +00:00
4cc1c76e4d
Batched dependabot updates ( #20624 )
...
* Update rsa requirement in /lib/srv/desktop/rdp/rdpclient
Updates the requirements on [rsa](https://github.com/RustCrypto/RSA ) to permit the latest version.
- [Release notes](https://github.com/RustCrypto/RSA/releases )
- [Changelog](https://github.com/RustCrypto/RSA/blob/master/CHANGELOG.md )
- [Commits](https://github.com/RustCrypto/RSA/compare/v0.7.2...v0.8.1 )
---
updated-dependencies:
- dependency-name: rsa
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump rsa from 0.7.2 to 0.8.1
Bumps [rsa](https://github.com/RustCrypto/RSA ) from 0.7.2 to 0.8.1.
- [Release notes](https://github.com/RustCrypto/RSA/releases )
- [Changelog](https://github.com/RustCrypto/RSA/blob/master/CHANGELOG.md )
- [Commits](https://github.com/RustCrypto/RSA/compare/v0.7.2...v0.8.1 )
---
updated-dependencies:
- dependency-name: rsa
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump github.com/gravitational/trace from 1.2.0 to 1.2.1 in /api
Bumps [github.com/gravitational/trace](https://github.com/gravitational/trace ) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/gravitational/trace/releases )
- [Commits](https://github.com/gravitational/trace/compare/v1.2.0...v1.2.1 )
---
updated-dependencies:
- dependency-name: github.com/gravitational/trace
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump github.com/aws/aws-sdk-go from 1.44.180 to 1.44.184
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.44.180 to 1.44.184.
- [Release notes](https://github.com/aws/aws-sdk-go/releases )
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.44.180...v1.44.184 )
---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump github.com/coreos/go-semver from 0.3.0 to 0.3.1
Bumps [github.com/coreos/go-semver](https://github.com/coreos/go-semver ) from 0.3.0 to 0.3.1.
- [Release notes](https://github.com/coreos/go-semver/releases )
- [Commits](https://github.com/coreos/go-semver/compare/v0.3.0...v0.3.1 )
---
updated-dependencies:
- dependency-name: github.com/coreos/go-semver
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump k8s.io/apimachinery from 0.26.0 to 0.26.1
Bumps [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery ) from 0.26.0 to 0.26.1.
- [Release notes](https://github.com/kubernetes/apimachinery/releases )
- [Commits](https://github.com/kubernetes/apimachinery/compare/v0.26.0...v0.26.1 )
---
updated-dependencies:
- dependency-name: k8s.io/apimachinery
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump github.com/aws/aws-sdk-go-v2/service/ec2 from 1.78.0 to 1.80.0
Bumps [github.com/aws/aws-sdk-go-v2/service/ec2](https://github.com/aws/aws-sdk-go-v2 ) from 1.78.0 to 1.80.0.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases )
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/ec2/v1.78.0...service/ec2/v1.80.0 )
---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/service/ec2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump k8s.io/api from 0.26.0 to 0.26.1
Bumps [k8s.io/api](https://github.com/kubernetes/api ) from 0.26.0 to 0.26.1.
- [Release notes](https://github.com/kubernetes/api/releases )
- [Commits](https://github.com/kubernetes/api/compare/v0.26.0...v0.26.1 )
---
updated-dependencies:
- dependency-name: k8s.io/api
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump cloud.google.com/go/storage from 1.28.1 to 1.29.0
Bumps [cloud.google.com/go/storage](https://github.com/googleapis/google-cloud-go ) from 1.28.1 to 1.29.0.
- [Release notes](https://github.com/googleapis/google-cloud-go/releases )
- [Changelog](https://github.com/googleapis/google-cloud-go/blob/main/CHANGES.md )
- [Commits](https://github.com/googleapis/google-cloud-go/compare/storage/v1.28.1...spanner/v1.29.0 )
---
updated-dependencies:
- dependency-name: cloud.google.com/go/storage
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump k8s.io/cli-runtime from 0.26.0 to 0.26.1
Bumps [k8s.io/cli-runtime](https://github.com/kubernetes/cli-runtime ) from 0.26.0 to 0.26.1.
- [Release notes](https://github.com/kubernetes/cli-runtime/releases )
- [Commits](https://github.com/kubernetes/cli-runtime/compare/v0.26.0...v0.26.1 )
---
updated-dependencies:
- dependency-name: k8s.io/cli-runtime
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* revert firestore to v1.6.0
* Bump k8s.io/kubectl from 0.26.0 to 0.26.1
Bumps [k8s.io/kubectl](https://github.com/kubernetes/kubectl ) from 0.26.0 to 0.26.1.
- [Release notes](https://github.com/kubernetes/kubectl/releases )
- [Commits](https://github.com/kubernetes/kubectl/compare/v0.26.0...v0.26.1 )
---
updated-dependencies:
- dependency-name: k8s.io/kubectl
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump k8s.io/client-go from 0.26.0 to 0.26.1
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go ) from 0.26.0 to 0.26.1.
- [Release notes](https://github.com/kubernetes/client-go/releases )
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/kubernetes/client-go/compare/v0.26.0...v0.26.1 )
---
updated-dependencies:
- dependency-name: k8s.io/client-go
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump k8s.io/apiserver from 0.26.0 to 0.26.1
Bumps [k8s.io/apiserver](https://github.com/kubernetes/apiserver ) from 0.26.0 to 0.26.1.
- [Release notes](https://github.com/kubernetes/apiserver/releases )
- [Commits](https://github.com/kubernetes/apiserver/compare/v0.26.0...v0.26.1 )
---
updated-dependencies:
- dependency-name: k8s.io/apiserver
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* use firestore v1.6.1
* go mod tidy
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-batcher[bot] <122306277+dependabot-batcher[bot]@users.noreply.github.com>
2023-01-25 00:25:59 +00:00
Vitor Enes
06c313f47f
Show client_idle_timeout_message for windows access ( #20576 )
...
This commit sets the `IdleTimeoutMessage` in the windows server
`MonitorConfig`, which ensures that the `client_idle_timeout_message`
will be written to the `MessageWriter` upon a client timeout
(see `Monitor.start`).
2023-01-24 18:26:24 +00:00
Alan Parra
11d58e25c7
Refactor AccessMFAParams and MFAParams to allow additional data ( #20300 )
...
Refactor `services.AccessMFAParams` and the accompanying `MFAParams` methods so
they may be extended to carry additional data (eg, information required to
perform device trust checks).
This PR refactors existing code without adding any new functionality, so it may
be backported to older branches to alleviate eventual conflicts. Follow up
changes will take advantage of it to add support for device trust.
Related to gravitational/teleport.e#514 .
2023-01-17 20:02:38 +00:00
9ecfca3c73
Add non_ad_hosts to windows desktop service config ( #19806 )
...
Co-authored-by: Zac Bergquist <zac.bergquist@goteleport.com >
Co-authored-by: Isaiah Becker-Mayer <isaiah@goteleport.com >
2023-01-11 20:44:19 +00:00
Isaiah Becker-Mayer
af251b47ab
Change "name" to "sAMAccountName" ( #20005 )
...
Previously we were looking up a user's SID by their ldap "name" attribute,
which is their modifiable display name. This commit has us looking them
up by their SAM Account Name, which is their unmodifiable username.
2023-01-09 20:19:28 +00:00
Isaiah Becker-Mayer
f30e5c970c
Adds show_desktop_wallpaper flag, disables Windows wallpaper by default ( #19541 )
2023-01-06 17:26:15 +00:00
rosstimothy and dependabot[bot]
d27f63a49b
Dependency updates ( #19686 )
...
* Bump libc from 0.2.138 to 0.2.139
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.138 to 0.2.139.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.138...0.2.139 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump github.com/aws/aws-sdk-go-v2/credentials from 1.13.6 to 1.13.7
Bumps [github.com/aws/aws-sdk-go-v2/credentials](https://github.com/aws/aws-sdk-go-v2 ) from 1.13.6 to 1.13.7.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases )
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/mq/v1.13.6...service/mq/v1.13.7 )
---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/credentials
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump cloud.google.com/go/container from 1.8.0 to 1.9.0
Bumps [cloud.google.com/go/container](https://github.com/googleapis/google-cloud-go ) from 1.8.0 to 1.9.0.
- [Release notes](https://github.com/googleapis/google-cloud-go/releases )
- [Changelog](https://github.com/googleapis/google-cloud-go/blob/main/documentai/CHANGES.md )
- [Commits](https://github.com/googleapis/google-cloud-go/compare/dlp/v1.8.0...asset/v1.9.0 )
---
updated-dependencies:
- dependency-name: cloud.google.com/go/container
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump github.com/bufbuild/connect-go from 1.3.2 to 1.4.1
Bumps [github.com/bufbuild/connect-go](https://github.com/bufbuild/connect-go ) from 1.3.2 to 1.4.1.
- [Release notes](https://github.com/bufbuild/connect-go/releases )
- [Commits](https://github.com/bufbuild/connect-go/compare/v1.3.2...v1.4.1 )
---
updated-dependencies:
- dependency-name: github.com/bufbuild/connect-go
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump github.com/go-webauthn/webauthn from 0.5.0 to 0.6.0
Bumps [github.com/go-webauthn/webauthn](https://github.com/go-webauthn/webauthn ) from 0.5.0 to 0.6.0.
- [Release notes](https://github.com/go-webauthn/webauthn/releases )
- [Commits](https://github.com/go-webauthn/webauthn/compare/v0.5.0...v0.6.0 )
---
updated-dependencies:
- dependency-name: github.com/go-webauthn/webauthn
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump github.com/mdlayher/netlink from 1.7.0 to 1.7.1
Bumps [github.com/mdlayher/netlink](https://github.com/mdlayher/netlink ) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/mdlayher/netlink/releases )
- [Changelog](https://github.com/mdlayher/netlink/blob/main/CHANGELOG.md )
- [Commits](https://github.com/mdlayher/netlink/compare/v1.7.0...v1.7.1 )
---
updated-dependencies:
- dependency-name: github.com/mdlayher/netlink
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump cloud.google.com/go/iam from 0.8.0 to 0.9.0
Bumps [cloud.google.com/go/iam](https://github.com/googleapis/google-cloud-go ) from 0.8.0 to 0.9.0.
- [Release notes](https://github.com/googleapis/google-cloud-go/releases )
- [Changelog](https://github.com/googleapis/google-cloud-go/blob/main/CHANGES.md )
- [Commits](https://github.com/googleapis/google-cloud-go/compare/v0.8.0...v0.9.0 )
---
updated-dependencies:
- dependency-name: cloud.google.com/go/iam
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump github.com/aws/aws-sdk-go-v2/service/ec2 from 1.76.1 to 1.77.0
Bumps [github.com/aws/aws-sdk-go-v2/service/ec2](https://github.com/aws/aws-sdk-go-v2 ) from 1.76.1 to 1.77.0.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases )
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/ec2/v1.76.1...service/ec2/v1.77.0 )
---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/service/ec2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump github.com/gocql/gocql from 1.3.0 to 1.3.1
Bumps [github.com/gocql/gocql](https://github.com/gocql/gocql ) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/gocql/gocql/releases )
- [Changelog](https://github.com/gocql/gocql/blob/master/CHANGELOG.md )
- [Commits](https://github.com/gocql/gocql/compare/v1.3.0...v1.3.1 )
---
updated-dependencies:
- dependency-name: github.com/gocql/gocql
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump github.com/pquerna/otp from 1.3.0 to 1.4.0
Bumps [github.com/pquerna/otp](https://github.com/pquerna/otp ) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/pquerna/otp/releases )
- [Commits](https://github.com/pquerna/otp/compare/v1.3.0...v1.4.0 )
---
updated-dependencies:
- dependency-name: github.com/pquerna/otp
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* revert cloud.google.com/go/iam update
* revert github.com/go-webauthn/webauthn update
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-29 20:12:50 +00:00
Łukasz Kozłowski
d85795c7af
Fix Rust warnings ( #19643 )
2022-12-23 15:03:40 +00:00
Isaiah Becker-Mayer
9a06ca404c
Windows Certificate SID Mapping ( #19340 )
2022-12-22 21:54:50 +00:00
Roman Tkachenko
f873cbe0ce
Fix skipped but required checks for Github Actions ( #19594 )
2022-12-22 01:44:11 +00:00
Isaiah Becker-Mayer
09aefe779b
Fixes noisy-square distortions
2022-12-20 10:21:54 -08:00
Isaiah Becker-Mayer
e5d2b5a6c4
Clean up windows desktop access error logs on expected disconnects ( #19389 )
2022-12-20 17:25:25 +00:00
Roman Tkachenko and Victor Sokolov
91f7030900
Add workflows that build tools on Mac OS and Windows ( #19226 )
...
Signed-off-by: Roman Tkachenko <roman@goteleport.com >
Co-authored-by: Victor Sokolov <gzigzigzeo@gmail.com >
2022-12-20 05:25:56 +00:00
Tobiasz Heller
77e10d6ff0
Replace deprecated duo-labs/webauthn with go-webauthn/webauthn ( #19476 )
2022-12-19 18:07:30 +00:00
Jakub Nyckowski and Alan Parra
9c80f3802e
Enable nolintlint linter ( #19406 )
...
* Enable nolintlint linter
* Fix nolint comments in the api package
* Fix RDP client comment
* Address review comment
Co-authored-by: Alan Parra <alan.parra@goteleport.com >
* Allow unused for nolintlint linter
* Remove redundant casting
* Add comment on why allowed unused is enabled
Co-authored-by: Alan Parra <alan.parra@goteleport.com >
Co-authored-by: Alan Parra <alan.parra@goteleport.com >
2022-12-16 21:13:58 +00:00
Steven Martin
e1ebc332f8
spell fixes ( #19419 )
2022-12-16 19:01:28 +00:00
Isaiah Becker-Mayer
7583247046
Adds a maximum message size for RDP messages and adds the tdp Notification message ( #18131 )
2022-12-14 19:25:55 +00:00
Isaiah Becker-Mayer
fc33246807
Fixes dissonance between disconnect_expired_cert vs require_session_mfa ( #18607 )
2022-12-07 17:00:38 +00:00
Tobiasz Heller and dependabot[bot]
d0646d2cdd
Dependency updates ( #19139 )
...
* Bump github.com/bufbuild/connect-go from 1.1.0 to 1.3.2
Bumps [github.com/bufbuild/connect-go](https://github.com/bufbuild/connect-go ) from 1.1.0 to 1.3.2.
- [Release notes](https://github.com/bufbuild/connect-go/releases )
- [Commits](https://github.com/bufbuild/connect-go/compare/v1.1.0...v1.3.2 )
---
updated-dependencies:
- dependency-name: github.com/bufbuild/connect-go
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump golang.org/x/sys from 0.2.0 to 0.3.0
Bumps [golang.org/x/sys](https://github.com/golang/sys ) from 0.2.0 to 0.3.0.
- [Release notes](https://github.com/golang/sys/releases )
- [Commits](https://github.com/golang/sys/compare/v0.2.0...v0.3.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sys
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump go.opentelemetry.io/otel/sdk from 1.11.1 to 1.11.2
Bumps [go.opentelemetry.io/otel/sdk](https://github.com/open-telemetry/opentelemetry-go ) from 1.11.1 to 1.11.2.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases )
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.11.1...v1.11.2 )
---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/sdk
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump github.com/aws/aws-sdk-go-v2 from 1.17.1 to 1.17.2
Bumps [github.com/aws/aws-sdk-go-v2](https://github.com/aws/aws-sdk-go-v2 ) from 1.17.1 to 1.17.2.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases )
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/v1.17.1...v1.17.2 )
---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump libc from 0.2.137 to 0.2.138
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.137 to 0.2.138.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.137...0.2.138 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump go.opentelemetry.io/otel/exporters/otlp/otlptrace
Bumps [go.opentelemetry.io/otel/exporters/otlp/otlptrace](https://github.com/open-telemetry/opentelemetry-go ) from 1.11.1 to 1.11.2.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases )
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.11.1...v1.11.2 )
---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/exporters/otlp/otlptrace
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump go.opentelemetry.io/otel from 1.11.1 to 1.11.2
Bumps [go.opentelemetry.io/otel](https://github.com/open-telemetry/opentelemetry-go ) from 1.11.1 to 1.11.2.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases )
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.11.1...v1.11.2 )
---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump github.com/aws/aws-sdk-go-v2/service/ec2 from 1.74.0 to 1.75.0
Bumps [github.com/aws/aws-sdk-go-v2/service/ec2](https://github.com/aws/aws-sdk-go-v2 ) from 1.74.0 to 1.75.0.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases )
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/ec2/v1.74.0...service/ec2/v1.75.0 )
---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/service/ec2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump github.com/aws/aws-sdk-go-v2/service/sts from 1.17.5 to 1.17.6
Bumps [github.com/aws/aws-sdk-go-v2/service/sts](https://github.com/aws/aws-sdk-go-v2 ) from 1.17.5 to 1.17.6.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases )
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/config/v1.17.5...config/v1.17.6 )
---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/service/sts
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp
Bumps [go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp](https://github.com/open-telemetry/opentelemetry-go ) from 1.11.1 to 1.11.2.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases )
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.11.1...v1.11.2 )
---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump github.com/aws/aws-sdk-go-v2/feature/ec2/imds
Bumps [github.com/aws/aws-sdk-go-v2/feature/ec2/imds](https://github.com/aws/aws-sdk-go-v2 ) from 1.12.19 to 1.12.20.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases )
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/credentials/v1.12.19...credentials/v1.12.20 )
---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/feature/ec2/imds
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump go.opentelemetry.io/otel/exporters/otlp/otlptrace in /api
Bumps [go.opentelemetry.io/otel/exporters/otlp/otlptrace](https://github.com/open-telemetry/opentelemetry-go ) from 1.11.1 to 1.11.2.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases )
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.11.1...v1.11.2 )
---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/exporters/otlp/otlptrace
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* go mod tidy
* Bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-07 17:27:07 +01:00
Przemko Robakowski
b2e1807d03
Make bitmaps opaque in Desktop Access ( #18985 )
...
This change brings back setting alpha to 100% (fully opaque) before sending bitmap data to TDP in Desktop Access.
This fixes problem with using Desktop Access with Windows 10.
2022-12-07 13:00:24 +00:00
Isaiah Becker-Mayer
8498346fba
Displays Server Disconnect reason to the user ( #18959 )
2022-12-07 03:18:53 +00:00
Zac Bergquist
c9e64e1c0e
Make the uploader responsible for creating the directories it needs
...
This removes a bunch of custom code where we manually create uploader
directories in tests because the full uploader service is not running.
2022-12-04 11:50:29 -05:00
Zac Bergquist
2314ebf7e6
uploader: move corrupted uploads to separate directory
...
This ensures that the uploader won't busy loop over the same corrupted
upload file, while ensuring that the file is still preserved.
Fixes #18936
2022-12-04 11:50:29 -05:00
Roman Tkachenko and Victor Sokolov
710b7d18ef
Implicitly set go version in prepare-workspace ( #18953 )
...
- Determine Go version for cache key automatically instead of hardcoding.
- Do not build ghcr CI images (etcd and buildboxes) on PRs to avoid unintended breakages.
- Only build/push them on push events which mirrors our current Drone setup. We might add ability to trigger them manually via workflow_dispatch events later.
- Add release branches pattern for buildbox images trigger as well.
- Remove packages: read permission from test jobs since buildbox images are now public.
Signed-off-by: Roman Tkachenko <roman@goteleport.com >
Co-authored-by: Victor Sokolov <gzigzigzeo@gmail.com >
2022-12-01 00:40:53 +00:00
Roman Tkachenko and Victor Sokolov
cda4be5273
Add Go version to GHA cache key and CI image workflow ( #18877 )
...
* Include Go version in the cache key to prevent cache reuse when upgrading Go.
* Push buildboxes to Github container registry to avoid public ECR rate limiting.
Signed-off-by: Roman Tkachenko <roman@goteleport.com >
Co-authored-by: Victor Sokolov <gzigzigzeo@gmail.com >
2022-11-30 00:25:45 +00:00
dependabot[bot]
a87a4a45af
Bump env_logger from 0.9.3 to 0.10.0 ( #18837 )
...
Bumps [env_logger](https://github.com/rust-cli/env_logger ) from 0.9.3 to 0.10.0.
- [Release notes](https://github.com/rust-cli/env_logger/releases )
- [Changelog](https://github.com/rust-cli/env_logger/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rust-cli/env_logger/compare/v0.9.3...v0.10.0 )
---
updated-dependencies:
- dependency-name: env_logger
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-29 20:50:02 +00:00
Łukasz Kozłowski
b6bbe28f3a
Add FIPS support for Desktop Access ( #18076 )
2022-11-23 15:32:53 +01:00
Roman Tkachenko
a6dfac72ed
Set permissions for GHA workflows ( #18728 )
2022-11-22 17:35:43 -08:00
dependabot[bot]
6cb28247b5
Bump uuid from 1.2.1 to 1.2.2 ( #18566 )
...
Bumps [uuid](https://github.com/uuid-rs/uuid ) from 1.2.1 to 1.2.2.
- [Release notes](https://github.com/uuid-rs/uuid/releases )
- [Commits](https://github.com/uuid-rs/uuid/compare/1.2.1...1.2.2 )
---
updated-dependencies:
- dependency-name: uuid
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-18 15:19:06 +00:00
dependabot[bot]
adb5d9f25b
Bump rsa from 0.7.1 to 0.7.2 ( #18567 )
...
Bumps [rsa](https://github.com/RustCrypto/RSA ) from 0.7.1 to 0.7.2.
- [Release notes](https://github.com/RustCrypto/RSA/releases )
- [Changelog](https://github.com/RustCrypto/RSA/blob/master/CHANGELOG.md )
- [Commits](https://github.com/RustCrypto/RSA/compare/v0.7.1...v0.7.2 )
---
updated-dependencies:
- dependency-name: rsa
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-17 22:34:21 +00:00
rosstimothy
6c4722f18c
Make SessionTracker heartbeat loop more robust ( #18415 )
...
* Make SessionTracker heartbeat loop more robust
`(*SessionTracker).UpdateExpirationLoop` terminated the first time
it got an error attempting to persist the updated expiry to Auth.
A momentary network outage could prevent the `types.SessionTracker`
from being updated again causing it to have the wrong TTL in the
backend. This could result in sessions sticking around longer than
needed or being assumed to have been terminated prior to the session
actually ending.
A `retryutils.Retry` has been added to allow for retrying to update
a `types.SessionTracker` with some backoff. The retry loop will continue
until the session is closed, the update is successful, or the retry
has occurred for longer than the `types.SessionTrackers` last known
expiry.
`apidefaults.SessionTrackerTTL` was also reduced from 1h to 30m to
reduce the amount of time a stale tracker may linger in the backend.
The added robustness to the update loop should alleviate the need for
the lengthy TTL.
2022-11-17 13:54:25 +00:00
Isaiah Becker-Mayer
a78c34eea6
Always field ServerClientIdConfirms by responding with a ClientDeviceListAnnounceRequest ( #18365 )
...
that contains smartcard info, rather than previous behavior of only doing
so once and then just returning an empty ClientDeviceListAnnounceRequest.
This allows us to run commands like `certutil -scinfo` and receive data
back about Teleport's virtual smartcard.
2022-11-11 20:02:27 +00:00
Isaiah Becker-Mayer
7c83501612
Shared Directory Audit events ( #17410 )
2022-11-10 19:11:44 +00:00
Christopher Cooper
03dd38abcd
Fix nil pointer in desktop initialization ( #18286 )
2022-11-09 16:19:58 +00:00
dependabot[bot]
f4394a5d09
Bump env_logger from 0.9.1 to 0.9.3 ( #18240 )
...
Bumps [env_logger](https://github.com/env-logger-rs/env_logger ) from 0.9.1 to 0.9.3.
- [Release notes](https://github.com/env-logger-rs/env_logger/releases )
- [Changelog](https://github.com/env-logger-rs/env_logger/blob/main/CHANGELOG.md )
- [Commits](https://github.com/env-logger-rs/env_logger/compare/v0.9.1...v0.9.3 )
---
updated-dependencies:
- dependency-name: env_logger
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-08 15:13:33 +00:00