Re: Pg and Stunnel

Lists: pgsql-general
From: "Roderick A(dot) Anderson" <raanders(at)acm(dot)org>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Pg and Stunnel
Date: 2003-04-10 18:58:04
Message-ID: Pine.LNX.4.33.0304101152010.24690-100000@main.cyber-office.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

Any suggestions on which port to use (or is there a defined one) to be the
end of a stunnel?
Type slowly, I'm old and only starting to get into this stunnel stuff.
I've done a cook book tunnel but now want to standardize the procedure and
make sure I won't step on any toes (defined services) later down the line.

TIA,
Rod
--
"Open Source Software - Sometimes you get more than you paid for..."


From: Dennis Gearon <gearond(at)cvc(dot)net>
To: "Roderick A(dot) Anderson" <raanders(at)acm(dot)org>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Pg and Stunnel
Date: 2003-04-10 19:50:22
Message-ID: 3E95CAFE.6050208@cvc.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

ones to avoid
---------------
http://www.iana.org/assignments/port-numbers

You might try 5433/4

Roderick A. Anderson wrote:
> Any suggestions on which port to use (or is there a defined one) to be the
> end of a stunnel?
> Type slowly, I'm old and only starting to get into this stunnel stuff.
> I've done a cook book tunnel but now want to standardize the procedure and
> make sure I won't step on any toes (defined services) later down the line.
>
>
> TIA,
> Rod


From: "Roderick A(dot) Anderson" <raanders(at)acm(dot)org>
To: Dennis Gearon <gearond(at)cvc(dot)net>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Pg and Stunnel
Date: 2003-04-10 20:24:25
Message-ID: Pine.LNX.4.33.0304101316260.25681-100000@main.cyber-office.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

On Thu, 10 Apr 2003, Dennis Gearon wrote:

> ones to avoid
> ---------------
> http://www.iana.org/assignments/port-numbers

I keep forgetting about this.

> You might try 5433/4

Yeah this makes sense but I wanted to see what others might be using. The
tutorial from the Pg (or friend) site uses 5430 which is already assigned.

I've also considered the high numbers; to quote from the link above:

The Dynamic and/or Private Ports are those from 49152 through 65535

I'll kludge for awhile and gather more evidence of others doin's.

Thanks for the pointer.

Rod
--
"Open Source Software - Sometimes you get more than you paid for..."


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Roderick A(dot) Anderson" <raanders(at)acm(dot)org>
Cc: Dennis Gearon <gearond(at)cvc(dot)net>, pgsql-general(at)postgresql(dot)org
Subject: Re: Pg and Stunnel
Date: 2003-04-10 20:51:12
Message-ID: 6610.1050007872@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

"Roderick A. Anderson" <raanders(at)acm(dot)org> writes:
> On Thu, 10 Apr 2003, Dennis Gearon wrote:
>> You might try 5433/4

> Yeah this makes sense but I wanted to see what others might be using. The
> tutorial from the Pg (or friend) site uses 5430 which is already assigned.

The 5433/4 numbers could get assigned at any minute, too. That doesn't
mean they'd suddenly be likely to be in use on your site, though. Most
of the protocols with recently-assigned numbers are pretty dang obscure.

Still, I'd lean to using one of the port numbers above 49k. If you have
a conflict, at least no one can accuse you of ignoring published specs.

regards, tom lane


From: Dennis Gearon <gearond(at)cvc(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Roderick A(dot) Anderson" <raanders(at)acm(dot)org>, pgsql-general(at)postgresql(dot)org
Subject: Re: Pg and Stunnel
Date: 2003-04-10 22:00:29
Message-ID: 3E95E97D.9020601@cvc.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

One thing I have already seen is that 5433/34 are used for an alternate copy of
pgsql, so two versions can be run at the same time. It would be best to use one
up above.

I'm pretty sure that the dynamic port software which moves HTML links from 80/81
up to the high area just avoids ones that you have assigned.

BTW, do other protocols like pgsql, mysql, ftp, others use the dynamic port
allocation?

Tom Lane wrote:
> "Roderick A. Anderson" <raanders(at)acm(dot)org> writes:
>
>>On Thu, 10 Apr 2003, Dennis Gearon wrote:
>>
>>>You might try 5433/4
>
>
>>Yeah this makes sense but I wanted to see what others might be using. The
>>tutorial from the Pg (or friend) site uses 5430 which is already assigned.
>
>
> The 5433/4 numbers could get assigned at any minute, too. That doesn't
> mean they'd suddenly be likely to be in use on your site, though. Most
> of the protocols with recently-assigned numbers are pretty dang obscure.
>
> Still, I'd lean to using one of the port numbers above 49k. If you have
> a conflict, at least no one can accuse you of ignoring published specs.
>
> regards, tom lane
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>