Re: FW: Configuring Postgres to use unix sockets

From: Douglas McNaught <doug(at)mcnaught(dot)org>
To: "John Zubac" <jzubac(at)internetsecure(dot)com>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: FW: Configuring Postgres to use unix sockets
Date: 2005-09-09 13:51:26
Message-ID: m2slwee4dd.fsf@Douglas-McNaughts-Powerbook.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"John Zubac" <jzubac(at)internetsecure(dot)com> writes:

> Hi Everyone
>
> I am not too sure how to do this but I'll ask
>
> I want two postgres servers to communicate over a serial port. I want to
> avoid using the TCP/IP network protocol for added security. I heard this
> can be accomplished through unix sockets? Could anyone give me some
> configuration advice. I am a little in the dark with this type of config.

Unix sockets can't work across a serial link.

You would need to run PPP over the serial link between the two
machines, then make TCP connections using that network. It'd be
*much* faster and less hassle to simply put a second NIC in each
machine, connect them with a crossover cable, and run your PG
connections over that network. You could also enforce use of the
private network (in both cases) by use of firewall rules.

-Doug

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Richard_D_Levine 2005-09-09 13:57:59 Re: FW: Configuring Postgres to use unix sockets
Previous Message Joost Kraaijeveld 2005-09-09 13:40:42 Re: Is this a bug or am I doing something wrong?