Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-hackers-win32pgsql-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

pgsql-hackers by date

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

pgsql-patches by date

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

pgsql-hackers-win32 by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group