Article View: news.software.readers
Article #266537Re: (Dialog) How do I debug a 40tude "socket error" (what's a socket error?)
From: VanguardLH
Date: Sun, 07 Jan 2024 11:08
Date: Sun, 07 Jan 2024 11:08
75 lines
4160 bytes
4160 bytes
Ronald <ronald@nospam.me> wrote: > VanguardLH wrote: > >> Are you using sTunnel, a VPN, or other local proxy with Dialog? > > I'm using VPN plus Stunnel with Dialog on Windows. > Just like everyone else does (as Dialog needs Stunned for port 563). I don't. I added news.neodome.net using SSL on port 563. I was able to retrieve a groups list from Neodome, so the connection worked. Also was able to download articles from alt.computer. I'm not using sTunnel, or anything else to get SSL connects on port 563 to work in Dialog. I just enabled the SSL checkbox in the server config in Dialog. 40tude Dialog 2.0.15.41 (beta 38) > >> I thought Neodome died, so there'd be no NNTP server to which Dialog (or >> your proxy) could connect. I was wrong. Their web site disappeared (www.neodome.net). Last time it was found per web.archive.org was Jun 18, 2021: http://web.archive.org/web/20210618113621/http://neodome.net/ I can still do "telnet news.neodome.net 119" to get a connect. > The odd thing to me is it's supposedly a self-signed certificate. > I don't really know what that means, but how can it expire then? Anything you post to Usenet remains public. The only reason to use SSL is to secure your login credentials. When I created a Neodome account in Dialog (and clicked the SSL checkbox and specified port 563), I did not need nor have any login credentials. Looks like Neodome is an *un*registered Usenet provider (free, no login needed). Since login is not required, why bother with an encrypted connection? Why not use port 119 without SSL? I don't see a reason to use an encrypted connection of a server that stores publicly accessible info. > echo q | openssl s_client -connect news.neodome.net:563 | openssl x509 -noout -enddate | findstr "notAfter" > > It reported this result: > depth=0 O = Neodome, CN = neodome.net, emailAddress = admin@neodome.net > verify error:num=18:self signed certificate > verify return:1 > depth=0 O = Neodome, CN = neodome.net, emailAddress = admin@neodome.net > verify error:num=10:certificate has expired > notAfter=Dec 31 21:59:46 2020 GMT > verify return:1 > depth=0 O = Neodome, CN = neodome.net, emailAddress = admin@neodome.net > notAfter=Dec 31 21:59:46 2020 GMT > verify return:1 > notAfter=Dec 31 21:59:46 2020 GMT I'm no cert guru, either. From the above, the cert is for neodome.net, and may not be a multi-host cert (I thought a wildcard was used to denote any host at the domain). You are connecting to news.neodome.net, not to neodome.net. Their cert is flawed. It is a self-signed cert; that is, they created it instead of using a CA (Certificate Authority). My guess is they need to regenerate their self-signed cert to identify CN = news.neodome.net which is the host to which you are connecting. They probably instead get a free site cert from LetsEncrypt. A self-signed cert does not need to be time ranged, so it won't expire. However, notice their cert does have an expiration: notAfter=Dec 31 21:59:46 2020 GMT Maybe that gets ignored for self-signed certs. So, it is an expired self-signed certificate
Technical Details
Message-ID:
<18gy9f6axliam$.dlg@v.nguard.lh>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> <v1akekkmcrn9.dlg@v.nguard.lh> <undrv0$trmf$1@paganini.bofh.team>Show Full Headers
Complete Article Headers
Message-ID: <18gy9f6axliam$.dlg@v.nguard.lh> Subject: Re: (Dialog) How do I debug a 40tude "socket error" (what's a socket error?) Date: Sun, 7 Jan 2024 05:08:19 -0600 From: VanguardLH <V@nguard.LH> References: <und7gj$srbd$1@paganini.bofh.team> <v1akekkmcrn9.dlg@v.nguard.lh> <undrv0$trmf$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-mail Newsgroups: news.software.readers Organization: Usenet Elder Lines: 75 Sender: V@nguard.LH Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: individual.net xIjqh/66VY2QmSTRAAL0uANO/B3l+zLxKHf5LCc3nWUdkgSwNy Keywords: VanguardLH,VLH Cancel-Lock: sha1:FnTneukB1dfor1F7QHgQLNRIzdo= sha256:VM/zTFH2BrooJoRaadUZmWbDWY+wE8lStlicV6TBhI4= User-Agent: 40tude_Dialog/2.0.15.41