pg_hba.conf hostname todo

Поиск
Список
Период
Сортировка
От Joshua D. Drake
Тема pg_hba.conf hostname todo
Дата
Msg-id 1167254720.12075.46.camel@localhost.localdomain
обсуждение исходный текст
Ответы Re: pg_hba.conf hostname todo  (Stephen Frost <sfrost@snowman.net>)
Re: pg_hba.conf hostname todo  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
Hello,

Per the TODO list:

Allow pg_hba.conf to specify host names along with IP addresses 

Host name lookup could occur when the postmaster reads the pg_hba.conf
file, or when the backend starts. Another solution would be to reverse
lookup the connection IP and check that hostname against the host names
in pg_hba.conf. We could also then check that the host name maps to the
IP address.


I was considering trying to attack this for 8.3. My thoughts are the
following:

Allow one to specify a FQDN or a simple wild card DN. E.g;
*.commandprompt.com.

A valid entry would look like this:

host    all         all         *.commandprompt.com          trust
host    all        all        www1.postgresql.org         md5

Thoughts?

Joshua D. Drake

-- 
     === The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive  PostgreSQL solutions since 1997            http://www.commandprompt.com/

Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate





В списке pgsql-hackers по дате отправления:

Предыдущее
От: mark@mark.mielke.cc
Дата:
Сообщение: Re: Bitmap index thoughts
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [PATCHES] [BUGS] BUG #2846: inconsistent and confusing