From: | Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com> |
---|---|
To: | Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov> |
Cc: | Shruthi A <shruthi(dot)iisc(at)gmail(dot)com>, pgsql-admin(at)postgresql(dot)org |
Subject: | Re: Need help in enabling remote connection |
Date: | 2009-11-03 18:34:57 |
Message-ID: | dcc563d10911031034y2737c42bm35775791da030854@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
On Tue, Nov 3, 2009 at 11:26 AM, Kevin Grittner
<Kevin(dot)Grittner(at)wicourts(dot)gov> wrote:
> Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com> wrote:
>
>>> -- Dear Ian Lea, i guess 10.0.0.1/24 is the same as 10.0.0.0/24
>>> as the mask '24' means that the first 3 octets (24 bits from the
>>> left hand side) must match ie both mean simply 10.0.0.*
>>
>> Actually 10.0.0.0/24 means that the right hand 24 bits don't matter,
>> so anything starting with 10. will match.
>
> I think you're mistaken on that. The comment in pg_hbs.conf matches
> everything else I can find on the topic:
>
> # CIDR-ADDRESS specifies the set of hosts the record matches.
> # It is made up of an IP address and a CIDR mask that is an integer
> # (between 0 and 32 (IPv4) or 128 (IPv6) inclusive) that specifies
> # the number of significant bits in the mask.
Yeap, got it backwards. Thanks.
From | Date | Subject | |
---|---|---|---|
Next Message | Tim Bruce - Postgres | 2009-11-03 18:36:24 | Re: Need help in enabling remote connection |
Previous Message | Kevin Grittner | 2009-11-03 18:26:00 | Re: Need help in enabling remote connection |