Article View: news.software.nntp
Article #8835Re: patch to innd to screen wide crossposts
From: Shane Castle
Date: Thu, 27 Jun 1996 00:00
Date: Thu, 27 Jun 1996 00:00
40 lines
2256 bytes
2256 bytes
pett@cgl.ucsf.edu (Eric Pettersen) wrote:
>pett@cgl.ucsf.edu (Eric Pettersen) wrote:
>> Using an idea suggested to me by Jason Fesler in e-mail, the patch would
>> then be:
>
>Post in haste, repent at leisure. The comparison test in the patch is
>bass ackwards. They should be !strstr(... instead of strstr(... . The
>corrected patch:
[patch deleted]
I installed this patch, finally, in a desperate attempt to stem the
tide of insane crossposting, and found that some cancel messages were
caught by it. If you want to allow crossposted cancel messages (and
other control messages) through, make this change:
Change:
OverCrossposted = Data.Groupcount > MAX_CROSSPOST
&& !strstr(".announce",HDR(_newsgroups))
&& !strstr(".answers",HDR(_newsgroups));
To:
OverCrossposted = Data.Groupcount > MAX_CROSSPOST
&& !strstr(".announce",HDR(_newsgroups))
&& !strstr(".answers",HDR(_newsgroups))
&& (ControlHeader == -1);
I set MAX_CROSSPOSTS to 20 for my server. I also added code to
scanlogs to report on crossposts refused. I can post those changes if
anyone wants them.
BTW, Eric, you need to lose the "Distribution: inet" from your postings
to news.software.nntp. Modify your distrib.pats file.
--
Shane Castle | "Perfection, then, is finally achieved, not
Boulder County Info Svcs | when there is nothing left to add, but when
Boulder CO USA | there is nothing left to take away."
| - Antoine de Saint-Exup�ry
Technical Details
Message-ID:
<4quqm8$1tdg@bcx01.boco.co.gov>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-mailReferences:
<4p7fs0$1ci@cgl.ucsf.edu> <4p4s4t$oa2@cgl.ucsf.edu> <4p5fuu$ir0@augusta.math.psu.edu> <4p78rg$pno@cgl.ucsf.edu>Show Full Headers
Complete Article Headers
Message-ID: <4quqm8$1tdg@bcx01.boco.co.gov> Subject: Re: patch to innd to screen wide crossposts Date: Thu, 27 Jun 1996 00:00:00 +0000 From: swcxt@boco.co.gov (Shane Castle) References: <4p7fs0$1ci@cgl.ucsf.edu> <4p4s4t$oa2@cgl.ucsf.edu> <4p5fuu$ir0@augusta.math.psu.edu> <4p78rg$pno@cgl.ucsf.edu> 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: 162435212 Organization: Boulder County Tech Svcs, Boulder CO USA Reply-to: swcxt@boco.co.gov (Shane Castle) Newsgroups: news.software.nntp