🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
14 messages
14 total messages Started by Adam Twiss Thu, 04 Dec 1997 00:00
MSIE violating RFC977?
#23988
Author: Adam Twiss
Date: Thu, 04 Dec 1997 00:00
47 lines
1750 bytes
MSIE (version 4 at least) does not put a message ID in a message that it
posts to a news server.  Am I right in believing this violates the NNTP
specification?

Below are extracts from the relevant(?) RFCs.

Some software (such as Netscape Collabra) will put the message ID on the
document itself, and accept the message.

Is Microsoft just showing scant regard towards standards, or is there a
good reason why MSIE doesn't create a message-id?

Adam

[ I'd appreicate if if people could also email posted replies ]


RFC 977                                                    February 1986
Network News Transfer Protocol


3.10.  The POST command

3.10.1.  POST

   POST

   If posting is allowed, response code 340 is returned to indicate that
   the article to be posted should be sent. Response code 440 indicates
   that posting is prohibited for some installation-dependent reason.

   If posting is permitted, the article should be presented in the
   format specified by RFC850, and should include all required header
   lines. 
   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


RFC 850

2.1  Required Headers
...

2.1.7  Message-ID  The Message-ID line gives the article a
unique  identifier ...

Re: MSIE violating RFC977?
#23985
Author: Dan Foster
Date: Thu, 04 Dec 1997 00:00
28 lines
1864 bytes
In article <87u3cpw95w.fsf@erlenstar.demon.co.uk>,
Andrew Gierth  <andrew@erlenstar.demon.co.uk> wrote:
>>>>>> "Adam" == Adam Twiss <atwiss@zeus.co.uk> writes:
>
> Adam> MSIE (version 4 at least) does not put a message ID in a
> Adam> message that it posts to a news server.  Am I right in
> Adam> believing this violates the NNTP specification?
>
>Strictly yes, but lots of other software does likewise. In fact,
>if the client can't guarantee the uniqueness of its message-ids,
>it's better not to generate them at all (Netscape please note).

I just wanted to make sure I mentioned the flip side - it's possible to
get news server software to reject whatever Message-ID's offered to it
by the application in favor of server being authoritative one in
generating unique Message-ID's, like what I do here.

It's like one to three line simple modification to INN 1.5.1, and has had no
negative impact other than the fact that it also rejected anybody
sending out cancels (since you have to supply the message-id of message
to be cancelled...). So I added a few more lines to accept any
Message-ID's starting with 'cancel.'. Smooth sailing ever since then.

-Dan Foster
Frontier Internet

Re: MSIE violating RFC977?
#23996
Author: Egil Kvaleberg
Date: Thu, 04 Dec 1997 00:00
31 lines
1640 bytes
On 4 Dec 1997, Olaf Titz wrote:

> However, with all commonly used implementations of NNTP, it is
> perfectly acceptable to generate only the "From", "Newsgroups" and
> "Subject" header, and let the server do all the rest. In fact, it is
> best to do so.

No, I disagree completely. A client-generated message-ID avoids one of 
the major Usenet plagues: multiple posting of identical articles.

> Message-ID lines from clients tend to be broken in one
> way or another

It is easy to generate good Message-IDs on the client side. One can for
instance build it around the users complete email address (both sides of
the @), bundled by a timestamp and a pseudo-random sequence number, plus a
process ID where applicable. 

> They got this one right this time.

No.

Egil
-- 
Email: egil@kvaleberg.no Voice: +47 22523641, 92022780 Fax: +47 22525899
Snail: Egil Kvaleberg, Husebybakken 14A, 0379 Oslo, Norway
URL:   http://home.sn.no/home/egilk/	    PGP: finger:egilk@sn.no


Re: MSIE violating RFC977?
#23997
Author: Adam Twiss
Date: Thu, 04 Dec 1997 00:00
42 lines
2244 bytes
Andrew Gierth wrote:
> 
> >>>>> "Adam" == Adam Twiss <atwiss@zeus.co.uk> writes:
> 
>  Adam> MSIE (version 4 at least) does not put a message ID in a
>  Adam> message that it posts to a news server.  Am I right in
>  Adam> believing this violates the NNTP specification?
> 
> Strictly yes, but lots of other software does likewise. In fact,
> if the client can't guarantee the uniqueness of its message-ids,
> it's better not to generate them at all (Netscape please note).

On further investigation I found this reference.
(http://ds.internic.net/internet-drafts/draft-ietf-nntpext-imp-00.txt)

INTERNET-DRAFT                                               S. Barber
Expires: April 15, 1998                     Academ Consulting Services
                                                          October 1997
                         Common NNTP Extensions
                     draft-ietf-nntpext-imp-00.txt


4.2 The Required Headers in an Article and the POST command

    RFC 977 notes in section 3.10.1 that articles presented "should
    include all required header lines." In fact, modern implementations
    only require From, Subject, and Newsgroups header lines and will
    supply the rest; further, many implementers believe that it is
    best for clients to generate as few headers as possible, since
    clients often do not format other headers correctly.

    This implementation behavior is consistent with both Bnews and Cnews
    which would supply missing headers for articles directly submitted
    to them.

So it appears that MSIE does actually behave according to the latest (2
month old) draft specification.

Adam

Re: MSIE violating RFC977?
#24014
Author: Andrew Gierth
Date: Thu, 04 Dec 1997 00:00
15 lines
1159 bytes
>>>>> "Adam" == Adam Twiss <atwiss@zeus.co.uk> writes:

 Adam> MSIE (version 4 at least) does not put a message ID in a
 Adam> message that it posts to a news server.  Am I right in
 Adam> believing this violates the NNTP specification?

Strictly yes, but lots of other software does likewise. In fact,
if the client can't guarantee the uniqueness of its message-ids,
it's better not to generate them at all (Netscape please note).

-- 
Andrew.

Re: MSIE violating RFC977?
#24023
Author: Bill Stewart-Cole
Date: Thu, 04 Dec 1997 00:00
51 lines
3389 bytes
In article <87u3cpw95w.fsf@erlenstar.demon.co.uk>, Andrew Gierth
<andrew@erlenstar.demon.co.uk> wrote:

> >>>>> "Adam" == Adam Twiss <atwiss@zeus.co.uk> writes:
> 
>  Adam> MSIE (version 4 at least) does not put a message ID in a
>  Adam> message that it posts to a news server.  Am I right in
>  Adam> believing this violates the NNTP specification?
> 
> Strictly yes, but lots of other software does likewise. In fact,
> if the client can't guarantee the uniqueness of its message-ids,
> it's better not to generate them at all (Netscape please note).

Certainly, any client that can't generate a practically unique ID
shouldn't try. In a sense this means that any client on an IP address that
my someday be used by another client shouldn't generate the Message-ID,
since absolute uniqueness requires that the client control all local parts
for a specific host part, and if you don't even control the host part at
all times this is hopeless. 

HOWEVER, there is pragmatically a wide range of ways for clients on
dynamic IP addresses to approach real-world uniqueness. Reasonably smart
clients do it all the time. For example, I cannot be certain if I am on a
dynamic IP address that 10 minutes later another user won't have that
address and generate bill-0412972024470001 as a local part, but it is not
particularly likely. It is not even very likely that anyone using the same
dynamic IP address will be generating that ID at any point in the next few
years (even with the limited range my newsreader uses as characters in
local parts, there are more possible local parts than elementary particles
in the universe.... ). As long as I can assure that I never generate the
same local part, it is reasonable to gamble on others. 

I would very much like to see some sort of standard defined for
client-generated ID's *instead* of their discouragement. Yes, some clients
are really stupid. That's not a very good reason to say all clients should
be prevented from doing intelligent things.  Something as simple as
requiring clients to start local parts with the username and include a
12-digit date+time (yymmddhhmmss) would reduce the chance of collision to
practically zero and make for smarter systems of fiddling around with
ID's. For example, I can regexp match all my ID's or subsets divided by
date or time in any fashion. I can filter for follow-ups to my posts with
one simple expression. If an RFC actually specified a preferred ID format
for clients to generate, it would instruct client authors (obviously
needed) and it would enable more clients to do things that ease reading.

-- 
Bill Stewart-Cole                             bill@scconsult.com        
I'm not spam-blocked because I like playing the hardass net-fascist.

Re: MSIE violating RFC977?
#24051
Author: Adam Twiss
Date: Fri, 05 Dec 1997 00:00
26 lines
1587 bytes
Olaf Titz wrote:
> 
> However, with all commonly used implementations of NNTP, it is
> perfectly acceptable ...

When the internet was just about a few accademic users all running the
same software on Unix that may have been an acceptable answer.  But the
internet, and internet protocols, are now very much a business tool and
a global communications medium. 

It demands standards, not just "well innd supports this, and trn does
that".  If NNTP is going to become an open standard for collabarative
discussions, then it needs to be cleary specified.

The problem as I see it with NNTP, is the only RFC (977) is over 10
years old, and people have been adding new features into various pieces
of software along the line, and the specifications have been coming out
of date.  What is really needed is a genuine replacement to RFC-977 (and
perhaps 850 as well) that clearly specifies an open-standard
thatreflects what the protocol is being used for, and that clients and
servers alike should stick to.

Adam

Re: MSIE violating RFC977?
#24062
Author: Scott Gifford
Date: Fri, 05 Dec 1997 00:00
18 lines
1228 bytes
>The problem as I see it with NNTP, is the only RFC (977) is over 10
>years old, and people have been adding new features into various pieces
>of software along the line, and the specifications have been coming out
>of date.  What is really needed is a genuine replacement to RFC-977 (and
>perhaps 850 as well) that clearly specifies an open-standard
>thatreflects what the protocol is being used for, and that clients and
>servers alike should stick to.


  Umm...Wasn't a draft of one posted here a few days ago?...If not, it's on
the IETF website.

------Scott.



Re: MSIE violating RFC977?
#24111
Author: Leslie Mikesell
Date: Sun, 07 Dec 1997 00:00
20 lines
1426 bytes
In article <668iku$5m4$1@bigred.inka.de>,
Olaf Titz <olaf@bigred.inka.de> wrote:

>Which leads to the kind of ultra-long IDs produced by pine. I think
>this is simply unnecessary (does pine have a multiposting problem?)
>The server does have all necessary information to generate unique
>IDs, it is designed to get them right, the client (a well designed
>client anyway) doesn't need to make its own IDs, so let the server do it.

How do you recommend handling the situation where the connection is
lost in the middle of an nntp posting?  If the client generates the
ID, the solution is obvious - just consider it incomplete and post
again.  Isn't that their purpose in the first place so that it
doesn't matter if you retry?  

  Les Mikesell
    les@mcs.com

Re: MSIE violating RFC977?
#24117
Author: Egil Kvaleberg
Date: Mon, 08 Dec 1997 00:00
29 lines
1890 bytes
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. 

My point is, however, that more and more posters are sending messages down
shaky phone lines to their ISPs. Given the simple approach taken by NNTP
in these matters, there are bound to be many occasions where it is
difficult to establish (by the newsreader OR the user, as the case may be)
whether a message has been posted successfully. When the client supplies
the ID, it does not hurt to try again if there is any doubt. 

Egil
-- 
Email: egil@kvaleberg.no Voice: +47 22523641, 92022780 Fax: +47 22525899
Snail: Egil Kvaleberg, Husebybakken 14A, 0379 Oslo, Norway
URL:   http://home.sn.no/home/egilk/	    PGP: finger:egilk@sn.no


Re: MSIE violating RFC977?
#24133
Author: Jeremy
Date: Mon, 08 Dec 1997 00:00
20 lines
1433 bytes
Olaf Titz <olaf@bigred.inka.de> wrote:

> The article is accepted by the server when, if and only if it gives
> the 240 answer. The race condition is when just this answer is lost.
> I don't know how big of a problem this is, given that TCP is assumed
> to be a reliable transport. I.e. if the reason for the connection
> breakage is that a modem goes down, simply redialling in a reasonable
> period of time must resume an existing TCP connection. Same holds for
> route flaps or other short-term outages.

This doesn't work for dynamic IP addresses, though, and it also
fails often with Win95, which has a habit of shutting down its
connections when the modem connection drops.

-- 
Jeremy  |  jeremy@exit109.com
"Who's scruffy-looking?"  --Han Solo

Re: MSIE violating RFC977?
#24153
Author: 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.


Re: MSIE violating RFC977?
#24215
Author: ? the platypus {aka David Formos...
Date: Wed, 10 Dec 1997 00:00
27 lines
1887 bytes
In <6673bf$10l8$1@node6.frontiernet.net> dsf@node6.frontiernet.net (Dan Foster) writes:

[...]

>I just wanted to make sure I mentioned the flip side - it's possible to
>get news server software to reject whatever Message-ID's offered to it
>by the application in favor of server being authoritative one in
>generating unique Message-ID's, like what I do here.

This is a very very bad thing to do.  Any one makeing use of suck feeds
and other such kluders will cause a flood when attached to such a
newsserver.  In addtion thouse who are makeing use of multypoint
injection, moderator posts to moderated newsgroups where the message-id
is signed and numourous other items will be broken by this change.

If you don't wish message-id's to be provided DROP posts that provide them
don't change the id.


--
Please excuse my spelling as I suffer from agraphia see the url in my header. 
Never trust a country with more peaple then sheep. I do not reply to mungged 
Support NoCeM http://www.cm.org/                   addresses.  
I'm sorry but I just don't consider 'because its yucky' a convincing argument

Re: MSIE violating RFC977?
#24292
Author: Dennis Davis
Date: Thu, 11 Dec 1997 00:00
35 lines
2279 bytes
In the referenced article, dsf@node6.frontiernet.net (Dan Foster) writes:
>In article <87u3cpw95w.fsf@erlenstar.demon.co.uk>,
>I just wanted to make sure I mentioned the flip side - it's
>possible to get news server software to reject whatever
>Message-ID's offered to it by the application in favor of server
>being authoritative one in generating unique Message-ID's, like
>what I do here.
>
>It's like one to three line simple modification to INN 1.5.1,
>and has had no negative impact other than the fact that it also
>rejected anybody sending out cancels (since you have to supply the
>message-id of message to be cancelled...). So I added a few more
>lines to accept any Message-ID's starting with 'cancel.'. Smooth
>sailing ever since then.

This is also a very simple modification to make to C-news; it's a
one or two line change to an awk script.  We don't do this because
it can run interference at some users.  For example software that
automatically post FAQS at regular intervals will often rely on the
Message-ID it generates.  Knowing the last Message-ID will enable
it to generate an appropriate Supersedes: header for the next time
the software posts the FAQ.  Having the server force in a Message-ID
renders this useless.  Other reasons for not doing this have been
given elsewhere in this chain.

However we do force in a correct Date: header.  Our News server is
running as a level 2 network Time Protocol (NTP) server.  It is
likely to have a better concept of "now" than most other machines
that connect to it.
-- 
Dennis Davis, BUCS, University of Bath, Bath, BA2 7AY, UK
D.H.Davis@bath.ac.uk

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads