🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #266575

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

#266575
From: Bernd Rose
Date: Tue, 09 Jan 2024 17:47
30 lines
2541 bytes
On Tue, 9th Jan 2024 00:02:41 -0500, Ronald wrote:

> On Mon, 8 Jan 2024 17:35:18 +0100, Bernd Rose wrote:
> 
>> You should be able to connect to Neodome port 119 with STARTTLS with sTunnel
>> as an intermediate.
> 
> I'll try that, where sTunnel supports STARTTLS apparently.
> https://www.stunnel.org/mailman3/hyperkitty/list/stunnel-users@stunnel.org/thread/ENK5JRYVFGJ4ZO25DHKQ7Y6EE4YA3RPC/
> 
> But I can't find any nntp examples for the setup of the stunnel.conf file.
> https://www.google.com/search?q=stunnel.conf+example+nntp+starttls

[Neodome]
client = yes
accept = 127.0.0.1:55555
connect = news.neodome.net:119
protocol = nntp

should work. Adding any verification (verifyPeer or verifyChain) will fail, 
though, because this will (again) trigger the certificate expiration.

Explanation: 
If you are able to connect through sTunnel to a server, the connection will 
always be encrypted. (Although, with the right setting, it is possible to 
use "null encryption" [aka a non-encrypting "encryption" method].) Telling
sTunnel to connect with protocol NNTP on port 119 leads to a handshake with
STARTTLS.

Bernd
Technical Details
Message-ID: <1a1kt5a462qr6$.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> <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> <ung18n$161em$1@paganini.bofh.team> <1juwka01ksoy.dlg@b.rose.tmpbox.news.arcor.de> <unik1g$1et6o$1@paganini.bofh.team>

Show Full Headers
Complete Article Headers
Message-ID: <1a1kt5a462qr6$.dlg@b.rose.tmpbox.news.arcor.de>
Subject: Re: (Dialog) How do I debug a 40tude "socket error" (what's a socket error?)
Date: Tue, 9 Jan 2024 18:47:57 +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> <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> <ung18n$161em$1@paganini.bofh.team> <1juwka01ksoy.dlg@b.rose.tmpbox.news.arcor.de> <unik1g$1et6o$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 (f67a8552.214.279)
Cancel-Lock: sha1:cic6Jqh4dDOeh3UbNkqzBz/xNjY=
X-User-ID: eJwNykcBwDAMBDBKiecZjkfMH0Krt5TtWruYmujqliOasw18ZEpiEch3xMjd7SJrJnK7JtRmD+bBabwJ6OvxV2ofpnwF4w/Ydxof