ANU News Patch Patch ID: 920314_newscontrol.c!bailey@genetics.upenn.edu Date: 14-Mar-1993 Author: Charles Bailey bailey@genetics.upenn.edu News Version: 6.1beta6 News Files: NewsControl.C Description: Bounces all control messages with !redpoll!ARMM in the Path: header, since this has been the source of a number of forged cancel messages. Based on a suggestion by Frederick Roeber (roeber@vaxcrna.cern.ch). *** newscontrol.c --- newscontrol_new.c ************** *** 53,55 ** **-- **/ --- 53,59 ----- + ** V6.1b6 14-Mar-1993 Charles Bailey bailey@genetics.upenn.edu + ** - Added hack to bounce control messages from !redpoll!ARMM, + ** due to an epidemic of forged cancels + ** Based on suggestion by Frederick Roeber (roeber@vaxcrna.cern.ch) ** **-- **/ ************** *** 734,739 int switches; { char *id, *ide, control[132], net_sender[132], *mail_sender; mail_sender = argv[SENDER]; if (!mail_sender || !*mail_sender) mail_sender = argv[FROM]; --- 737,746 ----- int switches; { char *id, *ide, control[132], net_sender[132], *mail_sender; + + /* Hack for forged cancels from !redpoll!ARMM */ + if (strstr(argv[PATH],"!redpoll!ARMM")) + return(NONAPPROVEDCONTROL); mail_sender = argv[SENDER]; if (!mail_sender || !*mail_sender) mail_sender = argv[FROM]; *** patchlist.h;-1 --- patchlist.h ************** *** 1,1 =+=+= End =+=+= --- 1,2 ----- + 920314_newscontrol.c!bailey@genetics.upenn.edu =+=+= End =+=+=