#12503 NORM Future : Add localhost IPv6 alias
Zarro Boogs per Child
bugtracker at laptop.org
Sun Jun 7 21:21:16 EDT 2015
#12503: Add localhost IPv6 alias
-----------------------------------+--------------------------------
Reporter: dsd | Owner: dsd
Type: defect | Status: closed
Priority: normal | Milestone: Future Release
Component: distro | Version: not specified
Resolution: worksforme | Keywords:
Blocked By: | Blocking:
Deployments affected: | Action Needed: unknown
Verified: 0 |
-----------------------------------+--------------------------------
Changes (by Quozl):
* status: new => closed
* next_action: never set => unknown
* resolution: => worksforme
Comment:
There is already an entry in /etc/hosts for ip6-localhost, but using that
name in the libsoup test case, or changing /etc/hosts, does not fix the
problem. Because of AI_ADDRCONFIG used deeper in the stack you cannot
rely on localhost to be available.
So for all web activities, you should be using 0.0.0.0. Given the server
is always to be used via the local network interface, this doesn't seem
unremarkable.
This will have the added benefit of defending against an attack where
/etc/hosts or DNS is changed to point localhost to a remote address.
This is unrelated to the purpose for this ticket though, which was to
check for ::1 in /etc/hosts on a later Fedora release once olpc-os-builder
is used with it. I've checked our Fedora 20 build on XO-4, and it has ::1
localhost6, so I'm closing this ticket.
--
Ticket URL: <http://dev.laptop.org/ticket/12503#comment:3>
One Laptop per Child <http://one.laptop.org/>
One Laptop per Child bug tracking system
More information about the Bugs
mailing list