🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #266563

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

#266563
From: Ronald
Date: Mon, 08 Jan 2024 05:30
92 lines
4785 bytes
On Sun, 7 Jan 2024 12:38:09 -0600, VanguardLH <V@nguard.LH> wrote 

> I actually have a filter to ignore-flag any posts originating at Neodome

I've been using Neodome with Dialog & sTunnel for years but I think what 
you are filtering out are the anonymous remailers that "D <J@M>" tested.

What "D <J@M>" was trying to tell us, I think, was that the next time the 
certificate expires, another workaround (to the one Bernd suggested) is to 
post to Neodome using its anonymous remailer but I've never done that.

>   news.neodome.net:
>       119 - read/write
>       119 (STARTTLS) - read/write
>       563 (SSL) - read/write 
>     
> For the /other/ servers, a login was specified:
> 
>   test login: test
>   test password: test 
> 
> When I added Neodome to Dialog and tested access (read), I needed no
> login credentials to read. 

Thank you for looking the nntp posting details up as I opened my Neodome 
posting account years ago which (I have been using almost daily since).

The strange thing is posting has been working up until about a month ago, 
but when I look at the self-signed certificate expiry, it's 3 years ago! 

echo q | openssl s_client -connect news.neodome.net:563 | openssl x509 -noout -enddate | findstr "notAfter"
 verify error:num=10:certificate has expired
 notAfter=Dec 31 21:59:46 2020 GMT

How can that possibly make any sense that I've been posting with Dialog and 
sTunnel (using Bernd's casing) to Neodome 563 until less than about a month 
ago and yet the Neodome self-signed certificate had expired 3 years ago?

> I wasn't interested in using Neodome, so I didn't try submitting an article (write). 

Certainly up until a few weeks ago, with an account, posting worked using 
Dialog set up to use sTunnel (which checked certs at news.neodome.net 563).

Only recently did the certificate check fail (even as the certificate seems 
to have expired 3 years ago) but using the workarounds provided, it worked.

Workaround #1: (Tell sTunnel to NOT check the certificate!)
 [Neodome]
 ; This skips checking of the certificate expiry date"
 client = yes
 accept = localhost:55555
 connect = news.neodome.net:563

Workaround #2: (Tell Dialog to NOT get sTunnel involved & use 563 SSL!)
 Dialog Host: news.neodome.net
 Dialog Port: 563
 Dialog SSL: checked
 Dialog Username: abcdefg
 Dialog Password: xxxxxxx
 Dialog Allwd. conn.: 2
 Dialog Use pipelining (unchecked)

>  news.neodome.net:
>      119 - read/write
>      119 (STARTTLS) - read/write
>      563 (SSL) - read/write 

Oh! I did not know Neodome might _write_ to port 119, so let me try it.
 Dialog Host: news.neodome.net
 Dialog Port: 119
 Dialog SSL: unchecked
 Dialog Username: abcdefg
 Dialog Password: xxxxxxx
 Dialog Allwd. conn.: 2
 Dialog Use pipelining (unchecked)

0 118434281: KillNNTP left for: neodome uname (Finished) [$00001EA4]
5 118434281: Posting article failed: Encryption required;  (neodome uname) (Finished) [$00001EA4]

Just to cover all bases, I also checked the SSL box in the next test.
 Dialog Host: news.neodome.net
 Dialog Port: 119
 Dialog SSL: checked
 Dialog Username: abcdefg
 Dialog Password: xxxxxxx
 Dialog Allwd. conn.: 2
 Dialog Use pipelining (unchecked)

0 118685015: KillNNTP left for: neodome uname (Finished) [$00002508]
5 118685015: Posting article failed: Error while receiving. Connection closed. (neodome uname) (Finished) [$00002508]

I don't know what "STARTTLS" means though, so I didn't test it.
Technical Details
Message-ID: <ung18n$161em$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
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> <ng3o9ylbddtr$.dlg@v.nguard.lh> <1kgyqw4a9o4nj.dlg@b.rose.tmpbox.news.arcor.de> <13wzj2991cacs$.dlg@v.nguard.lh> <1qbx3cveahlxr$.dlg@b.rose.tmpbox.news.arcor.de> <157xbin18xett$.dlg@v.nguard.lh>

Show Full Headers
Complete Article Headers
Message-ID: <ung18n$161em$1@paganini.bofh.team>
Subject: Re: (Dialog) How do I debug a 40tude "socket error" (what's a socket error?)
Date: Mon, 8 Jan 2024 00:30:00 -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> <ng3o9ylbddtr$.dlg@v.nguard.lh> <1kgyqw4a9o4nj.dlg@b.rose.tmpbox.news.arcor.de> <13wzj2991cacs$.dlg@v.nguard.lh> <1qbx3cveahlxr$.dlg@b.rose.tmpbox.news.arcor.de> <157xbin18xett$.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
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: Mon, 8 Jan 2024 05:30:00 -0000 (UTC)
User-Agent: 40tude_Dialog/2.0.15.41 (Beta 38)
Cancel-Lock: sha256:8pyLQr+SKpfZJWc3PnmAlO6N4ZSHmxaru1UlcpLG+pY=
X-Notice: Filtered by postfilter v. 0.9.3