🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Jeff Binkley Tue, 14 Oct 1997 00:00
RE: SOMEONE IS CREATING B
#22393
Author: Jeff Binkley
Date: Tue, 14 Oct 1997 00:00
31 lines
1517 bytes

OT>Michael Hwa  <mhwa@us.oracle.com> wrote:
OT>> Hi, someone creates several bogus news groups on my news server,
OT>> something like (alt.a.a.a.a.a.a.........   and  alt.m.m.m.m.....)
OT>> and the new group's name is extremely long. Is there anyway I can
OT>> stop this? Thanks.

OT>Look at bin/control/newgroup, there are a few lines commented out
OT>which check for excessively long newsgroups names. Simply remove the
OT>comment markers.

OT>olaf
OT>-- 
OT>___        Olaf.Titz@inka.de or @{stud,informatik}.uni-karlsruhe.de
OT>______  o           <URL:http://www.inka.de/~bigred/>
OT>__<IRC:praetorius> /<_              >> Just as long as the wheels
OT>keep on turning round _)>(_)______________ I will live for the groove
OT>'til the sun goes down << ____


Can you be more specific ?  I looked through this file and don't see 
anything obvious for checking long names.

Jeff Binkley
ASA Network Computing

CMPQwk 1.42 9999


Re: SOMEONE IS CREATING B
#22413
Author: Geoff Allen
Date: Wed, 15 Oct 1997 00:00
30 lines
1464 bytes
olaf@bigred.inka.de (Olaf Titz) writes:

| Okay, I'm running 1.6b3, perhaps this feature is new, I don't know.
| About line 40 of bin/control/newgroup:
| 
| #### 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
| fi
| 
| I think this code can go into older software as well.

It's there in 1.5.1. Line 30.

Thanks for pointing it out!

Geoff

-- 
Geoff Allen, geoff@wsu.edu, <http://www.wsu.edu/~geoff/>

Baseball is almost the only orderly thing in a very unorderly world.  If you
get three strikes, even the best lawyer in the world can't get you off.
      -- Bill Veeck

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