Subj : Feature request: soft IPv6 force To : Alexandr Kruglikov From : Andrei Dzedolik Date : Fri Apr 20 2018 12:43 pm Greetings, traveler ... 20 Apr 18 13:20, 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 AD>> with RFC3484. I'm not saying you can not berak the sorting rules AD>> in your particular app, but at least this is not recommended. If AD>> you like to tune sorting order on your system, you always have AD>> /etc/gai.conf. For exmaple, by putting there "precedence AD>> ::ffff:0:0/96 100" you will prefer v4 over v6. Not sure is this AD>> somehting you did not know or wanted to do. If it is not, we can AD>> dicsuss it further to see is it really feasible to impement in AD>> binkd internal precedence rules or not. AK> 1. we talking about not only *nix. I know binkd runs on multiple OS's, but still it relies on 'getaddrinfo' and its sorting rules :) AK> 2. i know about netsh interface ipv6 add prefixpolicy =) AK> 3. if possible to make the choice of IPv6-only by means of a binkd, AK> then why impossible to make priorities? =\ Did I say it is impossible? I proposed to discuss and find a common ground before proposing chnges to the code :) You are reading RU.HUSKY/RU.BINKD and should know our FTN community is picky on patches and if you don't want to end up with 'BinkD-Plus', you have to be prepared to defend your position. As for IPv6-only and IPv4-only, this is made by choosing an address family, like AF_INET4, AF_INET6 or AF_INET and these are mutually exclusive. Only in case AF_INET is proveded to 'getaddrinfo' it will give yuo full, ordered list of endpoints to connect to. And mentioned RFC3484 says order should be respected (should, not must). So, is this statement correct: 1. Introduce new configuration option for FTN node object to force IPv6 or IPv4 precedence, disrespecting the OS rules for this node only; 2. Introduce new command line argument to force current IPv6 or IPv4 precedence for binkd process; 3. Intruduce new global configuration option to force IPv6 or IPv4 precedence; Is this all or am I missing something? \aID --- GoldED+/BSD 1.1.5-b20170303 * Origin: Hugayda Station (2:463/1331) .