Re: open up firewall from "anywhere" to postgres ports?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: open up firewall from "anywhere" to postgres ports?
Дата
Msg-id 17942.1236462064@sss.pgh.pa.us
обсуждение исходный текст
Ответ на open up firewall from "anywhere" to postgres ports?  (Willy-Bas Loos <willybas@gmail.com>)
Список pgsql-general
Willy-Bas Loos <willybas@gmail.com> writes:
> I'm wondering if i should open up the ports to my two clusters 5432
> and 5433 from "Anywhere"?

No, not unless you'd like to take the risk of anyone on the internet
poking into your databases.

> I feel that it's a stupid question, since there is pg_hba, which
> already does this work.

Well, even if you trust pg_hba.conf to block unwanted connections,
someone could still mount a DOS attack by flooding your postmaster
with connection requests.  It takes a significant number of cycles
to reject a request on the basis of pg_hba.conf.

            regards, tom lane

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

Предыдущее
От: Willy-Bas Loos
Дата:
Сообщение: open up firewall from "anywhere" to postgres ports?
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: open up firewall from "anywhere" to postgres ports?