Article View: news.software.nntp
Article #58138Re: Binary posting update, and test code
From: Joe Greco
Date: Fri, 12 Apr 2002 08:05
Date: Fri, 12 Apr 2002 08:05
69 lines
4120 bytes
4120 bytes
In news.software.nntp article <yladsce8t2.fsf@windlord.stanford.edu>, Russ Allbery <rra@stanford.edu> wrote: :Russell Vincent <rv@bad.openusenet.org.invalid> writes: :> Jeremy <jeremy@exit109.com> wrote: : :>> But INN doesn't do this. It just goes : :>> 340 Ok, recommended ID <message-id> : :>> So you're reduced to scanning the result line for something that looks :>> like a message-id, and then not knowing whether it's going to be forced :>> or not. I like your way, but it can't be counted on. : :> An even better method would be a different response code (like 341), :> but that is likely to break many clients. : :I still think that an extension that allows you to ask the server for a :message ID that you can then use is the best way of dealing with this. That would be fine, if you're willing to put it in INN, I'm willing to put it in Diablo. Got a specific idea? Here's mine: In the case where an admin does rewrites, I've always observed it to be about wanting the site name tag in the Message-ID. For example, if my MID's are always <*@news.sol.net>, I know that cancels must also bear that pattern, otherwise I'm probably getting HipCrime'd. Similarly, I can tell abuse that posts not in that form, and not containing our X-Trace line, didn't originate here. Etc. I'm open to counterexamples or other uses, but what this really means is that I don't care what the LHS is, as long as the RHS is what I want it to be. That opens up sort of a third option for POST. The first is the "Recommended" MID in the 340. The second is "I'm gonna rewrite" MID. The caveat here is that if you say you're going to rewrite, you actually should. But this requires the use of the two-POST workaround I suggested. The new one would be "I may rewrite your MID", with the intention that if it wasn't provided by the server (somehow), that it will get rewritten. So you have the option to ask for some MID's from the server, in advance. Anyways, I don't really see a need for two different options. Here's what I suggest: During the process of a normal POST, a client should examine the 340 result header for a Message-ID. If one is found, it should be used, or the POST data should not submit a Message-ID, and allow the server to insert it. Clients that do not follow this guideline may find their Message-ID's rewritten by the remote server in some cases. During the process of a multipart POST, a client may ask for preassigned Message-ID's through the use of "XGETMIDS <n>" (or whatever). This command will return "n" Message-ID's in list format, which will be accepted by the server during POST commands. Questions: would the POST commands need to be in the same session (i.e. does the server actually retain the list or does it just pattern-match) and if it retains the list, should there be a limit to 'n'? Comments solicited. ... JG
Technical Details
Message-ID:
<3cb6953e$0$80228$39de8f09@news.sol.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!news-feed.riddles.org.uk!newsengine.sol.net!posts0.nwblwi.newsops.execpc.com!posts.news.sol.net!reader0-nwblwi.news.sol.net!not-for-mailReferences:
<1018169279.730816@ok-corral.gunslinger.net> <1018378368.332253@ok-corral.gunslinger.net> <78Ks8.17233$d45.2163412@monolith.news.easynet.net> <yladsce8t2.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <3cb6953e$0$80228$39de8f09@news.sol.net> Subject: Re: Binary posting update, and test code Date: Fri, 12 Apr 2002 08:05:19 +0000 From: jgreco@ns.sol.net (Joe Greco) References: <1018169279.730816@ok-corral.gunslinger.net> <1018378368.332253@ok-corral.gunslinger.net> <78Ks8.17233$d45.2163412@monolith.news.easynet.net> <yladsce8t2.fsf@windlord.stanford.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!news-feed.riddles.org.uk!newsengine.sol.net!posts0.nwblwi.newsops.execpc.com!posts.news.sol.net!reader0-nwblwi.news.sol.net!not-for-mail Newsgroups: news.software.nntp Organization: sol.net Network Services - Milwaukee, WI X-Newsreader: trn 4.0-test75 (Feb 13, 2001) Originator: jgreco@terminus.sol.net (Joe Greco) Lines: 68 NNTP-Posting-Host: dbcf8d91.news.sol.net X-Trace: DXC=90NL2fWEn3gff=dZ;O?;ofH=;MPX8:F;d6iKD3LkWifa<co?YYS=Yjg;TFd_QKPlCciSnTZ@jd:`gI<FBno:X9E` X-Complaints-To: abuse@ns.sol.net