Re: [GENERAL] How do I prevent binding to TCP/IP port outside of localhost?

2006-03-04 Thread hubert depesz lubaczewski
On 2/23/06, Karl Wright <[EMAIL PROTECTED]> wrote: > I have a situation where I need postgres to LISTEN and allow BINDs to > its TCP/IP port (5432) only to connections that originate from > localhost. I need it to not accept *socket* connections if requests with new postgresql's (i dont know whic

Re: [GENERAL] How do I prevent binding to TCP/IP port outside of

2006-02-24 Thread Rich Doughty
Karl Wright wrote: I have a situation where I need postgres to LISTEN and allow BINDs to its TCP/IP port (5432) only to connections that originate from localhost. I need it to not accept *socket* connections if requests come in from off-box. If I try to set up pg_hba.conf such that it reject

Re: [GENERAL] How do I prevent binding to TCP/IP port outside of localhost?

2006-02-24 Thread Jim Buttafuoco
if its linux, use iptables to block to port. -- Original Message --- From: Karl Wright <[EMAIL PROTECTED]> To: pgsql-general@postgresql.org Sent: Thu, 23 Feb 2006 15:49:09 -0500 Subject: [GENERAL] How do I prevent binding to TCP/IP port outside of localhost? > I have a

[GENERAL] How do I prevent binding to TCP/IP port outside of localhost?

2006-02-24 Thread Karl Wright
I have a situation where I need postgres to LISTEN and allow BINDs to its TCP/IP port (5432) only to connections that originate from localhost. I need it to not accept *socket* connections if requests come in from off-box. If I try to set up pg_hba.conf such that it rejects off-box requests,