Thread View: news.software.nntp
11 messages
11 total messages
Started by Jonathan Grobe
Thu, 17 Feb 2000 00:00
RFC 1036 Revision: Duties of Various Agents
Author: Jonathan Grobe
Date: Thu, 17 Feb 2000 00:00
Date: Thu, 17 Feb 2000 00:00
296 lines
14254 bytes
14254 bytes
8. Duties of Various Agents ...................................... 0
8.1. General principles to be followed ......................... 0
8.2. Duties of an Injecting Agent .............................. 0
8.2.1. Proto-articles ........................................ 0
8.2.2. Procedure to be followed by Injecting Agents .......... 0
8.3. Duties of a Relaying Agent ................................ 0
8.4. Duties of a Serving Agent ................................. 0
8.5. Duties of a Posting Agent ................................. 0
8.6. Duties of a Followup Agent ................................ 0
8.7. Duties of a Gateway ....................................... 0
8. Duties of Various Agents
The following section sets out the duties of various agents involved
in the creation, relaying and serving of Usenet articles.
In this section, the word "trusted", as applied to the source of some
article, means that an agent processing that article has verified, by
some means, the identity of that source (which may be another agent
or a poster).
NOTE: In many implementations, a single agent may perform
various combinations of the injecting, relaying and serving
functions. Its duties are then the union of the various duties
concerned.
8.1. General principles to be followed
There are two important principles that news implementors (and
administrators) need to keep in mind. The first is the well-known
Internet Robustness Principle:
Be liberal in what you accept, and conservative in what you
send.
However, in the case of news there is an even more important
principle, derived from a much older code of practice, the
Hippocratic Oath (we will thus call this the Hippocratic Principle):
First, do no harm.
It is VITAL to realize that decisions which might be merely
suboptimal in a smaller context can become devastating mistakes when
amplified by the actions of thousands of hosts within a few minutes.
In the case of gateways, the primary corollary to this is:
Cause no loops.
8.2. Duties of an Injecting Agent
An Injecting Agent is responsible for taking a proto-article from a
posting agent and either forwarding it to a moderator or injecting it
into the relaying system for access by readers.
As such, an injecting agent is considered responsible for ensuring
that any article it injects conforms with the rules of this standard
and the policies of any newsgroups or hierarchies that the article is
posted to. It is also expected to bear some responsibility towards
the rest of the network for the behaviour of its posters (and
provision is therefore made for it to be easily contactable by
email).
To this end injecting agents MAY cancel articles which they have
previously injected (see 7.5).
8.2.1. Proto-articles
A proto-article is one that has been created by a posting agent and
has not yet been injected into the news system by an injecting agent.
It SHOULD NOT be propagated in that form to other than injecting
agents. A proto-article has the same format as a normal article
except that some of the following mandatory headers MAY be omitted:
Message-Id, Date and Path. These headers MUST NOT contain invalid
values; they MUST either be correct or not present at all.
A proto-article SHOULD NOT contain the '%' delimiter in any Path
header, except in the rare cases where an article gets injected
twice. It MAY contain path-identities with other delimiters in the
pre-injection portion of the Path header (5.6.3).
8.2.2. Procedure to be followed by Injecting Agents
A injecting agent receives proto-articles from posting and followup
agents. It verifies them, adds headers where required and then either
forwards them to a moderator or injects them by passing them to
serving or relaying agents.
If an injecting agent receives an otherwise valid article that has
already been injected it SHOULD either act as if it is a relaying
agent or else pass the article on to a relaying agent completely
unaltered. Exceptionally, it MAY reinject the article, perhaps as a
part of some complex gatewaying process (in which case it will add a
second '%' delimiter to the Path header). It MUST NOT forward an
already injected article to a moderator.
An injecting agent processes articles as follows:
1. It SHOULD verify that the article is from a trusted source.
However, it MAY allow articles in which headers contain "forged"
email addresses, that is, addresses which are not valid for the
known and trusted source, especially if they end in ".invalid".
2. It MUST reject any article whose Date header is more than 24 hours
into the past or into the future (cf. 5.1).
3. It MUST reject any article that does not have the correct
mandatory headers for a proto-article (5 and 8.2.1) present, or
which contains any header that does not have legal contents.
4. If the article is rejected, or is otherwise incorrectly formatted
or unacceptable due to site policy, the posting agent MUST be
informed (such as via an NNTP 44x response code) that posting has
failed and the article MUST NOT then be processed further.
5. The Message-ID and Date headers (and their content) MUST be added
when not already present.
6. A Path header with a tail-entry (5.6.3) MUST be correctly added if
not already present (except that it SHOULD NOT be added if the
article is to be forwarded to a moderator).
7. The path-identity of the injecting agent with a '%' delimiter
(5.6.2) MUST be prepended to the Path header; moreover, that
path-identity MUST be an FQDN mailable address (5.6.2).
[At this point, we should mention the Injector-Info header if/when we
invent it.]
8. The injecting agent MAY add other headers not already provided by
the poster, but SHOULD NOT alter, delete or reorder any headers
already present in the article (except for headers intended for
tracing purposes). The injecting agent MUST NOT alter the body of
the article in any way.
[An Injector-Info header would be mentioned as an example of tracing.]
9. If the Newsgroups line contains one or more moderated groups and
the article does NOT contain an Approved header, then the
injecting agent MUST forward it to the moderator of the first
(leftmost) moderated group listed in the Newsgroups line via
email. The complete article SHOULD be encapsulated (headers and
all) within the email, preferably using the Content-Type
"application/news-transmission" (6.17.6.1).
10.Otherwise, the injecting agent forwards the article to one or more
relaying or serving agents.
8.3. Duties of a Relaying Agent
A Relaying Agent accepts injected articles from injecting and other
relaying agents and passes them on to relaying or serving agents
according to mutually agreed policy. Relaying agents SHOULD accept
articles ONLY from trusted agents.
A relaying agent processes articles as follows:
1. It MUST verify the leftmost entry in the Path header and then
prepend its own path-identity with a '/' delimiter, and possibly
also the verified path-identity of its source with a '?' delimiter
(5.6.2).
2. It MUST reject any article whose Date header is stale (see 5.1).
3. It MUST reject any article that does not have the correct
mandatory headers (section 5) present with legal contents.
4. It SHOULD reject any article whose optional headers (section 6) do
not have legal contents.
5. It SHOULD reject any article that has already been sent to it (a
database of message identifiers of recent messages is usually kept
and matched against).
6. It SHOULD reject any article that has already been Canceled,
Superseded or Replaced by its author or by another trusted entity.
7. It MAY reject any article without an Approved header posted to
newsgroups known to be moderated (this practice is strongly
recommended, but the information necessary to do it may not be
available to all agents).
8. It then passes articles which match mutually agreed criteria on to
neighboring relaying and serving agents. However, it SHOULD NOT
forward articles to sites whose path-identity is already in the
Path header.
NOTE: It is usual for relaying and serving agents to restrict
the Newsgroups, Distributions, age and size of articles that
they wish to receive.
If the article is rejected as being invalid, unwanted or unacceptable
due to site policy, the agent that passed the article to the relaying
agent SHOULD be informed (such as via an NNTP 43x response code) that
relaying failed. In order to prevent a large number of error messages
being sent to one location, relaying agents MUST NOT inform any other
external entity that an article was not relayed UNLESS that external
entity has explicitly requested that it be informed of such errors.
In order to prevent overloading, relaying agents SHOULD NOT routinely
query an external entity (such as a key-server) in order to verify an
article.
[But do we want to say that it is OK if you then keep a decent-sized
cache?]
Relaying agents MUST NOT alter, delete or rearrange any part of an
article expect for the Path and Xref Headers.
8.4. Duties of a Serving Agent
A Serving Agent takes an article from a relaying or injecting agent
and files it in a "news database". It also provides an interface for
reading agents to access the news database. This database is normally
indexed by newsgroup with articles in each newsgroup identified by an
article-locater (usually in the form of a decimal number - see 6.14).
NOTE: Since control messages are often of interest, but should
not be displayed as normal articles in regular newsgroups, it is
common for serving agents to make them available in a pseudo-
newsgroup named "control" or in a pseudo-newsgroup in a sub-
hierarchy under "control." (e.g. "control.cancel").
A serving agent processes articles as follows:
1. It MUST verify the leftmost entry in the Path header and then
prepend its own path-identity with a '/' delimiter, and possibly
also the verified path-identity of its source with a '?' delimiter
(5.6.2).
2. It MUST reject any article whose Date header is stale (see 5.1).
3. It MUST reject any article that does not have the correct
mandatory headers (section 5) present, or which contains any
header that does not have legal contents.
4. It SHOULD reject any article that has already been sent to it (a
database of message identifiers of recent messages is usually kept
and matched against).
5. It SHOULD reject any article that has already been Canceled,
Superseded or Replaced by its author or by another trusted entity,
and delete any of such article that it already has in its news
database.
6. It MUST reject any article without an Approved header posted to
any moderated newsgroup which it is configured to receive, and it
MAY reject such articles for any newgroup it knows be moderated.
7. It SHOULD generate a correct Xref header (6.14) for each article.
8. Finally, it stores the article in its news database.
8.5. Duties of a Posting Agent
A Posting Agent is used to assist the poster in creating a valid
proto-article and forwarding it to an injecting agent.
Postings agents SHOULD ensure that proto-articles they create are
valid Netnews articles according to this standard and other
applicable policies.
Posting agents meant for use by ordinary posters SHOULD reject any
attempt to post an article which cancels, Supersedes or Replaces
another article of which the poster is not the author.
8.6. Duties of a Followup Agent
A Followup Agent is a special case of a posting agent and as such is
bound by all the posting agent's requirements plus additional ones.
Followup agents MUST create valid followups, in particular by
providing correctly adjusted forms of those headers described as
inheritable (4.2.2.2), notably the Newgroups header (5.5), the
Subject header (5.4) and the References header (6.8), and they SHOULD
observe appropriate quoting conventions in the body (see 4.3.2).
Followup agents MUST by default follow the Followup-To header when
deciding which newsgroups a followup is posted to; however posters
MAY override the default if they wish.
Followup agents MUST NOT attempt to send email to any address ending
in ".invalid". Followup agents SHOULD NOT email copies of the
followup to the author of the precursor (or any other person) unless
this has been explicitly requested.
[Mention the Mail-Copies-To header if/when we have that.]
8.7. Duties of a Gateway
NOT DONE
[Volunteers to write it? There is lots of useful material in [Son-of-
1036].]
Re: RFC 1036 Revision: Duties of Various Agents
Author: Steven Jones
Date: Thu, 17 Feb 2000 00:00
Date: Thu, 17 Feb 2000 00:00
55 lines
3151 bytes
3151 bytes
In article <slrn8an5g3.vch.grobe+news@worf.netins.net>, Jonathan Grobe <> wrote: > 8.1. General principles to be followed ......................... 0 > 8.6. Duties of a Followup Agent ................................ 0 > >8.1. General principles to be followed > > There are two important principles that news implementors (and > administrators) need to keep in mind. The first is the well-known > Internet Robustness Principle: > > Be liberal in what you accept, and conservative in what you > send. > > However, in the case of news there is an even more important > principle, derived from a much older code of practice, the > Hippocratic Oath (we will thus call this the Hippocratic Principle): > > First, do no harm. > > It is VITAL to realize that decisions which might be merely > suboptimal in a smaller context can become devastating mistakes when > amplified by the actions of thousands of hosts within a few minutes. > >8.6. Duties of a Followup Agent > > A Followup Agent is a special case of a posting agent and as such is > bound by all the posting agent's requirements plus additional ones. > Followup agents MUST create valid followups, in particular by > providing correctly adjusted forms of those headers described as > inheritable (4.2.2.2), notably the Newgroups header (5.5), the > Subject header (5.4) and the References header (6.8), and they SHOULD > observe appropriate quoting conventions in the body (see 4.3.2). > > Followup agents MUST by default follow the Followup-To header when > deciding which newsgroups a followup is posted to; however posters > MAY override the default if they wish. > > Followup agents MUST NOT attempt to send email to any address ending > in ".invalid". Followup agents SHOULD NOT email copies of the > followup to the author of the precursor (or any other person) unless > this has been explicitly requested. >[Mention the Mail-Copies-To header if/when we have that.] The rules for the References header appear to be rather strict. Why should the message author have no control over this header? -- -- Steven Jones Computing & Communications 354843, University of Washington E-mail: noyd@u.washington.edu Phone: (206) 543-5852
Re: References (was: RFC 1036 Revision: Duties of Various Agents)
Author: J. B. Moreno
Date: Thu, 17 Feb 2000 00:00
Date: Thu, 17 Feb 2000 00:00
26 lines
2011 bytes
2011 bytes
Steven Jones <noyd@u.washington.edu> wrote: > Russ Allbery <rra@stanford.edu> wrote: > >In news.software.nntp, Steven Jones <noyd@u.washington.edu> writes: > > > >> The rules for the References header appear to be rather strict. Why > >> should the message author have no control over this header? > > > >It's required that the header be correctly formed in order for threading > >to work, and threading is a fundamental characteristic of Usenet. Any > >modifications to References can't be permitted to break correct threading > >of the article. > > Ok, I just don't understand correct threading and should leave > well enough alone. But now, I've modified the References header. > Will my message will be cast into the great void? > What harm shall come of this? No, this is exactly what AOL does (only include the immediate precursor), but it does mean that threading gets broken whenever someone doesn't have the immediate precursor. -- John B. Moreno
Re: RFC 1036 Revision: Duties of Various Agents
Author: Russ Allbery
Date: Thu, 17 Feb 2000 00:00
Date: Thu, 17 Feb 2000 00:00
14 lines
1338 bytes
1338 bytes
In news.software.nntp, Steven Jones <noyd@u.washington.edu> writes: > The rules for the References header appear to be rather strict. Why > should the message author have no control over this header? It's required that the header be correctly formed in order for threading to work, and threading is a fundamental characteristic of Usenet. Any modifications to References can't be permitted to break correct threading of the article. -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
References (was: RFC 1036 Revision: Duties of Various Agents)
Author: Steven Jones
Date: Fri, 18 Feb 2000 00:00
Date: Fri, 18 Feb 2000 00:00
26 lines
1855 bytes
1855 bytes
In article <ylya8jv98z.fsf@windlord.stanford.edu>, Russ Allbery <rra@stanford.edu> wrote: >In news.software.nntp, Steven Jones <noyd@u.washington.edu> writes: > >> The rules for the References header appear to be rather strict. Why >> should the message author have no control over this header? > >It's required that the header be correctly formed in order for threading >to work, and threading is a fundamental characteristic of Usenet. Any >modifications to References can't be permitted to break correct threading >of the article. > >-- >Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/> Ok, I just don't understand correct threading and should leave well enough alone. But now, I've modified the References header. Will my message will be cast into the great void? What harm shall come of this? -- -- Steven Jones Computing & Communications 354843, University of Washington E-mail: noyd@u.washington.edu Phone: (206) 543-5852
Re: RFC 1036 Revision: Duties of Various Agents
Author: Curt Welch
Date: Fri, 18 Feb 2000 00:00
Date: Fri, 18 Feb 2000 00:00
131 lines
7428 bytes
7428 bytes
noyd@u.washington.edu (Steven Jones) wrote: > In article <Fq4Gr9.H6B@clw.cs.man.ac.uk>, > Charles Lindsey <chl@clw.cs.man.ac.uk> wrote: > >In <88hhds$dn4$1@nntp6.u.washington.edu> noyd@u.washington.edu (Steven > >Jones) writes: > > > >>The rules for the References header appear to be rather > >>strict. Why should the message author have no control over > >>this header? > > > >Why should he have control? > > The author creates the message and is given a large set > of features which can be used to affect the presentation, > including a number of standard headers. > > The Author controls Newsgroups, Subject, Distribution, > Summary, Keywords headers. The new standard includes MIME > support, providing for many character sets and > file/presentation types. The new standard includes formfeed > (page scrolling) control. > > It seems to me to be a departure to then restrict the > References header, which the Author could use to provide > context to reading agents attempting to provide navigation > from his/her message to other messages. It's not a departure in any sense. First, many headers are completely out of the control of the author such as Date:, Path:, Xref:, Message-ID:, etc. So there's just no room to argue that the author should be able to change a header just because he has the power to change other headers. Second, the author has plenty of control over the header already. He controls it by selecting which post he wants to follow-up to, or by deciding to create a new post instead of creating a follow-up. Even without the new standard, there's a defacto standard that's been in place for years which defines the "correct" use of the References: header. The new RFC is only putting a few things in writing which are already well accepted standards. A header which has a user generated selection of message-ids is a valid concept. And I think that might even have been the orginal intent behind the References: header. But that's not what the Usenet References: header is today. Sorry. It's way too late now to argue this point -- you needed to start that debate about 10 years ago. The main point of the RFC in this case it to make it clear to everyone how the header is currently used on Usenet:, not to define a new standard for its use like other issues in the RFC. Now, many newsreaders still allow users to edit the header. And if you want to continue to do so, feel free. No one is going to stop you. But, it has been very clearly shown over time that most users do not know know how to correctly edit References: headers. Even technically competent users that think they understand all the issues seldom do. If you want to include additional Message-IDs that might be useful navigation aids to the readers of your post, just put them in the body. Most good newsreaders these days make it easy to use those for accessing other messages (for example just by clicking on them). The point of the References: header is to record one simple fact -- what articles did the author select to create a follow-up to. The only reason the header lists multiple IDs is to assist the newsreaders in the job of re-constructing a complete follow-up tree -- the thread. The header is NOT intended (any more) to be a list of all articles which are "referenced" or "relevent" to the current article. If you think that is what the header is for, and edit like that (by removing old IDs that are no longer relevent or adding other IDs which are related to your post), then you break the functionality of the header. Newsreaders which are trying to correctly reconstruct the single inheritance refernece tree will not be able to do so accurately. Newsreaders provide not only a graphical view of this tree, but they also provide various functions such as presentation order of articles, various commands for navigating the tree, filter functions to take out branches or entire threds, etc. based on the concept that there is a single inheritance reference tree. If you incorrectly edit the References: header, you break these functions in ways you could never understand unless you had lots of experience with all the newsreaders in use today. > >The effect would be to mess up the threading > >in newsreaders that use it. A skilful operator might be able to do it in > >a useful way, but most times it would likely make the threading worse > >rather than better. > > I put my faith in the Author to create the message to his/her > satisfaction. If the point of the header were to be a simple list of articles which are relevent to the current article, then we would all put our faith in the author. But this is not what the References: header is, and based on what it is, it has been clearly shown that most Usenet authors don't know how to edit it correctly (many for example don't understand the point of the header). Many newsreader authors don't understand it either. I for example got it completely wrong in the first newsreader I wrote and didn't get right until my second newsreader. > If the effect is a mess or worse, I would blame the algorithms used > by the newsreader. True, a newsreader which doesn't deal with bogus References: headers in an intellegent fashion is at fault. But that's no justification for creating bogus headers. Newsreaders have a right to expect that there exists a single-inheretance follow-up tree. You, as a poster, have the right to select where your article will appear in these trees. The sole purpose of the References: header is to document where the author decided he wanted his post to appear in that tree. If you edit the References: header in a fashion that violates the standard use of the header, then two things happen. Newsreaders trying to accurately re-construct the tree can be confused by your article and end up incorrectly building that tree based on the information in your article. It means that your article may end up in the wrong place (or even in the wrong tree), and even worse, other articles you mention in your References: header may also be mis-placed in those trees - against the wishes of the authors of those articles. Why would anyone want to do that? -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: RFC 1036 Revision: Duties of Various Agents
Author: Terrance Richard Boyes
Date: Sun, 20 Feb 2000 00:00
Date: Sun, 20 Feb 2000 00:00
25 lines
2250 bytes
2250 bytes
In news.admin.misc Jonathan Grobe <grobe+news@netins.net> wrote: > 8.2.2. Procedure to be followed by Injecting Agents [snip] > 2. It MUST reject any article whose Date header is more than 24 hours > into the past or into the future (cf. 5.1). Yet in 5.1 it says The Date header contains the date and time that the article was prepared by the poster ready for transmission and SHOULD express the poster's local time. These two statements seem incompatible in the case of dialup usage. eg a reply created on a Friday afternoon, but not injected until Monday morning. -- <URL:http://www.pierrot.co.uk/> Team AMIGA If I had a Q-TIP, I could prevent th'collapse of NEGOTIATIONS!!
Re: RFC 1036 Revision: Duties of Various Agents
Author: Peter da Silva
Date: Mon, 21 Feb 2000 00:00
Date: Mon, 21 Feb 2000 00:00
19 lines
1714 bytes
1714 bytes
In article <8EE0797BYazorman@194.213.69.152>, Erland Sommarskog <sommar@algonet.se> wrote: >* You reply to an article you only see quoted. You are not replying > to anything of what the quoting author said, so you would like to > remove the Message-ID to his article, so that the thread gets > the correct appearance for those got the article you never got. I do this on a regular basis. Luckily I have full control over my news server and client, so any software that broke this would get broken back in short order. -- This is The Reverend Peter da Silva's Boring Sig File - there are no references to Wolves, Kibo, Discordianism, or The Church of the Subgenius in this document Executive Vice President, Corporate Communications, Entropy Gradient Reversals.
Re: RFC 1036 Revision: Duties of Various Agents
Author: Russ Allbery
Date: Sat, 26 Feb 2000 00:00
Date: Sat, 26 Feb 2000 00:00
21 lines
1580 bytes
1580 bytes
In news.software.nntp, Ron Newman <rnewman@thecia.net> writes: > In article <slrn8an5g3.vch.grobe+news@worf.netins.net>, <> wrote: >> 8.5. Duties of a Posting Agent >> 8.6. Duties of a Followup Agent > Should the new RFC 1036 absorb the Good Net-Keeping Seal in its > entirety? It may make sense to have a single document rather than two > separate ones. No, USEFOR should be a technical standard. There are several things we've left out that are related to good practices; there should really be a separate best practices RFC. It's not appropriate to put too much in the way of GNKSA recommendations into a standards-track RFC, at least in my opinion. -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Re: RFC 1036 Revision: Duties of Various Agents
Author: Ron Newman
Date: Sat, 26 Feb 2000 00:00
Date: Sat, 26 Feb 2000 00:00
15 lines
1052 bytes
1052 bytes
In article <slrn8an5g3.vch.grobe+news@worf.netins.net>, <> wrote: > 8.5. Duties of a Posting Agent > 8.6. Duties of a Followup Agent Should the new RFC 1036 absorb the Good Net-Keeping Seal in its entirety? It may make sense to have a single document rather than two separate ones. -- Ron Newman rnewman@thecia.net http://www2.thecia.net/users/rnewman/
Re: RFC 1036 Revision: Duties of Various Agents
Author: Charles Lindsey
Date: Mon, 28 Feb 2000 00:00
Date: Mon, 28 Feb 2000 00:00
19 lines
1592 bytes
1592 bytes
In <rnewman-2602001813140001@ppp225-36.thecia.net> rnewman@thecia.net (Ron Newman) writes: >Should the new RFC 1036 absorb the Good Net-Keeping Seal in its >entirety? It may make sense to have a single document rather >than two separate ones. There is some contention between those (myself included) who want a 'one stop shop' covering technical and 'social' aspects, and those who want to keep them separate. We do try to make it clear in the present document which we are talking about at any one time. Part of the problem is that it is not a black-and-white issue, but a whole spectrum. -- Charles H. Lindsey ---------At Home, doing my own thing------------------------ Email: chl@clw.cs.man.ac.uk Web: http://www.cs.man.ac.uk/~chl Voice/Fax: +44 161 437 4506 Snail: 5 Clerewood Ave, CHEADLE, SK8 3JU, U.K. PGP: 2C15F1A9 Fingerprint: 73 6D C2 51 93 A0 01 E7 65 E8 64 7E 14 A4 AB A5
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