Skip to content
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

xrootd client SNI support? #1951

Closed
rptaylor opened this issue Mar 10, 2023 · 4 comments
Closed

xrootd client SNI support? #1951

rptaylor opened this issue Mar 10, 2023 · 4 comments

Comments

@rptaylor
Copy link

Hello,

I don't suppose xrootd clients do support (or potentially could support without much effort) Server Name Indication?

The potential use case is layer 4 TCP load balancing and routing on Kubernetes using an ingress provider.
If xrootd clients use SNI during the TCP handshake to request a specific xrootd server name, then the ingress controller could know which backing server to direct the traffic to (which is otherwise not possible for a TCP router listening on a single (IP:port) combination), without having to know anything about the xrootd protocol.

This question only regards xrootd clients; the server (actually EOS pods) would not need to do anything.

@smithdh
Copy link
Contributor

smithdh commented Mar 13, 2023

Hi @rptaylor
SNI is a TLS feature; I suppose that it's useful to Kubernetes if an incoming connection starts directly with a TLS handshake so that kubernetes can route the connection. However usually this isn't the case with xroot services (unless using https protocol), so as far as I can see we can't offer an effective way of using SNI in this way.

@rptaylor
Copy link
Author

Thanks @smithdh for the information.
I thought the xrootd protocol does use TLS? Or are you saying the client first connects without TLS, does some negotiation or something, and then switches to TLS?

@abh3
Copy link
Member

abh3 commented Mar 14, 2023 via email

@rptaylor
Copy link
Author

Thanks for the answer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants