🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #22413

Re: SOMEONE IS CREATING B

#22413
From: 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

Technical Details
Message-ID: <u3pvp6q5eg.fsf@cyclone.it.wsu.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
References: <61t9tc$69a$1@bigred.inka.de> <35.26738.2403@asacomp.com> <622155$36n$1@bigred.inka.de>

Show Full Headers
Complete Article Headers
Message-ID: <u3pvp6q5eg.fsf@cyclone.it.wsu.edu>
Subject: Re: SOMEONE IS CREATING B
Date: Wed, 15 Oct 1997 00:00:00 +0000
From: Geoff Allen <geoff@wsu.edu>
References: <61t9tc$69a$1@bigred.inka.de> <35.26738.2403@asacomp.com> <622155$36n$1@bigred.inka.de>
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: 280930366
Organization: Professional Unix Geek, Washington State University
Newsgroups: news.software.nntp