-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Addressable Terminator Case Sensitivity Issue #987
Comments
Identity names are case sensitive in ziti.
As long as this is the case I think the addressable terminator matching should also be case sensitive. |
Not sure I understand the comment. I too think identities names should be case sensitive. The terminator created by the hosting identity is case sensitive & matches the case of the identity. The dialing identity tries to connect to that same case sensitive hosting identity name & for some reason the current tunnel translates that into all lowercase & therefore fails. Meaning try to dial |
Thanks for clarifying. zet’s internal dns server down cases any host names that it will answer for, and the lower case name is used as a key in the map of known host names. In the context of dns this is a fine thing to do, since dns host names are not case sensitive and using a map for lookups is much faster than iterating a list. Without knowing the need behind this issue, I’d be inclined to say that we should update the doc to be clear that identity names should be lower case when $dst_hostname is being used. Would that suffice? |
Yes, I believe having documentation stating this is a limitation would suffice & be very helpful for others. |
When setting up dial by identity/bind using edge identity, using any uppercase character in the name causes the dial to fail.
Intercept config:
Host config:
Example:
If the hosting identity is named
Host.test
(capital H) & attempting to dialERROR ziti-sdk:connect.c:1044 connect_reply_cb() conn[4.7/LdZfipfz/Connecting] failed to connect, reason=service TVNkzPdzEVrfHoyV33G9X has no terminators for instanceId host.test
It attempts to dial a all lowercase instance.The terminators is created with the uppercase character which is why it doesn't exist as all lower case:
If you rename the hosting identity(& restart) to all lowercase
host.test
the dial is successful.Ziti Version:
1.1.11
Hosting ZET Version
2.0.0-alpha23
The text was updated successfully, but these errors were encountered: