🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #33586

Re: Supersedes/cancels not handled correctly

#33586
From: Andrew Gierth
Date: Mon, 07 Dec 1998 00:00
32 lines
2064 bytes
>>>>> "Elena" == Elena Samsonova <E.Samsonova@wxs.nl> writes:

 Elena> I run INN 2.1 and have a problem with supersedes not being
 Elena> handled correctly: the articles are nog getting superseded or
 Elena> canceled.  Please have a look at the attachment that contains
 Elena> the headers of the four articles superseding each other, which
 Elena> however appear in my spool all four of them (instead of just
 Elena> one).  The headers are interleaved with the entries in the
 Elena> "news" log file that show that cancellation attempts for these
 Elena> articles are rejected even though the sender field of the
 Elena> cancel article matches the one of the article he wants to
 Elena> cancel.

Simple fix: turn off verification (it buys you virtually no security,
and causes perfectly valid cancels to fail if they arrive before the
article does).

 Elena> Does anyone have an idea what is going wrong?

Yeah; the verification code's broke :-(

In INN 1.7.2, ARTcancelverify calls HeaderFind, which returns a
pointer to the header _value_. In 2.1, it calls HeaderFindDisk,
which returns a pointer to the entire header (Name: value).

In fact it looks to me as though HeaderFindDisk is completely
broken, and can return entirely the Wrong Thing in certain cases.

-- 
Andrew.

Technical Details
Message-ID: <8767bnvr31.fsf@erlenstar.demon.co.uk>
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
References: <366BFC0C.2B95F985@wxs.nl>

Show Full Headers
Complete Article Headers
Message-ID: <8767bnvr31.fsf@erlenstar.demon.co.uk>
Subject: Re: Supersedes/cancels not handled correctly
Date: Mon, 07 Dec 1998 00:00:00 +0000
From: Andrew Gierth <andrew@erlenstar.demon.co.uk>
References: <366BFC0C.2B95F985@wxs.nl>
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: 419680849
X-Mayan-Date: Long count = 12.19.5.13.10; tzolkin = 9 Oc; haab = 3 Mac
Organization: disorganised
X-Attribution: AG
X-Pgp-0x0E9FFBE9: 87 25 7F 14 41 24 B3 51 E0 19 8B DE 49 74 0C 29
X-P-Persistent-Headers: are a bad idea.
Newsgroups: news.software.nntp