Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1a 7/7/83; site rlgvax.UUCP Path: utzoo!linus!philabs!seismo!rlgvax!ra From: ra@rlgvax.UUCP (Rick Adams) Newsgroups: net.news Subject: Re: Flood of duplicate articles Message-ID: <1311@rlgvax.UUCP> Date: Thu, 20-Oct-83 22:07:04 EDT Article-I.D.: rlgvax.1311 Posted: Thu Oct 20 22:07:04 1983 Date-Received: Mon, 24-Oct-83 21:22:45 EDT References: <202@bbncca.ARPA> Organization: CCI Office Systems Group, Reston, VA Lines: 41 The following change to inews.c make it reject any articles that were submitted more than your default expiration time ago. (In most cases that is 2 weeks). It works fine. I am a little leary of doing this, but the biggest time delay I could find was 6 days between submission and receipt and that's a lot less than the 14 day cutoff I am running with. If you choose to install this, I would advise keeping an eye on your logfile out of pure paranoia. (But we have had no problems with it so far.) Rick Adams CCI Office Systems Group {seismo|allegra|ihnp4|mcnc}!rlgvax!ra *** inews.c Thu Oct 20 19:01:49 1983 --- inews.c.old Thu Oct 20 21:38:24 1983 *************** *** 331,341 log("Duplicate article %s rejected", header.ident); xxit(0); } - if (time(0L) > (cgtdate(header.subdate) + DFLTEXP) ){ - fprintf(stderr,"Article %s too old, rejected\n", header.ident); - log("Article %s too old, rejected\n", header.ident); - xxit(0); - } } ngcat(header.nbuf); --- 331,336 ----- log("Duplicate article %s rejected", header.ident); xxit(0); } } ngcat(header.nbuf);