🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #263632

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

#263632
From: Bernd Rose
Date: Tue, 04 Jun 2019 06:37
38 lines
3217 bytes
On Tue, 4th Jun 2019 01:17:20 -0400, mixmin dialog user wrote:

> Steve Crook doesn't yet know what's changed, but clearly the evidence is
> overwhelming that "something" changed 

As I already wrote in the ES discussion part as an answer to Michael: 
The server certificate isn't directly responsible for Dialog crashing:

| Dialog crashes with memory array write exception while examining a "Let's 
| Encrypt" certificate upwards in the certificate chain: It seems like the 
| response exceeds the allocated memory.

Because this will probably happen more frequently in future with different
setups /and/ all Dialog versions are affected likewise /and/ Dialog does
not support the latest TLS implementations it is time to cease using the
Dialog internal SSL capabilities. Use sTunnel or a dedicated local server
like Hamster for encrypted outbound connection and connect Dialog locally
to that intermediate instance unencrypted.

> One question for Bernd or Michael is whether we can modify an
> OnBeforeSendingMessage script to automatically check whether Stunnel is
> running, and, if not running, to start it before attempting to send or
> retrieve from the affected news servers.

Should be possible, e.g. import and use EnumProcesses from PSAPI. But it 
isn't really worth the effort, IMHO. If you don't have sTunnel always 
running in background, you can start dialog via *.bat or *.cmd file and
start stunnel from there, if not running:

tasklist /nh /fi "imagename eq stunnel.exe" | find /i "stunnel.exe" > nul || (
   start "[path_to_stunnel]\stunnel.exe"
   )
"[path_to_dialog]\dialog.exe"

Replace the [path_to_...] parts above with the real paths to that programs
on your system.

Bernd
Technical Details
Message-ID: <1jm1j6uoobq9w$.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> <1azqxmcn4atw5.sic3m6fymsdk$.dlg@40tude.net> <tOmdnen3tdiMuGjBnZ2dnUU7-U_NnZ2d@giganews.com> <aix16ct5idcg.1ngbs97of9tcm.dlg@40tude.net> <ygekb9ji7kox.dlg@b.rose.tmpbox.news.arcor.de> <1auhr2oxbbvhp$.h5c9ik4tmxqp.dlg@40tude.net>

Show Full Headers
Complete Article Headers
Message-ID: <1jm1j6uoobq9w$.dlg@b.rose.tmpbox.news.arcor.de>
Subject: Re: [40tude dialog] encryptred connection no longer working
Date: Tue, 4 Jun 2019 08:37:04 +0200
From: Bernd Rose <b.rose.tmpbox@arcor.de>
References: <RYudnYgqCadX-UHBnZ2dnUU7-YnNnZ2d@giganews.com> <1azqxmcn4atw5.sic3m6fymsdk$.dlg@40tude.net> <tOmdnen3tdiMuGjBnZ2dnUU7-U_NnZ2d@giganews.com> <aix16ct5idcg.1ngbs97of9tcm.dlg@40tude.net> <ygekb9ji7kox.dlg@b.rose.tmpbox.news.arcor.de> <1auhr2oxbbvhp$.h5c9ik4tmxqp.dlg@40tude.net>
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: 38
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: news.albasani.net XAYz6TUWK/jI9j/5+NiDUr3xu89/4MdWfFdoqs1RV9xBSiBccUO/e+Y52Zt7tkWomX4Xz25VV2iO1+73DtLGIQ==
NNTP-Posting-Date: Tue, 4 Jun 2019 06:37:04 +0000 (UTC)
Injection-Info: news.albasani.net; logging-data="pyer6S4L/tjk4s78EVoVl+bKzaB5iXbQFdqdOnHR86OtctKyKGShwFBXfCPjYvm52RfD00p41UdAb4RPSXLj5OJ/y6Nb8ESq21Lft9ctt4g/Fge/sQw1zyJOp1kQEQml"; mail-complaints-to="abuse@albasani.net"
User-Agent: 40tude_Dialog/2.0.15.41 (75495316.228.436)
Cancel-Lock: sha1:WwM0++AJMKDC+eaJJA93P1y9RoE=
X-Received-Bytes: 3187
X-Received-Body-CRC: 332863596