Thread View: news.software.nntp
3 messages
3 total messages
Started by Jeff Binkley
Sun, 12 Oct 1997 00:00
Long Newsgroups
Author: Jeff Binkley
Date: Sun, 12 Oct 1997 00:00
Date: Sun, 12 Oct 1997 00:00
22 lines
1177 bytes
1177 bytes
> >> Hi, someone creates several bogus news groups on my news server, >> > something like (alt.a.a.a.a.a.a......... and alt.m.m.m.m.....) >> and the > new group's name is extremely long. Is there anyway I can stop >> this? > Thanks. > > >Don't process alt.* newgroups automatically. > > Yep. The individual in question is some bozo called Jeffery Hunt at > symaptico.ca. He was still sending out this crap as of Friday evening at 9 > o'clock. Apply Chris Caputo's patch posted previously in this group. Can someone repost the patch or point to where it is at ? I seem to have missed it the first time through. Jeff Binkley ASA Network Computing
Re: Long Newsgroups
Author: Michael Hwa
Date: Wed, 15 Oct 1997 00:00
Date: Wed, 15 Oct 1997 00:00
29 lines
1445 bytes
1445 bytes
Jeff Binkley wrote: > > >> Hi, someone creates several bogus news groups on my news server, >> > > something like (alt.a.a.a.a.a.a......... and alt.m.m.m.m.....) >> and the > > new group's name is extremely long. Is there anyway I can stop >> this? > > Thanks. > > > > >Don't process alt.* newgroups automatically. > > > > Yep. The individual in question is some bozo called Jeffery Hunt at > > symaptico.ca. He was still sending out this crap as of Friday evening at 9 > > o'clock. Apply Chris Caputo's patch posted previously in this group. > > Can someone repost the patch or point to where it is at ? I seem to have > missed it the first time through. > > Jeff Binkley > ASA Network Computing vi your control.ctl file and change something like newgroup:*:alt.*:doit=newgroup tonewgroup:*:alt.*:mail This should sove the problem. Thanks. to Joe Sauver. -Michael
Re: Long Newsgroups
Author: bill davidsen
Date: Mon, 20 Oct 1997 00:00
Date: Mon, 20 Oct 1997 00:00
40 lines
2004 bytes
2004 bytes
In article <35.26689.2403@asacomp.com>,
Jeff Binkley <jeff.binkley@asacomp.com> wrote:
| Can someone repost the patch or point to where it is at ? I seem to have
| missed it the first time through.
In the control/newgroup script, you can uncomment and add:
================================================================
#### Simple check for a bork-style group. Uncomment to stop newgroups
#### with names deeper than 7 levels being created.
ELEMS=`echo "$1" | awk -F. '{print NF}'`
if [ $ELEMS -gt 7 ]; then
${WRITELOG} ${LOGFILE} "Too many elements in newsgroup name by
${FROM}" <${ARTICLE}
exit 1
fi
#### simple check for max overall group length - set size to your preference
MaxGroupNameLength=100
NAMELEN=`echo "$1" | wc -c`
if [ $NAMELEN -gt $MaxGroupNameLength ]; then
${WRITELOG} ${LOGFILE} "newsgroup name too long by ${FROM} <
${ARTICLE}
exit 1
fi
================================================================
Note: this is not "instead of" and of the security patches, etc,
just a quick hack which can be applied to a running system.
--
bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc
The net serves four of the five physical senses. You can get sight, and
sound, and to a limited extent tactile feedback. No one would deny that
some portions of the net smell, but I see no signs that taste will ever
come to the net. -me
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads