🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #52417

Re: Replaces

#52417
From: Curt Welch
Date: Sun, 20 May 2001 02:15
590 lines
28874 bytes
uwe@ohse.de (Uwe Ohse) wrote:
> Curt Welch wrote:
>
> >The whole concept behind the Replaces: header is absurd to me.  It's a
> >complete waste of time an energy.  It's a complex fix for a non-problem
> >which is very likely to create far more problems than it fixes.
>
> i can't see this as a non-problem. I'm tired of seeing unchanged FAQs
> every two weeks, and daily pointers to FAQs every day. Killfiles aren't
> a solution as one doesn't see any updates ...

Have you considered the posibility that the fault lies with the people
posting those FAQs?  If you are tried of seeing them, then they are
probably being posted too often.

If you want to see the updates, then the people posting the FAQ should be
posting update messages.  That is, messages which simply show you what
changed. When done correctly, all you have to do is Killfile the FAQs and
not the updates.  And the updates should have URLs for the full FAQ so
you can quickly check that out if needed.

Daily postings of pointers to FAQs are never valid.  That's as bad as spam.

A more subtle way that works well is for some of the regulars to add the
FAQ URL into their sig when posting to the group.

> >After creating a nice "supersede" function in my newsreader which makes
> >it easy to update and repost (with a Supersede: header) a revised
> >version of an article, I've now come to the conclusion it should never
> >be used on Usenet.
>
> And? What's your point? There's more than usenet.

No there isn't.  Usenet is too big and too important to break just because
someone want's a "notes" like feature in their newsreader.  Usenet software
should be optimized for Usenet PERIOD.  If people find they can use the
software for local discussion groups, that fine.  But I will NEVER accept
an argument that we need to make any change which hurts Usenet because it
enables the software to work better outside of Usenet.

Mostly, Usenet software sucks outside of Usenet simply because it's
designed to work on on Usenet, and not for private discussion groups.
There are tons of discussion systems available, most of them much better
than any Usenet newsreader, if you want to create local discussion groups.


> There are local
> discussion networks using usenet-like technology where this kind
> of stuff just makes lots and lots of sense.

Sure there are.  But leave that stuff there.  Don't bring it into Usenet
where it doesn't belong.

> There are even places on usenet where this is useful - not to change
> stpid into stupid, but when you made a typo in some article which
> inverts it's sense (think of mathematics and engineering).

Of course it's useful.  But when you weight all the issues, the problems it
creates far outweigh the usefulness.

If you want a distributed discussion system with authentication and the
ability to update documents and a shit lot more, use lotus notes.

> >If you post an article and make a silly mistake (like a typo or spelling
> >error), you might be tempted to use a supersede function to "fix" it.
> >But
>
> If it's important to you, why not? Most people will not do it, out
> of laziness, anyway.

1) It wastes bandwidth.
2) It encourages people to be sloppy and waste bandwidth. (well fix it in
   post).
3) For many many years, there will be news servers in Usenet that
   will not have support for Replaces, they will only support supersede.
   With supersede, people will be foced to re-read the same article because
   someone wanted to change stupd into stupid.  And at times, they will
   be forced to re-read it multiple times because it was updated multiple
   times by a new user that didn't understand the trouble he was causing.
4) If you don't address the authentication issues, most servers will have
   the function disabled, which means the posts will all show up multiple
   times, or worse, they will be transported all over usenet and will be
   rejected by 90% of the servers so that a) the user didn't get the result
   he thought they were getting, b) and the bandwidth was wasted for no
   good reason.
4b) if you don't address the authentication issues, the technology will be
   used by the hipcrimes of the world to abuse the 5% of the servers that
   didn't disable the system.
5) If you do address the authentication system there's a good chance that
   that solution picked will open a new DOS attack on servers.

> >that's a complete waste of bandwidth.  If you care enough about not
> >looking
>
> Posters can abuse band-width _easier_ anyway.

The issue isn't as much as if they can abuse it, it's an issue that you
are designing a function that encourages them to do it.  We have bandwidth
problems on Usenet in case you didn't notice.  What we need are new
features to help reduce bandwidth probelms, not increase them.

> >silly, learn to proof read before you post instead of after you post.
> >We do NOT want to encourage users to revise there posts on a regular
> >basis.
>
> Speak for yourself. A GNKSA addition "make it possibly, but don't make
> it easy" seems more appropriate to me.

Usenet already has the ability for people to revise there posts.  It's
called posting a "follow-up".  It works.  It's been used since the
beginning of Usenet.

> >If you make an important mistake, like a typo in a URL you were trying
> >to give out, or a date of an event, or phone number or address, then the
> >best thing to do is to post a simple follow-up and point out your
> >mistake.
>
> That just doesn't work. The classical news users will see the
> correction this way, but those using a service like groups.google.com
> will not.
> Yes, obviously we need both.

If you read articles in an archive and don't check the thread, then you get
what you desreve.

Usenet works nicely as a log of a conversation.  And like all good logs,
you never want to go back and change the log entry.  That would be like
trying to deny something happened.  It's just wrong.

> >We have the web now.  We don't need to use Usenet as a document
> >distribution system any more.  When will people figure that out!!!
>
> It's not related to documents.
>
> >solutions to that issue, but the solutions tend to open the door to more
> >DOS attacks (i.e. floods of digitally signed articles which suck up tons
> >of CPU time).
>
> There's a solution to this problem.
> 1. Check any locally generated cancel message, and add a header
>    to them ("X-Cancel: user-generated; signature" or any other
>    reason).
>    Don't forward locally generated (posted) forged cancels.
> 2. Only delete messages on behalf of a feed if the X-Cancel header
>    matches accepted categories and you trust that feed to check cancels.
> 3. Forward any cancel from your feeds if you like, or limit that
>    to trusted feeds. [Note: you might forward cancel messages
>    without X-Cancel header - it doesn't matter]
> 4. Every now and when, if CPU permits more often, check a random cancel
>    from the trusted feeds. If it fails then either automagically
>    distrust the feed or alert the administrator.
> I use something like this on a smaller network (although it's not
> news but mail related, and the important thing isn't the header
> but information in the body. Works fine - since they definitely
> throw out anybody who tries to forge).

I don't exactly follow your alogithm, but it seems the core of the concept
is that you have have to establish a network of "trusted" feeds.

That's NOT Usenet.  Usenet works and is as large and successful as it is
today because it's built on un-truseted feeds.  Some people tried to
re-build Usenet on the concept of trusted feeds.  It's the net.* project.
It failed.  Well, it didn't fail, but it failed to take over Usenet.  A
network of trusted feeds has it's place.  Lotus Notes is an example of
where that's used.  Usenet won't let you change it to a network of trusted
feeds.

> There's no need to check every article. There's _really_ no need
> to do so, as security doesn't need to be perfect if the fine for
> a crime is high enough.
> You don't need to catch every forged cancel everywhere on usenet,
> you just need to make sure that it may be found in a normal case
> and that the penalty for getting caught is high enough, and that
> someone who wants to check whether a cancel was forged can do so.
> A penalty may be to not accept cancels anymore or to not feed
> it cancels anymore, or to not talk to it anymore.

That type of logic works.  Just not on Usenet.  Usenet is built
on un-trused feeds.  It grows and is popular because it's so easy
to get connected.  ISPs run transist servers and will move articles
for anyone that buys bandwidth from them.  Do you think they want
to get in the business of evaluating the "quality" of articles from
all their feeds?  If they had to do that, they would have to work
a lot harder, and end up charging a lot more for the service.  And
that would then kill it.

> Checkgroups, mass cancels, newgroups and rmgroups can be treated
> equally.

Yes, but not on Usenet.

> >Remeber when control messages caused shells to be forked off?
>
> Bad ideas never die, they'll be laughed about eternally.
>
> >Usenet by it's very nature is not a place where authentication is
> >expected, or desired.
>
> Once again: speak for yourself.

This isn't just my idea.  It's a fact.

If you want to take Usenet technology and transform it to include all sorts
of authentication technology so you can create this "new world" you speak
of, that's fine.  But Usenet will NEVER become that new world.  It would
die first.

Usenet doesn't want or need those features.  I'm sorry.  The users may like
them when you describe the features to them (who wouldn't), but they don't
understand the cost they would pay to get them.  You would kill Usenet if
you tried to add authentication and "trusted" feeds to the mix.  And usenet
will in the end reject the features inteas of accepting them.

This is exactly like the concept of posting HTML.  Many people that don't
understand the issues argue that it's moving Usenet out of the 70s and
bringing it up to date.  But has HTML taken over Usenet?  Does it make it a
better place? No.  Replaces: is no better.  It a feature that looks good on
the surface but in fact will only cause years of problems if it actaully
makes it into the hands of the users.

> >Trying to support complex "update" functions is going to cause far more
> >confusion than it will ever fix.
>
> complex? where?

Have you seen what it does to the Xref header?  Have you thought about
how a news server is supposed to figure out what the "oldest" version
of the article still in the spool is so it can create the correct
Xref: header?

Do you realize that the xref header and not the newsgroups header is
what shows up in XOVER data so when people filter based on group counts
it's filtering not on the Newsgroups: line but on the Xref line  And if an
old newsreader (one that does not yet understand the new Xref: format) does
that, it's likely to reject Replaced: article for no aparent reson.  One
which many users won't be able to figure out? -- as in I'm filter for > 4
newsgroups but that FAQ was only cross posted to 3 groups, why was it
filtered?

Users don't understand a lot about why articles show up and don't show up
on Usenet already.  The entire system for transporting articles is
something most of them never had to understand (which is good).  But with
the Replaces: logic all sorts of strange and complex things will happen
that never could happen before. Articles seem to change when they never
could before.  New articles show up but yet the newsreader nerver showed it
to me (dman that broken newsreadser).  etc. etc.

> >Followup-To: header is for.  Many don't even know what a Message-ID is
> >  and
> >why it's so important to Usenet.
>
> Why should they know? That's the job of a news reading agent, not the
> user.

On usenet, it's the job of the User.  To deal with issues on Usenet (like
spam, and abuse posts), uses need to know what a Message-Id is and then
need to know if someone is trying to trick them into replying to a message
where the Follow-up has been set to something bizar.

Thats just another example of how Usenet is NOT a local discussion system.

In local discussion systems, someone is always in charge of the system, and
controls the system.  They are also responsible for what's being posted on
the system and will be taken to court and held responsible for the content
(like what happened to Compuserve).

Those systems are not bad.  They are good.  They have their place in the
world.

But Usenet is not those systems.  Usenet is a place where there is no
control.  It's the untamed wild.  And unlike those civil littel local
discussion systems where you always have the sysop to turn to for
protection, on Usenet, you have no protection.  Users need to understand
what they have stepped into and they need to know how it works.  It's
already too complex.  Adding features that make the "users" view of what
Usenet is takes it in the wrong direction.

Everyone using Usenet should understand that when they post a message,
everyone in the world may end up reading it.  And there's NO way to take it
back, or change it.

In local discussion systems, there's always a way to take back what you
said and to predend something never happened.  That's fine for those
systems, but it's not Uenet.

> >So now they are supposed to comprehend the subtle difference between
> >a "revise" and a "replace" and a "repost" and
>
> Are you saying that no new features shall be invented because someone
> might misunderstand them?

Close.  I really do feel that Usenet doesn't need any more user visible
features.  It needs less.  I suspect that I will be against just about
anything that causes Usenet to be harder to "understand".  But "hader to
understand" can be justified if solves some type of real problem.

This Replaces: feature and all the attached changes seem to me is not
solving any real prolem.  It's simply adding a new feature that seems like
it would "nice to have".

> BTW, am I the only one that feels they got "replace" and "revise"
> >backwards?  And did I miss something or isn't "revise" and "repost"
> >exactly
>
> No (though i'm not a native speaker).

Yeah, but almost everyone I've seen posting from a .dk address writes
better english than I do.  So I wouldn't hold that against you. :)

> >the same in terms of what it does?  So the logic in having two commands
> >which do the same thing is what exactly?  Why do I feel the people that
> >created this part of USEFOR have never tried to write a news server?
>
> They may have more experience than you think.

Well, I know they have experience.  It's obvious they have spent a lot
of time thinking and discussion the solution to find something that has
the minimal impact on the server and existing software.  I think they
did a good job of getting to where they are.

I don't have much issue with the quality of the solution they have created.
What I have issue with is that it's not good enough.  That any solution to
this problem just doesn't belong on Usenet, etc...

> This kind of stuff
> isn't so hard to do in the servers, and it doesn't have much impact
> on performance.

I wrote the server that I use for NewsReader.Com so I have experence
in this area as well.  And I've written two newsreaders.  And I've been
running Usenet servers and supporting users for about 9 years now.  And
I've posted thousands of messages and wasted untold hours using Usenet as
well.  So I've seen all sides if these issues.

Most of the Replaces: stuff is trivial to write.  I could add the basic
support in less time than I've spent writing these messages.

To process an article with a Replace: header will cost 3 or 4 times the
performace of processing a normal article of the same size because it will
require multiple history look-ups instead of one and may require multiple
article head fetches to check the accuracy of that the Replaces: article is
asking you to do.

The extra work is not very important for a "normal" load of articles with a
Replaces: header.  But it does open the door for DOS floods.  How much the
door is opended relates a lot to how you decide to authenticate the article
and decide that it has the "right" to do what it's asking to do.  There's
still a lot of missing detail there to figure out the answer to the
performance questions.

> >Then there's this message-id version stuff.  Are they serious?  First
> >off,
>
> This kind of thing can be implemented without too much trouble.
> When a message with an ID abc\$v=(\d+)\@def comes then
> 0. if the number is smaller than the largest known number for
>    the base msg-id ("abc@def") then throw the article away.
>    During this process you gather some information.

I don't think I saw that logic documented in the RFC.  But if you
want to do that, you need a history file which either stores the
version number, or the entire Message-ID.  I don't do either in my
current history file.  So that means to make that decision, I need
to either expand the size of my history file entries (which would
cause a real performace hit on the server for all history file IO),
or fetch the article header for each message so I could get the
full Message-ID and check the version number.

> 1. store it as usual.
> 2. put "abc$v=NNN@def" into the history (if you have something
>    like a separate history).
> 3. put an entry "abc@def -> abc$v=NNN@def" (or a pointer to the
>    article if the articles is stored at a fixed place on the
>    medium) into a database, which may even be the history, overwriting
>    an old entry (see 0).
> 4. remove all replaced message-ids from the history and the
>    message database (don't whine about performance here, you
>    would have to deal with separate cancel messages otherwise).

A little whining is in order.  If the Replaces: includes a list
of old IDs, that will force you to do history look-ups on all the IDs (even
if all but the last has already been canceled).  The performance hit
is more like sending N cancels every time you re-post that FAQ.

Plus, without cancel or supersede working or Replaces: what happens is
the FAQ doesn't get posted so often because (like your comment at the
begining of this post) you get tired of seeing it.  So it gets posted once
a month or so instead of weekly, and nobody sends cancles for the old ones.

But with Replace: working, people could well start sending weekly posts
which include the last 10 Message-IDs.  That would be a very different
performance hit picture.

Still, if it's only done for FAQs in a some of the groups, the overall
performance hit will still not be noticed.

> 1,2 and 4 (supersedes) will have to be done anyway. 0 and 3
> are new but i don't think they are that costly.

The double history entires are no biggie.

But you didn't talk about what has to be done to create the Xref header.

On my server, I have to start fetching article headers to figure out
what number was asigned to eash old version.

USEFOR seems to imply you need to find the oldest version of the
current article and include it's number in the Xref: header.  That's
just impossible (without a serach of the XOVER data for the group) if the
Message-ID: is not listed in the Replaces: header.  If you assume the
message-ID must be listed in order for it to be the article which gets
listed in the Xref header, then it's not as bad. but you will still need to
do history look-ups on every header listed.  And for my server, I will then
have to do a header fetch to map that ID back to an article number.

It would be by far the most performance intensive type of article to
receive.  Far more than one cancel for the last RFC, and then one new
post.

> On the NNTP side: The dupe check isn't affected, only the reading
> functions need to do more work (and at least for me the cost isn't
> that high, two page faults, on lseek and two reads).

No, the reading side isn't too bad.  It's not like it has to do it
for every article, just the ones with the v= message IDs.  And only
for those when the message ID requested isn't there.

> The overview stuff can be hairy,

Is it?  I guess I missed something.  Was the idea of Replaces: to
actaully re-assign article numbers to the new articles?  i.e. the
new articles don't always get a new number like normal articles?
From what I read I got the impression that decided not to do any
of that.  It was all going to be done in the newsreader with the
help of this extra information in the Xref header.

Changing historic XOVER data would be a bitch.

> if the overview contains direct
> references to the articles place on the storage medium, but then
> again: if you do this you are likely to have code to deal with
> it anyway (if you use a cycbuff style message storage).
> If the new article version changes some headers stored in the
> overview then the author just loses.
>
> >news: URLs are useless outside of Usenet because
> >most the time they won't work when clicked on.  Either the browser has
> >no
>
> Yes, news URL are misdesigned. nntp URLs with message-IDs would rock,
> though.
>
> >by Message-Id.  When you are transporting articles, you don't want to
> >ask for article v=7 and be given v=8.  If v=7 isn't there, you need to
> >be told v=7 isn't there.  Don't break this.
>
> Hmmm .... the alternative to getting v=8 is to not get it, right?
> What's so harmful about storing v=8 thinking that the ID is v=7?
> Does this break existing code?

Mostly it's something that would just cause chaos instead of causing
anthting to stop working.

For example, a suck feed program could fetch v=7, and get v=8 instead.
It then trys to feed that to a downstream site with an IHAVE v=7.  The
server says send it, but the feed program then sends v=8.  What happens
next is a function of how that downstream server deals with the
fact that it was told it was about to receive v=7 but was sent v=8.

Does it reject it because of an article mis-match?

Does it accept it and process it anyway and just ignore the fact that
it was told it was receiving v=7?

Or maybe the server code is broken and doesn't bother to check for
article mis-matches.  It just assumes the article it received really
was v=7 (which was already put in a message-id pre-cache most likley).

What might happen when the Replaces: stuff is done and this article
(which is really v=8) lists v=7 as one of the articles that needs
to be canceled?

What this adds up to is that bugs in servers could cause the article
to be duplicated, or could cause it to be dropped because of this new
versioning code.  Over time of course, everything could be fixed.  But
when you change the function of a basic command like "ARTICLE" you
are asking for problems.

> >If you want the generic document look-up function, forget the stupid
> >version stuff.  Add a "Document-ID:" header to the article which defines
> >a
>
> This will not do the same. For example old clients will not benefit
> from it.

Yes they would.  It would work just like the version id stuff.  Any client
that knows how to find an article by Message-ID could be used to fetch
either the specific document of the generic document.  If the version
scheme there's no way to say "give me version 7 and only version 7".  you
have to ask for verison 7 and then just see what you get.

> >"fixed" news Message-ID, publish the Document-ID.  Isn't that easier to
> >implement than all that version crap yet produces the same results and
> >doesn't break anything?
>
> It just doesn't work.  Message-ID versions work if the server supports
> them. Document-ID needs modifications to clients and servers, and
> costs the same on the server side.

What has to be changed on the client side?

> >To me, all this crap is just a great example of creeping featurism.  The
> >art of good design isn't knowing what to put in, it's knowing what to
> >take out.
>
> Document-ID in this case. Sorry.

I agree.  Both ideas are creeping featureism and don't deserve the be
added.

> btw: usefor is not about good design. It's about living with a broken
> situation.

Good design is always finding the best solution to the current problem.
And it's always about dealing with what you've always got. :)

> On the first glance my reaction about the msg-id version and replaces
> stuff was quite similar to yours.

Well, I have to admit that my reaction is mostly a "first" reaction. Though
I have seen it before, I haven't spent a lot of time studying the issue.
And if I did that, my opinion could well soften.

> I later changed my point of view
> when i saw that the msg-id version handling doesn't cost me more
> than 100 lines of code in total.

That isn't really much a part of my reaction.  I'm not concerned about the
amount of code (though it's always an issue).

My concerns are more 1) I don't think it belongs on Usenet in the first
place, and 2) the design is breaking a few fundamental things which
shouldn't be messed with (fetching articles by Message-ID).

> Now, if i only could be sure that i understood it correctly (but
> i've got this problem with quite a few parts of usefor).

Me to.  But I haven't stuided it enough to know if that's a problelm or
not. :)

> Regards, Uwe

Ok, here's a thought I just had about the version stuff that I don't
like.

If someone posts a FAQ as v=7.  And them someone posts a follow-up
and makes some comments about how somthing needs to be changed.  The
person in charge makes some changes, and then posts v=8 which replaces
v=7 on the server.

I don't relalize that v=8 has been posted because I'm still reading
the comments about the v=7 article.  And in that article, I see
the "so an so wrore in <...v=7..>", so I decide to click on the Message-ID
to go read what v=7 says.  It pops up and and I read it. But what I get was
actually the v=8 article but my newsreader has no clue this has happened.
It's not checking IDs and it's not showing me the ID so I have no clue I
got the wrong article.  15 minutes later I realize that the comments I was
reading in the follow-up don't seem to match what I'm seeing in the
article.  15 minutes after that and after reading more posts I finally
figure out I was reading the wrong aritcle all this time and never knew it.
And now v=7 is gone from my server so I have no way to go back and figure
out what everyone was talking about anyway.

It just sucks.  I really don't see why people think this is a good feature
that will make Usenet a better place.

I don't mind at all if people dream up these ideas and document them and
try to get them implemented.  But the idea of a feature like this becoming
part of the "standard" scares me.

I feel fairly strongly that before it's allowed to be part of the standard
that it needs to be built, tested, and widely accpeted as "valid" on
Usenet.  I want to see it being used somewhere for real so we get some real
experience with how it's accepted and with what type of problems it might
create.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Technical Details
Message-ID: <20010519221527.331$kZ@newsreader.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!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed2.onemain.com!feed1.onemain.com!feed.newsreader.com!news2.newsreader.com!flame.newsreader.com!not-for-mail
References: <UKbN6.7751$6j3.644413@www.newsranger.com> <WAhN6.48$9x.484@www.newsranger.com> <ylr8xmw2xi.fsf@windlord.stanford.edu> <20010519015029.778$rP@newsreader.com> <20010519205152.19303.1@serak.ohse.de>

Show Full Headers
Complete Article Headers
Message-ID: <20010519221527.331$kZ@newsreader.com>
Subject: Re: Replaces
Date: Sun, 20 May 2001 02:15:27 +0000
From: curt@kcwc.com (Curt Welch)
References: <UKbN6.7751$6j3.644413@www.newsranger.com> <WAhN6.48$9x.484@www.newsranger.com> <ylr8xmw2xi.fsf@windlord.stanford.edu> <20010519015029.778$rP@newsreader.com> <20010519205152.19303.1@serak.ohse.de>
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!newsfeed.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed2.onemain.com!feed1.onemain.com!feed.newsreader.com!news2.newsreader.com!flame.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-User: Curt@NewsReader.Com
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5
  %IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-Url: http://CurtWelch.Com/
User-Agent: NewsReader.Com
Lines: 589