🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
24 messages
24 total messages Started by Bill Wed, 15 May 2019 19:13
[40tude dialog] encryptred connection no longer working
#263604
Author: Bill
Date: Wed, 15 May 2019 19:13
9 lines
1571 bytes
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?

Bill
-- 
Email address is a Spam trap.
Re: [40tude dialog] encryptred connection no longer working
#263605
Author: Phil Boutros
Date: Wed, 15 May 2019 19:58
15 lines
1559 bytes
Bill <2k7508@gmail.com> 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?

    No idea, but slrn is chugging along just fine with it.  Is this
still happening, or was it just a network glitch?


Phil
-- 
AH#61  Wolf#14  BS#89  bus#1  CCB#1  SENS  KOTC#4
philb@philb.ca  http://philb.ca
Re: [40tude dialog] encryptred connection no longer working
#263606
Author: Bill
Date: Wed, 15 May 2019 21:03
21 lines
2105 bytes
On Wed, 15 May 2019 19:58:43 -0000 (UTC), Phil Boutros wrote:

> Bill <2k7508@gmail.com> 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?
> 
>     No idea, but slrn is chugging along just fine with it.  Is this
> still happening, or was it just a network glitch?
> 
> Phil

It could be a glitch.  Idk.  It is something "new" that wasn't occurring
just a 24-36 hours ago. The errors still occur if I revert to my
original settings.

Bill
-- 
Email address is a Spam trap.
Re: [40tude dialog] encryptred connection no longer working
#263608
Author: Bernd Rose
Date: Thu, 16 May 2019 04:02
19 lines
2131 bytes
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
Re: [40tude dialog] encryptred connection no longer working
#263607
Author: VanguardLH
Date: Thu, 16 May 2019 04:49
76 lines
4905 bytes
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?

https://www.eternal-september.org/index.php?showpage=faq#TBSSLCertficate

That has to do with Mozilla deciding they will not use the global
certificate store in the operating system.  In Windows, you can see the
global cert store by running certmgr.msc.  Mozilla decided they wanted
to wrest control over which certs were usable with their products, so
they use a private cert store inside of, say, Firefox (guess in
Thunderbird, too).  Some software that uses certs, like anti-virus or
stream capture, will install their cert in the global cert store.  They
don't bother or know that Mozilla went their own way with a private cert
store, so the user has to figure out how to install the cert in
Firefox's private store (unless the software can do it although that
sometimes requires a reinstall of the software, like uninstalling it,
install Firefox or have it available BEFORE installing the cert-needy
software, and during the install then it will slide in their cert into
Firefox's private cert store).

I don't know that Dialog has its own private cert store.  My guess is it
is using the OS' global cert store for encrypted connections.  However,
Dialog has had no development or support for well over a decade, and
since then many sites have dropped SSL to replace with TLS.  I doubt
Dialog can handle TLS connects.  

I went to www.eternal-september.org but saw nothing about what
encryption protocol they use for their site certificate.  I went to
https://www.ssllabs.com/ssltest/ to see if I could tell what type of
cert they were using.  While ES, on their site, says in their FAQ that
they are using a cert from CAcert, SSLlabs says they are using one from
Let's Encrypt.  Since that is an automated cert issuer (instead of the
traditional type that tracks by the money who got a cert), some folks
don't trust those certs.  The certs don't guarantee to whom they were
issued.  The only requirement of LE's authentication process is that the
cert they give you must be used at the registrant's site so LE can check
that site is using that LE cert.  Alas, SSLlabs doesn't let me specify
the port address for a connection, so perhaps they are testing the www
host instead of the news host at eternal-september.org.  I did specify
news.eternal-september.org as the hostname.  However, at ES' web site,
they support the following according to SSLlabs:

TLS 1.3: no
TLS 1.2: yes
TLS 1.1: yes
TLS 1.0: yes
SSL 3.x: no
SSL 2.x: no

There is no difference between SSL 3.x and TLS 1.0 in how the connection
is encryption (so TLS 1.0 is just as vulnerable as SSL 3.x) but the
session handshake is different to make them incompatible with each
other.  Since ES' web site doesn't support SSL 3.x, maybe the NNTPS
server doesn't, too.  With the age of Dialog, I doubt it has any TLS
support.

You might use a non-SSL connect to post into the ES forums to ask if the
cert for their NNTPS server has changed, expired, or if that server
still supports SSL (and back to 2.x).  SSL 3.0 was ratified in 1996, but
it can be many years before it actually gets supported.  TLS 1.0 was
ratified in 1999.  TLS 1.1 got ratified in 2006, so that was after
Dialog's development died.

It wasn't just changing to a less vulnerable encryption protocol that
changed.  Weak ciphers got dropped, too.  I suspect Dialog still
attempts to negotiate to a weak cipher but that doesn't mean the site
will allow the degradation.

I suspect wolfgang, the ES owner, peruses his own ES forums, so that's
probably a good place to post to ask if there were any changes in his
NNTPS server, its certification, or some temporary outage or glitch.
Re: [40tude dialog] encryptred connection no longer working
#263610
Author: Bill
Date: Thu, 16 May 2019 05:00
33 lines
2633 bytes
On Thu, 16 May 2019 06:02:44 +0200, Bernd Rose wrote:

> 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

Thanks Bernd,

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.

Bill
 
-- 
Email address is a Spam trap.
Re: [40tude dialog] encryptred connection no longer working
#263611
Author: Grant Taylor
Date: Thu, 16 May 2019 05:26
143 lines
7523 bytes
On 5/15/19 10:49 PM, VanguardLH wrote:
> https://www.eternal-september.org/index.php?showpage=faq#TBSSLCertficate
> 
> That has to do with Mozilla deciding they will not use the global 
> certificate store in the operating system.

That's not entirely accurate.  Mozilla Firefox uses the Netscape 
Security Suite (a.k.a. NSS).  This goes back to the mid to late '90s 
when Netscape introduced SSL to the world.  Wanting to be cross-platform 
combined with the fact that some platforms didn't even have a 
system-wide certificate store, Netscape created the NSS library and used 
it in their products.

Mozilla Firefox (and likely other Mozilla and derivative products) have 
continued to use NSS ever sense.  -  I think this may be changing 25 
years after Netscape introduced NSS.

> In Windows, you can see the global cert store by running certmgr.msc. 
> Mozilla decided they wanted to wrest control over which certs were 
> usable with their products, so they use a private cert store inside 
> of, say, Firefox (guess in Thunderbird, too).

I believe that's wrong.  See above for why.

> Since that is an automated cert issuer (instead of the traditional 
> type that tracks by the money who got a cert), some folks don't trust 
> those certs.

That sounds like you're saying that some people have decided not to 
trust Let's Encrypt and to remove their root certificate from their 
local certificate store.  I don't think that's an accurate, much less 
fair, representation.

Let's Encrypt is a relatively young Certificate Authority.  It's only 
been the last 12 ~ 24 months that their root certificate was trusted by 
many contemporary (SSL) TLS stacks.

To work around this, Let's Encrypt had another long established and well 
known CA cross sign their root certificate until relatively recently.

There was a fair bit of software that for one reason or another didn't 
know about Let's Encrypt until quite recently.  So if the software is 
more than about 3 years old, it likely won't know about, much less trust 
Let's Encrypt.  I know that Java is a good example of something that 
didn't learn about Let's Encrypt until within the last year.

Aside:  Yes, Java has it's own certificate store.  This is usually per 
Java installation.  So if you have multiple installations of Java, you 
will also have multiple Java certificate stores.  Remember, many Java 
applications like to bring their own version of Java along with 
themselves, as such you might not know that a separate instance of Java 
exists.

> The certs don't guarantee to whom they were issued.

Nor do they claim to.

Let's Encrypt offers "Domain Validation" certificates.  They make zero 
assertion about who is running the validated domain.

More typical CA's offer "Organizational Validation" certificates.  O.V. 
certificates /do/ offer an assertion about who is using the domain.

Some CA's offer "Extended Validation" certificates.  E.V. certificates 
are supposed to be more stringent than D.V. or O.V. certificates.

One of the problem with D.V., O.V., and E.V., is that other than perhaps 
the color of an address bar, it's quite difficult to tell the difference 
between the certificates as an end user.

Another problem with all certificates is that they *ONLY* say that it's 
an encrypted connection to <something> that has gone through some level 
of verification.  The certificates say *NOTHING* about what the server 
you are connecting to will provide, much less if it's safe to connect to 
them.  -  Criminals and hackers are perfectly free to acquire any of the 
above certificates and attack your computer when you connect.  Nothing 
the CA does or says even hints about this.

This second point is a MAJOR problem that the industry is dealing with now.

> The only requirement of LE's authentication process is that the cert 
> they give you must be used at the registrant's site so LE can check 
> that site is using that LE cert.

Nope.

Let's Encrypt has multiple other ways to authenticate, some of which 
don't require any web service, or even for the host using the cert to be 
externally reachable.

> Alas, SSLlabs doesn't let me specify the port address for a connection, 
> so perhaps they are testing the www host instead of the news host at 
> eternal-september.org.  I did specify news.eternal-september.org as 
> the hostname.  However, at ES' web site, they support the following 
> according to SSLlabs:
> 
> TLS 1.3: no
> TLS 1.2: yes
> TLS 1.1: yes
> TLS 1.0: yes
> SSL 3.x: no
> SSL 2.x: no
> 
> There is no difference between SSL 3.x and TLS 1.0 in how the 
> connection is encryption (so TLS 1.0 is just as vulnerable as SSL 3.x) 
> but the session handshake is different to make them incompatible with 
> each other.  Since ES' web site doesn't support SSL 3.x, maybe the 
> NNTPS server doesn't, too.  With the age of Dialog, I doubt it has 
> any TLS support.

OpenSSL's s_client command corroborates the TLS 1.2, 1.1, 1.0, and SSL 3 
findings for ES's NNTP (NNRP) server on TCP port 563.

> You might use a non-SSL connect to post into the ES forums to ask 
> if the cert for their NNTPS server has changed, expired, or if that 
> server still supports SSL (and back to 2.x).  SSL 3.0 was ratified 
> in 1996, but it can be many years before it actually gets supported. 
> TLS 1.0 was ratified in 1999.  TLS 1.1 got ratified in 2006, so that 
> was after Dialog's development died.

My guess is that there's no compatible SSL / TLS version between 40tude 
and ES.

You can confirm this with something like Wireshark.  It has SSL / TLS 
dissectors that can tell you if the SSL / TLS handshake failed because 
of versions and / or ciphers.

> It wasn't just changing to a less vulnerable encryption protocol 
> that changed.  Weak ciphers got dropped, too.  I suspect Dialog still 
> attempts to negotiate to a weak cipher but that doesn't mean the site 
> will allow the degradation.
> 
> I suspect wolfgang, the ES owner, peruses his own ES forums, so that's 
> probably a good place to post to ask if there were any changes in his 
> NNTPS server, its certification, or some temporary outage or glitch.





-- 
Grant. . . .
unix || die
Re: [40tude dialog] encryptred connection no longer working
#263612
Author: 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
Re: [40tude dialog] encryptred connection no longer working
#263614
Author: Bernd Rose
Date: Thu, 16 May 2019 18:49
34 lines
2840 bytes
On Wed, 15th May 2019 23:49:10 -0500, VanguardLH wrote:

I'm too tired to carefully read through your long post, at the moment. (It
has been a long and demanding day...)

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 your 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
Re: [40tude dialog] encryptred connection no longer working
#263615
Author: Bill
Date: Thu, 16 May 2019 20:09
84 lines
5028 bytes
On Thu, 16 May 2019 20:23:35 +0200, Bernd Rose wrote:

> 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

Thank you Bernd,
 
 I hadn't gotten into the sTunnel documentation very far; but had seen
some mention of configuring certificates within sTunnel.  Thanks for the
information. 
   
Bill
-- 
Email address is a Spam trap.
Re: [40tude dialog] encryptred connection no longer working
#263618
Author: Michael Bäuerle
Date: Thu, 16 May 2019 21:22
49 lines
2991 bytes
Bernd Rose wrote:
> On Wed, 15th May 2019 23:49:10 -0500, VanguardLH wrote:
> > 
> [...]
> 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 your 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, [...]

Maybe the ciphersuite is the problem. TLSv1.0 in general works as
expected:
| 
| $ openssl s_client -connect news.eternal-september.org:563 -cipher "DHE-RSA-AES128-SHA" -tls1

But the mandatory ciphersuite of TLSv1.0 as defined in RFC 2246 [1]
doesn't work anymore:
| 
| $ openssl s_client -connect news.eternal-september.org:563 -cipher "EDH-DSS-DES-CBC3-SHA" -tls1
| CONNECTED(00000003)
| 4158441752:error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure:s3_pkt.c:1498:SSL alert number 40

"EDH-DSS-DES-CBC3-SHA" is the OpenSSL name for the ciphersuite 
with code 0x00/0x13 named "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA"
in [1].

As already written by others, wireshark should reveal what ciphersuites
are offered for negotiation by Dialog.


_______________
[1] <https://tools.ietf.org/html/rfc2246#section-9>
Re: [40tude dialog] encryptred connection no longer working
#263617
Author: VanguardLH
Date: Thu, 16 May 2019 21:46
49 lines
3443 bytes
Bernd Rose wrote:

> On Wed, 15th May 2019 23:49:10 -0500, VanguardLH wrote:
> 
> I'm too tired to carefully read through your long post, at the moment. (It
> has been a long and demanding day...)
> 
> 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 your 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

I faintly remember using sTunnel a long time ago with some old e-mail
client that didn't support TLS but the e-mail provider moved to TLS.  As
I recall, the user wouldn't see the actual error back in the client
(like Dialog) about a session handshake failure.  I think you had to go
look in sTunnel's log to see why it couldn't negotiate a connect.  On a
connect failure, the user has to look in two places.  That's what can
happen when you slide proxies into the communication path.  The chain
gets longer hence reliability reduces: was it the server or the local
proxy that failed, or the client.  Then add in the transparent proxy by
an anti-virus to interrogate the NNTP traffic.  If the AV's proxy isn't
transparent, they you have to configure it in the chain of proxy getting
each one to point to the next one in the right order.
Re: [40tude dialog] encryptred connection no longer working
#263619
Author: Bernd Rose
Date: Fri, 17 May 2019 16:29
26 lines
2598 bytes
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
Re: [40tude dialog] encryptred connection no longer working
#263620
Author: Michael Bäuerle
Date: Fri, 17 May 2019 17:34
41 lines
2912 bytes
Bernd Rose wrote:
> 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.
> 
> [Security considerations]

After a second look my assumption for the ciphersuite was wrong
anyway. RFC 2246 [1] says:
| 
| In the absence of an application profile standard specifying
| otherwise, a TLS compliant application MUST implement the cipher
| suite TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA.

But there was a (no longer valid since RFC 8143) application
profile for Netnews defined in RFC 4642:
| 
| NNTP client and server implementations MUST implement the
| TLS_RSA_WITH_RC4_128_MD5 [TLS] cipher suite and SHOULD implement the
| TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA [TLS] cipher suite.

The cipher suite TLS_RSA_WITH_RC4_128_MD5 (aka "RC4-MD5" in terms of
OpenSSL) still works with ES when tested like this:
| 
| $ openssl s_client -connect news.eternal-september.org:563 -cipher "RC4-MD5" -tls1

Because Dialog is older than RFC 8143, the behaviour of ES should look
conformant for it.


> _______________
> [1] <https://tools.ietf.org/html/rfc2246#section-9>
[2] <https://tools.ietf.org/html/rfc4642#section-5>
Re: [40tude dialog] encryptred connection no longer working
#263627
Author: Bill
Date: Thu, 30 May 2019 03:09
82 lines
5045 bytes
On Thu, 16 May 2019 20:23:35 +0200, Bernd Rose wrote:

> 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

I've been out of town for ~ 2 weeks; but wanted to report I was able to
successfully use the information you provided to have dialog connect to
the eternal september news servers again. 
Many thanks, 
Bill
-- 
Email address is a Spam trap.
Re: [40tude dialog] encryptred connection no longer working
#263626
Author: Bernd Rose
Date: Thu, 30 May 2019 06:49
15 lines
2030 bytes
On Wed, 29th May 2019 23:09:36 -0400, Bill wrote:

[Dialog + sTunnel] 
> I've been out of town for ~ 2 weeks; but wanted to report I was able to
> successfully use the information you provided to have dialog connect to
> the eternal september news servers again. 
> Many thanks

You're welcome. And thank you for reporting back.

Just a side note: Some people in the German 40tude Dialog newsgroup 
encountered problems with sTunnel v5.54. Returning back to v5.53 or
using v5.55 (currently in beta test) solved these problems.

Bernd
Re: [40tude dialog] encryptred connection no longer working
#263628
Author: Bill
Date: Thu, 30 May 2019 17:14
26 lines
2484 bytes
On Thu, 30 May 2019 08:49:54 +0200, Bernd Rose wrote:

> On Wed, 29th May 2019 23:09:36 -0400, Bill wrote:
> 
> [Dialog + sTunnel] 
>> I've been out of town for ~ 2 weeks; but wanted to report I was able to
>> successfully use the information you provided to have dialog connect to
>> the eternal september news servers again. 
>> Many thanks
> 
> You're welcome. And thank you for reporting back.
> 
> Just a side note: Some people in the German 40tude Dialog newsgroup 
> encountered problems with sTunnel v5.54. Returning back to v5.53 or
> using v5.55 (currently in beta test) solved these problems.
> 
> Bernd

Yes, I too had problems with sTunnel v5.54; but didn't have time to
investigate further until I returned home.  Then I checked here and the
discussions on the German 40tude Dialog group where I found the
suggestion to use sTunnel  v5.55.   :-)

Bill
-- 
Email address is a Spam trap.
Re: [40tude dialog] encryptred connection no longer working
#263482
Author: mixmin dialog user
Date: Mon, 03 Jun 2019 12:29
92 lines
4845 bytes
On Wed, 15 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?

Steve Crook seems to have changed his mixmin certificate recently also.
  ------------------------------------------------
  From: Steve Crook <steve@mixmin.net>
  Newsgroups: alt.free.newsservers
  Subject: Re: news.mixmin.net:563 not working
  Date: Sat, 1 Jun 2019 13:28:51 -0000 (UTC)
  Message-ID: <slrnqf4vcj.u39.steve@fleegle.mixmin.net>

  On Thu, 30 May 2019 16:29:14 -0500, The Sorceress of Qar wrote in
  Message-Id: <qcphvg$35o$1@dont-email.me>:
  > There does not appear to be a valid certificate on this server right now.
  > Steve Crook, do you have your ears on?

  Hi, sorry about the problems.  It looks like a new certificate was
  auto-generated on the 26th May but maybe INN didn't pick it up.  The TLS
  nnrpd listener runs independently and sometimes needs a kill/restart.
  Please let me know if it's still not working for you.
  ------------------------------------------------
  From: Steve Crook <steve@mixmin.net>
  Newsgroups: news.software.readers
  Subject: Re: MixMin gone forever?
  Date: Sat, 1 Jun 2019 16:33:13 -0000 (UTC)
  Message-ID: <slrnqf5a69.u39.steve@fleegle.mixmin.net>

  On Sat, 1 Jun 2019 17:30:00 +0100, Younus wrote in
  Message-Id: <qcu8oe$1p13$1@gioia.aioe.org>:

  > Has Mixmin (news.mixmin.net) gone forever?  Their peer's certificate 
  > expired about 10 days ago and it has not been fixed so nobody can post 
  > anything!  Port 119 can only read but can't post.

  Hopefully it's fixed now.  The certbot/letsencrypt process has died so
  certificates weren't getting renewed.  I took the opportunity to upgrade
  INN to the latest version while working on it.  Please let me know if
  you get any further problems.
  ------------------------------------------------
Dialog repeatedly crashed no matter which of the three common versions I
tried, where I'm not all that well versed in encryption, but I generally
can follow directions, which Bill provided elsewhere for Eternal September.

To that end, I installed the latest beta version of Win64 Stunnel
stunnel-5.55b2-win64-installer.exe 30th May 2019 (not the 5.54 version)
from https://www.stunnel.org and then added the lines below to the end of
the stunnel config file but it didn't work when I tried to connect to
mixmin.

When I try to update the grouplist, for example, dialog errors out
  Socket Error # 10061: Connection refused. (mixmin) (Finished)
I get the same error twice more when I try to post to mixmin.

Do you see anything wrong with this configuration for mixmin?
Is there a better way to test why mixmin is refusing the connection?

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Append to default Stunnel 5.55 Windows conf file this
; for 40tude Dialog (don't use Stunnel version 5.54)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[nntp]
client = yes
accept = 127.0.0.1:119
connect = news.mixmin.net:563
verifyChain = yes
CAfile = ca-certs.pem
checkHost = news.mixmin.net
OCSPaia = yes
;
; [nntp]
; client = yes
; accept = 127.0.0.1:119
; connect = news.eternal-september.org:563
; verifyChain = yes
; CAfile = ca-certs.pem
; checkHost = news.eternal-september.org
; OCSPaia = yes
;
; Dialog's needs to be changed for each server to
;  Server: mixmin (or eternal september)
;  Host: 127.0.0.1
;  Port: 119 (do not check the SSL box)
;  Username: leave this blank for mixmin (add a username for ES)
;  Password: leave this blank for mixmin (add a password for ES)
;  Allwd conn: 2 
;  Use pipelining: checked
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Re: [40tude dialog] encryptred connection no longer working
#263483
Author: Bill
Date: Mon, 03 Jun 2019 13:48
104 lines
5928 bytes
On Mon, 3 Jun 2019 08:29:20 -0400, mixmin dialog user wrote:

> On Wed, 15 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?
> 
> Steve Crook seems to have changed his mixmin certificate recently also.
>   ------------------------------------------------
>   From: Steve Crook <steve@mixmin.net>
>   Newsgroups: alt.free.newsservers
>   Subject: Re: news.mixmin.net:563 not working
>   Date: Sat, 1 Jun 2019 13:28:51 -0000 (UTC)
>   Message-ID: <slrnqf4vcj.u39.steve@fleegle.mixmin.net>
> 
>   On Thu, 30 May 2019 16:29:14 -0500, The Sorceress of Qar wrote in
>   Message-Id: <qcphvg$35o$1@dont-email.me>:
>   > There does not appear to be a valid certificate on this server right now.
>   > Steve Crook, do you have your ears on?
> 
>   Hi, sorry about the problems.  It looks like a new certificate was
>   auto-generated on the 26th May but maybe INN didn't pick it up.  The TLS
>   nnrpd listener runs independently and sometimes needs a kill/restart.
>   Please let me know if it's still not working for you.
>   ------------------------------------------------
>   From: Steve Crook <steve@mixmin.net>
>   Newsgroups: news.software.readers
>   Subject: Re: MixMin gone forever?
>   Date: Sat, 1 Jun 2019 16:33:13 -0000 (UTC)
>   Message-ID: <slrnqf5a69.u39.steve@fleegle.mixmin.net>
> 
>   On Sat, 1 Jun 2019 17:30:00 +0100, Younus wrote in
>   Message-Id: <qcu8oe$1p13$1@gioia.aioe.org>:
> 
>   > Has Mixmin (news.mixmin.net) gone forever?  Their peer's certificate 
>   > expired about 10 days ago and it has not been fixed so nobody can post 
>   > anything!  Port 119 can only read but can't post.
> 
>   Hopefully it's fixed now.  The certbot/letsencrypt process has died so
>   certificates weren't getting renewed.  I took the opportunity to upgrade
>   INN to the latest version while working on it.  Please let me know if
>   you get any further problems.
>   ------------------------------------------------
> Dialog repeatedly crashed no matter which of the three common versions I
> tried, where I'm not all that well versed in encryption, but I generally
> can follow directions, which Bill provided elsewhere for Eternal September.
> 
> To that end, I installed the latest beta version of Win64 Stunnel
> stunnel-5.55b2-win64-installer.exe 30th May 2019 (not the 5.54 version)
> from https://www.stunnel.org and then added the lines below to the end of
> the stunnel config file but it didn't work when I tried to connect to
> mixmin.
> 
> When I try to update the grouplist, for example, dialog errors out
>   Socket Error # 10061: Connection refused. (mixmin) (Finished)
> I get the same error twice more when I try to post to mixmin.
> 
> Do you see anything wrong with this configuration for mixmin?
> Is there a better way to test why mixmin is refusing the connection?
> 
> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
> ; Append to default Stunnel 5.55 Windows conf file this
> ; for 40tude Dialog (don't use Stunnel version 5.54)
> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
> [nntp]
> client = yes
> accept = 127.0.0.1:119
> connect = news.mixmin.net:563
> verifyChain = yes
> CAfile = ca-certs.pem
> checkHost = news.mixmin.net
> OCSPaia = yes
> ;
> ; [nntp]
> ; client = yes
> ; accept = 127.0.0.1:119
> ; connect = news.eternal-september.org:563
> ; verifyChain = yes
> ; CAfile = ca-certs.pem
> ; checkHost = news.eternal-september.org
> ; OCSPaia = yes
> ;
> ; Dialog's needs to be changed for each server to
> ;  Server: mixmin (or eternal september)
> ;  Host: 127.0.0.1
> ;  Port: 119 (do not check the SSL box)
> ;  Username: leave this blank for mixmin (add a username for ES)
> ;  Password: leave this blank for mixmin (add a password for ES)
> ;  Allwd conn: 2 
> ;  Use pipelining: checked
> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Sorry, that it's not working for you; hopfully the other's can offer
some additional ideas to get things working again.

All  I can offer is a data point.   v5.54 of sTunnel did not work for
me; v5.5 does work for me with the config/settings I posted.  I am able
to send, recieve posts, and update the  group lists from
eternal-september's news server.
-- 
Email address is a Spam trap.
Re: [40tude dialog] encryptred connection no longer working
#263484
Author: mixmin dialog user
Date: Mon, 03 Jun 2019 14:47
41 lines
2554 bytes
On Mon, 3 Jun 2019 09:48:01 -0400, Bill wrote:

> Sorry, that it's not working for you; hopfully the other's can offer
> some additional ideas to get things working again.
> 
> All  I can offer is a data point.   v5.54 of sTunnel did not work for
> me; v5.5 does work for me with the config/settings I posted.  I am able
> to send, recieve posts, and update the  group lists from
> eternal-september's news server.

Thank you for your help, as the problem with Steve Crook's nntp server, I
assume, is similar to the problem you had with Ray Banana's nntp server.

My main question for you, Bill, is how did you know to set this?
 CAfile = ca-certs.pem

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.

To solve the problem we will need to use Stunnel, as you suggested, where I
did see the note about the older version 5.54 not working so I made sure to
download the latest version (which is 5.55) of Stunnel for X64 Windows.

It's good that Mixmin can be tested by anyone since Steve doesn't require a
username or password, so anyone with Dialog can test news.mixmin.net out.
 Host: news.mixmin.net
 Port: 553 SSL
 Username: blank
 Password: blank

For reading, Steve also allows port 119 which work but only for reading.
 Host: news.mixmin.net
 Port: 119 (do not check SSL)
 Username: blank
 Password: blank

My main question for you, Bill, is how did you know to set this?
 CAfile = ca-certs.pem

The reason I ask is that maybe Steve uses a different certifying authority
for mixmin than did Wolfgang for Eternal September?
Re: [40tude dialog] encryptred connection no longer working
#263486
Author: Bernd Rose
Date: Mon, 03 Jun 2019 17:12
48 lines
3198 bytes
On Mo, 3rd Jun 2019 10:47:33 -0400, mixmin dialog user wrote:

> how did you know to set this?
>  CAfile = ca-certs.pem

The ca-certs.pem file contains the certificates of the trusted certificate 
authorities. It comes with sTunnel setup.

> 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 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...)

HTH.
Bernd
(F-up set to news.software.readers, because it is not a server problem.)
Re: [40tude dialog] encryptred connection no longer working
#263487
Author: Bill
Date: Mon, 03 Jun 2019 17:26
57 lines
3639 bytes
On Mon, 3 Jun 2019 10:47:33 -0400, mixmin dialog user wrote:

> On Mon, 3 Jun 2019 09:48:01 -0400, Bill wrote:
> 
>> Sorry, that it's not working for you; hopfully the other's can offer
>> some additional ideas to get things working again.
>> 
>> All  I can offer is a data point.   v5.54 of sTunnel did not work for
>> me; v5.5 does work for me with the config/settings I posted.  I am able
>> to send, recieve posts, and update the  group lists from
>> eternal-september's news server.
> 
> Thank you for your help, as the problem with Steve Crook's nntp server, I
> assume, is similar to the problem you had with Ray Banana's nntp server.
> 
> My main question for you, Bill, is how did you know to set this?
>  CAfile = ca-certs.pem
> 
> 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.
> 
> To solve the problem we will need to use Stunnel, as you suggested, where I
> did see the note about the older version 5.54 not working so I made sure to
> download the latest version (which is 5.55) of Stunnel for X64 Windows.
> 
> It's good that Mixmin can be tested by anyone since Steve doesn't require a
> username or password, so anyone with Dialog can test news.mixmin.net out.
>  Host: news.mixmin.net
>  Port: 553 SSL
>  Username: blank
>  Password: blank
> 
> For reading, Steve also allows port 119 which work but only for reading.
>  Host: news.mixmin.net
>  Port: 119 (do not check SSL)
>  Username: blank
>  Password: blank
> 
> My main question for you, Bill, is how did you know to set this?
>  CAfile = ca-certs.pem

It was in the config that Bernd Rose posted to me in reponse to my
problems with eternal-september.  

I'm very ignorant about certitifcates, and the details of how they
function; so I left that line in the config.

> 
> The reason I ask is that maybe Steve uses a different certifying authority
> for mixmin than did Wolfgang for Eternal September?

Could be?   If true, seems that placing a copy of mixmin's certificate
into ca-certs.pem (or a custom .pem file) might solve the problem?
Bill

-- 
Email address is a Spam trap.
Re: [40tude dialog] encryptred connection no longer working
#263631
Author: mixmin dialog user
Date: Tue, 04 Jun 2019 05:17
101 lines
4720 bytes
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.

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.
Re: [40tude dialog] encryptred connection no longer working
#263632
Author: 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads