Re: enabling tcpip_socket by default

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: enabling tcpip_socket by default
Дата
Msg-id 87ekpivjzk.fsf@stark.xeocode.com
обсуждение исходный текст
Ответ на Re: enabling tcpip_socket by default  (Marko Karppinen <marko@karppinen.fi>)
Ответы Re: enabling tcpip_socket by default
Re: enabling tcpip_socket by default
Список pgsql-hackers
Marko Karppinen <marko@karppinen.fi> writes:

> On 17. touko 2004, at 10:40, Tatsuo Ishii wrote:
> > Consider a program using JDBC on localhost. It can only reach to
> > PostgreSQL via TCP/IP.

Huh? Why on earth would that be true? Is this a limitation of our JDBC
drivers?

> Ah! Of course. That makes sense, and listening on 127.0.0.1 never
> hurt anyone (except, of course, the tinfoil hat crowd nmapping
> localhost in a frenzy...)

Actually on many systems it was very possible to send packets to a machine
with a source address of 127.0.0.1 even over external networks or through
routers. Making an attack out of this on a TCP service would be difficult, but
it has been done.

Good OS distributions install network filters by default to refuse such
packets, but lots of OSes still don't do this.

-- 
greg



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

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: Call for 7.5 feature completion
Следующее
От: Doug McNaught
Дата:
Сообщение: Re: enabling tcpip_socket by default