🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #64284

Re: distribution of control messages

#64284
From: Russ Allbery
Date: Wed, 05 Mar 2003 22:31
48 lines
2974 bytes
christian mock <cm@tahina.priv.at> writes:
> Russ Allbery  <rra@stanford.edu> wrote:

>> Oh, weird, that stopped being the default behavior somewhere along the
>> lines.  I wonder when that happened.

>> Set ignorenewsgroups to true in inn.conf and you'll get the behavior that
>> you expected.  That should really be the default.

> _What_ stopped being the default behaviour? 

ignorenewsgroups: true.  I'm not sure why that's even an option.

> Well, and my inn.conf says

> ignorenewsgroups:       true

Hm.  Okay, that wasn't the problem, then.

> Time to dig into the source, hmmm? I don't completely grok the code, but
> the poisoning in art.c:2089 looks suspicious... that code is a special
> case for new/rmgroup messages, and in fact the "@*,something.*" works
> fine for normal articles.

Oh, I see, you're running CURRENT.  Sorry, for some reason thought you
were running 2.3.

Hm.  By that point, since you have ignorenewsgroups set, the groups array
should contain only the newsgroup mentioned in the control message, and at
that point all feed decisions should be made on that basis.  So the
poisoning there should be fine; it should be checking based on whether
that site has poisoned a newsgroup which either doesn't exist (in which
case it can't have poisoned it) or that should be passed by the feed
pattern for that site.

I'm not seeing anything obviously wrong with the logic, assuming
ignorenewsgroups is set to true, which I know doesn't help any.

Does changing @* to !* help any?  You can test by setting up a separate
feed to a file, although it would require reposting the control message
again to see if it gets fed to that file.  :/

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <ylsmu1zbra.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
References: <b44bo1$lp1$1@tahina.priv.at> <ylwujditgb.fsf@windlord.stanford.edu> <b45lcg$684$1@tahina.priv.at>

Show Full Headers
Complete Article Headers
Message-ID: <ylsmu1zbra.fsf@windlord.stanford.edu>
Subject: Re: distribution of control messages
Date: Wed, 05 Mar 2003 14:31:21 -0800
From: Russ Allbery <rra@stanford.edu>
References: <b44bo1$lp1$1@tahina.priv.at> <ylwujditgb.fsf@windlord.stanford.edu> <b45lcg$684$1@tahina.priv.at>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 47
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 1046903481 3092 171.64.13.23 (5 Mar 2003 22:31:21 GMT)
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.4 (Honest Recruiter,
 sparc-sun-solaris2.6)
Cancel-Lock: sha1:y7oIMD08gp41zkdES2IJObQRZJ4=