🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #24153

Re: MSIE violating RFC977?

#24153
From: Ian Stirling
Date: Mon, 08 Dec 1997 00:00
93 lines
4674 bytes
Egil Kvaleberg <egil@kvaleberg.no> wrote:
: On 5 Dec 1997, Olaf Titz wrote:

:> Which leads to the kind of ultra-long IDs produced by pine.

: No, these things are not related.

: The ultra long Pine IDs has nothing to do with an effort to make them more
: unique - they are just bloat. 14 characters to tell the world which
: version of the program that has been used. 7 characters to count the
: various categories of Mime attachments in the message, no less. Add to
: that an inefficient decimal coding of the date and pid, and you end up
: with IDs that extend over the full screen. 


Is there anyone working on reducing the bandwidth needed by clients/
reader boxes?
Perhaps a more involved standard for Message-ID, something along these
lines. 

node= client, or server accepting a message without Message-ID

Each node takes the subject/time/date/userID/email, and some
secret known only to the node software, to generate a unique string.

They then prepend this to the body, and run  md5sum or similar over
the whole lot, then fold to the required bit lenght and encode the 
messageID (uuencode or similar). 
The message-ID, then has MD5 prepended to it, and a single character 
to indicate the size of the message-ID: (as a check, and to allow for
future expansion) to indicate this has been done.

This has several advantages over the current scheme.
Each node, can later verify that their posting has not been corrupted,
by looking at the headers, reconstructing the unique string, and 
checking.
It could pretty much kill accidental identical posts.
Reduced chance of collision (For example, a 16 byte message-ID: has
a even chance of not having a collision over a billion messages 
per day, for 100 years)
Smaller Message-ID's are faster to download, using less bandwidth.


For nodes that are not complying,  and where it is not already present, 
upstream sites should add a MD5-Msgid: header, that contains 
the hash of the message-body, with a recreated unique string, 
from the headers of the message.
Also, the site checks the References: header, looking up the message-ID's
and adding a MD5-References: line containing the MD5-Msgids of any 
referenced postings.


The Message-ID: header must never be altered, of course.



Costs to servers.
When implemnented over 90% of servers, and clients software:

Very minimal, servers rarely (1% of messages) have to do
anything to messages from other servers, and not that often to messages
from clients.
Penalty= around 10uS per message.
..overviews shrink by 1/3 or so.
history shrinks by 1/5th.


When implemented over 50% of servers, and clients:
Servers have to process maybe 10% of messages, for a speed penalty of
100uS
..overviews shrink by almost 1/3

When implemented over 10% of servers/clients:
The cost is comparatively high, maybe 50% of incoming messages may
need processed, for a cost of 500uS.

..overviews about the same size.



The gain to clients?
Message-ID's shrink by half, speeding download times, and threading.


-- 
Ian Stirling.   Designing a linux PDA, see  http://www.mauve.demon.co.uk/
----- ******* If replying by email, check notices in header ******* -----
Prosperity and ruin issue from the power of the tongue.
Therefore, guard yourself against thoughtless speech.


Technical Details
Message-ID: <0000348C1F63.NO_UCE@mauve.demon.co.uk>
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: <34866F28.DBAD8FF5@zeus.co.uk> <666lf5$p0h$1@bigred.inka.de> <%6Kxh0QnAr@big.kvaleberg.no> <668iku$5m4$1@bigred.inka.de> <%ML1i0Mzeu@big.kvaleberg.no>

Show Full Headers
Complete Article Headers
Message-ID: <0000348C1F63.NO_UCE@mauve.demon.co.uk>
Subject: Re: MSIE violating RFC977?
Date: Mon, 08 Dec 1997 00:00:00 +0000
From: Ian Stirling <0000348C1F63.NO_UCE@mauve.demon.co.uk>
References: <34866F28.DBAD8FF5@zeus.co.uk> <666lf5$p0h$1@bigred.inka.de> <%6Kxh0QnAr@big.kvaleberg.no> <668iku$5m4$1@bigred.inka.de> <%ML1i0Mzeu@big.kvaleberg.no>
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: 296336382
X-Mail2News-Path: post-10.mail.demon.net!post.mail.demon.net!mauve.demon.co.uk
X-Note: Anti-UCE in effect, replying should work if you are not UCE'ng
X-Mail2News-User: Send.NO_UCE@mauve.demon.co.uk
X-Warning0: For unsolicited commercial email, sent or causing to be sent to my email address
X-Warning1: on this message, I reserve the right to levy a charge for my time and expenses
X-Warning2: of up to 100 pounds sterling per message, plus legal, penalty or other costs.
X-Complaints-To: abuse@demon.net
X-Trace: mail2news.demon.co.uk 881605537 19655 Send.NO_UCE mauve.demon.co.uk
Organization: None.
User-Agent: tin/pre-1.4-971106 (UNIX) (Linux/2.0.30 (i486))
Newsgroups: news.software.nntp