Hi Eric Eric Spakman wrote: > Hi Erich, > >>>> Starting with bering-uclibc3.x I observed an error when trying to use >>>> ssh/scp. >>>> >>>> debug2: calling socket with 10 , 1 , 6 >>>> socket: Address family not supported by protocol >>>> >>>> >>>> This is due to the fact that the socket call is using an address >>>> family of inetv6 by default. >>> is this really an error, or just a warning? I mean, does ssh/scp work >>> without that change (it did in the past, but I've not used the OpenSSH >>> packages on leaf in quite a while) on a box without IPv6? >> Actually that is why I call it a glitch :-) it gives an unpleasant >> feeling when you run this in a script, but it works. > > I was under the impression that it didn't work because you called it an > error ;-)
glitch ;-) > I will see if there are other methods to suppress the warning without > disabling ipv6 support in the config. Seeing that ipV6 is still an exotic matter (except for maybe Japan) I would rather stick with the majority. I looked into the code, unfortunately the creation of individual sockets is dispersed across a number of functions. Some functions have comments which suggest that a failed socket call is _not_ an error. This rather puzzles me, as it suggests a bad socket descriptor and may lead to multiple sockets using the same descriptor.... fuzzy but not warm. But I may have missed the recovery code. cheers Erich ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel