Subj : Feature request: soft IPv6 force
To   : Andrei Dzedolik
From : Michiel van der Vlist
Date : Fri Apr 20 2018 09:48 pm

Hello Andrei,

On Thursday April 19 2018 18:10, you wrote to me:

AD> binkd relies on getaddrinfo (as any other UNIX tool dealing with
AD> sockets) which in turn returns addresses sorted in accordance with
AD> RFC3484.

I am aware that binkd was first written for Linus and that windows ports came
later.

AD> I'm not saying you can not berak the sorting rules in your
AD> particular app, but at least this is not recommended. If you like to
AD> tune sorting order on your system, you always have /etc/gai.conf. For
AD> exmaple, by putting there "precedence ::ffff:0:0/96 100" you will
AD> prefer v4 over v6. Not sure is this somehting you did not know or
AD> wanted to do. If it is not, we can dicsuss it further to see is it
AD> really feasible to impement in binkd internal precedence rules or not.

I am a Windows man and I know that netsh has options to set the preferences. I
haven't delved into that, but I am sure I can find out how it works if need be.

However... changing the system preference affects all applications. That may
not be what one wants. For Fidonet a slow or less reliable connection is not
too bad. The robots will just retry if it does not works at first try. So to
promote IPv6 in Fidonet one can set an IPv6 preference for binkd, despite the
fact that the IPv6 connection is less reliable than IPv4.

But if you use the same system for other application, you do not want those
other applications to be affected. Browsing over a forced bad IPv6 connection
is no fun. Plus that browsers and other applications may heve other mechanism
in force. Such as happy eyeballs.

That is why I would prefer not to change the system preference but let binkd
have its own overide mechanism instead.


Cheers, Michiel

--- GoldED+/W32-MSVC 1.1.5-b20170303
* Origin: http://www.vlist.eu (2:280/5555)