From: | Larry Rosenman <ler(at)lerctr(dot)org> |
---|---|
To: | Andrew Dunstan <andrew(at)dunslane(dot)net>, PostgreSQL Hackers Mailing List <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: CIDR in pg_hba.conf |
Date: | 2003-05-07 14:25:32 |
Message-ID: | 47590000.1052317532@lerlaptop.iadfw.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
--On Wednesday, May 07, 2003 09:50:55 -0400 Andrew Dunstan
<andrew(at)dunslane(dot)net> wrote:
> Looking through the TODO list I noticed this item apparently unclaimed:
>
> * Allow CIDR format to be used in pg_hba.conf
>
> I can look at doing this, having done similar code some years ago.
>
> Internally, it seems the best thing to do would be to turn the /nn into a
> conventional netmask of the right family. I guess I'd add a utility
> routine to ip.c for that.
>
> The syntax for pg_hba.conf would change slightly, to allow these forms:
>
> host database user CIDR-address authentication-method
> [authentication-option]
> hostssl database user CIDR-address authentication-method
> [authentication-option]
>
> So in hba.c, if we found a / in the IP address, we wouldn't go looking
> for a separate netmask field.
Please do this !
LER
>
> cheers
>
> andrew
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
>
--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: ler(at)lerctr(dot)org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew Sullivan | 2003-05-07 15:20:39 | Re: [GENERAL] Installin Postgres |
Previous Message | Tom Lane | 2003-05-07 14:19:25 | Re: [PERFORM] Hypothetical suggestions for planner, indexing |