🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #265372

Re: Using Xnews 2006 with SSL tunnel

#265372
From: Nil
Date: Tue, 01 Feb 2022 23:13
92 lines
3993 bytes
On 30 Jan 2022, knuttle <keith_nuttle@sbcglobal.net> wrote in
news.software.readers: 

> On 1/30/2022 9:06 PM, Nil wrote:
> 
>> The Port Number is arbitrary, but it has to be otherwise unused
>> on your computer and must agree with the Accept line in
>> stunnel.conf. 
> 
> To add to that advice, I've had problems with the port number
> getting used long after I've assigned it (like many days, weeks or
> even months later). 
> 
> What I do to avoid collisions (since I don't know what uses the
> port), I make the port arbitrarily large - and always above 1024
> for sure. 
> 
> Looking at my own stunnel config, here's mine for Ray Banana's
> server. 
>   ; From: Wolfgang M. Weyand [wolfgang at eternal-september.org]
>   ; Address: Berliner Strasse 26 D-61348 Bad Homburg v.d.H. ICQ
>   335794777 ; Status:
>   http://www.eternal-september.org/serverstatus.php ; Register:
>   http://www.eternal-september.org/RegisterNewsAccount.php 
>   [nntp-esep] client = yes
>   accept = 127.0.0.1:12345
>   connect = news.eternal-september.org:563
>   verifyChain = yes
>   CAfile = ca-certs.pem
>   checkHost = news.eternal-september.org
>   OCSPaia = yes
> 
> In your newsreader you can set the server:port to the "accept"
> line. 
> 
> I really do not know what most of those lines do (maybe you can
> tell me) but those are what Ray Banana provided me a long time ago
> (years ago). 
> 
> In the newsreader if you have an SSL box, I don't set SSL there
> but I'm not sure if that works for everyone on every newsreader or
> not. 

Here are descriptions of those lines according the the stunnel 
documentation. I don't really understand their implication, but I guess 
it has to do with verifying that the e-s host is trusted. I've been 
operating just fine without them for several years, but I'm using your 
settings now and they work well, too. It maybe even connects faster, 
but that might be my imagination.

==============

verifyChain = yes | no
    verify the peer certificate chain starting from the root CA

    For server certificate verification it is essential to also require 
a specific certificate with checkHost or checkIP.

    The self-signed root CA certificate needs to be stored either in 
the file specified with CAfile, or in the directory specified with 
CApath.

    default: no

-----------

CAfile = CA_FILE
    Certificate Authority file

    This file contains multiple CA certificates, to be used with the 
verifyChain and verifyPeer options.

-----------

checkHost = HOST
    host of the peer certificate subject

    Multiple checkHost options are allowed in a single service section. 
Certificates are accepted if no subject checks were specified, or the 
host name of the peer certificate matches any of the hosts specified 
with checkHost.

    This option requires OpenSSL 1.0.2 or later.

-----------

OCSPaia = yes | no
    validate certificates with their AIA OCSP responders

    This option enables stunnel to validate certificates with the list 
of OCSP responder URLs retrieved from their AIA (Authority Information 
Access) extension.
Technical Details
Message-ID: <XnsAE31B9508F900nilch1@wheedledeedle.moc>
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: <XnsAE2F96328CA22heyheyinvalid@144.76.35.252> <XnsAE2FC2530E809nilch1@wheedledeedle.moc> <st7n14$thj$1@dont-email.me>

Show Full Headers
Complete Article Headers
Message-ID: <XnsAE31B9508F900nilch1@wheedledeedle.moc>
Subject: Re: Using Xnews 2006 with SSL tunnel
Date: Tue, 01 Feb 2022 18:13:01 -0500
From: Nil <rednoise9@REMOVETHIScomcast.net>
References: <XnsAE2F96328CA22heyheyinvalid@144.76.35.252> <XnsAE2FC2530E809nilch1@wheedledeedle.moc> <st7n14$thj$1@dont-email.me>
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: A noiseless patient Spider
Lines: 92
User-Agent: Xnews/2006.08.24
Cancel-Lock: sha1:jIP3xud5l5iQK1qq4tRKxXFgiHc=
X-Face: esm\a~e7BW-JD"t0\Ww_~\t!z_p0}xokJ"]a4/!ZtMGxQ>t_J`\IuTO++qOqVx0&Y.=z(B!:d?HNxL}yTuIS^5T8W\iGv_s'oSFfLp%X|naUNr