[PATCH] Add an option for RFC5014 IPv6 source address preference

Anton Khirnov anton at khirnov.net
Sat Jun 5 15:57:06 AEST 2021


Quoting Christian Weisgerber (2021-06-04 23:25:18)
> Anton Khirnov:
> 
> > Another month, another ping.
> > 
> > I would love to see this upstream, so my long-term connections stop
> > breaking after a week.
> 
> Well, OpenSSH is developed on OpenBSD and then portability goo is
> added for the -portable version.
> 
> OpenBSD simply does not have such an address selection API, and I'm
> skeptical that adding a whole feature falls into the purview of
> -portable.

There are already Linux-specific features in the tree - e.g. SELinux
support.

And unlike SELinux, this code is only Linux-specific because Linux
happens to be the only platform that implements the relevant RFC. The
patch is written so that platform-specific bits are isolated in one
place and it would be simple to add support for other systems if and
when they implement this socket option.

-- 
Anton Khirnov


More information about the openssh-unix-dev mailing list