Comments (4)
Hello @rtribotte , thank you for your reply.
Yes, that issue matches mine. The documentation misses any mention of a different handling of tcp and tls-tcp, similar to http. $someone should find the chance to update this, since I've found multiple similar issues in your own community forum regarding the same confusion.
And while we're on it: Is there any preferred solution to my original question? I'm not a big fan of re-encrypting the traffic multiple times if there's no need for that. And somewhere on that way I'm loosing the original client ip... different issue.
from traefik.
Hello @max06,
Thanks for reporting this!
This seems to be the same report as #10186.
Please take a look at #10186 (comment) for more explanations.
I'm closing this issue as a duplicate, but don't hesitate to reopen it if you think this is not the case.
from traefik.
Hello @max06,
To make the catchAll TCP-TLS router take precedence over the HTTPS catchAll router, you can redefine the TCP-TLS router rule to prevent Traefik from considering it as a "catchAll" rule, while being a rule matching any host.
tcp:
routers:
catchall:
entryPoints:
- secure
service: catchall
# keep the catchAll behavior in regards to matching, but prevent Traefik from detecting this as a "catchAll" router.
rule: !HostSNI(`foobar`)
priority: 1
tls:
passthrough: true
This is only an example, the rule HostSNI(`*`) || HostSNI(`*`)
would have worked too.
Here is the explanation of why:
Lines 158 to 161 in 40de310
from traefik.
Oh no.... I was so close 😂
Thank you, I'll give it a try this evening!
from traefik.
Related Issues (20)
- Buffering middleware often suffers from high latency HOT 4
- Support for cross-namespace references / GatewayAPI ReferenceGrants HOT 9
- ACME Default Certificate can't be defined using labels HOT 6
- Strange behaviour for config-file + directory HOT 1
- make build-image broken in v3.0 branch HOT 2
- `udp.Listener` and `udp.Conn` should implement `net.Listener` and `net.Conn` HOT 1
- dns records for acme not removed with ionos HOT 6
- Basic gRPC example with TLS not working as expected HOT 2
- metric for websocket bytes and/or messages HOT 3
- How to revoke access from acme account generated using Traefik and specific AWS IAM profile?
- Add Support for different TLS Stores HOT 2
- Feature: Passthrough Proxy-Authorization header HOT 1
- BasicAuth removeHeader strips all (inc. non BasicAuth) authorization contained in header HOT 1
- Allow empty services in nomad provider
- Expose metrics on providers state HOT 4
- Traefik sometimes return 400 Bad Request HOT 3
- [HTTP/1] httputil: ReverseProxy read error during body copy - use of closed network connection HOT 5
- Any plans to fix CVE-2023-28840? HOT 2
- NodeJS update (current in version 14) HOT 2
- AWS ECS Service connect HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from traefik.