Thread View: news.software.nntp
12 messages
12 total messages
Started by Michael Hucka
Thu, 07 Nov 1996 00:00
What if cancels arrive before messages?
Author: Michael Hucka
Date: Thu, 07 Nov 1996 00:00
Date: Thu, 07 Nov 1996 00:00
14 lines
1216 bytes
1216 bytes
Here's something I've been wondering about in conjunction with sorting
outgoing news batches. What happens if INN receives cancel messages
out-of-order? In particular, what if a cancel message arrives before the
article it is supposed to cancel? Will innd know to cancel the article when
it arrives, or does this render the cancel message ineffectual? And how does
it accomplish that?
--
Mike Hucka hucka@umich.edu http://ai.eecs.umich.edu/people/hucka
Ph.D. candidate, computational models of human visual processing, U-M AI Lab
UNIX admin & programmer/analyst, EECS Dept., University of Michigan
Re: What if cancels arrive before messages?
Author: James Brister
Date: Thu, 07 Nov 1996 00:00
Date: Thu, 07 Nov 1996 00:00
19 lines
1325 bytes
1325 bytes
Michael Hucka <hucka@eecs.umich.edu> writes: > Here's something I've been wondering about in conjunction with sorting > outgoing news batches. What happens if INN receives cancel messages > out-of-order? In particular, what if a cancel message arrives before the > article it is supposed to cancel? Will innd know to cancel the article when > it arrives, or does this render the cancel message ineffectual? And how does > it accomplish that? It writes a history entry for the message id, so that when the real article shows up, it will be refused. James -- James Brister brister@vix.com Internet Software Consortium http://www.isc.org inn@isc.org
Re: What if cancels arrive before messages?
Author: Rich Salz
Date: Fri, 08 Nov 1996 00:00
Date: Fri, 08 Nov 1996 00:00
12 lines
999 bytes
999 bytes
In <82sp6mcuc4.fsf@parrot.eecs.umich.edu> Michael Hucka <hucka@eecs.umich.edu> writes: >In particular, what if a cancel message arrives before the >article it is supposed to cancel? If VERIFY_CANCELS is set to DO, then early cancel messages are ignored. If it is not set to DO, then early cancel messages cause a history line to be written for the article being cancelled. Subsequent offers of the real article will be rejected. /r$
Re: What if cancels arrive before messages?
Author: Don Lewis
Date: Fri, 08 Nov 1996 00:00
Date: Fri, 08 Nov 1996 00:00
22 lines
1555 bytes
1555 bytes
In article <yy3zq0tvmul.fsf@velo.pp.vix.com>, James Brister <brister@vix.com> wrote: >Michael Hucka <hucka@eecs.umich.edu> writes: > >> Here's something I've been wondering about in conjunction with sorting >> outgoing news batches. What happens if INN receives cancel messages >> out-of-order? In particular, what if a cancel message arrives before the >> article it is supposed to cancel? Will innd know to cancel the article when >> it arrives, or does this render the cancel message ineffectual? And how does >> it accomplish that? > >It writes a history entry for the message id, so that when the >real article shows up, it will be refused. Unless you've got VERIFY_CANCELS set to DO ... -- Don "Truck" Lewis TDK Semiconductor Internet: Don.Lewis@tsc.tdk.com 138 New Mohawk Road Phone: +1 916 478-8284 FAX: +1 916 478-8251 Nevada City, CA 95959
Re: What if cancels arrive before messages?
Author: Michael Hucka
Date: Sat, 09 Nov 1996 00:00
Date: Sat, 09 Nov 1996 00:00
19 lines
1508 bytes
1508 bytes
>>>>> On 8 Nov 1996, rsalz@osf.org (Rich Salz) wrote:
rsalz> If VERIFY_CANCELS is set to DO, then early cancel messages are
rsalz> ignored. If it is not set to DO, then early cancel messages cause a
rsalz> history line to be written for the article being cancelled.
rsalz> Subsequent offers of the real article will be rejected. /r$
Whoa -- that is a very significant piece of information. The config file
only says of VERIFY_CANCELS that it causes "Verify that the poster is the
person doing the cancel". I think the implication for early cancels is very
easy to miss here.
--
Mike Hucka hucka@umich.edu http://ai.eecs.umich.edu/people/hucka
Ph.D. candidate, computational models of human visual processing, U-M AI Lab
UNIX admin & programmer/analyst, EECS Dept., University of Michigan
Re: What if cancels arrive before messages?
Author: Rich Salz
Date: Sun, 10 Nov 1996 00:00
Date: Sun, 10 Nov 1996 00:00
10 lines
895 bytes
895 bytes
In <8220e3vjul.fsf@krusty.eecs.umich.edu> Michael Hucka <hucka@eecs.umich.edu> writes: > I think the implication for early cancels is very >easy to miss here. Perhaps, but see also the logfile description in innd.8 which talks about accepting early cancels. /r$
Re: What if cancels arrive before messages?
Author: Heiko W.Rupp
Date: Mon, 11 Nov 1996 00:00
Date: Mon, 11 Nov 1996 00:00
19 lines
1322 bytes
1322 bytes
In <8220e3vjul.fsf@krusty.eecs.umich.edu>, Michael Hucka wrote:
:|Whoa -- that is a very significant piece of information. The config file
:|only says of VERIFY_CANCELS that it causes "Verify that the poster is the
:|person doing the cancel". I think the implication for early cancels is very
:|easy to miss here.
On the other hand .. if you think over it you will see, that if the cancel
is coming too early, then it fails to verify the person and can't issue
the cancel ..
--
Heiko W.Rupp hwr@pilhuhn.de
INN FAQ can be found in ftp://ftp.xlink.net/pub/news/docs/
Stoppt den Kinderwahnsinn !! -- Esst nur deutsche Kinder !!
Re: What if cancels arrive before messages?
Author: Alan Brown
Date: Tue, 12 Nov 1996 00:00
Date: Tue, 12 Nov 1996 00:00
23 lines
1306 bytes
1306 bytes
On 12 Nov 1996, James Brister wrote: > > >>It writes a history entry for the message id, so that when the > > >>real article shows up, it will be refused. > > > > > >Unless you've got VERIFY_CANCELS set to DO ... > > > > Will 1.5 handle this properly James? > > How do you mean 'properly'? Holding the cancel somehow in case the article ever makes it onsite. I've seen cancels arrive for articles which trickled in via more convoluted channels several days later. I would assume that the benchmark for a holding period is the time set till the article is "too old" (usually 14 days). AB
Re: What if cancels arrive before messages?
Author: Alan Brown
Date: Tue, 12 Nov 1996 00:00
Date: Tue, 12 Nov 1996 00:00
21 lines
1409 bytes
1409 bytes
In article <55v0bi$hf9@sunrise.gv.ssi1.com>, Don Lewis <gdonl@tsc.tdk.com> wrote: >In article <yy3zq0tvmul.fsf@velo.pp.vix.com>, >James Brister <brister@vix.com> wrote: >>It writes a history entry for the message id, so that when the >>real article shows up, it will be refused. > >Unless you've got VERIFY_CANCELS set to DO ... Will 1.5 handle this properly James? AB -- "Abba are much better then Green day, Offspring, American Music Club, The Exponents, The Cranberries and Graham Brazier because they had good tunes and an effortless ability to encase 'em in pretty damned stunning pop arrangements." --Chris Knox
Re: What if cancels arrive before messages?
Author: James Brister
Date: Tue, 12 Nov 1996 00:00
Date: Tue, 12 Nov 1996 00:00
18 lines
1063 bytes
1063 bytes
alan@papaioea.manawatu.gen.nz (Alan Brown) writes: > >>It writes a history entry for the message id, so that when the > >>real article shows up, it will be refused. > > > >Unless you've got VERIFY_CANCELS set to DO ... > > Will 1.5 handle this properly James? How do you mean 'properly'? James -- James Brister brister@vix.com Internet Software Consortium http://www.isc.org inn@isc.org
Re: What if cancels arrive before messages?
Author: Chris Lewis
Date: Tue, 12 Nov 1996 00:00
Date: Tue, 12 Nov 1996 00:00
37 lines
2138 bytes
2138 bytes
In article <slrn58ds13.led.hwr@pilhuhn.de>,
Heiko W.Rupp <hwr@pilhuhn.de> wrote:
>In <8220e3vjul.fsf@krusty.eecs.umich.edu>, Michael Hucka wrote:
>
>:|Whoa -- that is a very significant piece of information. The config file
>:|only says of VERIFY_CANCELS that it causes "Verify that the poster is the
>:|person doing the cancel". I think the implication for early cancels is very
>:|easy to miss here.
>On the other hand .. if you think over it you will see, that if the cancel
>is coming too early, then it fails to verify the person and can't issue
>the cancel ..
Right. Which is why I commented that code out.
In art.c, function ARTcancel, I added "&& defined(NEVER) on the #if
just before the "if (!Trusted)":
#if defined(DO_VERIFY_CANCELS) && defined(NEVER)
if (!Trusted)
return;
#endif /* defined(DO_VERIFY_CANCELS) */
Thus, cancels arriving earlier than the article are simply not verified
at all. I have an idea how difficult it would be to properly verify in
this situation, so I didn't try.
I don't think this is too big a loss, because generally speaking, only
autocancels would arrive before their corresponding article.
--
"I can't stand this proliferation of paperwork. It's useless to fight
the forms. You've got to kill the people producing them."
-- Vladimir Kabaidze, 64, General Director of Ivanovo Machine Building Works
Re: What if cancels arrive before messages?
Author: Rich Salz
Date: Wed, 13 Nov 1996 00:00
Date: Wed, 13 Nov 1996 00:00
10 lines
898 bytes
898 bytes
In <568lc3$7d9@papaioea.manawatu.gen.nz> alan@papaioea.manawatu.gen.nz (Alan Brown) writes: >>Unless you've got VERIFY_CANCELS set to DO ... > >Will 1.5 handle this properly James? Would you explain what you mean by properly? /r$
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