Article View: news.software.nntp
Article #44323Re: RFC 1036 Revision: General
From: Joe Greco
Date: Tue, 22 Feb 2000 00:00
Date: Tue, 22 Feb 2000 00:00
73 lines
3674 bytes
3674 bytes
In news.software.nntp article <20000221223546.221$E4@newsreader.com>, curt@kcwc.com (Curt Welch) wrote: :How about: : :>>> POST :<<< 340 <123@site.com> :>>> . :<<< 441 Empty article : :Followed by: : :>>> POST :<<< 340 <124@site.com> :>>> Message-ID: <123@site.com> :>>> bla bla bla :>>> :>>> . :<<< 240 <123@site.com> : :A bit crude, and I guess unless it was written into the spec, you :may never know if it would actually work (i.e using the id returned :by one post as the Message-ID in another.). It would be all right for me. It would also allow an optimization where something that needs to assign a Message-ID could do >>> POST <<< 340 <1@isp.com> (client: process...process....process....) >>> article >>> bla bla bla >>> . <<< 240 <1@isp.com> But this would be a client-side optimization. Maybe this should in fact be the "right way" to do it...? I don't really know enough cases where a client _needs_ the data to know if that's sufficient. But _that_ seems like an elegant way to do it, and a client could take an exchange such as >>> POST <<< 340 Ok to mean that it is acceptable to generate its own Message-ID (which must then be honored by the server), or that the server may supply one if none is specified in the POSTed data. This is real nice because it gives a nonambiguous indication to the client about what _will_ happen. Does that sound like a workable concept? It covers all the permutations, I think. I really _do_ want to retain control over generated Message-ID's. Among other things, I do front-end sanity checks to prevent Hipcrime-style cancel and supersedes attacks, but I have to deal with the very legitimate case where a user posts <1@isp.com> and then issues a cancel immediately, but the cancel is posted via a different reader - meaning you can't just keep a simple database. One of the uses I have for the locally-generated Message-ID's is that I can then just reject a message containing a cancel or supersedes for something not containing the generated MID tail. I do some other sanity checking, too, like monitoring all of Usenet for my MID tails, it helps to spot <cancel.XXXX@isp.com> if you have that consistent MID tail and you know the article didn't come from you. Think: automatic notification of spam cancel activity against your users. :-) You _can_ work around all of this without rewriting, but it becomes rather more challenging and annoying, and in the multiple years I've been doing the rewrite thing, it's not been a problem. All of that said, I do not believe that the beginning sysadmin wants to do MID rewriting, but I also feel that there are valid reasons to want to do so. ... JG
Technical Details
Message-ID:
<38b235ce$0$34451@news.execpc.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.misc.mbox.zip!not-for-mailReferences:
<slrn8an4h9.vch.grobe+news@worf.netins.net> <951164470.927553@news.netscum.dk> <38b1e812$0$1400@news.execpc.com> <20000221223546.221$E4@newsreader.com>Show Full Headers
Complete Article Headers
Message-ID: <38b235ce$0$34451@news.execpc.com> Subject: Re: RFC 1036 Revision: General Date: Tue, 22 Feb 2000 00:00:00 +0000 From: jgreco@ns.sol.net (Joe Greco) References: <slrn8an4h9.vch.grobe+news@worf.netins.net> <951164470.927553@news.netscum.dk> <38b1e812$0$1400@news.execpc.com> <20000221223546.221$E4@newsreader.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.misc.mbox.zip!not-for-mail X-Deja-AN: 588288055 Sender: jgreco@earth.execpc.com X-Trace: 0RW8S?BXNaRI5[332>a9Y[bfNiaEHUgJWRYcgIRLSUE]cQaX<ibiD0^K>@i71aNG@X]8jU0`8J>^WGhaMU<hZ^NWF4FfQ?Mh6U] Organization: sol.net Network Services - Milwaukee, WI Newsgroups: news.admin.misc,news.software.nntp,news.software.readers X-Complaints-To: abuse@execpc.com