🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #27330

Little Cleanfeed 0.95.4 buglet...

#27330
From: Andrew
Date: Tue, 31 Mar 1998 00:00
21 lines
1346 bytes
I noticed a wee problem with Cleanfeed 0.95.4 in the 2.0.x bot code,
which is as follows:
      ($hdr{"X-Newsreader"} =~ /2\.0\.(?:0 A|10 A|\d\d)/) &&
          (return reject ($verbose ? "2.0.x Bot" : "Bot signature"));

Unfortunately, that matches things like:
X-Newsreader: TIN [UNIX 1.3 unoff BETA 970417; i586 Linux 2.0.33]

A more proper way to run the 2.0.x bot check is like so:
      ($hdr{"X-Newsreader"} =~ /^2\.0\.(?:0 A|10 A|\d\d)$/) &&
          (return reject ($verbose ? "2.0.x Bot" : "Bot signature"));

Come on, Jeremy.  Stop making me do your job.  :-P

-- 
Andrew O. Smith - <aos@insync.net> | "Please allow me to present
Sysadmin, Insync Internet Services |  you with a clue."
Houston, Texas, USA                |          --The Afghan Whigs

Technical Details
Message-ID: <6frt69$1q5$1@synthemesc.insync.net>
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

Show Full Headers
Complete Article Headers
Message-ID: <6frt69$1q5$1@synthemesc.insync.net>
Subject: Little Cleanfeed 0.95.4 buglet...
Date: Tue, 31 Mar 1998 00:00:00 +0000
From: Andrew <aos@vellocet.insync.net>
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: 339631554
Organization: Insync Internet Services
User-Agent: tin/pre-1.4-980202 (UNIX) (SunOS/5.6 (sun4u))
Newsgroups: news.software.nntp