Re: [HACKERS] pg_hba.conf hostmask.

2003-02-17 Thread Bruce Momjian
Added to TODO: * Allow CIDR format to be used in pg_hba.conf --- Kurt Roeckx wrote: > Currently in pg_hba.conf you specify the ip addresses that can > connect with 2 fields: the ip address and the mask. > > What d

Re: [HACKERS] pg_hba.conf hostmask.

2003-02-02 Thread Curt Sampson
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 acce

Re: [HACKERS] pg_hba.conf hostmask.

2003-02-02 Thread Bruce Momjian
Kurt Roeckx wrote: > Currently in pg_hba.conf you specify the ip addresses that can > connect with 2 fields: the ip address and the mask. > > What do you think about changing it to ip address/mask? Where > mask can be both the current mask, or the prefix length. > > It's so much handier to use,

[HACKERS] pg_hba.conf hostmask.

2003-02-02 Thread Kurt Roeckx
Currently in pg_hba.conf you specify the ip addresses that can connect with 2 fields: the ip address and the mask. What do you think about changing it to ip address/mask? Where mask can be both the current mask, or the prefix length. It's so much handier to use, especially for ipv6. Kurt ---