bugzilla-daemon at mindrot.org
2023-Apr-25 06:36 UTC
[Bug 3567] New: CanonicalizeHostname yes doesn't canonicalize the Hostname with ProxyJump none
https://bugzilla.mindrot.org/show_bug.cgi?id=3567 Bug ID: 3567 Summary: CanonicalizeHostname yes doesn't canonicalize the Hostname with ProxyJump none Product: Portable OpenSSH Version: 9.3p1 Hardware: All OS: Linux Status: NEW Severity: enhancement Priority: P5 Component: ssh Assignee: unassigned-bugs at mindrot.org Reporter: mindrot-bugzilla at herkulessi.de Basically the Summary. When CanonicalizeHostname is set to yes and ProxyJump is explicitly disabled via setting it to none, no hostname canonicalisation is performed. According to the Documentation, "If set to yes then, for connections that do not use a ProxyCommand or ProxyJump, ssh(1) will attempt to canonicalize the hostname" and "A value of none disables the use of a ProxyJump host." If you do actually set ProxyJump to none, ssh still asks the system resolver to resolve the short name, but not the canonicalized one and exits with "ssh: Could not resolve hostname <short hostname>: Name or service not known" ProxyCommand works as expected (as in "if set to none hostname canonicalisation is performed"). "CanonicalizeHostname always" also works as expected. Since I only have access to Linux machines, I only tested it on Linux, but it affects at least x86_64 (AMD64) and aarch64 (ARM64) on both the current OpenSSH version shipped by Debian (OpenSSH_8.4p1 Debian-5+deb11u1, OpenSSL 1.1.1n 15 Mar 2022) as well as the latest release built from the official source tarball (OpenSSH_9.3p1, OpenSSL 3.0.8 7 Feb 2023) -- You are receiving this mail because: You are watching the assignee of the bug.
bugzilla-daemon at mindrot.org
2023-Apr-25 23:29 UTC
[Bug 3567] CanonicalizeHostname yes doesn't canonicalize the Hostname with ProxyJump none
https://bugzilla.mindrot.org/show_bug.cgi?id=3567 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|unassigned-bugs at mindrot.org |djm at mindrot.org CC| |djm at mindrot.org, | |dtucker at dtucker.net Attachment #3693| |ok?(dtucker at dtucker.net) Flags| | --- Comment #1 from Damien Miller <djm at mindrot.org> --- Created attachment 3693 --> https://bugzilla.mindrot.org/attachment.cgi?id=3693&action=edit check for ProxyJump=none during canonicalistion Nice catch - this should fix it. -- You are receiving this mail because: You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at mindrot.org
2023-Apr-25 23:31 UTC
[Bug 3567] CanonicalizeHostname yes doesn't canonicalize the Hostname with ProxyJump none
https://bugzilla.mindrot.org/show_bug.cgi?id=3567 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #3693|ok?(dtucker at dtucker.net) | Flags| | Attachment #3693|0 |1 is obsolete| | Attachment #3694| |ok?(dtucker at dtucker.net) Flags| | --- Comment #2 from Damien Miller <djm at mindrot.org> --- Created attachment 3694 --> https://bugzilla.mindrot.org/attachment.cgi?id=3694&action=edit check for ProxyJump=none during canonicalisation (fixed diff) oops, bad diff. This should be better -- You are receiving this mail because: You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at mindrot.org
2023-Apr-26 01:26 UTC
[Bug 3567] CanonicalizeHostname yes doesn't canonicalize the Hostname with ProxyJump none
https://bugzilla.mindrot.org/show_bug.cgi?id=3567 Darren Tucker <dtucker at dtucker.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #3694|ok?(dtucker at dtucker.net) |ok+ Flags| | -- You are receiving this mail because: You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at mindrot.org
2023-Apr-26 04:39 UTC
[Bug 3567] CanonicalizeHostname yes doesn't canonicalize the Hostname with ProxyJump none
https://bugzilla.mindrot.org/show_bug.cgi?id=3567 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #3 from Damien Miller <djm at mindrot.org> --- Fix applied - will be in OpenSSH 9.4, which is due in a few months. -- You are receiving this mail because: You are watching someone on the CC list of the bug. You are watching the assignee of the bug.