🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #266535

Re: (Dialog) How do I debug a 40tude "socket error" (what's a socket error?)

#266535
From: VanguardLH
Date: Sun, 07 Jan 2024 10:33
51 lines
3224 bytes
Bernd Rose <b.rose.tmpbox@arcor.de> wrote:

> On Sun, 7th Jan 2024 04:11:40 -0500, Ronald wrote:
> 
>> Dialog log:
>>  5 44896390: Socket Error # 0;  (Neodome username ok) (Finished) [$0000220C]
>>  0 44896390: KillNNTP entered for: Neodome username ok1 (Finished) [$0000220C]
>>  
>> Stunnel log:
>>  2024.01.07 03:57:01 LOG5[0]: Service [Neodome] accepted connection from 127.0.0.1:55555
>>  2024.01.07 03:57:01 LOG5[0]: s_connect: connected 95.216.243.224:563
>>  2024.01.07 03:57:01 LOG5[0]: Service [Neodome] connected remote server from 192.168.1.23:55555
>>  2024.01.07 03:57:01 LOG4[0]: CERT: Pre-verification error: self-signed certificate
>>  2024.01.07 03:57:01 LOG4[0]: Rejected by CERT at depth=0: O=Neodome, CN=neodome.net, emailAddress=admin@neodome.net
>>  2024.01.07 03:57:01 LOG3[0]: SSL_connect: ssl/statem/statem_clnt.c:1889: error:0A000086:SSL routines::certificate verify failed
>>  2024.01.07 03:57:01 LOG5[0]: Connection closed/reset: 0 byte(s) sent to TLS, 0 byte(s) sent to socket
>> 
>> The two main questions are what is a "KillNNTP" in Dialog and 
> 
> Network connection socket is unregistered in the OS active connection table.
> 
>> does that error look like the certificate is bad for Neodome?
> 
> Yes.
> 
>> Is there a way to test the certificate for Neodome?
> 
> Yes, for instance with OpenSSL (https://www.openssl.org):
> openssl.exe s_client -connect news.neodome.net:563
> 
> => "certificate has expired"
> 
> If you don't care about valid certificates for your encrypted connection
> you may use this shorted sTunnel configuration. It should still work.
> 
> [Neodome]
> client = yes
> accept = localhost:55555
> connect = news.neodome.net:563
> 
> HTH.
> Bernd

Is a login even required for news.neodome.net?

http://web.archive.org/web/20210618113621/http://neodome.net/

That's the latest archived copy of their web site.  Looks like
www.neodome.net disappeared, but their NNTP server still functions.  If
a login is not required, why bother with NNTPS at all?  Just use the
NNTP connect on port 119, and eliminate using sTunnel.
Technical Details
Message-ID: <ng3o9ylbddtr$.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-mail
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>

Show Full Headers
Complete Article Headers
Message-ID: <ng3o9ylbddtr$.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 04:33:31 -0600
From: VanguardLH <V@nguard.LH>
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>
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: 51
Sender: V@nguard.LH
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: individual.net dbctLI3X/QoMZlKC3HkjEA3SS9FZcT8D76hRuO43QwzUZqWtwM
Keywords: VanguardLH,VLH
Cancel-Lock: sha1:IzPkrfAlw75GaCBoNxzYMRW+3Kk= sha256:+SDws5pQ6u3T35pg/wsACgTi0Z0FA8X/UAQ4LmjPRPA=
User-Agent: 40tude_Dialog/2.0.15.41