🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #79554

Re: Cancel-Key and Cancel-Lock

#79554
From: Ray Banana
Date: Thu, 23 Oct 2008 13:15
29 lines
2480 bytes
Thus spake Aioe <estasi@aioe.org>
 
> Aioe wrote:

> When an user adds the Cancel-Key header, which algorithm he has to use in
> order to generate it? Since this is probably done by a newsreader, which
> alogrithms are used?

This is explained in 

http://tools.ietf.org/html/draft-ietf-usefor-cancel-lock-01

> When a server receives a cancel message (which header has the user to use:
> Control cancel or Supersedes or Cancel?) which kind of checks it's needed
> to do?

Both Control: cancel and Supersedes: should be  checked, as supersedes
are implicit cancels. Basically, you will have to check if the cancel key
provided with the control messages matches the cancel lock contained in
the original article. Take a look at Alexander Bartolich's sample in

<f683h5$51u$7@news.albasani.net>
<f8ffta$dd1$3@news.albasani.net>

Even though it's in German, the code should be intelligible.

-- 
Time flies like an arrow, fruit flies like a Banana.
http://news.motzarella.org
Technical Details
Message-ID: <80prlrjvus.fsf@banana.shacknet.nu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.k-dsl.de!news.eternal-september.org!news.raybanana.net!banana.shacknet.nu!motzarella.org!not-for-mail
References: <gdpprr$rp4$1@aioe.org> <gdps9d$5mv$1@aioe.org>

Show Full Headers
Complete Article Headers
Message-ID: <80prlrjvus.fsf@banana.shacknet.nu>
Subject: Re: Cancel-Key and Cancel-Lock
Date: Thu, 23 Oct 2008 15:15:39 +0200
From: Ray Banana <rayban@banana.shacknet.nu>
References: <gdpprr$rp4$1@aioe.org> <gdps9d$5mv$1@aioe.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.k-dsl.de!news.eternal-september.org!news.raybanana.net!banana.shacknet.nu!motzarella.org!not-for-mail
Newsgroups: news.software.nntp
Organization: A noiseless patient spider
Lines: 29
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: banana.shacknet.nu
 U2FsdGVkX1/lE5c4Ah/g0HvkEmw1Iy4gKbOG5M6vX7iV0scutTAUnoGKV+Xz8+1sNp9xbqwIqin8Sf1vL0PEYs8Dubt1NKlwkt9nIxT6XB4z6pRqS66mcK2Bg3D13jU9xZVCaVUODrw=
X-Complaints-To: abuse@banana.shacknet.nu
X-Auth-Sender: U2FsdGVkX1/Dq57aXgTxH2OX0rnwfyphBJvi0SY9qZBx/wQONAH6lg==
Cancel-Lock: sha1:1XJteAE1EA8F5n8B7zTUCztM2Zs=
User-Agent: Plonkenlights
X-PGP-Sig: 2.6.3ia Subject,Message-ID,Date,From,User-Agent
 iQCVAwUBSQB5JBFgDSXFGJ/lAQEINgP/UqXxJ2sz54k7tGw1EL2bPhd3UaeCfrDj
 AHkHehqKAN0izeUFk9CcDKS6IaxUM+sfzTbW82dUofwugEv1SodhKzdyZyzVZ3OZ
 c+vVTt8t/emrfTbr3v1SUmrZUo5t38tHFoLedvoeLB7WzCEF6EDpnyJ1NNXO+CYU
 MOgho+mt2Xc= =FaUU
X-Attribution: Ray Banana