🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #90095

Re: INN the only software?

#90095
From: Julien ÉLIE
Date: Mon, 06 Feb 2023 20:17
79 lines
4122 bytes
Hi Jesse,

>> The one situation that happened a lot, especially with large 
>> groups, was at some point in the session pullnews would just start
>> spewing x's to the terminal in a loop and not stop until killed.
>>
>> It would be great if an option could be used to start a new
>> connection should one be considered dead or unusable.
>
> I've just had a look at a fix.
> 
> % ./pullnews -t2
[...]
> Article retrieval failed ([Net::NNTP] Connection closed)
> 
> Let's attempt again.
> Connecting to upstream server news.trigofacile.com... done.

Works fine, I've retested it today.


> I've noted that pullnews does not currently support TLS connections. 

Now implemented for downstream server:

     -s to-server[:port][_tlsmode]
         Normally, pullnews will feed the articles it retrieves to the news
         server running on localhost.  To connect to a different host,
         specify a server with the -s flag.  You can also specify the port
         with this same flag or use -p.  Default port is 119.

         The connection is by default unencrypted.  To negotiate a TLS
         encryption layer, you can set *tlsmode* to "TLS" for implicit TLS
         (negotiated immediately upon connection on a dedicated port) or
         "STARTTLS" for explicit TLS (the appropriate command will be sent
         before authenticating or feeding messages).  Examples of use are:

             pullnews -s news.server.com
             pullnews -R -s news.server.com_STARTTLS
             pullnews -s news.server.com:563_TLS


As well as for upstream servers in pullnews.marks:

         <host>[:<port>][_<tlsmode>] [<username> <password>]
             <group> [<time> <high>]
             <group> [<time> <high>]


     A typical configuration file would be:

         # Format: group date high
         data.pa.vix.com
             rec.bicycles.racing 908086612 783
             rec.humor.funny 908086613 18
             comp.programming.threads
         nnrp.vix.com pull sekret
             comp.std.lisp
         news.server.com:433_TLS joe password
             news.software.nntp

     The connection to news.server.com will be encrypted with implicit 
TLS on
     port 433.  Joe's password won't be sent in plaintext.



This feature will be present in INN 2.7.1.

For those who want it on older releases, grabbing pullnews from sources 
<https://raw.githubusercontent.com/InterNetNews/inn/main/frontends/pullnews.in> 
and just modifying the first 2 lines to fit the Perl installation is 
enough to make it work.

-- 
Julien ÉLIE

« – Où vous croyez-vous ici ?
   – Où je me trouve, je sais. » (Astérix)
Technical Details
Message-ID: <trrn9i$p8e4$2@news.trigofacile.com>
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: <tc0gu1$1n2a$1@gioia.aioe.org> <tcg4ng$3fr$1@rasp.pasdenom.info> <2669878846.7740dac3@dont-email.me> <tcgq5i$31omo$1@news.trigofacile.com> <3104502063.e912a020@dont-email.me> <tqgug2$11rg9$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <trrn9i$p8e4$2@news.trigofacile.com>
Subject: Re: INN the only software?
Date: Mon, 6 Feb 2023 21:17:54 +0100
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <tc0gu1$1n2a$1@gioia.aioe.org> <tcg4ng$3fr$1@rasp.pasdenom.info> <2669878846.7740dac3@dont-email.me> <tcgq5i$31omo$1@news.trigofacile.com> <3104502063.e912a020@dont-email.me> <tqgug2$11rg9$1@news.trigofacile.com>
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.nntp
Organization: Groupes francophones par TrigoFACILE
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 6 Feb 2023 20:17:54 -0000 (UTC)
Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="176-143-2-105.abo.bbox.fr:176.143.2.105"; logging-data="827844"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.6.1
Cancel-Lock: sha1:R96x1IrjHRkvPkrh20L3OmxzUsM= sha256:AsIHkVAGOCopK8W3Q6FxfIWQfHZB39vw45mShIXli8I= sha1:Ofx3gtTv6xL1MQ69nbDexHpCslM= sha256:VdQatecyMclvCoF7dZddt2YU+Q50XdXvZNHcHtoG69E=
In-Reply-To: <tqgug2$11rg9$1@news.trigofacile.com>