🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #32652

pissing in the usenet pool and X-PGP-Sig

#32652
From: Jon Lewis
Date: Sun, 01 Nov 1998 00:00
92 lines
4258 bytes
Recently, I noticed the floods of newgroup/rmgroup control messages and so
I finally got around to setting up pgpverify.  I'm somewhat puzzled as to
why it doesn't block all bogus newgroup messages.  I've got it installed
correctly, AFAICT, and the examples work:

obi-wan:~$ PROG=newgroup
obi-wan:~$ set "--" group-admin@isc.org "" /tmp/sample.control
obi-wan:~$ (. ./parsecontrol "$@"; echo $ACTION)
doit
[following the docs, edit sample.control so the PGP sig will fail, and]
obi-wan:~$ (. ./parsecontrol "$@"; echo $ACTION)
drop

As soon as I configured pgpverify, I noticed huge amounts of syslog
messages complaining of:

Nov  1 03:27:03 obi-wan syslog[28796]: pgpverify: X-PGP-Sig not in
expected format processing <UnHmM_2nK.i4kC@isc.org>
Nov  1 03:27:11 obi-wan syslog[28885]: pgpverify: X-PGP-Sig not in
expected format processing <ysfOppM_X.oufo@isc.org>
Nov  1 03:27:12 obi-wan syslog[28912]: pgpverify: X-PGP-Sig not in
expected format processing <dvvcMgDBW.lpSD@isc.org>

as well as lots of email going to the usenet account suggesting I manually
create lots of bogus groups.

Turning off syslog in pgpverify was easy, and seems the way to go.  But I
noticed that at least some bogus messages are still being processed and
groups created even though they fail pgpverify:

obi-wan:~$ set "--" group-admin@isc.org "" /tmp/bogus4
obi-wan:~$ (. ./parsecontrol "$@"; echo $ACTION)
pgpverify: X-PGP-Sig not in expected format
... while processing <_l6VuIw9u.mh3l@isc.org>
drop

---
obi-wan:~$ cat /tmp/bogus4
From: group-admin@isc.org (David C Lawrence)
Sender: group-admin@isc.org (David C Lawrence)
Organization: The Cabal
Newsgroups: news.groups,news.admin.skiing.announce
Subject: cmsg newgroup news.admin.skiing.announce
Control: newgroup news.admin.skiing.announce
Approved: newgroups-request@isc.org
Message-ID: <_l6VuIw9u.mh3l@isc.org>
Date: Sat, 31 Oct 1998 08:08:48 -0000
X-Info: ftp://ftp.isc.org/pub/pgpcontrol/README.html
        ftp://ftp.isc.org/pub/pgpcontrol/README
X-PGP-Sig: 2.6.2 Subject,Control,Message-ID,Date,From,Sender
        S6mBgfckcVKD1OiqxoT9wcN8Vm3a4_Tr3nMDrP80f07qkhfKuALYGriwIHHoqdZP
        Yb4o5heyRCxZEg6Uzm6hAvvFg2291ijjxbZsUv0LbI7fHTMkQ9VrhHPVt0QT8_F8
        W0EsXT65EGHTPUpJY_atWgUwg8DXYit_77g_OP4RM05tucoJxtsW3iW_bPwEZ36d
        CzgO2gfbM5c=
        =8aSp
X-No-Archive: Yes
NNTP-Posting-Host: cgowave-76-43.cgocable.net
X-Trace: 31 Oct 1998 20:36:48 -0500, cgowave-76-43.cgocable.net
Lines: 8
Path:
news.fdt.net!news-xfer.atlantic.net!spamkiller1.cwix.com!news.cwix.com!newsfeed.
cwix.com!192.26.210.166!sunqbc.risq.qc.ca!wesley.videotron.net!news.ott.rns.net!
news.rns.net!news.cgocable.net!cgowave-76-43.cgocable.net


news.admin.skiing.announce is an unmoderated newsgroup which passed its
vote for creation by 318:6 as reported in news.announce.newgroups on 31
Oct 1998.

For your newsgroups file:
news.admin.skiing.announce      FAQ, competition results, automated snow
reports.

Meow!
David C Lawrence

---

control.ctl has:
newgroup:group-admin@isc.org:comp.*|misc.*|news.*|rec.*|sci.*|soc.*|talk.*|human
ities.*:verify-news.announce.newgroups

so why did my server just create news.admin.skiing.announce?

------------------------------------------------------------------
 Jon Lewis <jlewis@fdt.net>  |  Unsolicited commercial e-mail will
 Network Administrator       |  be proof-read for $199/message.
 Florida Digital Turnpike    |
______http://inorganic5.fdt.net/~jlewis/pgp for PGP public key____


Technical Details
Message-ID: <Pine.LNX.4.05.9811011414320.23846-100000@yoda.fdt.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: <Pine.LNX.4.05.9811011414320.23846-100000@yoda.fdt.net>
Subject: pissing in the usenet pool and X-PGP-Sig
Date: Sun, 01 Nov 1998 00:00:00 +0000
From: Jon Lewis <jlewis@gnv.fdt.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: 407315497
Distribution: inet
X-To-Stop-Spam-See: http://inorganic5.fdt.net/~jlewis/spam.html
X-Sender: jlewis@yoda.fdt.net
Content-Type: TEXT/PLAIN; charset=US-ASCII
Organization: Florida Digital Turnpike
Mime-Version: 1.0
Newsgroups: news.software.nntp