Thread View: news.software.nntp
5 messages
5 total messages
Started by Elena Samsonova
Mon, 07 Dec 1998 00:00
Supersedes/cancels not handled correctly
Author: Elena Samsonova
Date: Mon, 07 Dec 1998 00:00
Date: Mon, 07 Dec 1998 00:00
155 lines
7145 bytes
7145 bytes
This is a multi-part message in MIME format. --------------3A341E616249D24E7BB915D7 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello everyone, I run INN 2.1 and have a problem with supersedes not being handled correctly: the articles are nog getting superseded or canceled. Please have a look at the attachment that contains the headers of the four articles superseding each other, which however appear in my spool all four of them (instead of just one). The headers are interleaved with the entries in the "news" log file that show that cancellation attempts for these articles are rejected even though the sender field of the cancel article matches the one of the article he wants to cancel. I also know that it isn't Cleanfeed's doings because there is no trace of this in "news.log". Does anyone have an idea what is going wrong? Thanks Elena --------------3A341E616249D24E7BB915D7 Content-Type: text/plain; charset=us-ascii; name="jan" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="jan" Path: news.wxs.nl!News.Amsterdam.UnisourceCS!news.freedom2surf.net!\ btnet-peer!btnet!newsfeed.wirehub.nl!xs4all!not-for-mail From: monitor@monitor.nl.X (Jan Ehrhardt) Newsgroups: nl.internet.providers,wxs.worldaccess,cistron.general,nlnet.misc Subject: Statusrapport newsservers, editie 127 Date: Sat, 05 Dec 1998 01:59:38 +0100 Organization: http://www.monitor.nl Lines: 51 Sender: monitor@monitor.nl.X (Jan Ehrhardt) Message-ID: <36687f9e.10178584@news.xs4all.nl> NNTP-Posting-Host: hlm0185-3.dial.wxs.nl X-NNTP-Posting-Host: hlm0185-3.dial.wxs.nl [195.121.39.185] X-XS4ALL-Date: Sat, 05 Dec 1998 01:56:41 CET X-XS4ALL-User: monitor X-Newsreader: Forte free agent 1.11/32.235 Xref: news.wxs.nl nl.internet.providers:16601 wxs.worldaccess:8702 \ nlnet.misc:32769 Dec 5 01:56:47.499 + 195.206.66.162 <36687f9e.10178584@news.xs4all.nl> \ 3107 gate.news.unisource.nl Dec 5 02:02:35.169 - 195.206.66.162 <36688682.11943222@news.xs4all.nl> \ "monitor@monitor.nl.X" wants to cancel <36687f9e.10178584@news.xs4all.nl> \ by "Sender: monitor@monitor.nl.X" Dec 5 02:08:07.223 - 195.206.66.162 <366887aa.12239040@news.xs4all.nl> \ "monitor@monitor.nl.X" wants to cancel <36687f9e.10178584@news.xs4all.nl> \ by "Sender: monitor@monitor.nl.X" Path: news.wxs.nl!News.Amsterdam.UnisourceCS!skynet.be!newsfeed.wirehub.nl!\ xs4all!not-for-mail From: monitor@monitor.nl.X (Jan Ehrhardt) Newsgroups: nl.internet.providers,wxs.worldaccess,cistron.general,nlnet.misc Subject: Statusrapport newsservers, editie 127 Supersedes: <36687f9e.10178584@news.xs4all.nl> Date: Sat, 05 Dec 1998 02:05:29 +0100 Organization: http://www.monitor.nl Lines: 51 Sender: monitor@monitor.nl.X (Jan Ehrhardt) Message-ID: <36688682.11943222@news.xs4all.nl> NNTP-Posting-Host: hlm0185-3.dial.wxs.nl X-NNTP-Posting-Host: hlm0185-3.dial.wxs.nl [195.121.39.185] X-XS4ALL-Date: Sat, 05 Dec 1998 02:02:30 CET X-XS4ALL-User: monitor Keywords: Eens kijken welke servers 'supersedes' ondersteunen X-Newsreader: Forte free agent 1.11/32.235 Xref: news.wxs.nl nl.internet.providers:16603 wxs.worldaccess:8703 \ nlnet.misc:32770 Dec 5 02:02:35.169 + 195.206.66.162 <36688682.11943222@news.xs4all.nl> \ 3187 gate.news.unisource.nl Dec 5 02:02:35.169 - 195.206.66.162 <36688682.11943222@news.xs4all.nl> \ "monitor@monitor.nl.X" wants to cancel <36687f9e.10178584@news.xs4all.nl> \ by "Sender: monitor@monitor.nl.X" Dec 5 02:12:54.513 - 195.206.66.162 <3668893c.12641472@news.xs4all.nl> \ "monitor@monitor.nl.X" wants to cancel <36688682.11943222@news.xs4all.nl> \ by "Sender: monitor@monitor.nl.X" Path: news.wxs.nl!News.Amsterdam.UnisourceCS!news.freedom2surf.net!\ peer.news.th.u-net.net!u-net!btnet-peer!btnet!newsfeed.wirehub.nl!\ xs4all!not-for-mail From: monitor@monitor.nl.X (Jan Ehrhardt) Newsgroups: nl.internet.providers,wxs.worldaccess,cistron.general,nlnet.misc Subject: Statusrapport newsservers, editie 127 Supersedes: <36687f9e.10178584@news.xs4all.nl> Date: Sat, 05 Dec 1998 02:10:58 +0100 Organization: http://www.monitor.nl Lines: 54 Sender: monitor@monitor.nl.X (Jan Ehrhardt) Message-ID: <366887aa.12239040@news.xs4all.nl> NNTP-Posting-Host: hlm0185-3.dial.wxs.nl X-NNTP-Posting-Host: hlm0185-3.dial.wxs.nl [195.121.39.185] X-XS4ALL-Date: Sat, 05 Dec 1998 02:07:59 CET X-XS4ALL-User: monitor Keywords: Eens kijken welke servers 'supersedes' ondersteunen X-Newsreader: Forte free agent 1.11/32.235 Xref: news.wxs.nl nl.internet.providers:16605 wxs.worldaccess:8704 \ nlnet.misc:32771 Dec 5 02:08:07.223 + 195.206.66.162 <366887aa.12239040@news.xs4all.nl> \ 3413 gate.news.unisource.nl Dec 5 02:08:07.223 - 195.206.66.162 <366887aa.12239040@news.xs4all.nl> \ "monitor@monitor.nl.X" wants to cancel <36687f9e.10178584@news.xs4all.nl> \ by "Sender: monitor@monitor.nl.X" Dec 5 02:17:12.037 - 195.206.66.162 <366889f1.12822739@news.xs4all.nl> \ "monitor@monitor.nl.X" wants to cancel <366887aa.12239040@news.xs4all.nl> \ by "Sender: monitor@monitor.nl.X" Path: news.wxs.nl!News.Amsterdam.UnisourceCS!masternews.telia.net!\ news-nyc.telia.net!news.maxwell.syr.edu!newsfeed.wirehub.nl!\ xs4all!not-for-mail From: monitor@monitor.nl.X (Jan Ehrhardt) Newsgroups: nl.internet.providers,wxs.worldaccess,cistron.general,nlnet.misc Subject: Statusrapport newsservers, editie 127 Supersedes: <366887aa.12239040@news.xs4all.nl> Date: Sat, 05 Dec 1998 02:20:06 +0100 Organization: http://www.monitor.nl Lines: 56 Sender: monitor@monitor.nl.X (Jan Ehrhardt) Message-ID: <366889f1.12822739@news.xs4all.nl> NNTP-Posting-Host: hlm0185-3.dial.wxs.nl X-NNTP-Posting-Host: hlm0185-3.dial.wxs.nl [195.121.39.185] X-XS4ALL-Date: Sat, 05 Dec 1998 02:17:07 CET X-XS4ALL-User: monitor Keywords: Eens kijken welke servers 'supersedes' ondersteunen X-Newsreader: Forte free agent 1.11/32.235 Xref: news.wxs.nl nl.internet.providers:16606 wxs.worldaccess:8705 \ nlnet.misc:32772 Dec 5 02:17:12.037 + 195.206.66.162 <366889f1.12822739@news.xs4all.nl> \ 3525 gate.news.unisource.nl Dec 5 02:17:12.037 - 195.206.66.162 <366889f1.12822739@news.xs4all.nl> \ "monitor@monitor.nl.X" wants to cancel <366887aa.12239040@news.xs4all.nl> \ by "Sender: monitor@monitor.nl.X" --------------3A341E616249D24E7BB915D7--
Re: Supersedes/cancels not handled correctly
Author: Andrew Gierth
Date: Mon, 07 Dec 1998 00:00
Date: Mon, 07 Dec 1998 00:00
32 lines
2064 bytes
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.
Re: Supersedes/cancels not handled correctly
Author: Andrew Gierth
Date: Tue, 08 Dec 1998 00:00
Date: Tue, 08 Dec 1998 00:00
20 lines
1536 bytes
1536 bytes
>>>>> "Jan" == Jan Ehrhardt <monitor@monitor.nl.X> writes: Jan> FYI: My "perfectly valid cancels" were posted (on Jan> news.xs4all.nl) _after_ the article had arrived on Elena's Jan> newsserver. On purpose, I did not post the cancel-msg before I Jan> had retrieved the original article on news.wxs.nl. Do you still Jan> think the verification is the culprit? Like I said, it's an error in the verification code (HeaderFindDisk and ARTcancelverify disagree on what result is expected from HeaderFindDisk, and the implementation of HeaderFindDisk is apparently broken in other ways). It'll probably still work for addresses containing <>, but that's just a fluke. -- Andrew.
Re: Supersedes/cancels not handled correctly
Author: Jan Ehrhardt
Date: Tue, 08 Dec 1998 00:00
Date: Tue, 08 Dec 1998 00:00
38 lines
2443 bytes
2443 bytes
Andrew Gierth in news.software.nntp (07 Dec 1998 16:45:22 +0000): >>>>>> "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). FYI: My "perfectly valid cancels" were posted (on news.xs4all.nl) _after_ the article had arrived on Elena's newsserver. On purpose, I did not post the cancel-msg before I had retrieved the original article on news.wxs.nl. Do you still think the verification is the culprit? > 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. Jan
Re: Supersedes/cancels not handled correctly
Author: Forrest J. Cavalier III
Date: Wed, 09 Dec 1998 00:00
Date: Wed, 09 Dec 1998 00:00
18 lines
1372 bytes
1372 bytes
At the request of a Usenet RKT subscriber, I looked into this problem.... In email with Andrew, I discussed a code snippet from ARTcancelverify in INN 2.x which handles the HeaderFindDisk() difference. Andrew replied that the code snippet did not exist in INN 2.1 Sure enough. There is a commit message sent to inn-committers on August 9th, which mentions the problem. Since INN 2.1 was released on July 24th, the code appears in newer snapshots. Forrest J. Cavalier III, Mib Software, INN customization and consulting 'Pay-as-you-go' commercial support for INN: Only $64/hour! Searchable hypertext INN docs, FAQ, RFCs, etc: 650+ pages: Free access! http://www.mibsoftware.com/innsup.htm
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