Mailing List Archive

[Bug 3199] New: Pass address family switch to proxy command

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

Created attachment 3438
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

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.
openssh-bugs mailing list