🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.admin.peering
136 messages
136 total messages Page 2 of 3 Started by Eli Fri, 10 Mar 2023 21:04
Page 2 of 3 • 136 total messages
Re: Newbie question
#1533
Author: Jesse Rehmer
Date: Sun, 19 Mar 2023 14:53
14 lines
1713 bytes
On Mar 19, 2023 at 6:11:09 AM CDT, "Julien ÉLIE"
<iulius@nom-de-mon-site.com.invalid> wrote:

> Hi Eli and Jesse,
> 
> Hope it suits your needs :-)

Thanks, Julien, I am giving it a shot, but I think I may have encountered a
new bug.

When running with -d 1, sometimes when I hit CTRL-C to stop the process it
wipes out the pullnews.marks file. It does not do this every time, but seems
like it is happening if I stop the process while it is retrieving overview
information.
Re: Newbie question
#1534
Author: Julien ÉLIE
Date: Sun, 19 Mar 2023 15:40
26 lines
2390 bytes
Hi Jesse,

> When running with -d 1, sometimes when I hit CTRL-C to stop the process it
> wipes out the pullnews.marks file. It does not do this every time, but seems
> like it is happening if I stop the process while it is retrieving overview
> information.

When you say "wipe out", does it mean you have an empty pullnews.marks 
file?  Or a pullnews.marks file with wrong article numbers?

Does it happen only with "-d 1"?
I'm unsure what could cause that, as I've not changed the way the 
configuration file is handled :-/
It is saved when pullnews receives a SIGINT (Ctrl+C for instance), and 
it writes the last article number processed.


I've tried to reproduce it with "-d 1", but do not see anything 
suspicious in pullnews.marks.  The last line in standard output is 
"Saving config" after Ctrl+C.

-- 
Julien ÉLIE

« When a newly married couple smiles, everyone knows why.  When a ten-
   year married couple smiles, everyone wonders why. »
Re: Newbie question
#1535
Author: Eli
Date: Mon, 20 Mar 2023 10:51
27 lines
1953 bytes
On 19 Mar 2023 at 12:11:09 CET, "Julien ÉLIE"
<iulius@nom-de-mon-site.com.invalid> wrote:

> Hi Eli and Jesse,
> 
>>> I may add a dedicated option to pullnews and integrate it in a future
>>> release, if that may prove to be useful for others.
> 
> I've just committed a proper patch, which will be shipped with INN
> 2.7.1.  (You can grab it at the same URL as provided before.)
> 
>    -L size
> 
>      Specify the largest wanted article size in bytes.  The default is to
>      download all articles, whatever their size.  When this option is
>      used, pullnews will first retrieve overview data (if available) of
>      each newsgroup to process so as to obtain articles sizes, before
>      deciding which articles to actually download.

Thank you Julien and I will test the new version soon.

However, I have my doubts about the fact that this new version first downloads
the overview data of the entire newsgroup. That can take a while for a
newsgroup
with a few million messages. I don't know if I like that.

But maybe I misunderstood you.
Re: Newbie question
#1537
Author: Tom Furie
Date: Mon, 20 Mar 2023 11:12
12 lines
1388 bytes
On 2023-03-20, Eli <eliistheman@gmail.com> wrote:
> However, I have my doubts about the fact that this new version first downloads
> the overview data of the entire newsgroup. That can take a while for a
> newsgroup
> with a few million messages. I don't know if I like that.

You need the overview to get the article size before downloading,
whether that's all at once or per article. I imagine it's more efficient
to get it all up front then filter out the unwanted articles.

Cheers,
Tom
Re: Newbie question
#1538
Author: Eli
Date: Mon, 20 Mar 2023 13:06
20 lines
1776 bytes
On 20 Mar 2023 at 12:12:11 CET, "Tom Furie" <tom@furie.org.uk> wrote:

> On 2023-03-20, Eli <eliistheman@gmail.com> wrote:
>> However, I have my doubts about the fact that this new version first downloads
>> the overview data of the entire newsgroup. That can take a while for a
>> newsgroup
>> with a few million messages. I don't know if I like that.
> 
> You need the overview to get the article size before downloading,
> whether that's all at once or per article. I imagine it's more efficient
> to get it all up front then filter out the unwanted articles.
> 
> Cheers,
> Tom

It may be a bit more efficient, but I still see more disadvantages than
advantages. For example, if I want to change the max. file size or want to
change the regex for option -m, this is no longer possible after the entire
overview has already been downloaded and the filtering has already been
processed.
Re: Newbie question
#1540
Author: Jesse Rehmer
Date: Mon, 20 Mar 2023 16:02
47 lines
3105 bytes
On Mar 19, 2023 at 10:40:08 AM CDT, "Julien ÉLIE"
<iulius@nom-de-mon-site.com.invalid> wrote:

> Hi Jesse,
> 
>> When running with -d 1, sometimes when I hit CTRL-C to stop the process it
>> wipes out the pullnews.marks file. It does not do this every time, but seems
>> like it is happening if I stop the process while it is retrieving overview
>> information.
> 
> When you say "wipe out", does it mean you have an empty pullnews.marks
> file?  Or a pullnews.marks file with wrong article numbers?
> 
> Does it happen only with "-d 1"?
> I'm unsure what could cause that, as I've not changed the way the
> configuration file is handled :-/
> It is saved when pullnews receives a SIGINT (Ctrl+C for instance), and
> it writes the last article number processed.
> 
> 
> I've tried to reproduce it with "-d 1", but do not see anything
> suspicious in pullnews.marks.  The last line in standard output is
> "Saving config" after Ctrl+C.

Here is what I'm seeing in a session that I did not kill, but was killed off
after the upstream host cut me off for time limit:

.      DEBUGGING 361445       -- not downloading already existing message
<45af67cb$0$20803$5fc30a8@news.tiscali.it> code=223
.      DEBUGGING 361449       -- not downloading already existing message
<45af6a64$0$20803$5fc30a8@news.tiscali.it> code=223
.      DEBUGGING 361451       -- not downloading already existing message
<xn0f1cwlp7d8yw000IdSub@news.individual.net> code=223

Transfer to server failed (436): Flushing log and syslog files

When I start the command again:

[news@spool1 ~]$ pullnews -d 1 -O -c pullnews4.marks -L 200000 -t 3 -G
it.sport.calcio,it.sport.calcio.estero,it.sport.calcio.fiorentina,it.sport.ca
lcio.genoa,it.sport.calcio.inter
Mon Mar 20 11:00:14 2023 start

No servers!

[news@spool1 ~]$ cat pullnews4.marks
[news@spool1 ~]$
Re: Newbie question
#1539
Author: Julien ÉLIE
Date: Mon, 20 Mar 2023 18:38
49 lines
3528 bytes
Hi Eli,

>>> However, I have my doubts about the fact that this new version first downloads
>>> the overview data of the entire newsgroup. That can take a while for a
>>> newsgroup with a few million messages. I don't know if I like that.
>>
>> You need the overview to get the article size before downloading,
>> whether that's all at once or per article. I imagine it's more efficient
>> to get it all up front then filter out the unwanted articles.

Indeed, downloading the overview in a unique command is globally faster 
than article by article.

Suppose the group contains article numbers 1 to 1,000,000 and the last 
time pullnews ran, it retrieved article 800,000.
Then on a new run, it will first ask the overview of articles 800,001 to 
1,000,000 in a unique command, and it will get a unique (long) answer. 
Then pullnews will actually download only articles known to be smaller 
than the maximum size wanted.

Otherwise, the easiest way would be to retrieve overview data, article 
by article.  It will take globally more time, but I agree the user 
experience is better as he does not have the feeling of a "hang" during 
the download of the whole overview.
I could tweak it to download by bunches of 100 articles for instance, 
but it's more work to do :(  I may have to do so finally...



> It may be a bit more efficient, but I still see more disadvantages than
> advantages. For example, if I want to change the max. file size or want to
> change the regex for option -m, this is no longer possible after the entire
> overview has already been downloaded and the filtering has already been
> processed.

No, it will still be possible.
Overview data is downloaded each time you run pullnews.  It does not 
save it for later re-use if you "reset" the newsgroup in pullnews.marks. 
  It downloads overview data between the last retrieved article and the 
last existing article in the newsgroup.

-- 
Julien ÉLIE

« Give laugh to all but smile to one,
   Give cheeks to all but lips to one,
   Give love to all but Heart to one,
   Let everybody love you
   But you love one. »
Re: Newbie question
#1542
Author: Jesse Rehmer
Date: Mon, 20 Mar 2023 18:58
33 lines
2843 bytes
On Mar 20, 2023 at 1:38:39 PM CDT, "Julien ÉLIE"
<iulius@nom-de-mon-site.com.invalid> wrote:

> Hi Eli,
> 
>>>> However, I have my doubts about the fact that this new version first downloads
>>>> the overview data of the entire newsgroup. That can take a while for a
>>>> newsgroup with a few million messages. I don't know if I like that.
>>> 
>>> You need the overview to get the article size before downloading,
>>> whether that's all at once or per article. I imagine it's more efficient
>>> to get it all up front then filter out the unwanted articles.
> 
> Indeed, downloading the overview in a unique command is globally faster
> than article by article.
> 
> Suppose the group contains article numbers 1 to 1,000,000 and the last
> time pullnews ran, it retrieved article 800,000.
> Then on a new run, it will first ask the overview of articles 800,001 to
> 1,000,000 in a unique command, and it will get a unique (long) answer.
> Then pullnews will actually download only articles known to be smaller
> than the maximum size wanted.
> 
> Otherwise, the easiest way would be to retrieve overview data, article
> by article.  It will take globally more time, but I agree the user
> experience is better as he does not have the feeling of a "hang" during
> the download of the whole overview.
> I could tweak it to download by bunches of 100 articles for instance,
> but it's more work to do :(  I may have to do so finally...

Maybe it would be sufficient to print a message indicating it is retrieving
overview data to inform the user of what is happening to account for the
pause?
Re: Newbie question
#1543
Author: Julien ÉLIE
Date: Mon, 20 Mar 2023 19:07
69 lines
3916 bytes
Hi Jesse,
> Here is what I'm seeing in a session that I did not kill, but was killed off
> after the upstream host cut me off for time limit:
> 
> .      DEBUGGING 361445       -- not downloading already existing message
> <45af67cb$0$20803$5fc30a8@news.tiscali.it> code=223
> .      DEBUGGING 361449       -- not downloading already existing message
> <45af6a64$0$20803$5fc30a8@news.tiscali.it> code=223
> .      DEBUGGING 361451       -- not downloading already existing message
> <xn0f1cwlp7d8yw000IdSub@news.individual.net> code=223
> 
> Transfer to server failed (436): Flushing log and syslog files

Hmm, this log line does not correspond to a time limit enforced by the 
upstream host.  It is generated by the downstream server to which you 
are sending articles.  The "Flushing log and syslog files" message 
appears during log rotation (INN is paused a very short moment).


> When I start the command again:
> 
> [news@spool1 ~]$ pullnews -d 1 -O -c pullnews4.marks -L 200000 -t 3 -G
> it.sport.calcio,it.sport.calcio.estero,it.sport.calcio.fiorentina,it.sport.ca
> lcio.genoa,it.sport.calcio.inter
> Mon Mar 20 11:00:14 2023 start
> 
> No servers!
> 
> [news@spool1 ~]$ cat pullnews4.marks
> [news@spool1 ~]$

Gosh!

Don't you have anything else after "Transfer to server failed (436): 
Flushing log and syslog files"?
No "can't open pullnews4.marks" error?

I'm a bit surprised, the configuration file is saved this way:

     open(FILE, ">$groupFile") || die "can't open $groupFile: $!\n";
     print LOG "\nSaving config\n" unless $quiet;
     print FILE "# Format: (date is epoch seconds)\n";
     print FILE "# hostname[:port][_tlsmode] [username password]\n";
     print FILE "#     group date high\n";
     foreach $server ( ... )
         print [...]

     close FILE;


You don't even have the "Saving config" debug line in your console, nor 
the 3 initial # lines written in the new pullnews4.marks file...
Sounds like open() failed, or close() failed...

Could you try to add an explicit message error ?

     close(FILE) or die "can't close $groupFile: $!\n";;



Don't you have in mind anything that could explain why the file couldn't 
be written?  (lack of disk space, wrong permissions on the file because 
pullnews was not started with the right user, etc.)

-- 
Julien ÉLIE

« Avez-vous remarqué qu'à table les mets que l'on vous sert vous mettent
   les mots à la bouche ? » (Raymond Devos)
Re: Newbie question
#1544
Author: Jesse Rehmer
Date: Mon, 20 Mar 2023 19:37
75 lines
4118 bytes
On Mar 20, 2023 at 2:07:23 PM CDT, "Julien ÉLIE"
<iulius@nom-de-mon-site.com.invalid> wrote:

> Hi Jesse,
>> Here is what I'm seeing in a session that I did not kill, but was killed off
>> after the upstream host cut me off for time limit:
>> 
>> .      DEBUGGING 361445       -- not downloading already existing message
>> <45af67cb$0$20803$5fc30a8@news.tiscali.it> code=223
>> .      DEBUGGING 361449       -- not downloading already existing message
>> <45af6a64$0$20803$5fc30a8@news.tiscali.it> code=223
>> .      DEBUGGING 361451       -- not downloading already existing message
>> <xn0f1cwlp7d8yw000IdSub@news.individual.net> code=223
>> 
>> Transfer to server failed (436): Flushing log and syslog files
> 
> Hmm, this log line does not correspond to a time limit enforced by the
> upstream host.  It is generated by the downstream server to which you
> are sending articles.  The "Flushing log and syslog files" message
> appears during log rotation (INN is paused a very short moment).

You are right, I have too many screen sessions running pullnews and mixed two
up.

>> When I start the command again:
>> 
>> [news@spool1 ~]$ pullnews -d 1 -O -c pullnews4.marks -L 200000 -t 3 -G
>> it.sport.calcio,it.sport.calcio.estero,it.sport.calcio.fiorentina,it.sport.ca
>> lcio.genoa,it.sport.calcio.inter
>> Mon Mar 20 11:00:14 2023 start
>> 
>> No servers!
>> 
>> [news@spool1 ~]$ cat pullnews4.marks
>> [news@spool1 ~]$
> 
> Gosh!
> 
> Don't you have anything else after "Transfer to server failed (436):
> Flushing log and syslog files"?
> No "can't open pullnews4.marks" error?

The output I provided was a copy/paste from the end of the session and the
commands I ran after.

> 
> I'm a bit surprised, the configuration file is saved this way:
> 
>      open(FILE, ">$groupFile") || die "can't open $groupFile: $!\n";
>      print LOG "\nSaving config\n" unless $quiet;
>      print FILE "# Format: (date is epoch seconds)\n";
>      print FILE "# hostname[:port][_tlsmode] [username password]\n";
>      print FILE "#     group date high\n";
>      foreach $server ( ... )
>          print [...]
> 
>      close FILE;
> 
> 
> You don't even have the "Saving config" debug line in your console, nor
> the 3 initial # lines written in the new pullnews4.marks file...
> Sounds like open() failed, or close() failed...
> 
> Could you try to add an explicit message error ?
> 
>      close(FILE) or die "can't close $groupFile: $!\n";;

Sure, may be a few days before I reply back with results!

> Don't you have in mind anything that could explain why the file couldn't
> be written?  (lack of disk space, wrong permissions on the file because
> pullnews was not started with the right user, etc.)

Definitely no reason, plenty of space, no permission issues, I'm running
pullnews as the "news" user.
Re: Newbie question
#1545
Author: Julien ÉLIE
Date: Mon, 20 Mar 2023 21:11
26 lines
2468 bytes
Hi Eli and Jesse,

>> I could tweak it to download by bunches of 100 articles for instance,
>> but it's more work to do :(  I may have to do so finally...
> 
> Maybe it would be sufficient to print a message indicating it is retrieving
> overview data to inform the user of what is happening to account for the
> pause?

It was easier to change than I thought.
Chunks of "progress width" articles at a time are now retrieved in 
overview data.  This corresponds to the value of -C (50 by default), 
that is to say the number of "x", "." and like that are shown on one 
progress line.
This way, downloading overview data does not take much time and is 
almost unnoticeable by the user.

This improved version of pullnews is available at the same URL as 
before.  Thanks again for the feedback.

-- 
Julien ÉLIE

« Asseyez-vous une heure près d'une jolie fille, cela passe comme une
   minute ; asseyez-vous une minute sur un poêle brûlant, cela passe
   comme une heure : c'est cela la relativité. » (Einstein)
Re: Newbie question
#1558
Author: Eli
Date: Tue, 21 Mar 2023 13:49
8 lines
1082 bytes
Hello Julien,

In some newsgroups I get the following error while using pullnews:

DEBUGGING 560    Post 436: Msg: <Can't store article>

Then pullnews quits.
Can this be avoided as it is very annoying.
Re: Newbie question
#1546
Author: Eli
Date: Tue, 21 Mar 2023 14:06
21 lines
1565 bytes
On 21 Mar 2023 at 14:49:16 CET, "Eli" <eliistheman@gmail.com> wrote:

> Hello Julien,
> 
> In some newsgroups I get the following error while using pullnews:
> 
> DEBUGGING 560    Post 436: Msg: <Can't store article>
> 
> Then pullnews quits.
> Can this be avoided as it is very annoying.

In the latest version of pullnews (the one from the link you posted earlier)
it quits with the error:

Transfer to server failed (436): Can't store article

It seems that this only happens with some old posted articles. But still very
annoying.

The new pullnews version is working great BTW. It is much faster than the
current one.
Re: Newbie question
#1548
Author: Julien ÉLIE
Date: Tue, 21 Mar 2023 19:18
33 lines
2459 bytes
Hi Eli,

>> In some newsgroups I get the following error while using pullnews:
>>
>> DEBUGGING 560    Post 436: Msg: <Can't store article>
>>
>> Then pullnews quits.
>> Can this be avoided as it is very annoying.

Do you happen to have other logs in <pathlog>/news.err or news.notice?
It would be useful to understand why innd did not manage to store the 
article provided by pullnews.  It is an unusual error.  Do all the 
newsgroups match an entry in storage.conf?


> In the latest version of pullnews (the one from the link you posted earlier)
> it quits with the error:
> 
> Transfer to server failed (436): Can't store article

Didn't previous versions of pullnews report the same error?


> It seems that this only happens with some old posted articles. But still very
> annoying.

Only old posts in some newsgroups?  Do they have something special? 
(article number > 2^31, unusual headers, etc.)

-- 
Julien ÉLIE

« Il n'y a que le premier pas qui coûte. » (Mme du Deffand)
Re: Newbie question
#1547
Author: Eli
Date: Tue, 21 Mar 2023 19:41
52 lines
2355 bytes
On 21 Mar 2023 at 20:18:32 CET, "Julien ÉLIE"
<iulius@nom-de-mon-site.com.invalid> wrote:

> Hi Eli,
> 
>>> In some newsgroups I get the following error while using pullnews:
>>> 
>>> DEBUGGING 560    Post 436: Msg: <Can't store article>
>>> 
>>> Then pullnews quits.
>>> Can this be avoided as it is very annoying.
> 
> Do you happen to have other logs in <pathlog>/news.err or news.notice?
> It would be useful to understand why innd did not manage to store the
> article provided by pullnews.

I don't see any reports in the other logs.

> It is an unusual error.  Do all the
> newsgroups match an entry in storage.conf?

Yes, I think this is enough and all I have:

method tradspool {
    newsgroups: *
    class: 0
}

> 
>> In the latest version of pullnews (the one from the link you posted earlier)
>> it quits with the error:
>> 
>> Transfer to server failed (436): Can't store article
> 
> Didn't previous versions of pullnews report the same error?

Yes it did.

>> It seems that this only happens with some old posted articles. But still very
>> annoying.
> 
> Only old posts in some newsgroups?  Do they have something special?
> (article number > 2^31, unusual headers, etc.)

Here are 3 that I have on hand in a moment:

<42258b3e_2@127.0.0.1>
<Xns9735CDDF6F44CYouandmeherecom@216.113.192.29>
<1186867877_2111@sp6iad.superfeed.net>

If you cannot access the articles then let me know and I'll post the headers
here.
Re: Newbie question
#1554
Author: Julien ÉLIE
Date: Tue, 21 Mar 2023 21:04
43 lines
2848 bytes
Hi Eli,

> Here are 3 that I have on hand in a moment:
> 
> <42258b3e_2@127.0.0.1>
> <Xns9735CDDF6F44CYouandmeherecom@216.113.192.29>
> <1186867877_2111@sp6iad.superfeed.net>
> 
> If you cannot access the articles then let me know and I'll post the headers
> here.

I've tried to inject the first one on my news server, and do not see any 
problem...  I don't know why it cannot be stored on yours.
(I've only added "trigofacile.test" to the list of newsgroups as I do 
not carry alt.*)

235 Article transferred OK


X-Proxy-User: $$ch0zr$fsnj
Newsgroups: 
alt.2600.qna,alt.2600.warez,alt.2600.414,alt.2600a,alt.2600hz,alt.266,alt.2d,alt.2eggs.sausage.beans.tomatoes.2toast.largetea.cheerslove,alt,alt.3d,trigofacile.test
Subject: An Easier Way To Make Money
From: mytest@usenet.com
Date: Wed, 2 Mar 2005 09:49:51 GMT
X-Newsreader: News Rover 10.2.0 (http://www.NewsRover.com)
Message-ID: <42258b3e_2@127.0.0.1e>
Lines: 140
X-Comments: This message was posted through <A href
X-Comments2: IMPORTANT: Newsfeeds.com does not condone,
X-Report: Please report illegal or inappropriate use to
Organization: Newsfeeds.com http://www.newsfeeds.com 100,000+ UNCENSORED 
Newsgroups.
Path: news.trigofacile.com!news-out.spamkiller.net!spool9-east!not-for-mail
Xref: news.trigofacile.com trigofacile.test:713

...

-- 
Julien ÉLIE

« Plus un ordinateur possède de RAM, plus vite il peut générer un
   message d'erreur. »
Re: Newbie question
#1553
Author: Eli
Date: Tue, 21 Mar 2023 21:42
14 lines
1339 bytes
On 21 Mar 2023 at 22:04:47 CET, "Julien ÉLIE"
<iulius@nom-de-mon-site.com.invalid> wrote:

> Hi Eli,
> 
> I've tried to inject the first one on my news server, and do not see any
> problem...  I don't know why it cannot be stored on yours.
> (I've only added "trigofacile.test" to the list of newsgroups as I do
> not carry alt.*)
> 
> 235 Article transferred OK

I'll keep looking for a cause.
Thank you very much for your time. I really appreciate it.
Re: Newbie question
#1555
Author: Neodome Admin
Date: Wed, 22 Mar 2023 06:19
27 lines
2041 bytes
Grant Taylor <gtaylor@tnetconsulting.net> writes:

> On 3/16/23 4:19 AM, Neodome Admin wrote:
>> I think you belong to binary Usenet, and you're free to read and
>> post anything you want as long as all parties involved agree on
>> that.
>
> Wait a minute.
>
> We're talking about a /text/ post consisting of entirely printable
> ASCII meant to be read by a human.  That's very much so /text/.  It's
> not binary encoded in text.

They are not posts *created* by humans, and this is my problem with
them. Of course, if we'll try to be completely logical about this, there
can be posts created by humans with binary files attached, etc., and no
one cares about those.

>> No, seriously, I have no problems with 700+KB posts. If you want, I can
>> set up a script posting any 700+KB FAQ you want, to any newsgroup, using
>> your name, as often as you want, and even more often. What do you say?
>
> Stop it.
>
> I know that you know that would be a form of abuse.

You are correct, Grant. It was a sarcasm.
Re: Newbie question
#1556
Author: Julien ÉLIE
Date: Wed, 22 Mar 2023 06:47
18 lines
1800 bytes
Hi Eli,

> Transfer to server failed (436): Can't store article
> 
> I'll keep looking for a cause.

As it seems you are using the tradspool storage system, could you please 
try:
   scanspool -n -v

Though probably not related to overview, could you also try:
   tdx-util -A
(if you're using tradindexed)

-- 
Julien ÉLIE

« Ce sont vos uniones, pas les miens ! » (Astérix)
Re: Newbie question
#1557
Author: Neodome Admin
Date: Wed, 22 Mar 2023 07:18
81 lines
4534 bytes
Grant Taylor <gtaylor@tnetconsulting.net> writes:

> On 3/16/23 3:43 AM, Neodome Admin wrote:
>> I don't doubt that.
>
> So you agree that the content of the articles does have some value to
> some people.

Same as binary MIME attachments to legit Usenet messages written by real
people. They have some value for me if they add to the conversation. Is
there really a reason to avoid them now when I literally use more memory
on my 256 GB iPhone to store pictures of random dogs and cats than I use
on my server to store 2 years of unfiltered text Usenet? By unfiltered I
mean completely unfiltered, all Google Groups spam and other junk
included. 

I just find it technically much simpler to differentiate by the article
size. Bigger than some value - binary. Smaller - text Usenet.

Thus my advice.

>> I doubt that regular posting of 700+KB FAQ is doing any good.
>
> What's your primary objection?  The frequency or the size of the posts?
>
>> I doubt that anything in those FAQs is more useful than information
>> that can be found with Google or DuckDuckGo. We're not living in an
>> era of Altavista, after all. And if there is some kind of gem hidden
>> there, one simply don't need to post it to newsgroup regularly with
>> 700+KB of irrelevant text.
>
> I think that there is some value in having some unrequested
> information put in front of you.
>
> I've seen many things that I didn't know that I wanted to know put in
> front of me.
>
> I've also been mildly interested in something and seen something new
> (to me) done with it that really peaks my interest and causes me to
> actively investigate it.
>
> I believe there is some value in things being put in front of me for
> my perusal.

FAQs are little bit different story than other messages. Like I said, my
main problem with them is that they're not written by the people, and
thus I don't see the need to treat them any different than spam and
binaries. After all, all those binary messages also can be useful for
someone, maybe even bigger amount of people will find them more useful
compared to FAQs.

I think that legit text conversations in binary newsgroups bring more to
the Usenet as communication platform than bi-weekly FAQs in dead text
newsgroups, thus they are the ones that deserve to be preserved for the
future readers. BTW, currently it's not being done by text Usenet
servers. 

>> Plus, I'm pretty sure that if there are any questions, one can just
>> ask a question in retro-computing group and expect an
>> answer... unless that group is dead, of course.
>
> It's really hard to ask a question about something if you don't know
> that said something exists.
>
> I don't mind quarterly or even monthly posting of FAQs.  I do have an
> objection to super large FAQs.  --  I think I have my server
> configured to accept 128 kB articles.
>
> Even at 1 MB, this is only a few seconds worth of audio / video as --
> purportedly -- admin@Neodome pointed out in a different message.
> These messages really are not much to sneeze at.  --  My news server
> sees 50 or more of these messages worth of traffic per day.  So, one
> of these per month, much less quarter, not even worth complaining
> about.

You are correct. If there are FAQs bigger than 64 Kb, the amount of data
they consume is miniscule compared even to the Google Groups
spam. Actually, thinking of it, I might receive them anyway from one of
the peers who set their newsfeeds incorrectly, and probably still didn't
fix it. I just never complained about it because it's not a problem from
technical point of view.
Re: Newbie question
#1559
Author: Eli
Date: Wed, 22 Mar 2023 11:54
31 lines
1736 bytes
On 22 Mar 2023 at 07:47:21 CET, "Julien ÉLIE"
<iulius@nom-de-mon-site.com.invalid> wrote:

> Hi Eli,
> 
>> Transfer to server failed (436): Can't store article
>> 
>> I'll keep looking for a cause.
> 
> As it seems you are using the tradspool storage system, could you please
> try:
>    scanspool -n -v
> 
> Though probably not related to overview, could you also try:
>    tdx-util -A
> (if you're using tradindexed)

Since these commands take quite a long time, I will wait with this until all
pullnews sessions are done and let you know.

Something else:
How can I reset a newsgroup that has already been fully downloaded so that
pullnews starts downloading all posts again?

Can this be done by:
1) 'ctlinnd rmgroup newgroup'
2) 'ctlinnd newgroupgroup'

or is there a better way?

Thank again and apologies for all my questions.
Re: Newbie question
#1561
Author: Jesse Rehmer
Date: Wed, 22 Mar 2023 15:23
38 lines
2501 bytes
On Mar 22, 2023 at 6:54:40 AM CDT, "Eli" <eliistheman@gmail.com> wrote:

> On 22 Mar 2023 at 07:47:21 CET, "Julien ÉLIE"
> <iulius@nom-de-mon-site.com.invalid> wrote:
> 
>> Hi Eli,
>> 
>>> Transfer to server failed (436): Can't store article
>>> 
>>> I'll keep looking for a cause.
>> 
>> As it seems you are using the tradspool storage system, could you please
>> try:
>>    scanspool -n -v
>> 
>> Though probably not related to overview, could you also try:
>>    tdx-util -A
>> (if you're using tradindexed)
> 
> Since these commands take quite a long time, I will wait with this until all
> pullnews sessions are done and let you know.
> 
> Something else:
> How can I reset a newsgroup that has already been fully downloaded so that
> pullnews starts downloading all posts again?
> 
> Can this be done by:
> 1) 'ctlinnd rmgroup newgroup'
> 2) 'ctlinnd newgroupgroup'
> 
> or is there a better way?
> 
> Thank again and apologies for all my questions.

If you've already made a full pass over the group with pullnews and want to
make another full pass, I think the easiest is to modify the pullnews.marks
counts for that group and set to 1. That should cause pullnews to start from
the beginning.
Re: Newbie question
#1560
Author: Grant Taylor
Date: Wed, 22 Mar 2023 17:57
27 lines
2190 bytes
On 3/22/23 12:19 AM, Neodome Admin wrote:
> They are not posts *created* by humans, and this is my problem with 
> them.

Okay.  I think that's a reasonable differentiation.  I also think that 
it's one that's harder to programmatically determine.

> Of course, if we'll try to be completely logical about this, there 
> can be posts created by humans with binary files attached, etc., 
> and no one cares about those.

ACK

Hence the programmatically comment.  ;-)

> You are correct, Grant. It was a sarcasm.

Ah.  That obviously didn't come across.  --  I've been dealing with 
recruiters who seem to range from the intelligence / willingness to 
exert effort between a slug and a track superstar.  My calibration is 
out of whack at the moment.



-- 
Grant. . . .
unix || die
Re: Newbie question
#1562
Author: Grant Taylor
Date: Wed, 22 Mar 2023 18:09
76 lines
4033 bytes
On 3/22/23 1:18 AM, Neodome Admin wrote:
> Same as binary MIME attachments to legit Usenet messages written 
> by real people. They have some value for me if they add to the 
> conversation.

Fair.

> Is there really a reason to avoid them now when I literally use more 
> memory on my 256 GB iPhone to store pictures of random dogs and cats 
> than I use on my server to store 2 years of unfiltered text Usenet? By 
> unfiltered I mean completely unfiltered, all Google Groups spam and 
> other junk included.
ACK

> I just find it technically much simpler to differentiate by the 
> article size. Bigger than some value - binary. Smaller - text Usenet.

I agree that the size is a likely indicator of binary or not.

Though, I wonder if we are now in the day & age that we could create 
filters that either:

  - detect multiple strings of text with white space between them, thus 
words.
  - detect the standard encoding methods; e.g. 76 x [A-Za-z0-0+/=] for 
base64

> Thus my advice.

Fair enough.  Your server, your rules.

> FAQs are little bit different story than other messages. Like I said, 
> my main problem with them is that they're not written by the people, 
> and thus I don't see the need to treat them any different than spam 
> and binaries. After all, all those binary messages also can be useful 
> for someone, maybe even bigger amount of people will find them more 
> useful compared to FAQs.

I understand what you're saying.

But is there anything to differentiate the FAQs posted by automation and 
an FAQ copied from a template and pasted into the news reader by a 
human?  ;-)

The original text was almost certainly written by a human.  Even if the 
current form it is in is an amalgamation of copy & paste et al.

> I think that legit text conversations in binary newsgroups bring more 
> to the Usenet as communication platform than bi-weekly FAQs in dead 
> text newsgroups, thus they are the ones that deserve to be preserved 
> for the future readers.

I can agree with that.

> BTW, currently it's not being done by text Usenet servers.

Agreed.

I suspect that's based on older methods of identifying / handling binary 
attachments.

> You are correct. If there are FAQs bigger than 64 Kb, the amount of 
> data they consume is miniscule compared even to the Google Groups 
> spam. Actually, thinking of it, I might receive them anyway from one 
> of the peers who set their newsfeeds incorrectly, and probably still 
> didn't fix it. I just never complained about it because it's not a 
> problem from technical point of view.

We all have things that we could improve on.  I choose to focus on the 
things with bigger impact.



-- 
Grant. . . .
unix || die
Re: Newbie question
#1563
Author: Julien ÉLIE
Date: Wed, 22 Mar 2023 18:38
28 lines
2398 bytes
Hi Eli,

> Something else:
> How can I reset a newsgroup that has already been fully downloaded so that
> pullnews starts downloading all posts again?
> 
> Can this be done by:
> 1) 'ctlinnd rmgroup newgroup'
> 2) 'ctlinnd newgroupgroup'
> 
> or is there a better way?

+1 for Jesse's way.

I have a question about these ctlinnd rmgroup/newgroup commands.  Do you 
happen to have already used them to "reset" a newsgroup?
It would explain the "Can't store" errors if you also did not purge the 
tradspool files in <pathspool> for some newsgroups.  Files named with 
article numbers "1", "2", "3", etc. will still be present in your spool. 
  If you recreate a newsgroup with ctlinnd rmgroup/newgroup, it just 
recreate it in the active file, without wiping the spool.  Article 
numbering is reset to 1, and INN will try to store articles in already 
existing "1", "2", etc. files.

-- 
Julien ÉLIE

« Il ne faut jamais parler sèchement à un Numide. » (Astérix)
Re: Newbie question
#1566
Author: Jesse Rehmer
Date: Wed, 22 Mar 2023 18:40
14 lines
1786 bytes
On Mar 22, 2023 at 1:09:28 PM CDT, "Grant Taylor" <gtaylor@tnetconsulting.net>
wrote:

> Though, I wonder if we are now in the day & age that we could create
> filters that either:
> 
>   - detect multiple strings of text with white space between them, thus
> words.
>   - detect the standard encoding methods; e.g. 76 x [A-Za-z0-0+/=] for
> base64

Diablo has this article type detection built in and allows you to filter based
on types in newsfeed definitions. Cleanfeed and pyClean do the same for INN. 
it's not perfect, but pretty damn effective.
Re: Newbie question
#1565
Author: Eli
Date: Wed, 22 Mar 2023 18:54
58 lines
2953 bytes
On 22 Mar 2023 at 16:23:25 CET, "Jesse Rehmer"
<jesse.rehmer@blueworldhosting.com> wrote:

> On Mar 22, 2023 at 6:54:40 AM CDT, "Eli" <eliistheman@gmail.com> wrote:
> 
>> On 22 Mar 2023 at 07:47:21 CET, "Julien ÉLIE"
>> <iulius@nom-de-mon-site.com.invalid> wrote:
>> 
>>> Hi Eli,
>>> 
>>>> Transfer to server failed (436): Can't store article
>>>> 
>>>> I'll keep looking for a cause.
>>> 
>>> As it seems you are using the tradspool storage system, could you please
>>> try:
>>>    scanspool -n -v
>>> 
>>> Though probably not related to overview, could you also try:
>>>    tdx-util -A
>>> (if you're using tradindexed)
>> 
>> Since these commands take quite a long time, I will wait with this until all
>> pullnews sessions are done and let you know.
>> 
>> Something else:
>> How can I reset a newsgroup that has already been fully downloaded so that
>> pullnews starts downloading all posts again?
>> 
>> Can this be done by:
>> 1) 'ctlinnd rmgroup newgroup'
>> 2) 'ctlinnd newgroupgroup'
>> 
>> or is there a better way?
>> 
>> Thank again and apologies for all my questions.
> 
> If you've already made a full pass over the group with pullnews and want to
> make another full pass, I think the easiest is to modify the pullnews.marks
> counts for that group and set to 1. That should cause pullnews to start from
> the beginning.

Hi Jesse,

That's what I thought at first too, but this prevents all existing files in
the spool from being downloaded again and all messages are treated as
'-- not downloading already existing message'.

My question is therefore how you can completely reset a newsgroup so that
everything is downloaded again.

This in particular for the newsgroup 'news.lists.filters'. This group contains
the references to the 'spam' messages that NoCem then deletes. I want to reset
this newsgroup 'news.lists.filters' so that all messages are checked locally
again and in case of spam removed.

But besides this newsgroup I also want to reset other newsgroups.
I hope this is possible.
Re: Newbie question
#1564
Author: Eli
Date: Wed, 22 Mar 2023 18:56
32 lines
2059 bytes
On 22 Mar 2023 at 19:38:07 CET, "Julien ÉLIE"
<iulius@nom-de-mon-site.com.invalid> wrote:

> Hi Eli,
> 
>> Something else:
>> How can I reset a newsgroup that has already been fully downloaded so that
>> pullnews starts downloading all posts again?
>> 
>> Can this be done by:
>> 1) 'ctlinnd rmgroup newgroup'
>> 2) 'ctlinnd newgroupgroup'
>> 
>> or is there a better way?
> 
> +1 for Jesse's way.
> 
> I have a question about these ctlinnd rmgroup/newgroup commands.  Do you
> happen to have already used them to "reset" a newsgroup?
> It would explain the "Can't store" errors if you also did not purge the
> tradspool files in <pathspool> for some newsgroups.  Files named with
> article numbers "1", "2", "3", etc. will still be present in your spool.
>   If you recreate a newsgroup with ctlinnd rmgroup/newgroup, it just
> recreate it in the active file, without wiping the spool.  Article
> numbering is reset to 1, and INN will try to store articles in already
> existing "1", "2", etc. files.

Hi Julien,

No, unfortunately I didn't.
I have not deleted or reset anything at all.
The problem still occurs intermittently and I don't understand why.
Re: Newbie question
#1567
Author: Tom Furie
Date: Wed, 22 Mar 2023 19:33
26 lines
2029 bytes
On 2023-03-22, Jesse Rehmer <jesse.rehmer@blueworldhosting.com> wrote:
> On Mar 22, 2023 at 1:09:28 PM CDT, "Grant Taylor" <gtaylor@tnetconsulting.net>
> wrote:
>
>> Though, I wonder if we are now in the day & age that we could create
>> filters that either:
>> 
>>   - detect multiple strings of text with white space between them, thus
>> words.
>>   - detect the standard encoding methods; e.g. 76 x [A-Za-z0-0+/=] for
>> base64
>
> Diablo has this article type detection built in and allows you to filter based
> on types in newsfeed definitions. Cleanfeed and pyClean do the same for INN. 
> it's not perfect, but pretty damn effective.

While Cleanfeed is effective enough at what it does, there's no "smarts"
to it and it can be a chore coming up with effective patterns that work
but don't get in the way of legitimate posts that happen to contain some
of the "trouble" words or phrases. I've been wondering if it might be
possible to use something like spamassassin with bayesian learning on a
newsfeed though I haven't got to the point of trying to implement
anything yet.

Cheers,
Tom
Re: Newbie question
#1569
Author: Grant Taylor
Date: Wed, 22 Mar 2023 19:36
26 lines
2148 bytes
On 3/22/23 1:33 PM, Tom Furie wrote:
> While Cleanfeed is effective enough at what it does, there's no 
> "smarts" to it and it can be a chore coming up with effective patterns 
> that work but don't get in the way of legitimate posts that happen to 
> contain some of the "trouble" words or phrases.

Please elaborate and share some examples.

In the context of detecting encoded binary attachments, I feel like that 
should be relatively easy to do.

> I've been wondering if it might be possible to use something like 
> spamassassin with bayesian learning on a newsfeed though I haven't 
> got to the point of trying to implement anything yet.

I don't know what SpamAssassin will think of news articles.

I wonder if it would be possible to leverage something like the milter 
interface to SpamAssassin so that you don't need to integrate and or 
fork SpamAssassin.



-- 
Grant. . . .
unix || die
Re: Newbie question
#1568
Author: Jesse Rehmer
Date: Wed, 22 Mar 2023 19:53
42 lines
3251 bytes
On Mar 22, 2023 at 2:33:13 PM CDT, "Tom Furie" <tom@furie.org.uk> wrote:

> On 2023-03-22, Jesse Rehmer <jesse.rehmer@blueworldhosting.com> wrote:
>> On Mar 22, 2023 at 1:09:28 PM CDT, "Grant Taylor" <gtaylor@tnetconsulting.net>
>> wrote:
>> 
>>> Though, I wonder if we are now in the day & age that we could create
>>> filters that either:
>>> 
>>>   - detect multiple strings of text with white space between them, thus
>>> words.
>>>   - detect the standard encoding methods; e.g. 76 x [A-Za-z0-0+/=] for
>>> base64
>> 
>> Diablo has this article type detection built in and allows you to filter based
>> on types in newsfeed definitions. Cleanfeed and pyClean do the same for INN.
>> it's not perfect, but pretty damn effective.
> 
> While Cleanfeed is effective enough at what it does, there's no "smarts"
> to it and it can be a chore coming up with effective patterns that work
> but don't get in the way of legitimate posts that happen to contain some
> of the "trouble" words or phrases. I've been wondering if it might be
> possible to use something like spamassassin with bayesian learning on a
> newsfeed though I haven't got to the point of trying to implement
> anything yet.
> 
> Cheers,
> Tom

I agree, and I decided that Diablo's duplicate article detection is good
enough for me in regards to spam filtering. Interestingly, all the default
documentation and examples only talk about using this duplicate detection for
binary articles, but I changed the feed definition to include everything and
seems about as effective as Cleanfeed/pyClean. It's binary detection seems
really good, and I'm not chewing up any noticeable CPU with filtering now.

I do use pyClean with some bad_from and bad_subject filters on my spool server
for finer granularity there.

Seems like I remember efforts in the past, perhaps not specific to INN or
Diablo, but other tools to implement SpamAssassin for filtering articles, but
off hand can't recall where that conversation occurred.
Re: Newbie question
#1570
Author: Tom Furie
Date: Wed, 22 Mar 2023 19:54
27 lines
2096 bytes
On 2023-03-22, Grant Taylor <gtaylor@tnetconsulting.net> wrote:
>
> In the context of detecting encoded binary attachments, I feel like that 
> should be relatively easy to do.

Oh, there's no problem for it catching binaries, that's a non-issue. I'm
talking about methods for catching the still ever prevelant text spam..

>> I've been wondering if it might be possible to use something like 
>> spamassassin with bayesian learning on a newsfeed though I haven't 
>> got to the point of trying to implement anything yet.
> I don't know what SpamAssassin will think of news articles.

I don't imagine it will have any problem with the bodies, but the
headers will likely be a different matter since I doubt spamassassin
knows anything about them. Maybe some custom rulesets to inform it what
to look at...

> I wonder if it would be possible to leverage something like the milter 
> interface to SpamAssassin so that you don't need to integrate and or 
> fork SpamAssassin.

Yes, I was thinking of interfacing that way, or feeding everything off to
spamd.

Cheers,
Tom
Re: Newbie question
#1571
Author: Tom Furie
Date: Wed, 22 Mar 2023 20:43
28 lines
2338 bytes
On 2023-03-22, Grant Taylor <gtaylor@tnetconsulting.net> wrote:
> On 3/22/23 1:33 PM, Tom Furie wrote:
>> While Cleanfeed is effective enough at what it does, there's no 
>> "smarts" to it and it can be a chore coming up with effective patterns 
>> that work but don't get in the way of legitimate posts that happen to 
>> contain some of the "trouble" words or phrases.
>
> Please elaborate and share some examples.

Here are a few that I think illustrate the "effective pattern" problem.
Now, this sample is all Google - which is already tagged as a known spam
source - but still they made it through. Sure, I could just block the
sender, but that seems a bit of "blunt instrument" approach to me. And
what happens in the potential situation where a spammer forges an
otherwise legitimate poster's email address, etc?

There's also the posts whereby the originals get caught by the filter,
but the fully quoted replies including full headers posted into the body
of the "complaint", make it through. That's one poster I'm incredibly
close to outright banning since he's effectively simply a reflector of
the original spam.

<c8eac7b9-bcf8-4c74-98a8-69cee7dfe9a3n@googlegroups.com>
<1273d23c-0256-4317-97d4-3eeb7bcd74b2n@googlegroups.com>
<bda61489-0096-4ff2-9a66-d1959824a1bbn@googlegroups.com>

Cheers,
Tom
Re: Newbie question
#1574
Author: Julien ÉLIE
Date: Wed, 22 Mar 2023 21:00
24 lines
2238 bytes
Hi all,

>> I don't know what SpamAssassin will think of news articles.
>> 
>> I wonder if it would be possible to leverage something like the 
>> milter interface to SpamAssassin so that you don't need to 
>> integrate and>> or fork SpamAssassin. >
> Seems like I remember efforts in the past, perhaps not specific to INN or
> Diablo, but other tools to implement SpamAssassin for filtering articles, but
> off hand can't recall where that conversation occurred.

From: yamo' <yamo@beurdin.invalid>
Newsgroups: news.software.nntp
Subject: Re: Google Groups spam - INN/Cleanfeed/etc solutions?
Date: Sun, 19 Sep 2021 10:11:24 -0000 (UTC)
Message-ID: <si72cc$ko9$1@pi2.pasdenom.info>

:-)

-- 
Julien ÉLIE

« Ta remise sur pied lui a fait perdre la tête ! » (Astérix)
Re: Newbie question
#1572
Author: Julien ÉLIE
Date: Wed, 22 Mar 2023 21:16
61 lines
3658 bytes
Hi Eli,

>> If you've already made a full pass over the group with pullnews and want to
>> make another full pass, I think the easiest is to modify the pullnews.marks
>> counts for that group and set to 1. That should cause pullnews to start from
>> the beginning.
> 
> That's what I thought at first too, but this prevents all existing files in
> the spool from being downloaded again and all messages are treated as
> '-- not downloading already existing message'.
> 
> My question is therefore how you can completely reset a newsgroup so that
> everything is downloaded again.

Ah yes, that's a bit tricky as what you want is to remove all traces of 
articles in spool, overview and history.

The proper method would be to:

- ctlinnd rmgroup xxx
- remove the <pathspool>/articles/.../xxx directory of the group
- set /remember/ to 0 in expire.ctl
- run the expireover and expire process (for instance via news.daily 
called with the same parameters as in crontab, plus "notdaily")
- undo the change in expire.ctl (/remember/ set to 11)
- ctlinnd newgroup xxx
- reset the last downloaded article in pullnews.marks for this group
- deactivate Perl and Python filters, and set the artcutoff to 0
- run pullnews
- reactivate the filters, and artcutoff to 10


I think INN will happily accept to be refed of these articles.


> This in particular for the newsgroup 'news.lists.filters'. This group contains
> the references to the 'spam' messages that NoCem then deletes. I want to reset
> this newsgroup 'news.lists.filters' so that all messages are checked locally
> again and in case of spam removed.

As for NoCeM, you can directly refeed your notices to perl-nocem without 
resetting anything.

perl-nocem expects storage tokens on its standard input.
Example:

echo '@020162BEB132016300000000000000000000@' | perl-nocem

As you're running tradindexed overview, I would suggest to have a look 
at the output of:

     tdx-util -g -n news.lists.filters

It dumps the overview data of this newsgroup.  The last field is a 
storage token.
You could replay NoCeM notices with these information :)

-- 
Julien ÉLIE

« Ta remise sur pied lui a fait perdre la tête ! » (Astérix)
Re: Newbie question
#1573
Author: Jesse Rehmer
Date: Wed, 22 Mar 2023 21:23
27 lines
2298 bytes
On Mar 22, 2023 at 4:16:46 PM CDT, "Julien ÉLIE"
<iulius@nom-de-mon-site.com.invalid> wrote:

>> This in particular for the newsgroup 'news.lists.filters'. This group contains
>> the references to the 'spam' messages that NoCem then deletes. I want to reset
>> this newsgroup 'news.lists.filters' so that all messages are checked locally
>> again and in case of spam removed.
> 
> As for NoCeM, you can directly refeed your notices to perl-nocem without
> resetting anything.
> 
> perl-nocem expects storage tokens on its standard input.
> Example:
> 
> echo '@020162BEB132016300000000000000000000@' | perl-nocem
> 
> As you're running tradindexed overview, I would suggest to have a look
> at the output of:
> 
>      tdx-util -g -n news.lists.filters
> 
> It dumps the overview data of this newsgroup.  The last field is a
> storage token.
> You could replay NoCeM notices with these information :)

Very nice, this is valuable to me as well. I know I will be doing this when I
am done gathering articles from all other the place. :-)
Re: Newbie question
#1575
Author: Tom Furie
Date: Wed, 22 Mar 2023 21:27
12 lines
1438 bytes
On 2023-03-22, Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> wrote:
>
> From: yamo' <yamo@beurdin.invalid>
> Newsgroups: news.software.nntp
> Subject: Re: Google Groups spam - INN/Cleanfeed/etc solutions?
> Date: Sun, 19 Sep 2021 10:11:24 -0000 (UTC)
> Message-ID: <si72cc$ko9$1@pi2.pasdenom.info>

Ooh, nice! That's going to be well worth a look into.

Cheers,
Tom
Re: Newbie question
#1577
Author: Eli
Date: Wed, 22 Mar 2023 21:34
66 lines
3281 bytes
On 22 Mar 2023 at 22:16:46 CET, "Julien ÉLIE"
<iulius@nom-de-mon-site.com.invalid> wrote:

Hey Julien,

> Hi Eli,
> 
>> That's what I thought at first too, but this prevents all existing files in
>> the spool from being downloaded again and all messages are treated as
>> '-- not downloading already existing message'.
>> 
>> My question is therefore how you can completely reset a newsgroup so that
>> everything is downloaded again.
> 
> Ah yes, that's a bit tricky as what you want is to remove all traces of
> articles in spool, overview and history.
> 
> The proper method would be to:
> 
> - ctlinnd rmgroup xxx
> - remove the <pathspool>/articles/.../xxx directory of the group
> - set /remember/ to 0 in expire.ctl
> - run the expireover and expire process (for instance via news.daily
> called with the same parameters as in crontab, plus "notdaily")
> - undo the change in expire.ctl (/remember/ set to 11)
> - ctlinnd newgroup xxx
> - reset the last downloaded article in pullnews.marks for this group
> - deactivate Perl and Python filters, and set the artcutoff to 0
> - run pullnews
> - reactivate the filters, and artcutoff to 10
> 
> 
> I think INN will happily accept to be refed of these articles.
> 
> 
>> This in particular for the newsgroup 'news.lists.filters'. This group contains
>> the references to the 'spam' messages that NoCem then deletes. I want to reset
>> this newsgroup 'news.lists.filters' so that all messages are checked locally
>> again and in case of spam removed.
> 
> As for NoCeM, you can directly refeed your notices to perl-nocem without
> resetting anything.
> 
> perl-nocem expects storage tokens on its standard input.
> Example:
> 
> echo '@020162BEB132016300000000000000000000@' | perl-nocem
> 
> As you're running tradindexed overview, I would suggest to have a look
> at the output of:
> 
>      tdx-util -g -n news.lists.filters
> 
> It dumps the overview data of this newsgroup.  The last field is a
> storage token.
> You could replay NoCeM notices with these information :)

Ah cool :)

Exactly what I needed.
Thanks so much.

Another question, is it possible to limit the maximum number of connections
per authenticated user? I know this is possible for peers, but can this also
be set up for authenticated users? Maybe a setting in readers.conf or nnrpd
that I'm overlooking?
Re: Newbie question
#1576
Author: Julien ÉLIE
Date: Wed, 22 Mar 2023 21:49
21 lines
2277 bytes
Hi Eli,

> Another question, is it possible to limit the maximum number of connections
> per authenticated user? I know this is possible for peers, but can this also
> be set up for authenticated users? Maybe a setting in readers.conf or nnrpd
> that I'm overlooking?

Unfortunately, the response is no.  There's no native way of limiting 
users' connections.
You may want to write a custom authentication hook (perl_auth or 
python_auth in readers.conf) that would do the job by accounting how 
many connections are open by a given user, and deny access if it exceeds 
the limit.  I am not aware of existing scripts to do that :-(

It could be worthwhile having though, as you're not the first one to ask 
(but nobody wrote or shared what he came up with).

-- 
Julien ÉLIE

« Ta remise sur pied lui a fait perdre la tête ! » (Astérix)
Re: Newbie question
#1578
Author: Eli
Date: Wed, 22 Mar 2023 22:08
33 lines
1933 bytes
On 21 Mar 2023 at 20:18:32 CET, "Julien ÉLIE"
<iulius@nom-de-mon-site.com.invalid> wrote:

> Hi Eli,
> 
>>> In some newsgroups I get the following error while using pullnews:
>>> 
>>> DEBUGGING 560    Post 436: Msg: <Can't store article>
>>> 
>>> Then pullnews quits.
>>> Can this be avoided as it is very annoying.
> 
> Do you happen to have other logs in <pathlog>/news.err or news.notice?
> It would be useful to understand why innd did not manage to store the
> article provided by pullnews.  It is an unusual error.  Do all the
> newsgroups match an entry in storage.conf?

Hi Julien,

I probably found the problem.
The errlog gives the following error:

==
innd: tradspool: could not symlink
/usr/local/news/spool/articles/alabama/politics/11365 to
/usr/local/news/spool/articles/alt/2600/414/78: Not a directory
==

/usr/local/news/spool/articles/alt/2600/414 is a file, but for some reason
INND wants to create a folder in that path with the same name as the file
name.

Any ideas how this is possible and how to fix?
Re: Newbie question
#1579
Author: Julien ÉLIE
Date: Wed, 22 Mar 2023 22:24
57 lines
3515 bytes
Hi Eli,

> I probably found the problem.
> The errlog gives the following error:
> 
> ==
> innd: tradspool: could not symlink
> /usr/local/news/spool/articles/alabama/politics/11365 to
> /usr/local/news/spool/articles/alt/2600/414/78: Not a directory
> ==
> 
> /usr/local/news/spool/articles/alt/2600/414 is a file, but for some reason
> INND wants to create a folder in that path with the same name as the file
> name.
> 
> Any ideas how this is possible and how to fix?

Ah, OK, I understand.
The article I tested last day was posted to a newsgroup named 
"alt.2600.414".  It did not produce any error on my news server because 
I do not have a newsgroup named alt.2600.

When you are using tradspool, there's a conflict between the 414th 
article in the newsgroup alt.2600 and any article in the newsgroup 
alt.2600.414.
It is how the tradspool storage method works.

Such newsgroups should not be used.  FYI, an excerpt of the naming 
convention of newsgroups:

    A <component> SHOULD NOT consist solely of digits and SHOULD NOT
    contain uppercase letters.  Such <component>s MAY be used only to
    refer to existing groups that do not conform to this naming scheme,
    but MUST NOT be used otherwise.

       NOTE: All-digit <component>s conflict with one widely used storage
       scheme for articles.  Mixed-case groups cause confusion between
       systems with case-sensitive matching and systems with case-
       insensitive matching of <newsgroup-name>s.



How to fix it?
Well, you can't with your current storage method.
You would have to switch to another method (to set in storage.conf) like 
CNFS, timecaf or timehash.  All these three methods will be able to 
store articles for such groups.
You could keep tradspool for all the newsgroups except for the 
problematic ones if you want (you would have to explicitly list them in 
storage.conf).

-- 
Julien ÉLIE

« Nous autres communistes, nous avons une position claire : nous n'avons
   jamais changé, nous ne changerons jamais et nous sommes pour le
   changement. » (Georges Marchais)
Re: Newbie question
#1582
Author: Jesse Rehmer
Date: Wed, 22 Mar 2023 22:25
25 lines
2376 bytes
On Mar 22, 2023 at 4:49:55 PM CDT, "Julien ÉLIE"
<iulius@nom-de-mon-site.com.invalid> wrote:

> Hi Eli,
> 
>> Another question, is it possible to limit the maximum number of connections
>> per authenticated user? I know this is possible for peers, but can this also
>> be set up for authenticated users? Maybe a setting in readers.conf or nnrpd
>> that I'm overlooking?
> 
> Unfortunately, the response is no.  There's no native way of limiting
> users' connections.
> You may want to write a custom authentication hook (perl_auth or
> python_auth in readers.conf) that would do the job by accounting how
> many connections are open by a given user, and deny access if it exceeds
> the limit.  I am not aware of existing scripts to do that :-(
> 
> It could be worthwhile having though, as you're not the first one to ask
> (but nobody wrote or shared what he came up with).

It's pretty simple to run nnrpd via other utilities that will do the limiting
for you, though, most UNIX/Linux systems have at least two or three tools to
accomplish more or less the same thing.

That said, it would be nice to have that ability directly in nnrpd.
Re: Newbie question
#1581
Author: Julien ÉLIE
Date: Wed, 22 Mar 2023 22:35
37 lines
2951 bytes
Hi Jesse,

>> Unfortunately, the response is no.  There's no native way of limiting
>> users' connections.
> 
> It's pretty simple to run nnrpd via other utilities that will do the limiting
> for you, though, most UNIX/Linux systems have at least two or three tools to
> accomplish more or less the same thing.
> 
> That said, it would be nice to have that ability directly in nnrpd.

Ah yes, exactly.  That's the reason why this was never implemented in 
INN.  It's not seen as a priority at all, and it's also not trivial to do.

Issue #23
"nnrpd currently has no way of limiting connections per IP address other 
than using the custom auth hooks.  In its daemon mode, it could in 
theory keep track of this and support throttling.  It's probably not 
worth trying to support this when invoked via inetd, since at that point 
one could just use xinetd and its built-in support for things like this.

When started from innd, this is a bit harder.  innd has some basic rate 
limiting stuff, but nothing for tracking number of simultaneous 
connections over time.  It may be fine to say that if you want to use 
this feature, you need to have nnrpd be invoked separately, not run from 
innd."


So the answer is to use something like "per_source = 5" in xinetd.conf 
and start nnrpd by xinetd.

-- 
Julien ÉLIE

« Nous autres communistes, nous avons une position claire : nous n'avons
   jamais changé, nous ne changerons jamais et nous sommes pour le
   changement. » (Georges Marchais)
Re: Newbie question
#1580
Author: Grant Taylor
Date: Wed, 22 Mar 2023 23:53
28 lines
2085 bytes
On 3/22/23 1:54 PM, Tom Furie wrote:
> Oh, there's no problem for it catching binaries, that's a 
> non-issue. I'm talking about methods for catching the still ever 
> prevelant text spam..

Oh.  Okay.  That makes more sense.

> I don't imagine it will have any problem with the bodies, but the 
> headers will likely be a different matter since I doubt spamassassin 
> knows anything about them. Maybe some custom rulesets to inform it 
> what to look at...

I wouldn't be surprised if SpamAssassin did know what to do with a news 
post.

I also would be surprised if it couldn't be taught how to deal with news 
posts.

> Yes, I was thinking of interfacing that way, or feeding everything 
> off to spamd.

:-)



-- 
Grant. . . .
unix || die
Re: Newbie question
#1584
Author: news.usenet.ovh Admin
Date: Wed, 22 Mar 2023 23:55
22 lines
1708 bytes
DV <dv@reply-to.not.invalid> composa la prose suivante:

>Neodome Admin wrote:
>
>> DV <dv@reply-to.not.invalid> writes:
>>
>>> I do.
>>
>> Like I said, we can pretend all we want, but old Usenet is gone. No one
>> cares. I'm sorry guys. No one needs those FAQs.
>
>I say it again: i do. You should stop repeating that *no one* needs
>them, unless you think I don't exist.

Sure, you exist.
But who want obsolete faq ? To do what ?

--
List of free servers that distribute the hierarchy "fr"
Liste de serveurs gratuit qui distribue la hiérarchie "fr"

http://usenet.ovh/?article=faq_serveur_gratuit
Re: Newbie question
#1585
Author: Grant Taylor
Date: Wed, 22 Mar 2023 23:57
30 lines
2589 bytes
On 3/22/23 2:43 PM, Tom Furie wrote:
> Here are a few that I think illustrate the "effective pattern" problem.

Thank you for the message IDs.  Unfortunately Thunderbird is treating 
them as email addresses.  I'll have to find a way to look them up.

> Now, this sample is all Google - which is already tagged as a known 
> spam source - but still they made it through. Sure, I could just 
> block the sender, but that seems a bit of "blunt instrument" approach 
> to me. And what happens in the potential situation where a spammer 
> forges an otherwise legitimate poster's email address, etc?

Ya.  I'm not a fan of blocking Google carte blanche like some advocate for.

> There's also the posts whereby the originals get caught by the filter, 
> but the fully quoted replies including full headers posted into 
> the body of the "complaint", make it through. That's one poster I'm 
> incredibly close to outright banning since he's effectively simply 
> a reflector of the original spam.

Oh ya.  I hear you on that one.  I'm a single digit number of such 
examples away from banning a user like that too.  I sort of suspect we 
are talking about the same user.  Possibly one with a professional 
sounding name?



-- 
Grant. . . .
unix || die
Re: Newbie question
#1586
Author: Grant Taylor
Date: Thu, 23 Mar 2023 00:01
12 lines
1557 bytes
On 3/22/23 3:49 PM, Julien ÉLIE wrote:
> There's no native way of limiting users' connections.

It's not per user in that you could have multiple users per IP, but I'd 
think seriously about doing this at the firewall such that each IP can 
only have a limited number of connections.



-- 
Grant. . . .
unix || die
Re: Newbie question
#1583
Author: Grant Taylor
Date: Thu, 23 Mar 2023 00:05
15 lines
1727 bytes
On 3/22/23 5:55 PM, news.usenet.ovh Admin wrote:
> Sure, you exist.
> But who want obsolete faq ? To do what ?

I believe you already have the answer to your question.

I also (re)read things from the days of yore.  Some things are worth 
reading.  Some are not.  You have to read them to find out which they 
are.  }:-)



-- 
Grant. . . .
unix || die
Re: Newbie question
#1588
Author: Gew Ghul Suques
Date: Thu, 23 Mar 2023 03:09
9 lines
1497 bytes
On 3/22/23 18:57, Grant Taylor wrote:
> Ya.  I'm not a fan of blocking Google carte blanche like some advocate for.

Phuque gewghul.

-- 

Gew Ghul Suques
Re: Newbie question
#1587
Author: Eli
Date: Thu, 23 Mar 2023 09:24
16 lines
1315 bytes
On 22 Mar 2023 at 23:24:07 CET, "Julien ÉLIE"
<iulius@nom-de-mon-site.com.invalid> wrote:

> Hi Eli,
> 
>> Any ideas how this is possible and how to fix?
> 
> Ah, OK, I understand.
> The article I tested last day was posted to a newsgroup named
> "alt.2600.414".  It did not produce any error on my news server because
> I do not have a newsgroup named alt.2600.

Hi Julien,

Removing "alt.2600.414" fixed it :D
Thanks Julien.
Page 2 of 3 • 136 total messages
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads