Обсуждение: bind postmaster to address

Поиск
Список
Период
Сортировка

bind postmaster to address

От
Peter Pilsl
Дата:
Is there are way to use postmaster with the -i option (accept
tcp-ip-connections) and bind only to certain addresses interfaces ?

thnx,
peter

--
mag. peter pilsl

phone: +43 676 3574035
fax  : +43 676 3546512
email: pilsl@goldfisch.at
sms  : pilsl@max.mail.at

pgp-key available

Re: bind postmaster to address

От
Tom Lane
Дата:
Peter Pilsl <pilsl@goldfisch.at> writes:
> Is there are way to use postmaster with the -i option (accept
> tcp-ip-connections) and bind only to certain addresses interfaces ?

In 7.1 there's a postmaster switch to bind only to one specific IP
address, rather than all addresses of the machine.  See the docs.

            regards, tom lane

Re: bind postmaster to address

От
Peter Pilsl
Дата:
On Sun, Apr 22, 2001 at 03:37:12PM -0400, Tom Lane wrote:
> Peter Pilsl <pilsl@goldfisch.at> writes:
> > Is there are way to use postmaster with the -i option (accept
> > tcp-ip-connections) and bind only to certain addresses interfaces ?
>
> In 7.1 there's a postmaster switch to bind only to one specific IP
> address, rather than all addresses of the machine.  See the docs.
>

Thanx, you know about 7.0.2 also ? I didnt find anything, but I have a
server here that is bind somehow (maybe its sourcehacked)


peter


--
mag. peter pilsl

phone: +43 676 3574035
fax  : +43 676 3546512
email: pilsl@goldfisch.at
sms  : pilsl@max.mail.at

pgp-key available

Re: bind postmaster to address

От
Tom Lane
Дата:
Peter Pilsl <pilsl@goldfisch.at> writes:
> On Sun, Apr 22, 2001 at 03:37:12PM -0400, Tom Lane wrote:
>> In 7.1 there's a postmaster switch to bind only to one specific IP
>> address, rather than all addresses of the machine.  See the docs.

> Thanx, you know about 7.0.2 also ? I didnt find anything, but I have a
> server here that is bind somehow (maybe its sourcehacked)

Must be; we had no such ability in 7.0.*.

            regards, tom lane

Re: bind postmaster to address

От
Bruce Momjian
Дата:
> On Sun, Apr 22, 2001 at 03:37:12PM -0400, Tom Lane wrote:
> > Peter Pilsl <pilsl@goldfisch.at> writes:
> > > Is there are way to use postmaster with the -i option (accept
> > > tcp-ip-connections) and bind only to certain addresses interfaces ?
> >
> > In 7.1 there's a postmaster switch to bind only to one specific IP
> > address, rather than all addresses of the machine.  See the docs.
> >
>
> Thanx, you know about 7.0.2 also ? I didnt find anything, but I have a
> server here that is bind somehow (maybe its sourcehacked)

The binding patch came from uunet.  Maybe you got their sources.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026