Re: Getting rid of "accept incoming network connections" prompts on OS X - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Getting rid of "accept incoming network connections" prompts on OS X
Date
Msg-id 544C561D.4040204@gmx.net
Whole thread Raw
In response to Re: Getting rid of "accept incoming network connections" prompts on OS X  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Getting rid of "accept incoming network connections" prompts on OS X
Re: [HACKERS] Getting rid of "accept incoming network connections" prompts on OS X
List pgsql-hackers
On 10/25/14 2:52 PM, Tom Lane wrote:
> And a bit of experimentation later: it seems that on Yosemite (and
> probably earlier OS X versions), "localhost" maps to all three of these
> addresses:
>     127.0.0.1
>     ::1
>     fe80:1::1
> Binding to 127.0.0.1 does not trigger the firewall popup.  Binding
> to ::1 doesn't, either.  But binding to fe80:1::1 does.  So the
> easy fix, for a default installation, is to keep the postmaster
> from binding to that last address.
> 
> I'm not sufficiently up on my IPv6 to be sure exactly what that third
> address does.  Perhaps it is a bug in the firewall logic that it
> considers that address external?

I think that's exactly it.  I have filed a bug with Apple about it.

For the time begin, I think it's a reasonable workaround to comment out
the line in /etc/hosts.




pgsql-hackers by date:

Previous
From: Haribabu Kommi
Date:
Subject: Re: Possible problem with shm_mq spin lock
Next
From: Tom Lane
Date:
Subject: Re: Getting rid of "accept incoming network connections" prompts on OS X