Re: [HACKERS] Another crack at doing a Win32

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-hackers-win32(at)postgresql(dot)org
Subject: Re: [HACKERS] Another crack at doing a Win32
Date: 2004-03-05 15:41:12
Message-ID: 40489F98.5090400@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-hackers-win32 pgsql-patches

Bruce Momjian wrote:

>Tom Lane wrote:
>
>
>>"Magnus Hagander" <mha(at)sollentuna(dot)net> writes:
>>
>>
>>>Are there any other platforms which don't have unix sockets?
>>>
>>>
>>There are a couple, although I think those ports may be moribund
>>(if anyone still cares about BeOS, they haven't mentioned it lately).
>>
>>
>>
>>>Perhaps we should force it to open a tcp socket on 127.0.0.1 only? That
>>>way we don't suddenly open up to external connections without the user
>>>asking for it.
>>>
>>>
>>That seems like a reasonable compromise.
>>
>>
>
>Agreed, but how do we do that. pg_hba.conf already only listens on
>127.0.0.1. Do we ignore non-local IPs in that file until they use -i?
>
>
>
Those are remote addresses, not local addresses. pg_hba.conf doesn't say
anything at all about the listening address. The errors that have been
reported would have passed the default pg_hba.conf filters - the problem
as I understand it was that there was no listener on the localhost
interface.

It is true, though,. that you can't (or shouldn't) be able to connect to
localhost except from localhost.

cheers

andrew

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2004-03-05 16:13:40 Re: [HACKERS] Another crack at doing a Win32
Previous Message Andreas Pflug 2004-03-05 15:33:30 Re: A plan to improve error messages with context, hint

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Bruce Momjian 2004-03-05 16:13:40 Re: [HACKERS] Another crack at doing a Win32
Previous Message Bruce Momjian 2004-03-05 15:31:03 Re: [HACKERS] Another crack at doing a Win32 build

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2004-03-05 16:13:40 Re: [HACKERS] Another crack at doing a Win32
Previous Message Bruce Momjian 2004-03-05 15:38:51 Re: notice about costly ri checks (2)