Feature: mtls filters#4044
Merged
Merged
Conversation
878795b to
d35f4f6
Compare
e07710c to
144a2b8
Compare
shyamz-22
reviewed
Jun 3, 2026
vlktna
reviewed
Jun 3, 2026
shyamz-22
reviewed
Jun 3, 2026
MustafaSaber
reviewed
Jun 3, 2026
Member
Author
|
Given that auth should be fast, I will also provide 4 more filters for |
Member
Author
|
e634e6e has the 4 new filters |
Member
Author
|
Local test without CA loaded, so empty pool it can not validate certs: client call sent with no cert: We can see good default behaviour and no panic, so integration seems also fine |
a4180p
reviewed
Jun 4, 2026
a4180p
reviewed
Jun 4, 2026
a4180p
reviewed
Jun 4, 2026
a4180p
reviewed
Jun 4, 2026
a4180p
reviewed
Jun 4, 2026
MustafaSaber
reviewed
Jun 4, 2026
Member
Author
|
@MustafaSaber I can't reply to your message directly so doing it here: |
Member
Author
|
@MustafaSaber fixed your comments |
feature: mtlsIssuerDN() filter feature: mtlsCN() filter feature: mtlsAuthn() filter doc: document mtls authnz filters Signed-off-by: Sandor Szücs <sandor.szuecs@zalando.de>
Signed-off-by: Sandor Szücs <sandor.szuecs@zalando.de>
fix: linter finding in test Signed-off-by: Sandor Szücs <sandor.szuecs@zalando.de>
Signed-off-by: Sandor Szücs <sandor.szuecs@zalando.de>
…ntegration Signed-off-by: Sandor Szücs <sandor.szuecs@zalando.de>
Signed-off-by: Sandor Szücs <sandor.szuecs@zalando.de>
… used to validate in coming client certificates. Configuration is able to load system CAs first and append given PEM encoded CA files or we load only given PEM encoded CA files or if nil we load system CAs. Signed-off-by: Sandor Szücs <sandor.szuecs@zalando.de>
…, because we care about the identity of the client and not the identity of the CA Signed-off-by: Sandor Szücs <sandor.szuecs@zalando.de>
Signed-off-by: Sandor Szücs <sandor.szuecs@zalando.de>
Signed-off-by: Sandor Szücs <sandor.szuecs@zalando.de>
…sSanDNS(), mtlsSanIP(), mtlsSandURI() Signed-off-by: Sandor Szücs <sandor.szuecs@zalando.de>
Signed-off-by: Sandor Szücs <sandor.szuecs@zalando.de>
Signed-off-by: Sandor Szücs <sandor.szuecs@zalando.de>
Signed-off-by: Sandor Szücs <sandor.szuecs@zalando.de>
fix: support multiple CA files in config Signed-off-by: Sandor Szücs <sandor.szuecs@zalando.de>
…o it Signed-off-by: Sandor Szücs <sandor.szuecs@zalando.de>
Signed-off-by: Sandor Szücs <sandor.szuecs@zalando.de>
Signed-off-by: Sandor Szücs <sandor.szuecs@zalando.de>
Signed-off-by: Sandor Szücs <sandor.szuecs@zalando.de>
c8db630 to
fee0a26
Compare
Collaborator
|
👍 |
MustafaSaber
approved these changes
Jun 16, 2026
shyamz-22
reviewed
Jun 16, 2026
Signed-off-by: Sandor Szücs <sandor.szuecs@zalando.de>
Signed-off-by: Sandor Szücs <sandor.szuecs@zalando.de>
shyamz-22
reviewed
Jun 17, 2026
Signed-off-by: Sandor Szücs <sandor.szuecs@zalando.de>
…d without (dynamic loading) goos: linux goarch: amd64 pkg: github.com/zalando/skipper/filters/tls cpu: AMD Ryzen 7 PRO 4750U with Radeon Graphics BenchmarkMtlsAuthnCaIntermediateLeaf/with_intermediate 5022 222590 ns/op 2834 B/op 58 allocs/op BenchmarkMtlsAuthnCaIntermediateLeaf/with_intermediate 5409 220001 ns/op 2832 B/op 58 allocs/op BenchmarkMtlsAuthnCaIntermediateLeaf/with_intermediate 5341 219619 ns/op 2832 B/op 58 allocs/op BenchmarkMtlsAuthnCaIntermediateLeaf/with_intermediate-2 5449 221375 ns/op 2832 B/op 58 allocs/op BenchmarkMtlsAuthnCaIntermediateLeaf/with_intermediate-2 5460 199491 ns/op 2832 B/op 58 allocs/op BenchmarkMtlsAuthnCaIntermediateLeaf/with_intermediate-2 8589 138819 ns/op 2832 B/op 58 allocs/op BenchmarkMtlsAuthnCaIntermediateLeaf/with_intermediate-4 7521 133728 ns/op 2832 B/op 58 allocs/op BenchmarkMtlsAuthnCaIntermediateLeaf/with_intermediate-4 7918 133322 ns/op 2832 B/op 58 allocs/op BenchmarkMtlsAuthnCaIntermediateLeaf/with_intermediate-4 7702 134525 ns/op 2832 B/op 58 allocs/op BenchmarkMtlsAuthnCaIntermediateLeaf/with_intermediate-8 7489 134389 ns/op 2833 B/op 58 allocs/op BenchmarkMtlsAuthnCaIntermediateLeaf/with_intermediate-8 7936 134130 ns/op 2833 B/op 58 allocs/op BenchmarkMtlsAuthnCaIntermediateLeaf/with_intermediate-8 7844 136407 ns/op 2833 B/op 58 allocs/op BenchmarkMtlsAuthnCaIntermediateLeaf/with_intermediate-16 9087 133932 ns/op 2834 B/op 58 allocs/op BenchmarkMtlsAuthnCaIntermediateLeaf/with_intermediate-16 7815 134132 ns/op 2834 B/op 58 allocs/op BenchmarkMtlsAuthnCaIntermediateLeaf/with_intermediate-16 7556 135460 ns/op 2834 B/op 58 allocs/op BenchmarkMtlsAuthnCaIntermediateLeaf/without_intermediate 7386 138940 ns/op 3691 B/op 68 allocs/op BenchmarkMtlsAuthnCaIntermediateLeaf/without_intermediate 8871 133471 ns/op 3688 B/op 68 allocs/op BenchmarkMtlsAuthnCaIntermediateLeaf/without_intermediate 8928 133752 ns/op 3688 B/op 68 allocs/op BenchmarkMtlsAuthnCaIntermediateLeaf/without_intermediate-2 7479 134304 ns/op 3688 B/op 68 allocs/op BenchmarkMtlsAuthnCaIntermediateLeaf/without_intermediate-2 8996 133722 ns/op 3688 B/op 68 allocs/op BenchmarkMtlsAuthnCaIntermediateLeaf/without_intermediate-2 8937 134236 ns/op 3688 B/op 68 allocs/op BenchmarkMtlsAuthnCaIntermediateLeaf/without_intermediate-4 8936 134183 ns/op 3689 B/op 68 allocs/op BenchmarkMtlsAuthnCaIntermediateLeaf/without_intermediate-4 7634 134876 ns/op 3689 B/op 68 allocs/op BenchmarkMtlsAuthnCaIntermediateLeaf/without_intermediate-4 8473 135427 ns/op 3689 B/op 68 allocs/op BenchmarkMtlsAuthnCaIntermediateLeaf/without_intermediate-8 7560 137636 ns/op 3690 B/op 68 allocs/op BenchmarkMtlsAuthnCaIntermediateLeaf/without_intermediate-8 7602 137134 ns/op 3690 B/op 68 allocs/op BenchmarkMtlsAuthnCaIntermediateLeaf/without_intermediate-8 8935 135769 ns/op 3689 B/op 68 allocs/op BenchmarkMtlsAuthnCaIntermediateLeaf/without_intermediate-16 8604 135190 ns/op 3691 B/op 68 allocs/op BenchmarkMtlsAuthnCaIntermediateLeaf/without_intermediate-16 7954 135384 ns/op 3691 B/op 68 allocs/op BenchmarkMtlsAuthnCaIntermediateLeaf/without_intermediate-16 7665 135775 ns/op 3691 B/op 68 allocs/op PASS ok github.com/zalando/skipper/filters/tls 33.323s Signed-off-by: Sandor Szücs <sandor.szuecs@zalando.de>
…uld not add this Signed-off-by: Sandor Szücs <sandor.szuecs@zalando.de>
Collaborator
|
👍🏽 |
1 similar comment
Member
Author
|
👍 |
This was referenced Jun 18, 2026
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.
feature: mtlsSanCIDR(), mtlsSanDNS(), mtlsSanIP(), mtlsSanURI() filters
feature: mtlsIssuerDN() filter
feature: mtlsCN() filter
feature: mtlsAuthn() filter
doc: document mtls authnz filters
doc: mTLS operations guide
test: benchmarks
ref: closing #3295