🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #5218

Re: cant dbzstore Cross-device link?

#5218
From: Chris Lewis
Date: Fri, 23 Feb 1996 00:00
61 lines
2915 bytes
>-----BEGIN PGP SIGNED MESSAGE-----
>
>Mike O'Connor (mjo@dojo.mi.org) wrote:
>: >Newsgroups: alt.test
>: >Path: trellis.wwnet.com!news.inc.net!imci5!imci4!newsfeed.internetmci.com!in1.uu.net!news.ak.net!nowhere
>: >From: phantom@opera.com (Phantom of the Opera)
>: >Subject: cmsg cancel <312bdb7e.228994718@news.ak.net>
>: >Sender: Phantom of the Opera
>: >Message-ID: <312be2de.230881309@news.ak.net>
>: >Date: Thu, 22 Feb 1996 03:29:13 GMT
>: >Approved: phantom@opera.com
>: >Control: cancel <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>
>: >NNTP-Posting-Host: phantom.opera.com
>: >Organization: PBS
>: >X-Newsreader: Forte Free Agent 1.0.82
>
>  Yeah, you've got it. It happened to me today too.
>There was a strange entry at the end of my history file:
><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.ne
>t> <312bdf29.229932149@news.ak.net> 825016079~-~824959753

This was a bogus cancel entered into an open NNTP port.

Here is an emergency patch that I think _should_ work:

In art.c, near the beginning, I inserted the code marked with "|":

STATIC void
ARTcontrol(Data, Control)
    ARTDATA             *Data;
    char                *Control;
{
    static char         CTLBIN[] = _PATH_CONTROLPROGS;
    register char       *p;
    char                buff[SMBUF];
    char                *av[6];
    struct stat         Sb;
    register char       c;

    /* See if it's a cancel message. */
    c = *Control;
    if (c == 'c' && EQn(Control, "cancel", 6)) {
        for (p = &Control[6]; ISWHITE(*p); p++)
            continue;
|        ( register char *q = p;
|            while(*q && !ISWHITE(*q)) q++;
|            if (*q)
|                *q = '\0';
|        }
        if (*p)
            ARTcancel(Data, p, FALSE);
        return;
    }

Now I have to somehow get it out of the history files....



Technical Details
Message-ID: <4gkvqr$fu2@bcarh8ab.bnr.ca>
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: <960222115449.AA23195@dojo> <960222130424.AA24676@dojo> <4gii8n$15r@news.eunet.cz>

Show Full Headers
Complete Article Headers
Message-ID: <4gkvqr$fu2@bcarh8ab.bnr.ca>
Subject: Re: cant dbzstore Cross-device link?
Date: Fri, 23 Feb 1996 00:00:00 +0000
From: clewis@ferret.ocunix.on.ca (Chris Lewis)
References: <960222115449.AA23195@dojo> <960222130424.AA24676@dojo> <4gii8n$15r@news.eunet.cz>
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: 140716697
Distribution: inet
Organization: Despams R Us
Newsgroups: news.software.nntp
Originator: clewis@bcarh6bc