Skip to content

[v14] Revert rejecting connection if PROXY header is signed with non-local cluster#32068

Merged
AntonAM merged 1 commit intobranch/v14from
anton/revert-failing-nonlocal-cluster
Sep 18, 2023
Merged

[v14] Revert rejecting connection if PROXY header is signed with non-local cluster#32068
AntonAM merged 1 commit intobranch/v14from
anton/revert-failing-nonlocal-cluster

Conversation

@AntonAM
Copy link
Copy Markdown
Contributor

@AntonAM AntonAM commented Sep 18, 2023

This PR temporarily reverts rejecting connection if PROXY header is signed with non-local cluster for branch v14, because it leads to an issue when cluster's name is changed in the config ( #32066 ). This is to make sure our v14 release is not affected by this issue while we're working on proper fix.

…cluster

Temporary reverting before we implement proper fix. This caused clusters with changed name (but not updated CA) to become unaccesible.
@AntonAM AntonAM requested a review from tigrato September 18, 2023 17:38
@AntonAM AntonAM marked this pull request as ready for review September 18, 2023 18:11
@public-teleport-github-review-bot public-teleport-github-review-bot Bot removed the request for review from zmb3 September 18, 2023 18:25
@AntonAM AntonAM added this pull request to the merge queue Sep 18, 2023
m.WithFields(log.Fields{
"src_addr": conn.RemoteAddr(),
"dst_addr": conn.LocalAddr(),
}).Debugf("%s - signed by non local cluster", invalidProxySignatureError)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this log level be higher? This seems like a warning condition to me

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Users who changed cluster name would have a lot of these warnings and they can't really do anything about it, and understanding it also is not simple. It's more of an error level, we just don't have a proper fix for it yet.

Merged via the queue into branch/v14 with commit 0473c5f Sep 18, 2023
@AntonAM AntonAM deleted the anton/revert-failing-nonlocal-cluster branch September 18, 2023 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants