Article View: news.software.nntp
Article #45793Re: return values of RCcanpost
From: BARRY BOUWSMA KAVALIERLY KREATES...
Date: Sun, 16 Apr 2000 00:00
Date: Sun, 16 Apr 2000 00:00
54 lines
3683 bytes
3683 bytes
On 15 Apr 19100, Russ Allbery wrote:
> 1 means that the remote site is allowed to feed articles for that
> newsgroup, 0 means that it isn't allowed to feed articles for that
> newsgroup but if it's crossposted to some other group that returns 1 it's
> still okay, and -1 means stop now, this article is definitely getting
> rejected, because it's crossposted to a poisoned group.
Thanks, that's sort of what I figured out, after I erased from my
brane the way I thought it should work.
> Articles rejected due to poison are not added to history even if
> remembertrash is set, if that's the bug you're checking into.
Close, but no cigar. The bug I'm seeing is that articles rejected,
not due to poison, but because the peer is not allowed to feed the
articles in that group, are in fact added to history (and the message
returned is not the `Won\'t accept posts in foo' but the `Unwanted
Newsfroup foo' instead)... This is the case when all the calls to
RCcanpost() return 0, f'rinstance.
I think what's not being taken into consideration is the question of
whether there are any restrctions on the site feeding, or not. It
seems to me that if there are not (the value of rp->Patterns == NULL)
then it's safe to proceed as normal, in which case RCcanpost() falls
through with 1, just like when an explicitly specified group is
matched, but if rp->Patterns has some value (which as far as I can
see is the only way to tell, barring adding something else within
one or more of the loops, like keeping track of all the RCcanpost()
results), then you don't want to remembertrash for the articles
which are turned down, since you do want to get those articles from
some other peer.
I'm not sure if I've carefully thought through all the possibilities
here, but I think RCcanpost() is doing a wildmat on only those groups
which exist in the active file, so a site with restrictions feeding
junk would still get that added to history, if desired, even if a
wildmat would fail for that article. Or something.
Am I making sense yet? I still think I need a lot more sleep (seems
to happen after being awake for two days straight, and/or when the
weather is bad)
--
*** This was posted with the express permission of ***
******************************************************
** HIS HIGHNESS KAAZMANN LORD AND MASTER OF USENET **
******************************************************
********* We are simple servants of his will *********
Technical Details
Message-ID:
<Pine.BSF.3.96.1000416011040.27058B-100000@fLuFFy.iNt.tElE.dK>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!not-for-mailReferences:
<REPOST-CASCADE.CASQADE.QASCADE.QASQADE.MEOW.MOO.WOOF.SQUEEK.HONK.BEEP.T00T.KONCENSUS.KASKADE.FUKKHEAD.FLONK.FLONK.FLONK.NOSE-100000@pedophile.vszbr.cz> <ylbt3b56g9.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <Pine.BSF.3.96.1000416011040.27058B-100000@fLuFFy.iNt.tElE.dK> Subject: Re: return values of RCcanpost Date: Sun, 16 Apr 2000 00:00:00 +0000 From: BARRY BOUWSMA KAVALIERLY KREATES KAOS <kvindeservice@pedophile.dk> References: <REPOST-CASCADE.CASQADE.QASCADE.QASQADE.MEOW.MOO.WOOF.SQUEEK.HONK.BEEP.T00T.KONCENSUS.KASKADE.FUKKHEAD.FLONK.FLONK.FLONK.NOSE-100000@pedophile.vszbr.cz> <ylbt3b56g9.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!not-for-mail X-Deja-AN: 611673444 X-Sender: kvindeservice@fLuFFy.iNt.tElE.dK Content-Type: TEXT/PLAIN; charset=US-ASCII X-Complaints-To: Department of Written Abuse <abuse@news.inet.tele.dk> X-Trace: news.inet.tele.dk 955841319 3407 193.163.158.4 (Sat 2419 September 1993 23:28:39 GMT) Organization: ASSERT (rp->Patterns != NULL) ; Mime-Version: 1.0 NNTP-Posting-Date: Sat 2419 September 1993 23:28:39 GMT Newsgroups: news.software.nntp X-Pedophile: BARRY BOUWSMA IS A K0DEWANKER PEDOPHILE