🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.free.newsservers
Article #161044

Re: Does mixmin know the PORT that we use at home?

#161044
From: Steve Crook
Date: Mon, 09 Nov 2015 14:58
58 lines
2752 bytes
On Mon, 9 Nov 2015 13:45:51 +0000 (UTC), Clément wrote in
Message-Id: <n1q82f$mi$1@speranza.aioe.org>:

> Steve Crook wrote:
>
>> Mixmin would know the port number as it talks back to your client after
>> the connection is established.  Using netstat I can see connections like
>> this:
>> 
>> tcp fleegle.mixmin.net:nntps <client_ip>:58444 ESTABLISHED news
>> 
>> This info isn't logged though and usually the client-side port is
>> different on each connection.
>
> Thanks for that information Steve.
> I understand now that you can see the client-side port.

Hi Clément,

Actually I think we're talking about different things.  I thought you
meant the client-side port used to interact with the nntps port on my
server.  I think you're actually talking about the port on your PC that
STunnel is listening on.  These aren't the same things.

> I use port 3333 instead of port 119 (I didn't want to clash with other 
> nntp clients so I picked any arbitrary high port that I could remember).

In this usage case, your stunnel is only listening for connections on
locahost (127.0.0.1).  Nothing can connect to it except applications on
your own PC.  You could make it listen on 119 and there would be no
problem.

> Here is my stunnel.conf file:
> [nntp]
> client = yes
> accept = 127.0.0.1:3333
> connect = news.mixmin.net:563
>
> Given that, isn't my port to you always *static* on port 3333?
Absoutely right.  Your local stunnel will always listen for connections
from the local PC on port 3333.  You may also wish to try out the
following STunnel config:-


client = yes

[nntp]
protocol = nntp
accept = localhost:119
connect = news.mixmin.net:119


The newsserver supports a capability called STARTTLS.  With this recipe,
you can connect on the standard port 119 and your PC and my server will
then negotiate a secure connection.

-- 
And with glasses high we raised a cry for freedom had arrived
Technical Details
Message-ID: <slrnn41d4e.n7i.steve@fleegle.mixmin.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <n1p3cs$idt$1@speranza.aioe.org> <slrnn40p2q.jt0.steve@fleegle.mixmin.net> <n1q82f$mi$1@speranza.aioe.org>

Show Full Headers
Complete Article Headers
Message-ID: <slrnn41d4e.n7i.steve@fleegle.mixmin.net>
Subject: Re: Does mixmin know the PORT that we use at home?
Date: Mon, 09 Nov 2015 14:58:22 +0000
From: Steve Crook <steve@mixmin.net>
References: <n1p3cs$idt$1@speranza.aioe.org> <slrnn40p2q.jt0.steve@fleegle.mixmin.net> <n1q82f$mi$1@speranza.aioe.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Newsgroups: alt.free.newsservers
Mime-Version: 1.0
Injection-Date: Mon, 9 Nov 2015 14:58:22 -0000 (UTC)
User-Agent: slrn/pre1.0.3-6 (Linux)
X-Received-Bytes: 2899
Organization: Mixmin