Re: Q: IPv6-only setup - get rid of 127.0.0.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 21.06.12 18:22, Alexey I. Froloff (raorn@xxxxxxxxxx) wrote:

> On Thu, Jun 21, 2012 at 03:39:43PM +0200, Lennart Poettering wrote:
> > Disabling IPv4 should result in socket(AF_INET, ...) returning
> > EAFNOSUPPORT. Just taking away 127.0.0.1 doesn't do anything like that.
> Yep, and it doesn't prevent for anyone listening on 0.0.0.0...
> 
> But still, is it possible to get rid of 127.0.0.1, or it's
> hardcoded in systemd?

This is hardcoded in systemd, but nothing stops you from dropping this
again from the interface.

Basically, the logic in systemd is to configured 127.0.0.1 to lo if IPv4
is available and ::1 to lo if IPv6 is available. But if this is later
undone or changed this is toally OK. 

We simply do this by default because this is such basic functionality
that lo should work everywhere and always without and specific
configuration.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux