[Bug 3199] New: Pass address family switch to proxy command
    bugzilla-daemon at mindrot.org 
    bugzilla-daemon at mindrot.org
       
    Mon Aug  3 23:43:54 AEST 2020
    
    
  
https://bugzilla.mindrot.org/show_bug.cgi?id=3199
            Bug ID: 3199
           Summary: Pass address family switch to proxy command
           Product: Portable OpenSSH
           Version: 8.3p1
          Hardware: Other
                OS: Linux
            Status: NEW
          Keywords: patch
          Severity: enhancement
          Priority: P5
         Component: ssh
          Assignee: unassigned-bugs at mindrot.org
          Reporter: jjelen at redhat.com
Created attachment 3438
  --> https://bugzilla.mindrot.org/attachment.cgi?id=3438&action=edit
Pass address family switch to proxy command
Generally, proxy command is used to connect to proxy servers and the
address family of the target host is up to the decision of the proxy
command itself (regardless it is netcat, another ssh or something
else).
Currently, hints from commandline (-4, -6) are not used at all and not
passed to proxy command similarly as any other hints from configuration
files (unless the proxy command is ssh too and the proxy host has
specific AddressFamily directive).
My suggestion would be to provide a new replacement percent-token to
inform the proxy-command about the preferred address family (%f) to
provide either -4, -6 or empty string if no preference was given. See
the proposed patch
-- 
You are receiving this mail because:
You are watching the assignee of the bug.
    
    
More information about the openssh-bugs
mailing list