From dave@kachina.jetcafe.org Mon Jan 29 16:05:50 EST 1996
Article: 44833 of news.admin.net-abuse.misc
Path: news.math.psu.edu!news.iag.net!newsfeed.kdcol.net!xmission!news.netimages.com!news.cais.net!news.supernet.net!nntp.cntfl.com!symnet!gatech!usenet.eel.ufl.edu!nntp1.jpl.nasa.gov!avalon.softaware.com!usenet
From: dave@kachina.jetcafe.org (Dave Hayes)
Newsgroups: news.admin.net-abuse.misc,news.admin.censorship
Subject: Re: The Slippery Slope and Cancels (Contains Patches)
Date: 28 Jan 1996 04:18:51 -0800
Organization: JetCafe - Altadena CA
Lines: 110
Message-ID: <4efpjb$6tm@kachina.jetcafe.org>
References: <4dgjrd$6av@hp01.redwood.nl> <4djc0p$fff@bcarh8ab.bnr.ca>   <kfilanDLCKLB.FIB@netcom.com> <4dk7cl$g0h@mercury.near.net>   <4e7t1c$ouq@kachina.jetcafe.org> <4e8tcu$i3v@mercury.near.net>
NNTP-Posting-Host: kachina.jetcafe.org
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Xref: news.math.psu.edu news.admin.net-abuse.misc:44833 news.admin.censorship:3683

nmehl@bbnplanet.com (Nathan J. Mehl) writes:
>[Courtesy copy emailed - Dave!  You walk among us again!]

It helps to take a break now and then. 8-)

>BTW, a while ago you told us that the news server you administered
>at JPL had been tweaked to not accept any cancels at all.  Would
>you be interested in putting together an actual set of context-diff
>patches for that capability and offering it to the net?  (Or have
>you already and I missed it?)

Yes, I have diffs via inn.unoff2 and inn.unoff3. These patches
completely eliminate cancel propagation as a side effect of 
ignoring them as soon as they can be determined. 

I keep asking Dave Barr to incorporate them into the unoff releases,
but he appears too chicken to do it. 8-)

I also have tamer patches that just disable their effect. Those
have already been posted to news.admin.technical. I can repost
them again if people like.

At the bottom are patches for INN (1.4.unoff3). They may just work
for 2, I haven't checked. Apply them in the innd directory. 

>>"Mulla, your donkey has disappeared!"
>>"Thank goodness I wasn't on it at the time, otherwise I would have 
>>disappeared too!"
>What, no parable of Nasrudin? :)

Parables are something of which I never speak. 

*** art.c.orig	Sun Dec 24 17:05:44 1995
--- art.c	Thu Jan 25 00:53:10 1996
***************
*** 1760,1765 ****
--- 1760,1766 ----
      STRING		error;
      char		ControlWord[SMBUF];
      int			ControlHeader;
+     BOOL                LikeCancel;
  
      /* Preliminary clean-ups. */
      article = &cp->In;
***************
*** 1858,1870 ****
  	continue;
      Data.Groupcount = i;
  
!     if (HDR(_control)[0] != '\0')
  	ControlHeader = _control;
!     else if (HDR(_alsocontrol)[0] != '\0')
  	ControlHeader = _alsocontrol;
!     else {
  	ControlHeader = -1;
  	LikeNewgroup = FALSE;
      }
      if (ControlHeader >= 0) {
  	/* Nip off the first word into lowercase. */
--- 1859,1872 ----
  	continue;
      Data.Groupcount = i;
  
!     if (HDR(_control)[0] != '\0') {
  	ControlHeader = _control;
!     } else if (HDR(_alsocontrol)[0] != '\0') {
  	ControlHeader = _alsocontrol;
!     } else {
  	ControlHeader = -1;
  	LikeNewgroup = FALSE;
+         LikeCancel = FALSE;
      }
      if (ControlHeader >= 0) {
  	/* Nip off the first word into lowercase. */
***************
*** 1876,1881 ****
--- 1878,1884 ----
  	*p = '\0';
  	LikeNewgroup = EQ(ControlWord, "newgroup")
  		    || EQ(ControlWord, "rmgroup");
+         LikeCancel   = EQ(ControlWord, "cancel");
  
  	/* Control messages to "foo.ctl" are treated as if they were
  	 * posted to "foo".  I should probably apologize for all the
***************
*** 1885,1890 ****
--- 1888,1903 ----
  	     && *(p += j) == '.'
  	     && p[1] == 'c' && p[2] == 't' && p[3] == 'l')
  		*p = '\0';
+     }
+ 
+     /* Dave's Extension...We aren't transmitting cancel messages now. */
+     p = HDR(_supersedes);
+     if (*p) 
+       LikeCancel = TRUE;
+     if (LikeCancel) {
+       (void)sprintf(buff, "%d This site completely ignores cancel messages.",NNTP_REJECTIT_VAL);
+       ARTreject(buff,article);
+       return(buff);
      }
  
      /* Loop over the newsgroups, see which ones we want, and get the
-- 
         >>> Dave Hayes - Altadena CA, USA - dave@jetcafe.org <<<

A king who feared wasps once decreed that they would be abolished.

As it happened, they did him no harm. But he was eventually stung to death
by scorpions. 


