[haiku-bugs] Re: [Haiku] #8293: BNetworkAddress needs to check if there is an available IPv6 connection.

  • From: "donn" <trac@xxxxxxxxxxxx>
  • Date: Wed, 08 Feb 2012 23:55:30 -0000

#8293: BNetworkAddress needs to check if there is an available IPv6 connection.
----------------------------------------+----------------------------
   Reporter:  kallisti5                 |      Owner:  axeld
       Type:  bug                       |     Status:  new
   Priority:  high                      |  Milestone:  R1
  Component:  Network & Internet/Stack  |    Version:  R1/Development
 Resolution:                            |   Keywords:
 Blocked By:                            |   Blocking:
Has a Patch:  0                         |   Platform:  All
----------------------------------------+----------------------------

Comment (by donn):

 Here's an idea, expressed as a patch.  resolv.conf already has an "inet6"
 option that more or less means "IPv6 only."  Let's add an "inet4" option,
 also, and interpret it to mean, specifically, that there shall be no IPv6
 lookups, in getaddrinfo(), when the family is PF_UNSPEC (i.e., caller
 didn't specifically ask for PF_INET6.)

 The current behavior (PF_UNSPEC causes IPv6 lookups) remains the default.
 Specify IPv4 only via "options inet4" in resolv.conf.

 It could be overkill - I don't know if anyone is actually using IPv6
 successfully, if not then it's overkill for sure right now.  And of course
 it means you have to know to add that "inet4" option - would need to add
 that to network pref.  It does solve the problem with WebPositive.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/8293#comment:9>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: