Re: 8.4 vs. 9.x: 127.0.0.0/8

From: Felipe Gasper <felipe(at)felipegasper(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: 8.4 vs. 9.x: 127.0.0.0/8
Date: 2015-08-11 23:04:28
Message-ID: 55CA7F7C.2050103@felipegasper.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 11 Aug 2015 6:30 PM, Martín Marqués wrote:

>>
>> local samerole all md5
>> host samerole all 127.0.0.200 255.255.255.255 pam
>> pamservice=postgresql_cpses
>> host samerole all 127.0.0.1 255.255.255.255 md5
>> local all postgres md5
>> host all postgres 127.0.0.1 255.255.255.255 md5
>>
>> So connections to 127.0.0.200 are handled by pam, connections to
>> 127.0.0.1 are handled by md5.
>
> No! This means that connections that come from 127.0.0.200 are handled
> by pam, not connection *to*. Same for 127.0.0.1 (which in this case
> means nothing).

Ah … thank you!

This may indeed point to our fix … though, FWIW, it still seems curious
that the same configuration file worked as we expected in 8.4 but
changed in 9.x.

I’ll take this to my coworkers and see what comes …

-FG

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Shashank 2015-08-12 03:43:11 I am unable to install PostgreSql
Previous Message Martín Marqués 2015-08-11 22:30:16 Re: 8.4 vs. 9.x: 127.0.0.0/8