From: | "Marc G(dot) Fournier" <scrappy(at)hub(dot)org> |
---|---|
To: | Sean Chittenden <sean(at)chittenden(dot)org> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Proxy Server ... |
Date: | 2002-06-25 08:01:49 |
Message-ID: | 20020625050055.V20796-100000@mail1.hub.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Mon, 24 Jun 2002, Sean Chittenden wrote:
> > > > does anyone know of a proxy server that i can run on a server to
> > > > "pretend" its a postgresql server? so that I can connect to
> > > > IP:port and have it establish a connection to IP:5432?
> > >
> > > [ scratches head ] Why don't you just start the postmaster
> > > listening to the other port instead of 5432? Seems like a proxy
> > > inside the jail wouldn't really do anything the postmaster itself
> > > wouldn't do.
> > >
> > > Possibly setting VIRTUAL_HOST would help too, if the problem is
> > > that the postmaster is trying to bind to addresses it's not
> > > allowed to.
> >
> > Not possible to run a postmaster inside of the jail itself, which
> > would *really* simplify things :(
>
> Do you know what part of postgresql doesn't work inside of a jail?
shared memory is highly recommend to not be used within a jail'd
environment for various reasons ...
> As someone suggested, ipfw fwd _should_ do the trick. I'd be curious as
> to why it wouldn't. -sc
ipfw would have to be used at the operating system level, I want/require
it to be redireected at the jail level for accountability reasons ...
From | Date | Subject | |
---|---|---|---|
Next Message | Karel Zak | 2002-06-25 08:44:33 | Re: Locale settings |
Previous Message | Deepali | 2002-06-25 07:22:54 | Syntax to create objects in Postgresql |