🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #38444

Re: User generated headers (was Re: What good, Altopia?)

#38444
From: Russ Allbery
Date: Tue, 06 Jul 1999 00:00
67 lines
3843 bytes
In news.software.nntp, Becky Kearns <BeckyKearns@hotmail.com> writes:

> I didn't go into path preloading at the time, but let me ask you a
> question about this now.  Does some of the current server software make
> forwarding decisions based on the existing path?

Yes, some does.

> I stumbled across something which suggests it might not forward to a
> site which the article appears to have already traveled through.  As I
> *have* seen valid news server names preloaded, that little blurb bothers
> me.

Part of the purpose behind preloading the Path is to try to prevent the
article from getting to those servers.

>> Because it's not safe to rewrite the message ID; it can produce loops.
>> So the only alternatives are to accept the user-supplied message ID or
>> reject the article because of it, and quite a bit of software generates
>> message IDs by default and is used by people who would be very confused
>> by the rejections.

> I'm talking about injection only.  Technically speaking, would there be
> any problems overwriting then?

Yes.  Because....

> Is POST used for some server to server transfers?

Yes.

> OK.  Based on experience I know not to rely on the Message-ID containing
> a valid domain, and I think I've seen the domain taken from the From
> field.

That's what many news readers do when generating their own message IDs.

> Hard to say whether that was client or server though huh.

Hard to say, but I'll lay odds it was the client.

> Anyway, I find it interesting that RFC's 822 and 1036 declare Message-ID
> to be:

>     <unique@full_domain_name>

The RFC semantics for message IDs have behind them lots and lots of really
weird history, edge cases, and random pain.  Hopefully we'll get a decent
informational RFC about how to form message IDs out the door at some
point.

Mail and news both require that whatever agent generates the message ID
use a domain name that it has some sort of authority over, to reduce the
risk of collisions.  But there is no way for a server to check this; it's
the responsibility of the agent generating the message ID.

It's perfectly legitimate for me to post via a Stanford server with
message IDs at eyrie.org; I own the eyrie.org domain, and therefore can
use it in my message IDs because I can administratively ensure uniqueness,
which is all the RFC cares about.  There's no way for the Stanford server
to know that or verify it, and it pretty much has to trust the client
since there aren't any good alternatives.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Technical Details
Message-ID: <yld7y6qdq7.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!not-for-mail
References: <01bec37e$f31cd040$4600a8c0@gargoyle> <877lokx6tm.fsf@erlenstar.demon.co.uk> <7lglue$4s1$1@autumn.news.rcn.net> <7loach$m29$1@xivic.ruhr.de> <joshkramer-0407991851370001@phf-pa21-51.ix.netcom.com> <7loqpv$3m5e$1@newssvr04-int.news.prodigy.com> <3780054e@news1.us.ibm.net> <7lp2oe$rdk$1@newssvr04-int.news.prodigy.com> <37804892@news1.us.ibm.net> <7lpmu3$466e$1@newssvr04-int.news.prodigy.com> <3780f1ad@news1.us.ibm.net> <7lrl9u$5c3$1@autumn.news.rcn.net> <joshkramer-0607990102420001@localhost9.localhost> <7ls6l6$8bk$1@autumn.news.rcn.net> <yl7loes38b.fsf@windlord.stanford.edu> <7lskdo$p30$1@autumn.news.rcn.net>

Show Full Headers
Complete Article Headers
Message-ID: <yld7y6qdq7.fsf@windlord.stanford.edu>
Subject: Re: User generated headers (was Re: What good, Altopia?)
Date: Tue, 06 Jul 1999 00:00:00 +0000
From: Russ Allbery <rra@stanford.edu>
References: <01bec37e$f31cd040$4600a8c0@gargoyle> <877lokx6tm.fsf@erlenstar.demon.co.uk> <7lglue$4s1$1@autumn.news.rcn.net> <7loach$m29$1@xivic.ruhr.de> <joshkramer-0407991851370001@phf-pa21-51.ix.netcom.com> <7loqpv$3m5e$1@newssvr04-int.news.prodigy.com> <3780054e@news1.us.ibm.net> <7lp2oe$rdk$1@newssvr04-int.news.prodigy.com> <37804892@news1.us.ibm.net> <7lpmu3$466e$1@newssvr04-int.news.prodigy.com> <3780f1ad@news1.us.ibm.net> <7lrl9u$5c3$1@autumn.news.rcn.net> <joshkramer-0607990102420001@localhost9.localhost> <7ls6l6$8bk$1@autumn.news.rcn.net> <yl7loes38b.fsf@windlord.stanford.edu> <7lskdo$p30$1@autumn.news.rcn.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: 497706102
Organization: The Eyrie
Newsgroups: news.admin.net-abuse.usenet,news.software.nntp