Thread View: news.software.nntp
10 messages
10 total messages
Started by Aioe
Sun, 07 May 2017 20:45
a strange newsfeeds behaviour
Author: Aioe
Date: Sun, 07 May 2017 20:45
Date: Sun, 07 May 2017 20:45
32 lines
1614 bytes
1614 bytes
my server is 'localhost' and, inside newsfeeds, i'm using the following line LOCALINFLOW/!localhost\:*:Tf,H2,Wsgbtp: when i read my LOCALINFLOW file i find several messages that doesn't come from my server. These articles were originally sent *only* through news.glorb.com, news.lightlink.com or usenet.pasdenom.info. The path of all these posts does not contain the "localhost" string inside. if inside newsfeeds i use LOCALINFLOW/! localhost,news.glorb.com,news.lightlink.com,news.pasdenom.info,usenet.pasdenom.info \:*:Tf,H2,Wsgbtp: everything works as expected. For me this innd behavior is not a problem but I do not understand where I'm wrong with the newsfeeds syntax. Does anyone have any idea? thank you :-)
Re: a strange newsfeeds behaviour
Author: Julien ÉLIE
Date: Mon, 08 May 2017 19:20
Date: Mon, 08 May 2017 19:20
26 lines
1854 bytes
1854 bytes
Hi Paolo, > my server is 'localhost' and, inside newsfeeds, i'm using the following > line > > LOCALINFLOW/!localhost\:*:Tf,H2,Wsgbtp: > > when i read my LOCALINFLOW file i find several messages that doesn't come > from my server. What if you do not use "!" and "\" in the path exclusions list? In one line, I would have written: LOCALINFLOW/localhost:*:Tf,H2,Wsgbtp: "!" is not expected at that place (it is used for newsgroups pattern), and "\" is for a continuation line. -- Julien ÉLIE « J'ai un copain, il est pilote d'essai… Enfin, il ne l'est pas encore ; pour l'instant, il essaie d'être pilote ! » (Raymond Devos)
Re: a strange newsfeeds behaviour
Author: Aioe
Date: Mon, 08 May 2017 21:09
Date: Mon, 08 May 2017 21:09
12 lines
1217 bytes
1217 bytes
Il Mon, 08 May 2017 21:20:24 +0200, Julien ÉLIE ha scritto: > Hi Paolo, > > "!" is not expected at that place (it is used for newsgroups pattern), > and "\" is for a continuation line. thank you for your reply i'm trying it now, i will get you the results tomorrow morning
Re: a strange newsfeeds behaviour
Author: Aioe
Date: Mon, 08 May 2017 21:29
Date: Mon, 08 May 2017 21:29
20 lines
1623 bytes
1623 bytes
Il Mon, 08 May 2017 21:09:13 +0000, Aioe ha scritto: > thank you for your reply > > i'm trying it now, i will get you the results tomorrow morning It seems even worse than before but it could be a statistical aberration ------------ localhost it.hobby.fai-da-te 1927 1494277834 1494277833 localhost soc.retirement 1959 1494277967 1494277969 localhost it.discussioni.consumatori.tutela 1263 1494278001 1494278000 localhost it.hobby.elettronica 1631 1494278048 1494278048 news.glorb.com alt.checkmate 2955 1494278068 1494278073 localhost alt.russian.z1 3455 1494278070 1494278070 ------------ i will report you more accurate results tomorrow
Re: a strange newsfeeds behaviour
Author: Aioe
Date: Mon, 08 May 2017 21:39
Date: Mon, 08 May 2017 21:39
8 lines
1204 bytes
1204 bytes
Il Mon, 08 May 2017 21:29:13 +0000, Aioe ha scritto: > news.glorb.com alt.checkmate 2955 1494278068 1494278073 btw, this line does *not* appear in the file (LOCALINFLOW) generated by innd processing my newsfeed line
Re: a strange newsfeeds behaviour
Author: Julien ÉLIE
Date: Tue, 09 May 2017 20:33
Date: Tue, 09 May 2017 20:33
42 lines
2953 bytes
2953 bytes
Hi Paolo, > It seems even worse than before but it could be a statistical aberration > > ------------ > localhost it.hobby.fai-da-te 1927 1494277834 1494277833 > localhost soc.retirement 1959 1494277967 1494277969 > localhost it.discussioni.consumatori.tutela 1263 1494278001 1494278000 > localhost it.hobby.elettronica 1631 1494278048 1494278048 > news.glorb.com alt.checkmate 2955 1494278068 1494278073 > localhost alt.russian.z1 3455 1494278070 1494278070 > ------------ What you want is only locally posted articles, right? And you insert "localhost" in their Path header field so that you for instance have "Path: localhost!.POSTED!not-for-mail" in locally posted articles? I see that news.glorb.com does not add the POSTED stuff in Path header fields. They directly have "Path: news.glorb.com!news.alt.net" without "not-for-mail". It is maybe the reason why they are not caught by the "H2" option you have, and you explicitly have to exclude "news.glorb.com". My suggestion of "LOCALINFLOW/localhost:*:Tf,H2,Wsgbtp:" would in fact *not* feed articles with "localhost" in the Path header field but it would then not log articles with "Path: localhost!.POSTED!not-for-mail" (3 hops). Normally, the exclusion pattern does not expect negations like "!localhost" so the syntax would not work. Your working LOCALINFLOW/!localhost,news.glorb.com,news.lightlink.com,news.pasdenom.info,usenet.pasdenom.info\:*:Tf,H2,Wsgbtp: is still a mystery to me :( -- Julien ÉLIE « J'ai un copain, il est pilote d'essai… Enfin, il ne l'est pas encore ; pour l'instant, il essaie d'être pilote ! » (Raymond Devos)
Re: a strange newsfeeds behaviour
Author: Aioe
Date: Tue, 09 May 2017 21:22
Date: Tue, 09 May 2017 21:22
69 lines
3041 bytes
3041 bytes
Il Tue, 09 May 2017 22:33:30 +0200, Julien ÉLIE ha scritto: > Hi Paolo, > Your working > LOCALINFLOW/! localhost,news.glorb.com,news.lightlink.com,news.pasdenom.info,usenet.pasdenom.info \:*:Tf,H2,Wsgbtp: > is still a mystery to me :( in need a real time updated file that lists all articles posted through my server. since my local posts are identified by lines like this one inside all newsfeeds generated files: ---------------------- localhost alt.prophecies.nostradamus 1646 1494280103 1494280073 <oeqp36 $av6$2@gioia.aioe.org> --------------------- i assumed that innd calls itself 'localhost' and i understood the character "!" means no. So denying to exclude articles from 'localhost' means to admit it. I reasoned in this way. in order to test my configuration, i added the following lines to my newsfeeds ------------- TESTINFLOW1/localhost:*:Tf,H2,Wsgbtpm: TESTINFLOW2/! localhost,news.glorb.com,news.lightlink.com,usenet.pasdenom.info\ :*:Tf,H2,Wsgbtpm: --------------------- (Note that the second line is divided into two rows) after 22 hours, i receive the following results http://www.aioe.org/TESTINFLOW1 http://www.aioe.org/TESTINFLOW2 both bags include articles that were not posted through my server. after 22 hours, using *your* configuration, innd writes a file (TESTINFLOW1) with *1388* records inside, *1204* of them come from my server and *184* (about *13%*) are spurious. about spurious messages 165 messsages come from glorb, 2 from pasdenom, 5 from lighlink and 12 from bofh.it after the same time, with my configuration (TESTINFLOW2) innd makes a file (TESTINFLOW2) with *1223* articles and *1204* of them come from my server, 19 are spurious (about *1.2%*). My configuration seems to produce much more accurate results than what I get with yours. This seems absurd. remaining articles come from bofh (12), lightlink (6), pasdenon (2). i'm using inn 2.5.4 thank you for your time
Re: a strange newsfeeds behaviour
Author: Aioe
Date: Tue, 09 May 2017 21:24
Date: Tue, 09 May 2017 21:24
7 lines
1137 bytes
1137 bytes
Il Tue, 09 May 2017 21:22:35 +0000, Aioe ha scritto: > lightlink (6), lightlink (5)
Re: a strange newsfeeds behaviour
Author: Julien ÉLIE
Date: Wed, 10 May 2017 20:20
Date: Wed, 10 May 2017 20:20
106 lines
4552 bytes
4552 bytes
Hi Paolo,
> i need a real time updated file that lists all articles posted through my
> server
Understood.
> since my local posts are identified by lines like this one inside all
> newsfeeds generated files:
>
> ----------------------
> localhost alt.prophecies.nostradamus 1646 1494280103 1494280073 <oeqp36
> $av6$2@gioia.aioe.org>
> ---------------------
>
> i assumed that innd calls itself 'localhost' and i understood the
> character "!" means no. So denying to exclude articles from 'localhost'
> means to admit it. I reasoned in this way.
Articles locally posted are indeed identified as "localhost" for the
feeding site. However, that name is not used at all for the exclusion
pattern in newsfeeds (looking in the Path header field).
> -------------
> TESTINFLOW1/localhost:*:Tf,H2,Wsgbtpm:
>
> TESTINFLOW2/!
> localhost,news.glorb.com,news.lightlink.com,usenet.pasdenom.info\
> :*:Tf,H2,Wsgbtpm:
> ---------------------
I believe that if you do not mention "localhost" in the first test and
"!localhost" in the second test, it will work the same.
What you see comes from the use of "H2", meaning to feed articles with 1
or 2 hops in the Path header field.
Your local posts only have:
Path: .POSTED!not-for-mail
Those from Glorb:
Path: news.glorb.com!news.alt.net
Those from Lightlink:
Path: adore2!not-for-mail
Those from Pasdenom:
Path: usenet.pasdenom.info!from-devjntp
Other news servers add more hops. For instance:
Path:
eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
Path:
proxad.net!feeder1-2.proxad.net!cleanfeed2-b.proxad.net!nnrp3-2.free.fr!not-for-mail
Path:
porbandar.httrack.net!news.httrack.net!news3.httrack.net!.POSTED!bleachbot!usenet!not-for-mail
Path:
news.trigofacile.com!.POSTED.2a01cb0800a77500fdf70fda11a03c52.ipv6.abo.wanadoo.fr!not-for-mail
> after the same time, with my configuration (TESTINFLOW2) innd makes a
> file (TESTINFLOW2) with *1223* articles and *1204* of them come from my
> server, 19 are spurious (about *1.2%*). My configuration seems to produce
> much more accurate results than what I get with yours. This seems absurd.
> remaining articles come from bofh (12), lightlink (6), pasdenon (2).
I believe it is coherent with my explanations above.
So. The question is how to achieve what you want?
Usually, the "Oaioe.org" flag is added to newsfeeds but you remove trace
injection fields from your local posts, so the O flag cannot be used in
your case.
Couldn't you use a channel feed writing to your file? The newsfeeds man
page has an example:
watcher!:*:Tc,Wbnm\
:exec awk '$1 > 1000000 { print "BIG", $2, $3 }' > /dev/console
Maybe to adapt with a check of $1 being "localhost" and appending to a
file? Of course you should keep "H2".
Or keep your current TESTINFLOW1 file and just remove the lines that do
not begin with "localhost "?
--
Julien ÉLIE
« J'ai un copain, il est pilote d'essai… Enfin, il ne l'est pas
encore ; pour l'instant, il essaie d'être pilote ! » (Raymond
Devos)
Re: a strange newsfeeds behaviour
Author: Aioe
Date: Thu, 11 May 2017 13:33
Date: Thu, 11 May 2017 13:33
8 lines
1322 bytes
1322 bytes
Il Wed, 10 May 2017 22:20:55 +0200, Julien ÉLIE ha scritto: > I believe that if you do not mention "localhost" in the first test and > "!localhost" in the second test, it will work the same. thank you for your clear explanation.
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