[Bug 2892] New: Connections to jump hosts do not respect -4 and -6

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Sat Aug 4 20:39:40 AEST 2018


https://bugzilla.mindrot.org/show_bug.cgi?id=2892

            Bug ID: 2892
           Summary: Connections to jump hosts do not respect -4 and -6
           Product: Portable OpenSSH
           Version: 7.7p1
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: ssh
          Assignee: unassigned-bugs at mindrot.org
          Reporter: oss at pascalj.de

Created attachment 3167
  --> https://bugzilla.mindrot.org/attachment.cgi?id=3167&action=edit
jump host address family patch

When using a jump host via ProxyJump or -J the generated proxy command
is missing "-4" or "-6". The man page states that the flags "force ssh
to use IPv(4|6) addresses only".

Steps to reproduce:

ssh -v4 -J example.com abc.example.com

Actual result:

ssh does not necessarily connect to example.com via IPv4 and the debug
log contains:
debug1: Executing proxy command: exec ssh -v -W '[abc.example.com]:22'
example.com

Expected result:

ssh uses IPv4 for the jump host and the debug log contains:
debug1: Executing proxy command: exec ssh -4 -v -W
'[abc.example.com]:22' example.com

The behavior was tested with portable OpenSSH 7.7 on Linux as well as
on OpenBSD (see patch).

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list