Match on AddressFamily

Marc Haber mh+openssh-unix-dev at zugschlus.de
Mon Jun 1 05:03:31 AEST 2026


On Sun, May 31, 2026 at 07:45:03PM +0100, Sevan Janiyan wrote:
>On 31/05/2026 15:31, Marc Haber wrote:
>>It would also be fine if BindAddress would just be honored if the 
>>Address Family of the chosen target address matches. I cannot 
>>imagine that it is the intended behavior to make all connections to 
>>IPv4 hosts impossible when BindAddress is used.
>
>Along with your IPv6 BindAddress, can you explicitly set AddressFamily 
>to inet6?

I can, but that does not change the result of being unable to connect to 
IPv4 only hosts when that setting is active. As far as I can see, when 
BindAddress is set to an IPv6 address, the AddressFamily is aleady set 
to inet6 implicitly.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany    |  lose things."    Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature |  How to make an American Quilt | Fax: *49 6224 1600421


More information about the openssh-unix-dev mailing list