Re: Firewall Security Requirements for Postgresql Access

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: Firewall Security Requirements for Postgresql Access
Дата
Msg-id 20040914164221.GA3441@wolff.to
обсуждение исходный текст
Ответ на Re: Firewall Security Requirements for Postgresql Access  (Randy Yates <yates@ieee.org>)
Список pgsql-general
On Wed, Sep 08, 2004 at 03:12:29 +0000,
  Randy Yates <yates@ieee.org> wrote:
> bench@silentmedia.com (Ben) writes:
>
> > Well, R/W doesn't make much sense for TCP.... incoming/outgoing SYN
> > packets make more sense, and if the database is located outside the
> > firewall, you really only need to allow outgoing SYN packets on the port
> > (as well as packets related to that session, of course).
>
> Are you suggesting that the firewall be configured so that the only
> outgoing packets allowed through are ones with the SYN bit set in the
> CODE BITS field of the TCP header? I'm fairly ignorant on protocol
> matters, and I don't understand why one would single out these types
> of TCP segments.  Could you please expound?

Blocking SYN packets can be used to prevent the set up of a TCP connection.
One way to block inbound connections to ports, but allow outbound connections
to them is to block incoming SYN packets. This has the advantage that no
state needs to be maintained about the connection. The normal situation is
that inbound SYN packets are blocked except for the few ports to which you
want to allow connections to.

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

Предыдущее
От: Daniel Daoust
Дата:
Сообщение: Re: Autonomous transaction
Следующее
От: "Nick Hajek"
Дата:
Сообщение: 8.0.0 beta 2, void type