🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #263612

Re: [40tude dialog] encryptred connection no longer working

#263612
From: Bernd Rose
Date: Thu, 16 May 2019 18:23
72 lines
4526 bytes
On Thu, 16th May 2019 01:00:40 -0400, Bill wrote:

>> It probably is time to start using an intermediate SSL proxy like sTunnel 
>> for SSL connections (https://www.stunnel.org).
[...] 
> I took a quick look at stunnel and downloaded the installer.  I know
> nothing about setting up proxies; but found some example configs online
> for using stunnel with a usenet client.  If following the example setup
> is all I need to do, it shouldn't be too difficult.

A while back I posted an example guide for NewsIndividual in the German
Dialog newsgroup. Here is a quick&dirty translation:

----------<Snip>----------------------------------------------------------

----------------------------------------------
How to use sTunnel SSL proxy in 40tude Dialog:
----------------------------------------------

Download the program from https://www.stunnel.org and install it with
standard settings. An icon will show up in the info area of the taskbar,
indicating the local SSL proxy server sTunnel being up and running.

A context menu can be accessed via right mouse button click on the icon. 
In this menu the <Edit Configuration> entry is used to open a text file 
in Notepad (or whichever editor is set as standard on the system). This 
file contains several configuration examples. Best to duplicate one and 
comment out all other (semicolon as first char in each line). It is also 
possible to delete the whole content and copy/paste the following example. 
(This way the hints and examples of the standard configuration file are 
lost, though).

The duplicated section has to be altered to:

[NewsIndividual]
client = yes
accept = 127.0.0.1:119
connect = News.Individual.DE:563
verifyChain = yes
CAfile = ca-certs.pem
checkHost = News.Individual.DE
OCSPaia = yes

To match these settings, 40tude Dialog has to be configured to connect
to the Host "localhost" and the Port 119. The local port can be chosen
freely, as long as it isn't the same one used to (securely) connect to
NewsIndividual (= Port 563).

Because the connection between 40tude Dialog and sTunnel takes only
place on the local PC, it usually can be established unencrypted.
(The SSL setting inside the 40tude Dialog server configuration has to
be ticked off!) Therefore, Port 119 is best suited for the local
communication, because it is the standard NNTP port for unencrypted
connections.

As a next step the sTunnel configuration file has to be saved and closed. 
Afterwards, the <Reload Configuration> function must be executed from 
context menu of the sTunnel tray icon to import the altered settings
into sTunnel. Now, retrieving messages from NewsIndividual should work
in 40tude Dialog.

It is possible to configure sTunnel in much more detail. (E.g. install
the NewsIndividual certificate locally for verification or exclude
specific encryption methods from usage.) For "standard" encrypted
connections, the above should do, though.

----------<Snip>----------------------------------------------------------

Adjusting the above to any other NNTP server should be no problem.

HTH.
Bernd
Technical Details
Message-ID: <2icrhtyfd2jt$.dlg@b.rose.tmpbox.news.arcor.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail
References: <RYudnYgqCadX-UHBnZ2dnUU7-YnNnZ2d@giganews.com> <ywdal8gkrj9m$.dlg@b.rose.tmpbox.news.arcor.de> <qbGdnbLlJuDkc0HBnZ2dnUU7-TfNnZ2d@giganews.com>

Show Full Headers
Complete Article Headers
Message-ID: <2icrhtyfd2jt$.dlg@b.rose.tmpbox.news.arcor.de>
Subject: Re: [40tude dialog] encryptred connection no longer working
Date: Thu, 16 May 2019 20:23:35 +0200
From: Bernd Rose <b.rose.tmpbox@arcor.de>
References: <RYudnYgqCadX-UHBnZ2dnUU7-YnNnZ2d@giganews.com> <ywdal8gkrj9m$.dlg@b.rose.tmpbox.news.arcor.de> <qbGdnbLlJuDkc0HBnZ2dnUU7-TfNnZ2d@giganews.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail
Newsgroups: news.software.readers
Organization: albasani.net
Lines: 72
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: news.albasani.net CJjp/YCBMJdys3rmiEthMd0MZcG4rMks9vqpgvrYk3lpgaTFkxQAxRleCrmn9ENdn3nhorNxncQsebK8ZLwlCr3nVr5bjCGsi3NXVvspNPTI/TaCri9iZ5YdwLclJePX
NNTP-Posting-Date: Thu, 16 May 2019 18:23:36 +0000 (UTC)
Injection-Info: news.albasani.net; logging-data="FBy0GP1wirpwZEIDKTEenlGV5wD1MrKi9aFbngo2owVdmbW+Vrf9t+Az4Ij/AKzGsiz20NK56AbBGPD96m/YwFKJcUWJbaMn3TTB7ydaDBO4oStAB8E+tpEojiXnCVZE"; mail-complaints-to="abuse@albasani.net"
User-Agent: 40tude_Dialog/2.0.15.41 (b126bc69.147.451)
Cancel-Lock: sha1:hyuXHeCvg94g2kRduAdI83Ai1oE=
X-Received-Bytes: 4455
X-Received-Body-CRC: 1942464499