🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
5 messages
5 total messages Started by Philippe Chaleat Thu, 22 Feb 1996 00:00
NEED HELP !! ME cant dbzstore Cross-device link
#5157
Author: Philippe Chaleat
Date: Thu, 22 Feb 1996 00:00
19 lines
1010 bytes
Hello


My innd server has some serious problem. It suddenly crashed with the
following 
syslog message :

        Feb 22 12:33:49 ccpnws innd: ME cant dbzstore Cross-device link

When I launch it again, the same error happens after some minutes...
Any idea ???

Thanks in advance


-- 
Philippe CHALEAT       mailto:chaleat@cc.in2p3.fr

Re: NEED HELP !! ME cant dbzstore Cross-device link
#5169
Author: Dave Barr
Date: Thu, 22 Feb 1996 00:00
30 lines
2012 bytes
From scanning my logs during that time period, I see this:

Feb 22 06:32:04.426 c chi-news.cic.net <312be107.230410169@bogus.id.net> Cancelling <312bdadb.228829862@news.ak.net> <312bdb7e.228994718@news.ak.net> <312bdb7f.229057109@news.ak.net> <312bdb80.229101894@news.ak.net> <312bdb81.229177263@news.ak.net> <312bdb82.229240355@news.ak.net> <312bdb83.229306481@news.ak.net> <312bdb84.229360426@news.ak.net> <312bdf29.229932149@news.ak.net>

Newsgroups: alt.test
Path: news.math.psu.edu!chi-news.cic.net!newsfeed.internetmci.com!in1.uu.net!new
s.ak.net!nowhere
From: phantom@opera.com (Phantom of the Opera)
Subject: cmsg cancel <312bdadb.228829862@news.ak.net>
Sender: Phantom of the Opera
Message-ID: <312be107.230410169@bogus.id.net>
Date: Thu, 22 Feb 1996 03:26:51 GMT
Approved: phantom@opera.com
Control: cancel <312bdadb.228829862@news.ak.net> <312bdb7e.228994718@news.ak.net
> <312bdb7f.229057109@news.ak.net> <312bdb80.229101894@news.ak.net> <312bdb81.22
9177263@news.ak.net> <312bdb82.229240355@news.ak.net> <312bdb83.229306481@news.a
k.net> <312bdb84.229360426@news.ak.net> <312bdf29.229932149@news.ak.net>
NNTP-Posting-Host: phantom.opera.com
Organization: PBS
X-Newsreader: Forte Free Agent 1.0.82
Lines: 1
 

Looks like some bozo tried to cancel multiple articles with one post.
Someone want to fix art.c and post a patch?  Looks like ARTcontrol()
is the place..

--Dave

Re: NEED HELP !! ME cant dbzstore Cross-device link
#5186
Author: Harry Bochner
Date: Thu, 22 Feb 1996 00:00
34 lines
1542 bytes
In article <4gi617$l1e@augusta.math.psu.edu>, barr@math.psu.edu (Dave Barr) writes:
|> Looks like some bozo tried to cancel multiple articles with one post.
|> Someone want to fix art.c and post a patch?  Looks like ARTcontrol()
|> is the place..

Maybe something like this?
Warning: this is based on inn1.4sec2, and is UNTESTED!!!

*** art.c.orig  Thu Mar 18 16:04:21 1993
--- art.c       Thu Feb 22 16:34:24 1996
***************
*** 1190,1196 ****
      if (c == 'c' && EQn(Control, "cancel", 6)) {
	for (p = &Control[6]; ISWHITE(*p); p++)
	    continue;
!	if (*p)
	    ARTcancel(Data, p, FALSE);
	return;
      }
--- 1190,1196 ----
      if (c == 'c' && EQn(Control, "cancel", 6)) {
	for (p = &Control[6]; ISWHITE(*p); p++)
	    continue;
!	if (*p && ARTidok(p))
	    ARTcancel(Data, p, FALSE);
	return;
      }


-- 
Harry Bochner
bochner@das.harvard.edu

INN: fix: handle bogus Message-IDs in cancels
#5219
Author: James Crawford Ralston
Date: Fri, 23 Feb 1996 00:00
41 lines
1883 bytes
In article <4gi617$l1e@augusta.math.psu.edu>,
Dave Barr <barr@math.psu.edu> wrote:
> Looks like some bozo tried to cancel multiple articles with one post.
> Someone want to fix art.c and post a patch?

I've tested this locally, and it appears to work.

There are probably other places where INN's treatment of Message-IDs
is a bit more lax than it should be, but corrupting the history file
is a showstopper...

*** art.c.old	Sat May 21 23:25:42 1994
--- art.c	Fri Feb 23 18:32:39 1996
***************
*** 1191,1196 ****
  	for (p = &Control[6]; ISWHITE(*p); p++)
  	    continue;
! 	if (*p)
  	    ARTcancel(Data, p, FALSE);
  	return;
      }
--- 1191,1202 ----
  	for (p = &Control[6]; ISWHITE(*p); p++)
  	    continue;
! 	if (*p) {
! 	    if (!ARTidok(p)) {
! 		syslog(L_NOTICE, "%s bad Message-ID \"%s\" %s",
! 		       LogName, Control, Data->Name);
! 		return;
! 	    }
  	    ARTcancel(Data, p, FALSE);
+ 	}
  	return;
      }

-- 
James Crawford Ralston \ Newsmaster for the University of Pittsburgh [CIS/S&N]
news+@pitt.edu \ http://www.pitt.edu/~news/ \ +1 412 624 2717 (voice)
+1 412 624 8888 (Problem Reporting) \ +1 412 624 9356 (User Consulting)

INN: fix: handle bogus Message-IDs in cancel/supersedes
#5241
Author: James Crawford Ralston
Date: Sat, 24 Feb 1996 00:00
59 lines
2557 bytes
In article <4gi617$l1e@augusta.math.psu.edu>,
Dave Barr <barr@math.psu.edu> wrote:
> Looks like some bozo tried to cancel multiple articles with one post.
> Someone want to fix art.c and post a patch?

I've tested the following patch, and it appears to work.

There are probably other places where INN's treatment of Message-IDs
is a bit more lax than it should be, but corrupting the history file
is a showstopper.

Note that this patch *doesn't* allow INN to handle multiple
Message-IDs in the Supersedes header.  This is arguably broken.  But
then again, INN couldn't handle multiple Message-IDs in the Supersedes
header before, either, and making it do so isn't trivial.

*** art.c.old	Sat May 21 23:25:42 1994
--- art.c	Fri Feb 23 19:52:18 1996
***************
*** 1191,1196 ****
  	for (p = &Control[6]; ISWHITE(*p); p++)
  	    continue;
! 	if (*p)
  	    ARTcancel(Data, p, FALSE);
  	return;
      }
--- 1191,1202 ----
  	for (p = &Control[6]; ISWHITE(*p); p++)
  	    continue;
! 	if (*p) {
! 	    if (!ARTidok(p)) {
! 		syslog(L_NOTICE, "%s bad Message-ID \"%s\" %s",
! 		       LogName, Control, Data->Name);
! 		return;
! 	    }
  	    ARTcancel(Data, p, FALSE);
+ 	}
  	return;
      }
***************
*** 2076,2079 ****
--- 2082,2091 ----
  	p = HDR(_supersedes);
  	if (*p)
+ 	  /* XXX  This does not handle Supersedes headers with
+            * multiple Message-IDs.  It probably should. */
+ 	  if (!ARTidok(p)) 
+ 	    syslog(L_NOTICE, "%s bad Supersedes Message-ID \"%s\" %s",
+ 		   LogName, p, Data.Name);
+ 	  else
  	    ARTcancel(&Data, p, FALSE);
      }

-- 
James Crawford Ralston \ Newsmaster for the University of Pittsburgh [CIS/S&N]
news+@pitt.edu \ http://www.pitt.edu/~news/ \ +1 412 624 2717 (voice)
+1 412 624 8888 (Problem Reporting) \ +1 412 624 9356 (User Consulting)

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