-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Cannot connect to IPv6-only nodes #2124
Comments
@klizhentas Was this removed from the 3.1 milestone on purpose? I've been counting down the days to the release of 3.1 so I could remove OpenSSH from my IPv6-only hosts once more. I'm a little sad to see a fix for a breaking regression (as this did work correctly in the 2.4.x series) removed from the next scheduled release. Since I opened this issue (i.e. since the release of 3.0) the problem has actually gotten worse, as now the presence of an IPv6 address in the Please let me know if there are no plans to fix this issue so I can move forward with a workaround instead. |
@CFSworks did not realize this is such a blocker for you, let me chat to the team and see what we can do |
Let's punt on supporting IPv6 for the 3.1 release. While working on it several issues came up that drastically increased the scope of work. The main issue is that internally Teleport uses a To support IPv6 the following changes need to be made.
|
I disagree about dropping utils.NetAddr that encapsulates address handling logic, instead it should support IPV6 |
Since I happened to be looking at that code recently, my 2c is that |
@kontsevoy removing this from the milestone for now |
Is this issue expected to be resolved in nearest future? Teleport's inability to work in IPv6 environments is quite a large problem, as these are becoming more widespread. |
@klizhentas thoughts on including this in 4.1? |
I'm a bit worried about the expansion of 4.1 scope, so let's make this one almost last one, but otherwise, I'd give it a try in the context of 4.1, yes. |
This should work for UI as well, right now when you enter user@[::1]:3023 in the UI box, you get UI parsing error. |
It's been fixed on web UI side by 0821e05 |
What happened:
Connecting to a node (by name), when that node has an IPv6 address in
advertise_ip
, and that node's name isn't a valid DNS name, results in an error like:error: failed connecting to node NODENAME. error: dial tcp: lookup NODENAME on [2001:4860:4860::8844]:53: no such host
Connecting to a node by IPv6 address (with or without brackets - but SSH expects without) yields this parse error:
What you expected to happen:
Teleport shall connect as expected (and as it did in 2.4.x).
How to reproduce it (as minimally and precisely as possible):
advertise_ip
Environment:
teleport version
): Teleport v2.7.0 git:v2.7.0-0-g5745b4fctsh version
): Teleport v2.7.0 git:v2.7.0-0-g5745b4fcThe text was updated successfully, but these errors were encountered: