Re: [PATCH] Patch to make pg_hba.conf handle virtualhost access control and samehost keyword - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: [PATCH] Patch to make pg_hba.conf handle virtualhost access control and samehost keyword
Date
Msg-id 200107081444.f68EiRu05378@candle.pha.pa.us
Whole thread Raw
In response to Re: [PATCH] Patch to make pg_hba.conf handle virtualhost access control and samehost keyword  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: [PATCH] Patch to make pg_hba.conf handle virtualhost access control and samehost keyword
List pgsql-patches
> Damien Clermont? writes:
>
> > This patch againsts postgresql 7.1.2 allows you to control access based on the
> > virtual host address only (virtualhost access type), or both the remote
> > address and the local address (connection access type).
> >
> > For example:
> >
> > connection all 192.168.42.0 255.255.255.0 192.168.1.42 255.255.255.255 trust
>
> I completely fail to understand what this does.  What is the expression
> that will be evaluated based on these four numbers?

The killer for me is the added complexity to an already complex file,
pg_hba.conf.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

pgsql-patches by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: [PATCH] Patch to make pg_hba.conf handle virtualhost access control and samehost keyword
Next
From: Anders Bengtsson
Date:
Subject: [PATCH] Cleanup of JDBC character encoding