Article View: news.software.nntp
Article #26946Re: INN's nnrpd, and Diablo, allowing bogus message-ids
From: Joe Greco
Date: Tue, 17 Mar 1998 00:00
Date: Tue, 17 Mar 1998 00:00
29 lines
1919 bytes
1919 bytes
In news.software.nntp article <EpxJKG.CKn@spcuna.spc.edu>, Terry Kennedy <terry@spcunb.spc.edu> wrote: :Andrew Gierth <andrew@erlenstar.demon.co.uk> writes: :> Having just noticed a bunch of articles go past with spaces in the :> message-ids (this is on Diablo, which isn't sufficiently strict about :> checking these things), I've just noticed that INN's nnrpd makes no :> attempt to enforce the sanity of client-supplied message-ids. :> :> Is this a known issue, or should I post some patches? : : I noticed it when the first round of forged posts from PacBell showed up. :I sent the following Diablo patch to Matt, and he said he'd include it in :the next production Diablo release. : /* : * MsgId() - the message id must begin with a '<', end with a '>', :! * and not contain any embedded '<', TAB, or space. : */ ... and must contain an @, and only one @, and it must not be next to an < or an >. Preferably, someone should go look at the RFC and code a function to determine the validity of a Message-ID... I have such a function, but didn't see if it enforces all RFC requirements when I wrote it. ... JG
Technical Details
Message-ID:
<6eng5g$iff@newsops.execpc.com>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-mailReferences:
<87ra42admq.fsf@erlenstar.demon.co.uk> <EpxJKG.CKn@spcuna.spc.edu>Show Full Headers
Complete Article Headers
Message-ID: <6eng5g$iff@newsops.execpc.com> Subject: Re: INN's nnrpd, and Diablo, allowing bogus message-ids Date: Tue, 17 Mar 1998 00:00:00 +0000 From: jgreco@ns.sol.net (Joe Greco) References: <87ra42admq.fsf@erlenstar.demon.co.uk> <EpxJKG.CKn@spcuna.spc.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 X-Deja-AN: 335123086 Sender: jgreco@earth.execpc.com X-Complaints-To: abuse@execpc.com X-Trace: gotham-globe.newsops.execpc.com 890192880 18927 (None) 169.207.16.1 Organization: sol.net Network Services - Milwaukee, WI Newsgroups: news.software.nntp