Announcing 0.24.0 - #280
Open
SamBarker wants to merge 1 commit into
Open
Conversation
Signed-off-by: Sam Barker <sam@quadrocket.co.uk>
k-wall
reviewed
Sep 2, 2026
|
|
||
| **Why SASL Termination?** | ||
|
|
||
| Filters that rely on client identity—such as custom authorization or dynamic routing—need to know *who* is making a request. However, challenge-response mechanisms like SCRAM generate unique per-server nonces, making passthrough inspection impossible. |
Member
There was a problem hiding this comment.
This paragraph is incorrect, and describes the wrong thing.
Firstly, SASL Inspection does support SCRAM. The identity goes through the SCRAM mechanism in plain text, so SaslInspection can (and does) sniff it. io.kroxylicious.it.SaslInspectionIT#shouldAuthenticateWhenSameMechanism_SCRAM_SHA_256 proves it works.
Secondly, the need for SASL Termination is really routers with multiple upstreams. In this use case, SASL inspection doesn't really work:
- For SASL PLAIN/OAUTH, it works providing the password db or oauth configs are the same.
- For SCRAM, it falls flat on its face. There would be two server nonces.
There are use-cases for SASL Termination in a single upstream use-cases - where your client side SASL authn requirements differ from your server side's authn requirements. Say interfaces clients that use SASL with a Cluster that can only use TLS client auth.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.