🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #266534

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

#266534
From: Bernd Rose
Date: Sun, 07 Jan 2024 10:07
40 lines
2660 bytes
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
Technical Details
Message-ID: <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
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>

Show Full Headers
Complete Article Headers
Message-ID: <6ucf31mc6a5g$.dlg@b.rose.tmpbox.news.arcor.de>
Subject: Re: (Dialog) How do I debug a 40tude "socket error" (what's a socket error?)
Date: Sun, 7 Jan 2024 11:07:58 +0100
From: Bernd Rose <b.rose.tmpbox@arcor.de>
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>
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
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Injection-Info: solani.org;
User-Agent: 40tude_Dialog/2.0.15.41 (153b4bb5.162.355)
Cancel-Lock: sha1:l8tbpDfFix0VXqTaJU6/ce7/zr0=
X-User-ID: eJwNycEBwCAIA8CVICRox6kI+4/Q3vcU6VmLqaRGMwCU5wluwO3gtnRz+KKtjEWMgr6Ws6/Vurup3Ko2r0BUuMYaOf9hPpzWGR0=