Re: Use "samehost" by default in pg_hba.conf?
От | Magnus Hagander |
---|---|
Тема | Re: Use "samehost" by default in pg_hba.conf? |
Дата | |
Msg-id | 3EFF89A0-F705-4A97-88A1-FB5044A36736@hagander.net обсуждение исходный текст |
Ответ на | Re: Use "samehost" by default in pg_hba.conf? (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: Use "samehost" by default in pg_hba.conf?
|
Список | pgsql-hackers |
On 1 okt 2009, at 06.53, Tom Lane <tgl@sss.pgh.pa.us> wrote: > Peter Eisentraut <peter_e@gmx.net> writes: >> On Wed, 2009-09-30 at 22:08 -0400, Tom Lane wrote: >>> (Note that you would still need a non-default setting of >>> listen_addresses for "-h machine_name" to actually work.) > >> Which makes this proposal kind of uninteresting. > > Although come to think of it ... is there any reason besides sheer > conservatism to not make the default listen_addresses value '*'? > It won't result in letting in any outside connections unless you > also add pg_hba.conf entries. Absolutely. One less opportunity to DOS the server - it's certainly cheaper to deal with connection floods by never even answering the socket. Also, showing up in portscans for example. Now, that trust authentication is a different issue ;) /Magnus
В списке pgsql-hackers по дате отправления: