Re: pg_hba.conf hostmask. - Mailing list pgsql-hackers

From Curt Sampson
Subject Re: pg_hba.conf hostmask.
Date
Msg-id Pine.NEB.4.51.0302031035300.368@angelic.cynic.net
Whole thread Raw
In response to Re: pg_hba.conf hostmask.  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
On Sun, 2 Feb 2003, Bruce Momjian wrote:

> Yes, some have asked about this.  My understanding was that CIDR
> (host/len) was mostly for networks, while hostname/mask was for hosts.
> Now, you can specify hosts using /32, but is is unusual?  Maybe not.

Typically, if you have something like an access list where you're
specifying hosts or networks, you default the netmask to /32 if it's not
supplied.

However, if we're going to maintain backward compatability with the old
format (i.e., using a separately specified netmask in the next column if
no slash is present in the address column) we can't do that.

Personally, I'm all for breaking backwards compatability (as I usually
am :-)) but could quite easily live with specifying all most hosts as
"n.n.n.n/32" forever into the future, too.

cjs
-- 
Curt Sampson  <cjs@cynic.net>   +81 90 7737 2974   http://www.netbsd.org   Don't you know, in this new Dark Age, we're
alllight.  --XTC
 


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Interactive Documentation - how do you want it towork?
Next
From: "Marc G. Fournier"
Date:
Subject: Re: PGP signing releases