Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

If Machiavelli were a hacker, he'd have worked for the CSSG. -- Phil Lapsley


computers / news.software.nntp / Re: INN the only software?

SubjectAuthor
* INN the only software?hurst
`* Re: INN the only software?Matthias Meyser
 +- Re: INN the only software?G.K.
 `* Re: INN the only software?noel
  +* Re: INN the only software?jdanield
  |`- Re: INN the only software?noel
  `* Re: INN the only software?yamo'
   +* Re: INN the only software?Jesse Rehmer
   |`* Re: INN the only software?Julien ÉLIE
   | `* Re: INN the only software?Jesse Rehmer
   |  +* Re: INN the only software?Julien ÉLIE
   |  |`- Re: INN the only software?Jesse Rehmer
   |  `* Re: INN the only software?Julien ÉLIE
   |   +- Re: INN the only software?Julien ÉLIE
   |   `- Re: INN the only software?Julien ÉLIE
   `* Re: INN the only software?noel
    +* Re: INN the only software?Julien ÉLIE
    |+* Re: INN the only software?noel
    ||`- Re: INN the only software?Julien ÉLIE
    |`* Re: INN the only software?noel
    | `- Re: INN the only software?Julien ÉLIE
    `* Re: INN the only software?Julien ÉLIE
     +* Re: INN the only software?hurst
     |`- Re: INN the only software?noel
     `* Re: INN the only software?noel
      `* Re: INN the only software?Julien ÉLIE
       `* Re: INN the only software?Jesse Rehmer
        `- Re: INN the only software?Julien ÉLIE

Pages:12
Re: INN the only software?

<tqgug2$11rg9$1@news.trigofacile.com>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=1344&group=news.software.nntp#1344

 copy link   Newsgroups: news.software.nntp
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.trigofacile.com!.POSTED.176-143-2-105.abo.bbox.fr!not-for-mail
From: iul...@nom-de-mon-site.com.invalid (Julien ÉLIE)
Newsgroups: news.software.nntp
Subject: Re: INN the only software?
Date: Sat, 21 Jan 2023 15:57:06 +0100
Organization: Groupes francophones par TrigoFACILE
Message-ID: <tqgug2$11rg9$1@news.trigofacile.com>
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>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 21 Jan 2023 14:57:06 -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="1109513"; 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:v7E/CmZ7FqRJbG3kxhabXmdBvCE= sha256:Uac2YjIhsHgxLstGe4w1a531GSnwMjry/HsuGVL5gg4=
sha1:qvHwMNehuT3rERD+OkcMMHgvorI= sha256:MRD0JsdnGG3g1sP7a3jbIMg0+bIEVTGxJYKvVDNqQ1U=
In-Reply-To: <3104502063.e912a020@dont-email.me>
 by: Julien ÉLIE - Sat, 21 Jan 2023 14:57 UTC

Hi Jesse,

>>> I opted to use multiple instances of pullnews to initially seed the spool. It
>>> crashed a lot and had difficulty with very large groups.
>>
>> Do you remember the errors you got?
>> They are maybe worthwhile fixing in pullnews.
>
> It could be related to the server on the other end (pulling from a commercial
> entity). 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 never gave me an error.
> Killing and resuming always seemed to work.
>
> 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.
I suggest to re-use the "-t" parameter. It will then be the maximum
number of attempts to connect to a server or reconnect to a server if
the socket is unexpectedly closed.

I think it answers your needs. Do not hesitate to tell if it is not the
case. The fix will be present in the next release (INN 2.7.1).

Here is the new behaviour:

% ./pullnews -t2
Sat Jan 21 15:31:44 2023 start

Connecting to downstream host: localhost port: 119... done.

Legend: ``.'' is an article the downstream server refused
``*'' is an article the downstream server rejected
``+'' is an article the downstream server accepted
``x'' is an article the upstream server couldn't give out
``m'' is an article skipped due to headers (-a, -m or -P)

Connecting to upstream server news.trigofacile.com... done.

trigofacile.test:
Last checked: Sat Jan 21 15:23:25 2023
608 articles available (first 7, last 712)
Our current highest: 30 (at most 608 articles to get)
...
Article retrieval failed ([Net::NNTP] Connection closed)

Let's attempt again.
Connecting to upstream server news.trigofacile.com... done.

trigofacile.test:
Last checked: Sat Jan 21 15:32:00 2023
608 articles available (first 7, last 712)
Our current highest: 32 (at most 608 articles to get)
.......xx
Article retrieval failed ([Net::NNTP] Connection closed)

Let's attempt again.
Connecting to upstream server news.trigofacile.com... done.

trigofacile.test:
Last checked: Sat Jan 21 15:33:13 2023
608 articles available (first 7, last 712)
Our current highest: 40 (at most 608 articles to get)
..
Article retrieval failed ([Net::NNTP] Connection closed)

Let's attempt again.
Connecting to upstream server news.trigofacile.com... done.

trigofacile.test:
Last checked: Sat Jan 21 15:33:30 2023
608 articles available (first 7, last 712)
Our current highest: 41 (at most 608 articles to get)
...
Article retrieval failed ([Net::NNTP] Connection closed)

Saving config

11 articles were offered to server on localhost
11 articles were refused

Upstream server news.trigofacile.com:
trigofacile.test 11

Done Sat Jan 21 15:34:03 2023

And before, you had an infinite loop of "x" appearing in the output...

I've noted that pullnews does not currently support TLS connections.
I'll add an option for it for the downstream server, as it may be
useful. We can already configure a port for the downstream server (via
-p or -s).

As for upstream servers, pullnews.marks has the following syntax:

server [username password]

I would propose to extend it to:

server[:port][_TLS] [username password]

so as to ask for TLS, and also a different port. (Note that "server"
may also contain colons, if written as an IPv6 address.)
We would had:

news.server.com:563_TLS
news.server.com:433

Unless someone has a better idea to specify whether implicit TLS should
be used for a given upstream server?

--
Julien ÉLIE

« Perl programming is an *empirical* science. » (Larry Wall)

Re: INN the only software?

<tqgumd$125ok$1@news.trigofacile.com>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=1345&group=news.software.nntp#1345

 copy link   Newsgroups: news.software.nntp
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.trigofacile.com!.POSTED.176.143-2-105.abo.bbox.fr!not-for-mail
From: iul...@nom-de-mon-site.com.invalid (Julien ÉLIE)
Newsgroups: news.software.nntp
Subject: Re: INN the only software?
Date: Sat, 21 Jan 2023 16:00:29 +0100
Organization: Groupes francophones par TrigoFACILE
Message-ID: <tqgumd$125ok$1@news.trigofacile.com>
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>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 21 Jan 2023 15:00:29 -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="1120020"; 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:c8R2wa3cUkTUUtMqMp1EhmgxcVU= sha256:hzeVAH6/bEUmJ2+6Ha9E74A4fetct/A4seLxt/v59V8=
sha1:3HTXwxFR3IE9qmnlGf6BG6oEobg= sha256:oWb4ZCl2V3LvrMimswPEG8oeFiyGt5MbGF1p7/I2zoQ=
In-Reply-To: <tqgug2$11rg9$1@news.trigofacile.com>
 by: Julien ÉLIE - Sat, 21 Jan 2023 15:00 UTC

> Here is the new behaviour:
>
> % ./pullnews -t2

The behaviour I copied/pasted was for "-t3" as there are 3 reconnections.

--
Julien ÉLIE

« Don't marry for money; you can borrow it cheaper. » (proverbe
écossais)

Re: INN the only software?

<trrn9i$p8e4$2@news.trigofacile.com>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=1409&group=news.software.nntp#1409

 copy link   Newsgroups: news.software.nntp
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.trigofacile.com!.POSTED.176-143-2-105.abo.bbox.fr!not-for-mail
From: iul...@nom-de-mon-site.com.invalid (Julien ÉLIE)
Newsgroups: news.software.nntp
Subject: Re: INN the only software?
Date: Mon, 6 Feb 2023 21:17:54 +0100
Organization: Groupes francophones par TrigoFACILE
Message-ID: <trrn9i$p8e4$2@news.trigofacile.com>
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>
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>
 by: Julien ÉLIE - Mon, 6 Feb 2023 20:17 UTC

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)

Pages:12
server_pubkey.txt

rocksolid light 0.9.7
clearnet tor