Article View: news.software.readers
Article #266546Re: (Dialog) How do I debug a 40tude "socket error" (what's a socket error?)
From: Ronald
Date: Sun, 07 Jan 2024 15:10
Date: Sun, 07 Jan 2024 15:10
66 lines
4681 bytes
4681 bytes
On Sun, 7 Jan 2024 15:19:58 +0100, Bernd Rose wrote: >> Does that mean I could have omitted stunnel altogether and just used the >> 40tude dialog user setup with "Host = news.neodome.net" & "Port = 563"? > > Maybe and no. Dialog.exe was compiled 2005 and uses (at best) encryption > methods that have been developed until then. (It is a bit more complicated, > because it may profit from /some/ updates to OS encryption functions. But > in the whole, Dialog encryption is stuck in 2005.) I understand what you just said as I too had believed Dialog needed to have Stunnel added in order to do the encryption part. Dialog does allow me to set news.neodome.net:563 with SSL. And that works. Even though the certificate (we think) has expired. Does SSL NOT check certificates to see if they've expired? > If the NNTP server still supports at least one of these old encryption > methods, then connecting directly to the server on port 563 from Dialog > (with SSL ticked /on/) would work. (Neodome seems to.) Quite a few NNTP > servers disabled all these old (and insecure) encryption methods, though. > With them, direct encrypted connection from Dialog will /not/ work. I guess that's what's happening since Neodome on port 563 with SSL works. But not without SSL (at least in the one set of tests that I ran today). > Using sTunnel in any case will not only ensure, that encrypted connection > to a server will succeed with contemporary encryption methods. It will also > prevent usage of outdated (insecure) methods. Therefore, even /if/ a server > still permits encrypted connection directly from Dialog, it is better to > use the workaround via sTunnel. I agree. I am using Stunnel for other encrypted news servers. It's just that when you helped me debug the Neodome connection, it turns out that the Neodome self-signed certificates have apparently expired. >> If I test that out, does it matter if the SSL box is checked or not? >> (I never understood what the difference was with or with that SSL checked.) > > The SSL box indicates, whether encryption should be used when sending > information to the target address (server and port) configured inside > Dialog. If you enter the external NNTP server name and its port, you need > to check with the provider, whether encryption is supported or not. Usually, > port 119 means "no encryption" (SSL box off) and port 563 means "encryption" > (SSL box on). > > If you enter a local (sTunnel) address, you /could/ encrypt this local > connection, as well. You'd need to configure sTunnel for local encryption, > though, and you'd need to permit the usage of outdated encryption methods > for this, as well. This makes no sense, whatsoever. Therefore, any local > connection (your localhost:55555 for example) should be configured without > encryption (SSL box off). This has no influence on the encryption state > for the outgoing connection to the NNTP server, which /will/ be encrypted > by sTunnel, as long as you don't explicitly tell it to /not/ do it. (Which, > again, wouldn't make any sense...) I think I see what you're saying SSL does. It's a LOCAL encryption. So if I checked the Dialog SSL box AND if I used Stunnel, it would be twice encrypted, is that what I'm hearing you say will be happening? If the Dialog SSL checkbox is "local encryption", what's Stunnel doing? Is it doing encryption not locally?
Technical Details
Message-ID:
<uneesr$urrt$1@paganini.bofh.team>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<und7gj$srbd$1@paganini.bofh.team> <und84c$ssl1$1@paganini.bofh.team> <302brvey53rn$.dlg@b.rose.tmpbox.news.arcor.de> <undopl$tmdk$1@paganini.bofh.team> <undpsb$tok8$1@paganini.bofh.team> <6ucf31mc6a5g$.dlg@b.rose.tmpbox.news.arcor.de> <une2f9$u6e8$1@paganini.bofh.team> <bhfzdp41wd3j$.dlg@b.rose.tmpbox.news.arcor.de> <une9ka$uj1c$1@paganini.bofh.team> <1aoeg6pf0gpop.dlg@b.rose.tmpbox.news.arcor.de>Show Full Headers
Complete Article Headers
Message-ID: <uneesr$urrt$1@paganini.bofh.team> Subject: Re: (Dialog) How do I debug a 40tude "socket error" (what's a socket error?) Date: Sun, 7 Jan 2024 10:10:20 -0500 From: Ronald <ronald@nospam.me> References: <und7gj$srbd$1@paganini.bofh.team> <und84c$ssl1$1@paganini.bofh.team> <302brvey53rn$.dlg@b.rose.tmpbox.news.arcor.de> <undopl$tmdk$1@paganini.bofh.team> <undpsb$tok8$1@paganini.bofh.team> <6ucf31mc6a5g$.dlg@b.rose.tmpbox.news.arcor.de> <une2f9$u6e8$1@paganini.bofh.team> <bhfzdp41wd3j$.dlg@b.rose.tmpbox.news.arcor.de> <une9ka$uj1c$1@paganini.bofh.team> <1aoeg6pf0gpop.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!apf1.newsdeef.eu!not-for-mail Newsgroups: news.software.readers Organization: To protect and to server Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8bit Injection-Date: Sun, 7 Jan 2024 15:10:20 -0000 (UTC) User-Agent: 40tude_Dialog/2.0.15.41 (Beta 38) Cancel-Lock: sha256:uVLBdnVhmTVeMyZNz8oayCXR4WYUeRaErcGJ5num1Z8= X-Notice: Filtered by postfilter v. 0.9.3