๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #263489

Re: MixMin gone forever?

#263489
From: mixmin dialog user
Date: Tue, 04 Jun 2019 05:21
293 lines
13047 bytes
On Mon, 3 Jun 2019 17:55:45 -0000 (UTC), Steve Crook wrote:

> Sorry to hear you're having problems.  So far as I'm aware, the old and
> new certificates have the same characteristics.  In case it helps, I've
> posted details of both old and new at:
> http://mixmin.net/newcert.txt
> http://mixmin.net/oldcert.txt

 On Mon, 3 Jun 2019 17:55:45 -0000 (UTC), Steve Crook wrote:

> So far as I'm aware, the old and
> new certificates have the same characteristics.  In case it helps, I've
> posted details of both old and new at:
> http://mixmin.net/newcert.txt
> http://mixmin.net/oldcert.txt

Mixmin started crashing 40tude Dialog newsreader only days ago, where it
sure seems related based on purely circumstantial evidence, reproducible by
others as shown below and in the newsgroups n.s.r & a.f.n this week.

You've always been fantastic Steve, where you even took my advice years ago
to try to better obscure identification headers to the point of daily, but
then monthly changes of algorithmic salt of some sort.

Do you still change the NNTP posting host obscurity on a monthly basis, for
example?

Anyway, you've been fantastic where I appreciate your unheralded efforts
over the years. 

Dialog started crashing only a few days ago with Mixmin, where I can't
claim to be competent in this stunnel or encryption stuff, but it would
appear that Dialog has a hard coded bug with respect to encryption that,
somehow, your recent changes ran afoul of in ways I don't understand but
which Bernd Rose explained in response to a similarly recent problem with
Ray Bannana's server, Eternal September.

 From: Bernd Rose <b.rose.tmpbox@arcor.de>
 Newsgroups: news.software.readers
 Subject: Re: [40tude dialog] encryptred connection no longer working
 Date: Thu, 16 May 2019 06:02:44 +0200
 Message-ID: <ywdal8gkrj9m$.dlg@b.rose.tmpbox.news.arcor.de>
 User-Agent: 40tude_Dialog/2.0.15.41 (376658ad.129.465)
 
 On Wed, 15th May 2019 15:13:14 -0400, Bill wrote:

 > Can't connect to news.eternal-september.org via port 563 with SSL which
 > had been working fine for a couple years until the last day or two.
 > Dialog can connect via 119 without encryption; so I guess
 > eternal-september has changed their encryption to something dialog can't
 > handle?

 Experiences from the German 40tude Dialog newsgroup confirm your guess.

 There's a likelihood (unconfirmed until now), that ES returns a list of
 valid encryption methods, where none fits the compiled-in ones of Dialog.
 Getting a list but not finding /one/ suitable entry doesn't seem to be
 handled by "normal" code, which leads to exception handling.

 It probably is time to start using an intermediate SSL proxy like sTunnel 
 for SSL connections (https://www.stunnel.org).

 Bernd

 From: Bernd Rose <b.rose.tmpbox@arcor.de>
 Newsgroups: news.software.readers
 Subject: Re: [40tude dialog] encryptred connection no longer working
 Date: Thu, 16 May 2019 20:49:34 +0200
 Message-ID: <1q12wjnd1on9l.dlg@b.rose.tmpbox.news.arcor.de>
 User-Agent: 40tude_Dialog/2.0.15.41 (4c22d8db.68.276)
  
 Just a few notes on the encryption 40tude Dialog uses. 
 (As far as I got it sorted out during the last years.)

 Encryption is compiled (= hard-coded) into Dialog using Indy library 
 functions. Indy, in turn, depends on OpenSSL for encryption. Therefore,
 Dialog supports a subset of the encryption methods provided by OpenSSL
 around 2004. 
 It supports SSL2, SSL3, and TLS1 (only v1.0) connections this way.

Considering this list of connection methods currently permitted by ES:
 TLS 1.3: no
 TLS 1.2: yes
 TLS 1.1: yes
 TLS 1.0: yes
 SSL 3.x: no
 SSL 2.x: no

 40tude Dialog should still work. But apart from the possibility, that
 the ES website just isn't correctly updated, at the moment, the list
 of valid encryption methods linked to each of these standards has to 
 be considered, as well. Some methods are too advanced to be supported
 by the old functions implemented in Dialog (like pre-authentication).

 And some of the old encryption methods are considered insecure and
 are therefore disabled. It would need closer inspection, if there still
 is a way to configure the encryption settings in a way, that Dialog
 could continue to communicate with ES encrypted. But in the end, this
 would just prolong the inevitable. So using an SSL proxy like sTunnel
 is probably the best way to go, from now on...

 Bernd
 
 From: Bernd Rose <b.rose.tmpbox@arcor.de>
 Newsgroups: news.software.readers
 Subject: Re: [40tude dialog] encryptred connection no longer working
 Date: Fri, 17 May 2019 18:29:55 +0200
 Message-ID: <iifue4jjh0b0.dlg@b.rose.tmpbox.news.arcor.de>
 User-Agent: 40tude_Dialog/2.0.15.41 (e6cd90d8.198.406)
 
 On Thu, 16th May 2019 21:22:11 -0000, Michael Bรคuerle wrote:

 [Dialog crashes on EternalSeptember SSL authentication]
 > Maybe the ciphersuite is the problem. TLSv1.0 in general works as
 > expected:

 After a closer look, the authentication with ES seems to work just fine. 

 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.

 This would be a rather severe Dialog bug and reason to avoid encrypted
 connectivity from Dialog to /any/ NNTP or mail server. The memory handling 
 routine obviously is (seems?) insufficient. Crashing Dialog this way is 
 reproducible. There /might/ be a way to construct a certificate in a way, 
 that arbitrary code can be executed. (Unlikely, but hard to disproof...)

 Therefore, if SSL connections with Dialog shall be used in future, using
 an SSL proxy (or an intermediate local server like Hamster) is, IMHO, 
 advisable from now on.

 As a side note: Dialog .84 is affected as well. Therefore, this problem 
 creates no reason to switch to this unreliable "alpha" version.

 Bernd

 From: Bernd Rose <b.rose.tmpbox@arcor.de>
 Newsgroups: news.software.readers,alt.free.newsservers
 Subject: Re: [40tude dialog] encryptred connection no longer working
 Followup-To: news.software.readers
 Date: Mon, 3 Jun 2019 19:12:21 +0200
 Message-ID: <ygekb9ji7kox.dlg@b.rose.tmpbox.news.arcor.de>
 User-Agent: 40tude_Dialog/2.0.15.41 (98086fe0.65.273)
 
 > I don't understand what the problem is but "something" appears to be hard
 > coded in Dialog, which means it will remain hard coded that way forever.

 Dialog SSL capabilities don't matter when working with the sTunnel SSL/TLS 
 proxy. Best way to let Dialog communicate with sTunnel is to do it without
 encryption. This way, only the connection between sTunnel and the server
 will be encrypted. Encrypting the connection between Dialog and sTunnel 
 (which happens completely local on your PC!) would (although possible) in
 fact be somewhat pointless, because all data transmitted in the connection
 can be retrieved from your local (unencrypted) Dialog database, anyways.
 And the connection password (although encrypted) can be revealed with
 standard tools on the local PC, as well.

 The following [newly required Mixmin] settings work just fine:

 sTunnel.conf:
 [Mixmin]
 client = yes
 accept = 127.0.0.1:1119
 connect = news.mixmin.net:563
 verifyChain = yes
 CAfile = ca-certs.pem
 checkHost = news.mixmin.net
 OCSPaia = yes
 ;
 ; 40tude Dialog:
 ; Host: 127.0.0.1
 ; Port: 1119
 ; SSL: ticked off
 ; Username/Password: <both empty>

 The local port connecting Dialog to sTunnel (1119) can been chosen freely,
 as long as it doesn't conflict with any other connection on localhost. 
 For any Usenet or mail server you want to connect to (from Dialog via 
 sTunnel), you need to use a different port on localhost. (And make sure, 
 that the settings in sTunnel.conf and Dialog setup match...)

 Bernd

 From: mixmin dialog user <mixmindialoguser@mixmindialoguser.net>
 Newsgroups: news.software.readers
 Subject: Re: [40tude dialog] encryptred connection no longer working
 Date: Tue, 4 Jun 2019 01:17:20 -0400
 Message-ID: <1auhr2oxbbvhp$.h5c9ik4tmxqp.dlg@40tude.net>
 User-Agent: 40tude_Dialog/2.0.15.84

 On Mon, 3 Jun 2019 19:12:21 +0200, Bernd Rose wrote:

 > Dialog SSL capabilities don't matter when working with the sTunnel SSL/TLS 
 > proxy. Best way to let Dialog communicate with sTunnel is to do it without
 > encryption.

 Thank you Bernd & Bill (and Grant & Younus & Fred & Michael & Vanguard) 
 for helping solve the very recent and consistent repeatable crashes of 
 40tude Dialog moments after Mixmin's change of certificates from this 
 old certificate
  http://mixmin.net/oldcert.txt
 to this new certificate
  http://mixmin.net/newcert.txt

 Steve Crook doesn't yet know what's changed, but clearly the evidence is
 overwhelming that "something" changed on or about May 25th that now causes
 all three versions of 40tude dialog to crash on Mixmin's handshaking
  40tude Dialog 2.0.15.1  (Beta 38)
  40tude Dialog 2.0.15.41 (Beta 38)
  40tude Dialog 2.0.15.84 (Alpha 84)
 
 When the previously working 40tude mixmin settings below no longer work:
  Host: news.mixmin.net
  Port: 563 SSL
  Username: leave this blank
  Password: leave this blank
  Allwd conn: 2 
 Use pipelining: checked

 The problem with Steve's server on Saturday May 25th seems to exactly
 mirror what happened to Wolfgang's server only 10 days prior, 
 on Wednesday, May 15th as reported by Bill.

 I think my original problem when reluctantly setting up Stunnel 5.55 on
 Windows 10 x64 earlier today was that I used the settings directly from
 Bill which used port "119", and/or that Stunnel didn't start on its own
 with Windows after a system reboot.

 Rectifying one or both of those problems by manually starting Stunnel and
 by modifying the stunnel configuration file to the following worked if 
 this post gets to you from Steve Crook's server.

 [Mixmin]
 ; Required as of Sat 25th May 2019 for the 40tude Dialog newsreader
 ; Crash: 0040707D in module 'dialog.exe' Read of address 3A2CF4F8 
 client = yes
 accept = 127.0.0.1:1119
 connect = news.mixmin.net:563
 verifyChain = yes
 CAfile = ca-certs.pem
 checkHost = news.mixmin.net
 OCSPaia = yes
 ; 40tude Dialog's server settings need to match:
 ; Host: 127.0.0.1
 ; Port: 1119
 ; SSL: box is unchecked
 ; Username/Password: (both empty as per Steve Crook)
 ; http://news.mixmin.net/draft-mimix-01.html
 ; https://github.com/crooks

 [EternalSeptember]
 ; Required as of Wed 15th May 2019 for the 40tude Dialog newsreader
 client = yes
 accept = 127.0.0.1:1129
 connect = news.eternal-september.org:563
 verifyChain = yes
 CAfile = ca-certs.pem
 checkHost = news.eternal-september.org
 OCSPaia = yes
 ; Dialog's server settings needed to be changed to:
 ; 40tude Dialog's server settings need to match:
 ; Host: 127.0.0.1
 ; Port: 1129
 ; SSL: box is unchecked
 ; Username/Password: (as set by Ray Banana)
 ; http://www.eternal-september.org

 [NewsIndividual]
 ; Required as of (unknown date) for the 40tude Dialog newsreader
 client = yes
 accept = 127.0.0.1:1139
 connect = News.Individual.DE:563
 verifyChain = yes
 CAfile = ca-certs.pem
 checkHost = News.Individual.DE
 OCSPaia = yes
 ; Dialog's server settings needed to be changed to:
 ; 40tude Dialog's server settings need to match:
 ; Host: 127.0.0.1
 ; Port: 1139
 ; SSL: box is unchecked
 ; Username/Password: (as set by news.individual.net)
 ; http://news.individual.net

 If you receive this message from Mixmin's servers, then at least 
 the Mixmin settings shown above worked. 

 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.
 
Technical Details
Message-ID: <l0y8layahmyt$.ztaulr22byb2$.dlg@40tude.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail
References: <qcu8oe$1p13$1@gioia.aioe.org> <slrnqf5a69.u39.steve@fleegle.mixmin.net> <qcv586$8aq$1@news.mixmin.net> <1qo6loxcv27tt.ffnexmwgd527.dlg@40tude.net> <qd1odi$cck$1@tncsrv09.home.tnetconsulting.net> <1mfbs5jgba8jo.1277ndtfvs9oj$.dlg@40tude.net> <slrnqfanp1.u39.steve@fleegle.mixmin.net>

Show Full Headers
Complete Article Headers
Message-ID: <l0y8layahmyt$.ztaulr22byb2$.dlg@40tude.net>
Subject: Re: MixMin gone forever?
Date: Tue, 4 Jun 2019 01:21:42 -0400
From: mixmin dialog user <mixmindialoguser@mixmindialoguser.net>
References: <qcu8oe$1p13$1@gioia.aioe.org> <slrnqf5a69.u39.steve@fleegle.mixmin.net> <qcv586$8aq$1@news.mixmin.net> <1qo6loxcv27tt.ffnexmwgd527.dlg@40tude.net> <qd1odi$cck$1@tncsrv09.home.tnetconsulting.net> <1mfbs5jgba8jo.1277ndtfvs9oj$.dlg@40tude.net> <slrnqfanp1.u39.steve@fleegle.mixmin.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail
Newsgroups: news.software.readers,alt.free.newsservers
Organization: Mixmin
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Injection-Info: news.mixmin.net; posting-host="b788fbf34dfec4f9e165b9cb4aaa2f22a55e2426";
 logging-data="9802"; mail-complaints-to="abuse@mixmin.net"
User-Agent: 40tude_Dialog/2.0.15.84
X-Received-Bytes: 13093
X-Received-Body-CRC: 1204604918