Passing address family to proxy command
Jakub Jelen
jjelen at redhat.com
Mon Aug 3 23:48:23 AEST 2020
On Mon, 2020-08-03 at 23:00 +1000, Darren Tucker wrote:
> On Mon, 3 Aug 2020 at 22:09, Jakub Jelen <jjelen at redhat.com> wrote:
> [...]
> > My suggestion would be to provide a new replacement percent-token
> > to
> > inform the proxy-command about the preferred address family, but if
> > you
> > can think about better solution, I would be glad to hear it.
>
> I think adding a percent-token for AddressFamily would be a
> reasonable
> solution and can't think of a better one offhand.
Thank you for the fast reply.
Looking into netcat, I would expect using directly -4 or -6 values as a
replacement for %f (family) would be probably the easiest as most
portable as it usually resembles to existing command-line switches for
many other tools.
I attached a simple patch to achieve this into the bugzilla and tested
in debug mode that it resolves as expected:
https://bugzilla.mindrot.org/show_bug.cgi?id=3199
Regards,
--
Jakub Jelen
Senior Software Engineer
Security Technologies
Red Hat, Inc.
More information about the openssh-unix-dev
mailing list