Thread View: news.software.nntp
104 messages
104 total messages
Page 1 of 3
Started by Jonathan Grobe
Thu, 17 Feb 2000 00:00
Page 1 of 3 • 104 total messages
RFC 1036 Revision: General
Author: Jonathan Grobe
Date: Thu, 17 Feb 2000 00:00
Date: Thu, 17 Feb 2000 00:00
577 lines
28277 bytes
28277 bytes
[As there has been no comment either posted in the newsgroups or to
the mailing list (usenet-format@rkive.landfield.com about Charles
Lindsey's new draft to replace RFC 1036 I am posting it in parts in hopes
of generating some discussion. Note draft is available at:]
http://www.ietf.org/internet-drafts/draft-ietf-usefor-article-03.txt
[Various misc. parts]
INTERNET-DRAFT Charles H. Lindsey
Usenet Format Working Group University of Manchester
February 2000
News Article Format
<draft-ietf-usefor-article-03.txt>
Status of this Memo
This document is an Internet-Draft and is in full conformance with
all provisions of Section 10 of RFC2026.
Internet-Drafts are working documents of the Internet Engineering
Task Force (IETF), its areas, and its working groups. Note that
other groups may also distribute working documents as Internet-
Drafts.
Internet-Drafts are draft documents valid for a maximum of six
months and may be updated, replaced, or obsoleted by other
documents at any time. It is inappropriate to use Internet-
Drafts as reference material or to cite them other than as "work
in progress."
The list of current Internet-Drafts can be accessed at
http://www.ietf.org/ietf/1id-abstracts.txt.
The list of Internet-Draft Shadow Directories can be accessed at
http://www.ietf.org/shadow.html.
Abstract
This Draft defines the format of Netnews articles and specifies
the requirements to be met by software which originates,
distributes, stores and displays them. It is intended as a
standards track document, superseding RFC 1036, which itself dates
from 1987.
Since the 1980s, Usenet has grown explosively, and many Internet and
non-Internet sites now participate. In addition, this technology is
now in widespread use for other purposes.
Backward compatibility has been a major goal of this endeavour, but
where this standard and earlier documents or practices conflict, this
standard should be followed. In most such cases, current practice is
already compatible with these changes.
[The use of the words "this standard" within this document when
referring to itself do not imply that this draft yet has pretensions to
be a standard, but rather indicates what will become the case if and
when it is accepted as an RFC with the status of a proposed or draft
standard.]
[Remarks enclosed in square brackets and aligned with the left margin,
such as this one, are not part of this draft, but are editorial notes to
explain matters amongst ourselves, or to point out alternatives, or to
indicate work yet to be done.]
[Please note that this Draft describes "Work in Progress". Much remains
to be done, though the material included so far is unlikely to change in
any major way.]
Table of Contents
1. Introduction .................................................. 0
1.1. Basic Concepts ............................................ 0
1.2. Objectives ................................................ 0
1.3. Historical Outline ........................................ 0
1.4. Transport ................................................. 0
3. Changes to the existing protocols ............................. 0
3.1. Principal Changes ......................................... 0
3.2. Transitional Arrangements ................................. 0
9. Security Considerations ....................................... 0
9.1. Attacks ................................................... 0
10. References ................................................... 0
11. Acknowledgements ............................................. 0
12. Contact Addresses ............................................ 0
13. Intellectual Property Rights ................................. 0
Appendix A.1 - A-News Article Format .............................. 0
Appendix A.2 - Early B-News Article Format ........................ 0
Appendix B - Collected Syntax ..................................... 0
1. Introduction
1.1. Basic Concepts
"Netnews" is a set of protocols for generating, storing and
retrieving news "articles" (which resemble mail messages) and for
exchanging them amongst a readership which is potentially widely
distributed. It is organized around "newsgroups," with the
expectation that each reader will be able to see all articles posted
to each newsgroup in which he participates. These protocols most
commonly use a flooding algorithm which propagates copies throughout
a network of participating servers. Typically, only one copy is
stored per server, and each server makes it available on demand to
readers able to access that server.
An important characteristic of Netnews is the lack of any requirement
for a central administration or for the establishment of any
controlling host to manage the network. A network which limits
participation to some restricted set of hosts (within some company,
for example) is a "closed" network; otherwise it is an "open"
network. A set of hosts within a network which, by mutual
arrangement, operates some variant (whether more or less restrictive)
of the Netnews protocols is a "cooperating subnet".
"Usenet" is a particular worldwide open network based upon the
Netnews protocols, with the newsgroups being organised into
recognized "hierarchies". Anybody can join (it is simply necessary
to negotiate an exchange of articles with one or more other
participating hosts). Usenet "belongs" to those who administer the
hosts of which it is comprised. There is no Cabal with overall
authority to direct what is to be be allowed. Nevertheless, there do
exist agencies within Usenet that have authority to establish
policies and to perform administrative functions, but such authority
derives solely from the consent of those sites which choose to
recognise it (and who can decline to exchange articles with sites
which choose not to recognise it). Usually, the authority of such an
agency is restricted to a particular hierarchy, or group of
hierarchies.
A "policy" is a rule intended to facilitate the smooth operation of a
network by establishing parameters which restrict behaviour that,
whilst technically unexceptionable, would nevertheless contravene
some accepted standard of "Good Netkeeping". Since the ultimate
beneficiaries of a network are its human readers, who will be less
tolerant of poorly designed interfaces than mere computers, articles
in breach of established policy can cause considerable annoyance to
their recipients.
Policies may well vary from network to network, from hierarchy to
hierarchy within one network, and even between individual newsgroups
within one hierarchy. It is assumed, for the purposes of this
standard, that agencies with varying degrees of authority to
establish such policies will exist, and that where they do not,
policy will be established by mutual agreement. For the benefit of
networks and hierarchies without such established agencies, and to
provide a basis upon which all agencies can build, this present
standard often provides default policy parameters, usually
introducing them by a phrase such as "As a matter of policy ...".
1.2. Objectives
The purpose of this present standard is to define the protocols to be
used for Netnews in general, and for Usenet in particular, and to set
standards to be followed by software that implements those protocols.
It is NOT the purpose of this standard to define how the authority of
various agencies to exercise control or oversight of the various
parts of Usenet is established (that is itself a matter of policy).
Nevertheless, it is assumed that such authorities will exist, and
tools are provided within the protocols for their use.
1.3. Historical Outline
Network news originated as the medium of communication for Usenet,
circa 1980. Since then, Usenet has grown explosively, and many
Internet and non-Internet sites participate in it. In addition, the
news technology is now in widespread use for other purposes, on the
Internet and elsewhere.
The earliest news interchange used the so-called "A News" article
format. Shortly thereafter, an article format vaguely resembling
Internet mail was devised and used briefly. Both of those formats
are completely obsolete; they are documented in A.1 for historical
reasons only. With publication of [RFC 850] in 1983, news articles
came to closely resemble Internet mail messages, with some
restrictions and some additional headers. [RFC 1036] in 1987 updated
[RFC 850] without making major changes.
[There should also be some mention of B News and its Appendix.
Alternatively, these appendices may go into some separate informational
RFC.]
A Draft popularly referred to as "Son of 1036" [Son-of-1036] was
written in 1994 by Henry Spencer. That document formed the original
basis for this standard. Much is taken directly from Son of 1036, and
it is hoped that we have followed its spirit and intentions.
1.4. Transport
As in this standard's predecessors, the exact means used to transmit
articles from one host to another is not specified. NNTP [NNTP] is
the most common transmission method on the Internet, but much
transmission takes place entirely independent of the Internet. Other
methods in use include the UUCP protocol [RFC 976] extensively used
in the early days of Usenet, FTP, downloading via satellite, tape
archives, and physically delivered magnetic and optical media.
3. Changes to the existing protocols
This standard prescribes many changes, clarifications and new
features since the protocols described in [RFC 1036] and [Son-of-
1036]. It is the intention that they can be assimilated into Usenet
as it presently operates without major interruption to the service,
though some of the new features may not begin to show benefit until
they become widely implemented. This section summarizes the main
changes, and comments on some features of the transition.
3.1. Principal Changes
o The [MESSFOR] conventions for parenthesis-enclosed comments in
headers are supported.
o Whitespace is permitted in Newsgroups headers, permitting folding
of such headers. Indeed, all news headers can now be folded.
o An enhanced syntax for the Path header enables the injection
point of and the route taken by an article to be determined with
certainty.
o Netnews is firmly established as an 8bit medium.
o Large parts of MIME are recognised as an integral part of
Netnews.
o The charset for headers is always UTF-8. This will, inter alia,
permit newsgroup-names with non-ASCII characters.
o There is a new Control command 'mvgroup' to facilitate moving a
group to a different place (name) in a hierarchy.
o There are several new headers defined, such as Replaces and
Author-Ids, leading to increased functionality.
o There are numerous other small changes, clarifications and
enhancements.
[Doubtless many other changes should be listed, but there is little
point in doing so until our text is nearing completion. The above gives
the flavour of what should be said.]
3.2. Transitional Arrangements
An important distinction must be made between serving and relaying
agents which are responsible for the distribution and storage of news
articles, and user agents which are responsible for interactions with
users. It is important that the former should be upgraded to conform
to this standard as soon as possible to provide the benefit of the
enhanced facilities. Fortunately, the number of distinct
implementations of such agents is rather small, at least so far as
the main "backbone" of Usenet is concerned, and many of the new
features are already supported. Contrariwise, there are a great
number of implementations of user agents, installed on a vastly
greater number of small sites. Therefore, the new functionality has
been designed so that existing agents may continue to be used,
although the full benefits may not be realised until a substantial
proportion of them have been upgraded.
In the list which follows, care has been taken to distinguish the
implications for both kinds of agent.
o [MESSFOR] style comments in headers do not affect serving and
relaying agents (note that the Newsgroups and Path headers do not
contain them). They are unlikely to hinder their proper display
in existing user agents except in the case of the References
header in agents which thread articles. Therefore, it is provided
that they SHOULD NOT be generated except where permitted by the
previous standards.
o Because of its importance to all serving agents, the extension
permitting whitespace and folding in Newsgroup headers SHOULD NOT
be used until it has been widely deployed amongst relaying
agents. User agents are unaffected.
o The new style of Path header is already consistent with the
previous standards. However, the intention is that relaying
agents should henceforth reject articles in the old style, and so
this should be offered as a configurable option for relaying
agents. User agents are unaffected.
[Should that "should" be a "SHOULD" or a "MAY".]
o The vast majority of serving, relaying and transport agents are
believed to be already 8bit clean (in the slightly restricted
sense in which that term is used in the MIME standards). User
agents that do not implement MIME may be disadvantaged, but no
more so than at present when faced with 8bit characters (which
currently abound in spite of the previous standards).
o The introduction of MIME reflects a practice that is already
widespread. Articles in strict compliance with the previous
standards (using strict US-ASCII) will be unaffected. Many user
agents already support it, at least to the extent of widely used
charsets such as ISO-8859-1. Users expecting to read articles
using the more exotic charsets will need to acquire suitable
reading agents. It is not intended, in general, that any single
user agent will be able to display every charset known to IANA,
but all such agents MUST support US-ASCII. Serving and relaying
agents are not affected.
o The use of the UTF-8 charset for headers will not affect any
existing usage, since US-ASCII is a strict subset of UTF-8.
Insofar as newsgroup names containing non-ASCII characters can
now be expected to arise, support from serving and relaying
agents will be necessary. It is believed that the customary
storage structure used by serving agents can already cope
(perhaps not ideally) with such names. Note that it is not
necessary for serving and relaying agents to understand all the
characters available in UTF-8, though it is desirable for them to
be displayable for diagnostic purposes via some escape mechanism
using, for example, the visible subset of US-ASCII. For users
expecting to use the more exotic charsets available under UTF-8,
the remarks already made in connection with MIME will apply.
o The new Control: mvgroup command will need to be implemented in
serving agents. It SHOULD be used in conjunction with pairs of
matching rmgroup and newgroup commands (injected shortly after
the mvgroup) until such time as mvgroup is widely implemented.
The new Replaces header is also effectively a Control command,
and transitional arrangements are provided which should be used
in the meantime. User agents are unaffected.
o The headers newly introduced by this standard can safely be
ignored by existing software, albeit with loss of the new
functionality.
9. Security Considerations
[The following is taken from our previous draft, and is a much cut down
version of material in Son-of-1036. What else should be said, and should
more of the Son-of-1036 material be rescued?]
There is no security. Don't fool yourself. Usenet is a prime example
of an Internet Adhocratic-Anarchy; that is, an environment in which
trust forms the basis of all agreements. It works.
Articles which are intended to have restricted distribution are
dependent on the goodwill of every site receiving them. The
"Archive: no" header is available as a signal to automated archivers
not to file an article, but that cannot be guaranteed.
The Distribution header makes provisions for articles which should
not be propagated beyond a cooperating subnet. The key security word
here is "cooperating". When a machine is not configured properly, it
may become uncooperative and tend to distribute all articles.
9.1. Attacks
The two categories of attack that news is most vulnerable to are
Denial-of-Service and exploitations of particular implementations.
Many have argued that "spam", massively crossposted or reposted
articles constitutes a DoS attack in its own regard. This may be so.
Sending off-topic messages is a matter for individual hierarchies and
newsgroups to control. It is a violation of this standard to "forge"
an email address, that is, to use a valid email address which you are
not entitled to use. All invalid email addresses used in headers MUST
end in the ".invalid" top-level-domain. This facility is provided
primarily for those who wish to remain anonymous, but do not care to
take the additional precautions of using more sophisticated anonymity
measures.
It is possible that legal penalties may apply to sending unsolicited
commercial email and/or news articles. Check with your local legal
authorities.
10. References
[ANSI X3.4] "American National Standard for Information Systems -
Coded Character Sets - 7-Bit American National Standard Code for
Information Interchange (7-Bit ASCII)", ANSI X3.4, 1986.
[ISO 10646] "International Standard - Information technology -
Universal Multiple-Octet Coded Character Set (UCS) - Part 1:
Architecture and Basic Multilingual Plane", ISO/IEC 10646-1, 1993.
[ISO 3166] "Codes for the representation of names of countries and
their subdivisions -- Part 1: Country codes", ISO 3166, 1997.
[ISO 8859] International Standard - Information Processing - 8-bit
Single-Byte Coded Graphic Character Sets. Part 1: Latin alphabet
No. 1, ISO 8859-1, 1987 Part 2: Latin alphabet No. 2, ISO 8859-2,
1987 Part 3: Latin alphabet No. 3, ISO 8859-3, 1988 Part 4: Latin
alphabet No. 4, ISO 8859-4, 1988 Part 5: Latin/Cyrillic alphabet,
ISO 8859-5, 1988 Part 6: Latin/Arabic alphabet, ISO 8859-6, 1987
Part 7: Latin/Greek alphabet, ISO 8859-7, 1987 Part 8:
Latin/Hebrew alphabet, ISO 8859-8, 1988
[MESSFOR] P. Resnick, "Internet Message Format Standard", draft-
ietf-drums-msg-fmt-07.txt, March 1998.
[NNTP] S. Barber, "Network News Transport Protocol", draft-ietf-
nntpext-base-*.txt.
[RFC 1034] P. Mockapetris, "Domain Names - Concepts and Facilities",
RFC 1034, November 1987.
[RFC 1036] M. Horton and R. Adams, "Standard for Interchange of
USENET Messages", RFC 1036, December 1987.
[RFC 1153] F. Wancho, "Digest Message Format", RFC 1153, April 1990.
[RFC 1738] T. Berners-Lee, L. Masinter, and M. McCahill, "Uniform
Resource Locators (URL)", RFC 1738, December 1994.
[RFC 1847] J. Galvin, S. Murphy, S. Crocker, and N. Freed, "Security
Multiparts for MIME: Multipart/Signed and Miltipart/Encrypted",
RFC 1847, October 1995.
[RFC 2015] M. Elkins, "MIME Security with Pretty Good Privacy (PGP)",
RFC 2015, October 1996.
[RFC 2044] F. Yergeau, "UTF-8, a transformation format for Unicode
and ISO 10646", RFC 2044, October 1996.
[RFC 2045] N. Freed and N. Borenstein, "Multipurpose Internet Mail
Extensions (MIME) Part One: Format of Internet Message Bodies",
RFC 2045, November 1996.
[RFC 2046] N. Freed and N. Borenstein, "Multipurpose Internet Mail
Extensions (MIME) Part Two: Media Types", RFC 2046, November 1996.
[RFC 2047] K. Moore, "MIME (Multipurpose Internet Mail Extensions)
Part Three: Message Header Extensions for Non-ASCII Text", RFC
2047, November 1996.
[RFC 2048] N. Freed, J. Klensin, and J. Postel, "Multipurpose
Internet Mail Extensions (MIME) Part Four: Registration
Procedures", RFC 2048, November 1996.
[RFC 2119] S. Bradner, "Key words for use in RFCs to Indicate
Requirement Levels", RFC 2119, March 1997.
[RFC 2130] C. Weider, C. Preston, K. Simonsen, H. Alvestrand, R.
Atkinson, M. Crispin, and P. Svanberg, "The Report of the IAB
Character Set Workshop held 29 February - 1 March, 1996", RFC
2130, April 1997.
[RFC 2142] D. Crocker, "Mailbox Names for Common Services, Roles and
Functions", RFC 2142, May 1997.
[RFC 2234] D. Crocker and P. Overell, "Augmented BNF for Syntax
Specifications: ABNF", RFC 2234, November 1997.
[RFC 2279] F. Yergeau, "UTF-8, a transformation format of ISO 10646",
RFC 2279, January 1998.
[RFC 2373] R. Hinden and S. Deering, "IP Version 6 Addressing
Architecture", RFC 2373, July 1998.
[RFC 2606] D. Eastlake and A. Panitz, "Reserved Top Level DNS Names",
RFC 2606, June 1999.
[RFC 2616] R. Fielding, J. Gettys, J. Mogul, H. Frystyk, L. Masinter,
P. Leach, and T. Berners-Lee, "Hypertext Transfer Protocol --
HTTP/1.1", RFC 2616, June 1999.
[RFC 820] J. Postel and J. Vernon, "Assigned Numbers", RFC 820,
January 1983.
[RFC 822] D. Crocker, "Standard for the Format of ARPA Internet Text
Messages.", STD 11, RFC 822, August 1982.
[RFC 850] Mark R. Horton, "Standard for interchange of Usenet
messages", RFC 850, June 1983.
[RFC 976] Mark R. Horton, "UUCP mail interchange format standard",
RFC 976, February 1986.
[SMTP] John C. Klensin and Dawn P. Mann, "Simple Mail Transfer
Protocol", draft-ietf-drums-smtpupd-*.txt.
[Son-of-1036] Henry Spencer, "News article format and transmission",
<ftp://ftp.zoo.toronto.edu/pub/news.txt.Z>, June 1994.
[UNICODE] The Unicode Consortium, "The Unicode Standard - Version
2.0", Addison-Wesley, 1996.
[USEFOR] Charles H. Lindsey, "News Article Format", draft-ietf-
usefor-article-format-*.txt.
11. Acknowledgements
[It is intended to insert a list of those who have been prominent
contributors to the mailing list of the working group at this point.]
12. Contact Addresses
Editor
Charles. H. Lindsey
5 Clerewood Avenue
Heald Green
Cheadle
Cheshire SK8 3JU
United Kingdom
Phone: +44 161 437 4506
Email: chl@clw.cs.man.ac.uk
Working group chair
David Barr
Digital Island
Email: barr@visi.com
Comments on this draft should preferably be sent to the mailing list
of the Usenet Format Working Group at
usenet-format@landfield.com.
This draft expires six months after the date of publication (see Page
1) (i.e. in August 2000).
13. Intellectual Property Rights
[The following are taken from RFC 2026. It is not entirely clear whether
all of this is necessary at this stage. Please can someone explain it to
me?]
The IETF takes no position regarding the validity or scope of any
intellectual property or other rights that might be claimed to
pertain to the implementation or use of the technology described in
this document or the extent to which any license under such rights
might or might not be available; neither does it represent that it
has made any effort to identify any such rights. Information on the
IETF's procedures with respect to rights in standards-track and
standards-related documentation can be found in BCP-11. Copies of
claims of rights made available for publication and any assurances of
licenses to be made available, or the result of an attempt made to
obtain a general license or permission for the use of such
proprietary rights by implementors or users of this specification can
be obtained from the IETF Secretariat.
The IETF invites any interested party to bring to its attention any
copyrights, patents or patent applications, or other proprietary
rights which may cover technology that may be required to practice
this standard. Please address the information to the IETF Executive
Director.
Copyright (C) The Internet Society (date). All Rights Reserved.
This document and translations of it may be copied and furnished to
others, and derivative works that comment on or otherwise explain it
or assist in its implmentation may be prepared, copied, published and
distributed, in whole or in part, without restriction of any kind,
provided that the above copyright notice and this paragraph are
included on all such copies and derivative works. However, this
document itself may not be modified in any way, such as by removing
the copyright notice or references to the Internet Society or other
Internet organizations, except as needed for the purpose of
developing Internet standards in which case the procedures for
copyrights defined in the Internet Standards process must be
followed, or as required to translate it into languages other than
English.
The limited permissions granted above are perpetual and will not be
revoked by the Internet Society or its successors or assigns.
This document and the information contained herein is provided on an
"AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION
HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
Appendix A.1 - A-News Article Format
[There is some text present in Son-of-1036 at this point which may well
be removed to a separate informational RFC giving a proper historical
background.]
Appendix A.2 - Early B-News Article Format
[The same applies to this.]
[Son-of-1036 also had appendices on "Obsolete Headers" and "Obsolete
Control Messages". Do we want these? There are already mentioned at
appropriate places in the draft.]
Appendix B - Collected Syntax
TO BE DONE
Re: RFC 1036 Revision: General
Author: Paul Tomblin
Date: Thu, 17 Feb 2000 00:00
Date: Thu, 17 Feb 2000 00:00
20 lines
1757 bytes
1757 bytes
In a previous article, Richard Kettlewell <richardk+ah-replyto=news.software.nntp@chiark.greenend.org.uk> said: >> 6.15. Lines >[...] >> This header is to be regarded as obsolete, and it will likely be >> removed entirely in a future version of this standard. In the >> meantime, its use is deprecated. > >I believe `Lines' is used for filtering, e.g. so that readers on the >wrong side of a modem can choose to avoid downloading large articles. In that case, the correct place for a line count would be in the overview, not the header of the article. And I believe that it *is* in the overview. -- Paul Tomblin, not speaking for anybody. 'Usenet "belongs" to those who administer the hosts of which it is comprised' - RFC 1036, draft revision
Re: RFC 1036 Revision: General
Author: Curt Welch
Date: Thu, 17 Feb 2000 00:00
Date: Thu, 17 Feb 2000 00:00
55 lines
3618 bytes
3618 bytes
Richard Kettlewell <richardk+ah-replyto=news.software.nntp@chiark.greenend.org.uk> wrote: > > 6.15. Lines > [...] > > This header is to be regarded as obsolete, and it will likely be > > removed entirely in a future version of this standard. In the > > meantime, its use is deprecated. > > I believe `Lines' is used for filtering, e.g. so that readers on the > wrong side of a modem can choose to avoid downloading large articles. Normally that's done from the xover data for readers. And servers can generate the line count without the help of the header in the article (which all too many times is wrong anyway). And I think more people tend to use the article size in Bytes instead of in lines to filter/sort by. And that has never been stored in the header. It's just calculated by the server. It's unclear in my mind however what servers are expected to return for the Lines info in XOVER data if the header is missing? Anyone know what most servers do today? Do they return an empty field or do they calculate the value for themself and return valid data? And do servers today use the Lines: header when it's there, or does it just ignore it and calculate the value? In my server, xover data is generated on demand, not when the article is received. And, it's unreasonable to read the entire artice just to count the lines at a later point in time, so my server adds/fixes the Lines: header when the article as received, and then later uses that header to create the XOVER data. I must store the line count somewhere so I don't have to read the article later and the header is by far the most obvious place to do that since all the other XOVER data (expect the byte count) comes from the header. So, because of this, the Lines: header will never be obsoleted from my server. In addition, a newsreader I wrote years ago used the header to give the user article size feedback in the form of a scroll bar. Without the Lines: header, that function wouldn't work (though if the XOVER command always returned a valid value that of course could be used in place of the Lines: header from the article). So, I don't really understand why people think the header should be obsoleted. Personally, I think the RFC should require injecting agents to verify the header and either reject the article or fix the header if it's wrong. So it the idea to obsolete the Lines data from XOVER as well or to expect the servers to return valid XOVER line counts and just not have the Lines: header in articles anymore? -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: RFC 1036 Revision: General
Author: Russ Allbery
Date: Thu, 17 Feb 2000 00:00
Date: Thu, 17 Feb 2000 00:00
56 lines
3277 bytes
3277 bytes
In news.software.nntp, Curt Welch <curt@kcwc.com> writes: > In my server, xover data is generated on demand, not when the article is > received. And, it's unreasonable to read the entire artice just to > count the lines at a later point in time, so my server adds/fixes the > Lines: header when the article as received, and then later uses that > header to create the XOVER data. Note that if your server then sends the article with the fixed Lines header back out to your peers, that's technically bad. I know INN does that under some circumstances; that's also bad. Servers shouldn't be modifying any headers in transit other than Path and Xref. > I must store the line count somewhere so I don't have to read the > article later and the header is by far the most obvious place to do that > since all the other XOVER data (expect the byte count) comes from the > header. So, because of this, the Lines: header will never be obsoleted > from my server. Whatever you do internal to your server is pretty much irrelevant to the rest of Usenet and outside the scope of the standard unless it's exposed to your peers. > In addition, a newsreader I wrote years ago used the header to give the > user article size feedback in the form of a scroll bar. Without the > Lines: header, that function wouldn't work (though if the XOVER command > always returned a valid value that of course could be used in place of > the Lines: header from the article). The intention of deprecating the Lines header is to encourage newsreader authors to get that information from the overview information, where it will both be more accurate and guaranteed to be present. > So, I don't really understand why people think the header should be > obsoleted. Mostly because it's unreliable in practice (tons of articles have completely bogus Lines headers), not guaranteed to be there, and not guaranteed to be usable even if it is. Either we needed to really standardize it, and hence say it was required to be accurate, or deprecated it. Given the current existing state of affairs, I'm strongly in favor of deprecating it. > So it the idea to obsolete the Lines data from XOVER as well No. > or to expect the servers to return valid XOVER line counts and just not > have the Lines: header in articles anymore? Right. -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Re: RFC 1036 Revision: General
Author: Paul Tomblin
Date: Thu, 17 Feb 2000 00:00
Date: Thu, 17 Feb 2000 00:00
18 lines
1710 bytes
1710 bytes
In a previous article, curt@kcwc.com (Curt Welch) said: >It's unclear in my mind however what servers are expected to return >for the Lines info in XOVER data if the header is missing? Anyone know >what most servers do today? Do they return an empty field or do they Looking at the .overview files for several groups on my INN 2.2.2 server, it appears that INN generates the line and byte counts for every article. It likely ignores the Lines: header entirely, but I haven't examined the source to tell if that's true. -- Paul Tomblin, not speaking for anybody. 'Usenet "belongs" to those who administer the hosts of which it is comprised' - RFC 1036, draft revision
Re: RFC 1036 Revision: General
Author: Russ Allbery
Date: Thu, 17 Feb 2000 00:00
Date: Thu, 17 Feb 2000 00:00
19 lines
1714 bytes
1714 bytes
In news.software.nntp, Paul Tomblin <ptomblin@xcski.com> writes: > In a previous article, curt@kcwc.com (Curt Welch) said: >> It's unclear in my mind however what servers are expected to return for >> the Lines info in XOVER data if the header is missing? Anyone know >> what most servers do today? Do they return an empty field or do they > Looking at the .overview files for several groups on my INN 2.2.2 > server, it appears that INN generates the line and byte counts for every > article. It likely ignores the Lines: header entirely, but I haven't > examined the source to tell if that's true. Under some circumstances, it will silently correct the Lines header. For the purposes of overview generation, I believe it ignores it entirely. -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Re: RFC 1036 Revision: General
Author: Curt Welch
Date: Sat, 19 Feb 2000 00:00
Date: Sat, 19 Feb 2000 00:00
22 lines
1965 bytes
1965 bytes
not-a-real-address@usa.net (those who know me have no need of my name) wrote: > assumes that overview is always present. in which case, isn't it time > that the command be retired from experimental standing? It's way beyond experimental at this point. I think it's at least 8 years old and is very well established. All the major servers support it. I suspect most newsreaders won't even work with a server that didn't support it. I have an August '98 NNTP draft by Stan Barber which tried to change the name from XOVER to OVER (and also tried to fix XPAT). Last I checked, nobody seems to have bothered with the name change because there's very little point in doing so. And I don't think that draft ever became an offical RFC. Did it? Do any servers recognize the OVER command? -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: RFC 1036 Revision: General
Author: Terrance Richard Boyes
Date: Sat, 19 Feb 2000 00:00
Date: Sat, 19 Feb 2000 00:00
53 lines
4164 bytes
4164 bytes
In news.admin.misc Russ Allbery <rra@stanford.edu> wrote: > In news.admin.misc, Curt Welch <curt@kcwc.com> writes: > However, in terms of Usenet at large, the client cannot assume that a > Lines header will be present and cannot assume that it will be accurate if > it is. A header not standardized should be considered a local extension > of one form or another, so just because Lines is officially deprecated > doesn't mean that you can't add it when serving articles to readers. It's > just recommended that newsreaders use overview information for that, since > that's guaranteed to always exist and be accurate, and use of Lines is > deprecated because quite a few servers won't force it to be accurate. Some nntpclient (as opposed to newsreader) software does use HEAD (in combination with NEWNEWS) as a basis for filtering rather than XOVER. And as you mentioned adding the header later makes authentication more difficult. [snip] >> And error of -2 is the most common (75% of all bogus Lines: headers have >> a value which is 2 lines too small.) And though the number doesn't show >> above, 94% of all bogus Lines: headers have values which are too small >> and only 5% have values which are too large. >> Does INN adjust the header if it's off by more than 2 or something? Is >> that what's causing the large difference between -2 and -3? (i.e. all >> the -3 and greate articles that happen to pass though an inn server >> before my server saw it was "fixed"? > What you're seeing is the results of a known bug in various versions of > inews that causes it to generate incorrect Lines headers because it does > the Lines count before adding the signature. Most of the one line errors > are probably something somewhere along the line adding a blank line to the > end of the article (it's scary how many different packages do things like > this), and most of the two-line errors are probably from one-line sigs. Also possibly when using some form of mail2news gateway. At one point the UUCP sendmail I used here added one (and I know that some of the old DOS/Win311 agents do), and Demon's mail2news still does. Another thing to take into account would be cases where the news providers machine adds an advert... [snip] -- <URL:http://www.pierrot.co.uk/> Team AMIGA MacDonald has the gift on compressing the largest amount of words into the smallest amount of thoughts." - Winston Churchill
Re: RFC 1036 Revision: General
Author: Andrew Gierth
Date: Sat, 19 Feb 2000 00:00
Date: Sat, 19 Feb 2000 00:00
13 lines
1586 bytes
1586 bytes
>>>>> "Terrance" == Terrance Richard Boyes <tez@pierrot.co.uk> writes: Terrance> Some nntpclient (as opposed to newsreader) software does Terrance> use HEAD (in combination with NEWNEWS) as a basis for Terrance> filtering rather than XOVER. It strikes me that a command similar to NEWNEWS that returned overview info rather than just message-ids would be a neat solution to this.... -- Andrew.
Re: RFC 1036 Revision: General
Author: Andrew
Date: Sat, 19 Feb 2000 00:00
Date: Sat, 19 Feb 2000 00:00
25 lines
2001 bytes
2001 bytes
In article <20000219010540.033$WW@newsreader.com>, Curt Welch wrote: >I have an August '98 NNTP draft by Stan Barber which tried to change the >name from XOVER to OVER (and also tried to fix XPAT). Last I checked, >nobody seems to have bothered with the name change because there's very >little point in doing so. you misunderstand - it's an attempt to standardise the command, and since the initial 'X' implies "this command name will never be standardised", there's little option but to change the name. >And I don't think that draft ever became an offical RFC. Did it? not yet - its still supposedly being worked on, though the working group mailing list is exceptionally quiet. >Do any servers recognize the OVER command? ours does, but I wouldn't really advise using it until the NNTP draft actually becomes a standard (assuming that ever happens). -- Andrew, Supernews http://www.supernews.com - UK and US individual and corporate NNTP services
Re: RFC 1036 Revision: General
Author: those who know me have no need o...
Date: Sat, 19 Feb 2000 00:00
Date: Sat, 19 Feb 2000 00:00
16 lines
1588 bytes
1588 bytes
rra@stanford.edu (Russ Allbery) wrote: >The intention of deprecating the Lines header is to encourage newsreader >authors to get that information from the overview information, where it >will both be more accurate and guaranteed to be present. assumes that overview is always present. in which case, isn't it time that the command be retired from experimental standing? in some ways i'd prefer that lines: be treated the same as xref:, removed from all incoming or outgoing articles, and generated when stored. transit-only servers need not generate one. -- okay, have a sig then
Re: RFC 1036 Revision: General
Author: J. B. Moreno
Date: Sun, 20 Feb 2000 00:00
Date: Sun, 20 Feb 2000 00:00
29 lines
2010 bytes
2010 bytes
Curt Welch <curt@kcwc.com> wrote: > Jeremy <bofh@netscum.dk> wrote: -snip- > > If you implement xdhr <message-id>, you'll have a feature Supernews > > doesn't. :) > > Ah, then I guess I'll have to get busy on that. :) > > I don't however really see it as a very useful feature. HEAD <id> > is probably all you need. How about returning the planned message id in response to a POST command? > > > mode yankee? > > > > 200 Supernews NNRP server ready - http://www.supernews.com > > mode yankee > > 199 Don't Mess With Texas > > Ok, got that one now too :). Whew, that is a relief, I'd hate to see you leave that out. -- John B. Moreno
Re: RFC 1036 Revision: General
Author: BARRY BOUWSMA IS A MASSMURDERER
Date: Sun, 20 Feb 2000 00:00
Date: Sun, 20 Feb 2000 00:00
24 lines
2160 bytes
2160 bytes
On Sat 2363 Sep 1993, Jeremy wrote:
> > I have an August '98 NNTP draft by Stan Barber which tried to change the
> > name from XOVER to OVER (and also tried to fix XPAT). Last I checked,
> > nobody seems to have bothered with the name change because there's very
> > little point in doing so. And I don't think that draft ever became an
> > offical RFC. Did it? Do any servers recognize the OVER command?
>
> Supernews.
> Of course, since no *clients* use it, it's kind of just there for the
> sake of being there.
http://www.news.inet.tele.dk/innreport/news-notice.2000.02.17-04.30.21.html#nnrpd_unrecognized2
--
*** This was posted with the express permission of ***
******************************************************
** HIS HIGHNESS KAAZMANN LORD AND MASTER OF USENET **
******************************************************
********* We are simple servants of his will *********
Re: RFC 1036 Revision: General
Author: Jeremy
Date: Sun, 20 Feb 2000 00:00
Date: Sun, 20 Feb 2000 00:00
14 lines
1031 bytes
1031 bytes
Curt Welch <curt@kcwc.com> wrote: > XTHREAD DBINIT ? > > Anybody have a clue what that's about? It's trn, trying to use its threads database. Do any servers support *that*? -- Jeremy ( jeremy@exit109.com | bofh@netscum.dk )
Re: RFC 1036 Revision: General
Author: Paul Tomblin
Date: Sun, 20 Feb 2000 00:00
Date: Sun, 20 Feb 2000 00:00
17 lines
1463 bytes
1463 bytes
In a previous article, curt@kcwc.com (Curt Welch) said: > >XTHREAD DBINIT ? > >Anybody have a clue what that's about? I have no idea, except that trn 4.0 seems to emit it all the time, and inn 2.2.2 doesn't handle it. -- Paul Tomblin, not speaking for anybody. 'Usenet "belongs" to those who administer the hosts of which it is comprised' - RFC 1036, draft revision
Re: RFC 1036 Revision: General
Author: Curt Welch
Date: Sun, 20 Feb 2000 00:00
Date: Sun, 20 Feb 2000 00:00
27 lines
2024 bytes
2024 bytes
BARRY BOUWSMA IS A MASSMURDERER <pedophile@FLUFFY.GETS.AN.ANALPROBE.DK> wrote: > On Sat 2363 Sep 1993, Jeremy wrote: > > > > I have an August '98 NNTP draft by Stan Barber which tried to change > > > the name from XOVER to OVER (and also tried to fix XPAT). Last I > > > checked, nobody seems to have bothered with the name change because > > > there's very little point in doing so. And I don't think that draft > > > ever became an offical RFC. Did it? Do any servers recognize the > > > OVER command? > > > > Supernews. > > Of course, since no *clients* use it, it's kind of just there for the > > sake of being there. > > http://www.news.inet.tele.dk/innreport/news-notice.2000.02.17-04.30.21.ht > ml#nnrpd_unrecognized2 XTHREAD DBINIT ? Anybody have a clue what that's about? -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: RFC 1036 Revision: General
Author: IRS Agent
Date: Sun, 20 Feb 2000 00:00
Date: Sun, 20 Feb 2000 00:00
51 lines
2753 bytes
2753 bytes
In article <Pine.BSF.3.96.1000220134025.70779B-100000@fLuFFy.iNt.tElE.dK>, BARRY BOUWSMA IS A MASSMURDERER <pedophile@FLUFFY.GETS.AN.ANALPROBE.DK> wrote: Does Greg know? >On Sat 2363 Sep 1993, Jeremy wrote: > >> > I have an August '98 NNTP draft by Stan Barber which tried to change the >> > name from XOVER to OVER (and also tried to fix XPAT). Last I checked, >> > nobody seems to have bothered with the name change because there's very >> > little point in doing so. And I don't think that draft ever became an >> > offical RFC. Did it? Do any servers recognize the OVER command? >> >> Supernews. >> Of course, since no *clients* use it, it's kind of just there for the >> sake of being there. > >http://www.news.inet.tele.dk/innreport/news-notice.1900.02.17-04 30.21.html#nnrpd_unrecognized2 Some of my old favorite open servers are listed there. >-- > > *** This was posted with the express permission of *** > ****************************************************** > ** HIS HIGHNESS KAAZMANN LORD AND MASTER OF USENET ** > ****************************************************** > ********* We are simple servants of his will ********* Good thing you obtained Lord Kaazmann's permission. Otherwise, there would be good cause for a news.admin.pedophile.barry-bouwsma.wank-with-nikki-sandru news group creation process. * Sent from RemarQ http://www.remarq.com The Internet's Discussion Network * The fastest and easiest way to search and participate in Usenet - Free!
Re: RFC 1036 Revision: General
Author: Jonathan Grobe
Date: Sun, 20 Feb 2000 00:00
Date: Sun, 20 Feb 2000 00:00
59 lines
2917 bytes
2917 bytes
In article <88pas8$gt1$1@allhats.xcski.com>, Paul Tomblin wrote:
>In a previous article, curt@kcwc.com (Curt Welch) said:
>>
>>XTHREAD DBINIT ?
>>
>>Anybody have a clue what that's about?
>
>I have no idea, except that trn 4.0 seems to emit it all the time, and inn
>2.2.2 doesn't handle it.
The standard place to look for the answers to this kind of question
is Stan Barber's "Common NNTP Extensions"
NNTP-Ext 2.12 XTHREAD
XTHREAD [DBINIT|THREAD]
The XTHREAD command is used to retrieve threading information
in format of originally created for use by the TRN[6] news
reader.
The command XTHREAD DBINIT may be issued prior to entering
any groups to see if a thread database exists. If it does,
the database's byte order and version number are returned
as binary data.
If no parameter is given, XTHREAD THREAD is assumed.
To use XTHREAD THREAD, a news group must have been selected
earlier, else a 412 error response is returned.
A 502 response will be returned if the client only has
permission to transfer articles. A 503 response is returned
if the threading files are not available.
The format of the trn-style thread format is discussed in
the documentation for the TRN newsreader. Since more recent
versions of TRN support the news overview (NOV) format, it
is recommended that this extension become historic and no
longer be used in current servers or future implementations.
2.12.1 Responses
288 Binary data to follow
412 No newsgroup current selected
502 No permission
503 program error, function not performed
--
Jonathan Grobe Jonathan Grobe Books. Used & out-of-print books:
Search or browse subject catalogs: <http://www.netins.net/showcase/grobe>
For millions of used/out-of-print books try <http://www.abebooks.com>
<http://www.bibliofind.com> <http://www.bookavenue.com>
Re: RFC 1036 Revision: General
Author: Jeremy
Date: Sun, 20 Feb 2000 00:00
Date: Sun, 20 Feb 2000 00:00
34 lines
1947 bytes
1947 bytes
Curt Welch <curt@kcwc.com> wrote: > As it so happens, I added PAT at the same time. Except I don't support > the <message-id> form of the command yet. It seems inn's XHDR (and I > assume XPAT as well) has supported that for some time even though > Typhoon doesn't seem to. > > When you use the <message-id> instead of a range with inn, I think the > format of the return data lists the <message-id> at the beginning of > the line instead of the article number. Can someone confirm this for > me? I don't have easy access to an INN box at the moment. xhdr From <20000220110821.423$oq@newsreader.com> 221 0 From header of article <20000220110821.423$oq@newsreader.com>. <20000220110821.423$oq@newsreader.com> curt@kcwc.com (Curt Welch) . xpat From <20000220110821.423$oq@newsreader.com> *curt* 221 From matches follow. <20000220110821.423$oq@newsreader.com> curt@kcwc.com (Curt Welch) . If you implement xdhr <message-id>, you'll have a feature Supernews doesn't. :) > mode yankee? 200 Supernews NNRP server ready - http://www.supernews.com mode yankee 199 Don't Mess With Texas -- Jeremy ( jeremy@exit109.com | bofh@netscum.dk )
Re: RFC 1036 Revision: General
Author: Curt Welch
Date: Sun, 20 Feb 2000 00:00
Date: Sun, 20 Feb 2000 00:00
35 lines
2358 bytes
2358 bytes
Jeremy <bofh@netscum.dk> wrote: > Curt Welch <curt@kcwc.com> wrote: > > >>> Do any servers recognize the OVER command? > >> > >> ours does, but I wouldn't really advise using it until the NNTP draft > >> actually becomes a standard (assuming that ever happens). > > > > Ok, so mine supports it now as well. Hate to think someone else has a > > feature that I don't :). > > You've got a little more work to do, then; Supernews also supports PAT > alongside XPAT, as well as the crucial "mode yankee". :) As it so happens, I added PAT at the same time. Except I don't support the <message-id> form of the command yet. It seems inn's XHDR (and I assume XPAT as well) has supported that for some time even though Typhoon doesn't seem to. When you use the <message-id> instead of a range with inn, I think the format of the return data lists the <message-id> at the beginning of the line instead of the article number. Can someone confirm this for me? I don't have easy access to an INN box at the moment. The draft NNTP spec I have says you must always list the article number which is really somewhat bogus -- i.e. article number from which group? mode yankee? -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: RFC 1036 Revision: General
Author: Curt Welch
Date: Mon, 21 Feb 2000 00:00
Date: Mon, 21 Feb 2000 00:00
91 lines
5407 bytes
5407 bytes
Jeremy <bofh@netscum.dk> wrote: > Curt Welch <curt@kcwc.com> wrote: > > >> How about returning the planned message id in response to a POST > >> command? > [...] > > > Do you want it on the 340 response (the one that tells you to go > > ahead and send the article), or on the 240 response that comes > > after the article is sent by the user? > > > > And why is this needed? Ok, I've added that feature to my server. (on both the 340 response that comes before the article and the 240 response that comes after the article.) The INN patch planb@newsreaders.com (J. B. Moreno) posted the link to had the Message-ID mixed in with the text for both responses. I put it first on the line which I think is the "right" way to do it. It's stupid to force the client to scan the line to check for a message ID when there's no reason not to just require the ID be placed first on the line (after the result code and a space of course). The other NNTP responses work that way. The ID I put on the first response (the 340, go ahead and send article response), is the one I use if the article as sent doesn't have a message-id. And that's the same thing the INN patch does. But, if this were a standard, I think the message-ID there should only be a suggestion of what the newsreader could use if it wanted to. That way, even large multiple system installations that were not able to predict/control what ID the article ends up with, could at least make up an ID for the client to use. This just means that if the client chooses not to use the suggested Id, and dosen't add any Message-ID: to the article, then the ID it ends up with may not be the one suggested on the 340 response. But, at the same time, I see no reason why the server couldn't go ahead and check for a missing Message-ID: header, and add it based on the ID it suggested -- even if the article was just being passed on to another server to do the real post work. So most the time, the suggested ID would be the one it would end up with. So, now that I think though this, I guess there's no reson not to require the server to use the id it suggested. i.e., if it includes an ID in the 340 response, then the article MUST end up with that ID if the client doesn't include a Message-ID: header. If the server can't guarantee that the article will end up with that ID, then it MUST NOT include the ID in the response code. So, the correct algorithm for a client should be to 1) if they don't need to know the ID, leave the Message-ID header off and let the server generate it, and 2), if it needs to know the ID for whatever reason, use the one from the 340 response if present, else make your own up like everyone currently does. I'm sure that for many newsreaders, this won't be easy, because by the time the newsreader is sending the POST command, it has already formatted the entire article, and editing the headers after you start a post will most likely require a some code structure changes. > It would be nice in the 340 response, as you could then let the server > generate a message-id, and still let the reader know what that ID is > going to be, and allow the possibility to use it or not, as desired. > > It does create some implementation problems for larger systems, though, > so while I'd like to see it in the standard, if it's there it should be > optional. Having the ID on the 240 OK response that comes after the article is posted is mostly useless (because clients that need to know the ID can't afford to wait until then to find out if the server is going to be nice enough to include the id there.) But, it would be very useful on servers that want to override the supplied ID. But, for things like Cancel-Locks: based on the ID, or signatures based on the ID, the client must know what the ID is going to be before the article is posted, so servers which overide the ID after the fact should really not be allowed. So if we can define that to be the case, then including the ID on the 240 response would just be redundant -- though I guess for some newsreader it might happen to make things easier, so I guess I see no harm in having it part of the standard.... -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: ietf-nntp Re: RFC 1036 Revision: General
Author: Jeremy
Date: Mon, 21 Feb 2000 00:00
Date: Mon, 21 Feb 2000 00:00
24 lines
1692 bytes
1692 bytes
[Having no idea what mcom.list.ietf-nntp is, I have removed it.] Andrew Gierth <ietf-nntp@academ.com> wrote: > The relevent part of the text says: > > Successful responses start with a 221 response followed by > article number, an US-ASCII space, and the header from that > message in which the argument pattern matches the contents of > the specified header line. > > IMO there should be some change here to handle this case - either > allowing the returned article number to be '0', or having the message-id > returned instead as for INN's xhdr & xpat. Actually, the article number is entirely meaningless in the case of a message-id request, and it shouldn't be present at all. There is no way for a client to do anything at all with it, because there is no indication of what group it applies to. -- Jeremy ( jeremy@exit109.com | bofh@netscum.dk )
Re: ietf-nntp Re: RFC 1036 Revision: General
Author: Curt Welch
Date: Mon, 21 Feb 2000 00:00
Date: Mon, 21 Feb 2000 00:00
71 lines
4050 bytes
4050 bytes
ietf-nntp@academ.com wrote: > The following message is a courtesy copy of an article > that has been posted to news.admin.misc,news.software.nntp, > news.software.readers as well. > > >>>>> "Curt" == Curt Welch <curt@kcwc.com> writes: > > >> xhdr From <20000220110821.423$oq@newsreader.com> > >> 221 0 From header of article <20000220110821.423$oq@newsreader.com>. > >> <20000220110821.423$oq@newsreader.com> curt@kcwc.com (Curt Welch) > >> . > >> xpat From <20000220110821.423$oq@newsreader.com> *curt* > >> 221 From matches follow. > >> <20000220110821.423$oq@newsreader.com> curt@kcwc.com (Curt Welch) > >> . > > Curt> Thanks. I hope the NNTP draft gets that right. It's stupid to > Curt> try and return an article number. > > The NNTP draft obviously doesn't specify XHDR & XPAT, but the example it > includes for PAT header <message-id> does show an article number being > returned: Right, it's the PAT command I was concerned about. > Example of a successful retrieval of header from an article by > message-id > > [S] 200 NNTP Service Ready > > [C] PAT subject <i.am.a.test.article@nowhere.to> > > [S] 221 Header information follows > > 3000345 I am just a test article > > . > > The relevent part of the text says: > > Successful responses start with a 221 response followed by > article number, an US-ASCII space, and the header from that > message in which the argument pattern matches the contents of > the specified header line. > > IMO there should be some change here to handle this case - either > allowing the returned article number to be '0', or having the message-id > returned instead as for INN's xhdr & xpat. Yes, 0 is fine as well, but for consistencey with INNs XPAT I'd recommend using the Message-ID. That way, anyone using XPAT in their code can just change it to PAT and it would still work. It's easy of course to print out an article number, but it's likely to cause confusion. People might assume it's an article number from the currently selected GROUP but the server might simply print the first article number it finds in the Xref: data -- so for cross posted articles the number might not apply to the current group, even though the article is posted to the current group. The other issue is whether PAT header <id> requires a group to be selected, or whether the article has to be posted to that group. It shouldn't have to be selected or related at all to the current group, but the draft I have doesn't get into that issue at all. This is the same issue that comes up with the ARTICLE/HEAD/BODY <id> commands. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: RFC 1036 Revision: General
Author: Bill Cole
Date: Mon, 21 Feb 2000 00:00
Date: Mon, 21 Feb 2000 00:00
30 lines
1835 bytes
1835 bytes
In article <951116973.332147@news.netscum.dk>, Jeremy <bofh@netscum.dk> wrote: > Curt Welch <curt@kcwc.com> wrote: > > >> How about returning the planned message id in response to a POST > >> command? > [...] > > > Do you want it on the 340 response (the one that tells you to go > > ahead and send the article), or on the 240 response that comes > > after the article is sent by the user? > > > > And why is this needed? > > It would be nice in the 340 response, as you could then let the server > generate a message-id, and still let the reader know what that ID is > going to be, and allow the possibility to use it or not, as desired. This is obviously not a new idea, since I'm running a news server (RumorMill) that does just that. I am unaware of any clients supporting it however. -- Bill Cole, Geek at large I'm casually looking for a new job See: http://sc1.scconsult.com/~bill/resume.html for a resume and more 5094th at Freenix!!!
Bogus mailing-list gatewaying (was: Re: ietf-nntp Re: RFC 1036 Revision: General)
Author: Andrew Gierth
Date: Mon, 21 Feb 2000 00:00
Date: Mon, 21 Feb 2000 00:00
61 lines
3830 bytes
3830 bytes
>>>>> "Jeremy" == Jeremy <bofh@netscum.dk> writes: Jeremy> [Having no idea what mcom.list.ietf-nntp is, I have removed it.] Some fuckwit at Netscape is gatewaying ietf-nntp into a newsgroup while preserving message-ids, and the copy of my article that I sent to the mailing list got out before the copy in news did (I don't feed my posts out in realtime, maybe I should start doing that). > Andrew Gierth <ietf-nntp@academ.com> wrote: Didn't half fuck up the attributions, too, because the NNTP list sets reply-to, not to mention the subject-line tag, and the "courtesy copy" notice in the body. These are the headers as gatewayed: ---- Path: ...!logbridge.uoregon.edu!newsfeed.netscape.com!pixie.netscape.com!gateway From: andrew@erlenstar.demon.co.uk (Andrew Gierth) Newsgroups: news.admin.misc,news.software.nntp,news.software.readers,mcom.list.ietf-nntp Subject: ietf-nntp Re: RFC 1036 Revision: General Date: 21 Feb 2000 03:44:31 GMT Organization: disorganised Sender: owner-ietf-nntp@academ.com Approved: usenet@netscape.com Message-ID: <87aekv43ts.fsf@erlenstar.demon.co.uk> References: <slrn8an4h9.vch.grobe+news@worf.netins.net> <20000219165634.892$gw@newsreader.com> <951044199.654748@news.netscum.dk> <20000220110821.423$oq@newsreader.com> <951077734.28590@news.netscum.dk> <20000220201223.967$Cp@newsreader.com> Reply-To: ietf-nntp@academ.com NNTP-Posting-Host: 205.217.237.94 Lines: 49 ---- These are the real headers as seen on erlenstar (only): ---- Path: erlenstar.demon.co.uk!newsmonster From: Andrew Gierth <andrew@erlenstar.demon.co.uk> Newsgroups: news.admin.misc,news.software.nntp,news.software.readers Subject: Re: RFC 1036 Revision: General Date: 21 Feb 2000 03:44:31 +0000 Organization: disorganised Lines: 45 Message-ID: <87aekv43ts.fsf@erlenstar.demon.co.uk> References: <slrn8an4h9.vch.grobe+news@worf.netins.net> <20000219165634.892$gw@newsreader.com> <951044199.654748@news.netscum.dk> <20000220110821.423$oq@newsreader.com> <951077734.28590@news.netscum.dk> <20000220201223.967$Cp@newsreader.com> NNTP-Posting-Host: erlenstar.demon.co.uk (0e07:0a73) Cc: ietf-nntp@academ.com X-Mayan-Date: Long count = 12.19.6.17.11; tzolkin = 8 Chuen; haab = 19 Pax X-Pgp-0x0E9FFBE9: 87 25 7F 14 41 24 B3 51 E0 19 8B DE 49 74 0C 29 X-Attribution: AG X-P-Persistent-Headers: are a bad idea. X-Newsreader: Gnus v5.5/Emacs 20.2 X-Complaints-To: andrew@erlenstar.demon.co.uk X-Post-Filter: postfilter v0.6 alpha Xref: erlenstar.demon.co.uk news.admin.misc:10736 news.software.nntp:47372 news.software.readers:15276 ---- -- Andrew.
MID in 240 and 340 responses (was: RFC 1036 Revision: General)
Author: J. B. Moreno
Date: Mon, 21 Feb 2000 00:00
Date: Mon, 21 Feb 2000 00:00
115 lines
6868 bytes
6868 bytes
Curt Welch <curt@kcwc.com> wrote: > Jeremy <bofh@netscum.dk> wrote: > > Curt Welch <curt@kcwc.com> wrote: > > > > >> How about returning the planned message id in response to a POST > > >> command? > > [...] > > > > > Do you want it on the 340 response (the one that tells you to go > > > ahead and send the article), or on the 240 response that comes > > > after the article is sent by the user? > > > > > > And why is this needed? > > Ok, I've added that feature to my server. (on both the 340 response > that comes before the article and the 240 response that comes after > the article.) > > The INN patch planb@newsreaders.com (J. B. Moreno) posted the link to had > the Message-ID mixed in with the text for both responses. I put it first > on the line which I think is the "right" way to do it. It's stupid to > force the client to scan the line to check for a message ID when there's no > reason not to just require the ID be placed first on the line (after the > result code and a space of course). The other NNTP responses work that > way. Sensible -- at the very least it means they find it faster. > The ID I put on the first response (the 340, go ahead and send article > response), is the one I use if the article as sent doesn't have a > message-id. And that's the same thing the INN patch does. But, if this > were a standard, I think the message-ID there should only be a suggestion > of what the newsreader could use if it wanted to. That way, even large > multiple system installations that were not able to predict/control what ID > the article ends up with, could at least make up an ID for the client to > use. > > This just means that if the client chooses not to use the suggested Id, > and dosen't add any Message-ID: to the article, then the ID it ends up > with may not be the one suggested on the 340 response. If I'm reading this right -- I disagree. The 340 response is (or should be) two things: a suggestion of what the client should use and a promise of what the server will use if the client leaves it blank. > But, at the same time, I see no reason why the server couldn't go ahead > and check for a missing Message-ID: header, and add it based on the > ID it suggested -- even if the article was just being passed on to another > server to do the real post work. So most the time, the suggested ID > would be the one it would end up with. Right, the only time it should vary is when the client overrides it. > So, now that I think though this, I guess there's no reson not to require > the server to use the id it suggested. i.e., if it includes an ID in > the 340 response, then the article MUST end up with that ID if the client > doesn't include a Message-ID: header. If the server can't guarantee that > the article will end up with that ID, then it MUST NOT include the ID > in the response code. Absolutely agreed. IMO it's useless if the client can't rely upon it. > So, the correct algorithm for a client should be to 1) if they don't > need to know the ID, leave the Message-ID header off and let the > server generate it, and 2), if it needs to know the ID for whatever > reason, use the one from the 340 response if present, else make your > own up like everyone currently does. > > I'm sure that for many newsreaders, this won't be easy, because by > the time the newsreader is sending the POST command, it has already > formatted the entire article, and editing the headers after you > start a post will most likely require a some code structure changes. Sure it'll require some changes, but it shouldn't require a lot. > > It would be nice in the 340 response, as you could then let the server > > generate a message-id, and still let the reader know what that ID is > > going to be, and allow the possibility to use it or not, as desired. > > > > It does create some implementation problems for larger systems, though, > > so while I'd like to see it in the standard, if it's there it should be > > optional. > > Having the ID on the 240 OK response that comes after the article is > posted is mostly useless (because clients that need to know the ID > can't afford to wait until then to find out if the server is going > to be nice enough to include the id there.) But, it would be very > useful on servers that want to override the supplied ID. > > But, for things like Cancel-Locks: based on the ID, or signatures based on > the ID, the client must know what the ID is going to be before the article > is posted, so servers which overide the ID after the fact should really > not be allowed. Well, I certainly agree there, I think the server overriding the id is evil. Still -- returning the id that will be used in the 240 allows newsreaders to compensate for evil servers: they can check and if a particular server does over ride the supplied id or not. > So if we can define that to be the case, then including the ID on > the 240 response would just be redundant -- though I guess for some > newsreader it might happen to make things easier, so I guess I see > no harm in having it part of the standard.... I think it's a good cross check, a bit of redundancy isn't a bad thing as long as it doesn't get in the way. -- John B. Moreno
Re: RFC 1036 Revision: General
Author: Jeremy
Date: Mon, 21 Feb 2000 00:00
Date: Mon, 21 Feb 2000 00:00
24 lines
1541 bytes
1541 bytes
Curt Welch <curt@kcwc.com> wrote: >> How about returning the planned message id in response to a POST >> command? [...] > Do you want it on the 340 response (the one that tells you to go > ahead and send the article), or on the 240 response that comes > after the article is sent by the user? > > And why is this needed? It would be nice in the 340 response, as you could then let the server generate a message-id, and still let the reader know what that ID is going to be, and allow the possibility to use it or not, as desired. It does create some implementation problems for larger systems, though, so while I'd like to see it in the standard, if it's there it should be optional. -- Jeremy ( jeremy@exit109.com | bofh@netscum.dk )
Re: RFC 1036 Revision: General
Author: Jeremy
Date: Mon, 21 Feb 2000 00:00
Date: Mon, 21 Feb 2000 00:00
37 lines
2416 bytes
2416 bytes
Curt Welch <curt@kcwc.com> wrote: > So, now that I think though this, I guess there's no reson not to require > the server to use the id it suggested. i.e., if it includes an ID in > the 340 response, then the article MUST end up with that ID if the client > doesn't include a Message-ID: header. If the server can't guarantee that > the article will end up with that ID, then it MUST NOT include the ID > in the response code. Yes, I think that's the right way to do it. Optional, but if you send it, you'd better mean it. As a client, I may want to know what the ID is going to be, but there's no reason I should have to bother inserting the header. If the ID could change if the client fails to insert the header, that will cause problems. > Having the ID on the 240 OK response that comes after the article is > posted is mostly useless (because clients that need to know the ID > can't afford to wait until then to find out if the server is going > to be nice enough to include the id there.) Well, it's still useful in that the client can find out what the ID is. If it's not returned at all, then the post just gets sent out and you have no way of knowing what message-id it got. > But, for things like Cancel-Locks: based on the ID, or signatures based > on the ID, the client must know what the ID is going to be before the > article is posted, so servers which overide the ID after the fact > should really not be allowed. For those, and many other reasons. Rewriting message-ids really should be a MUST NOT UNDER PAIN OF ETERNAL DAMNATION. -- Jeremy ( jeremy@exit109.com | bofh@netscum.dk )
ietf-nntp Re: RFC 1036 Revision: General
Author: Andrew Gierth
Date: Mon, 21 Feb 2000 00:00
Date: Mon, 21 Feb 2000 00:00
51 lines
2668 bytes
2668 bytes
The following message is a courtesy copy of an article
that has been posted to news.admin.misc,news.software.nntp,news.software.readers as well.
>>>>> "Curt" == Curt Welch <curt@kcwc.com> writes:
>> xhdr From <20000220110821.423$oq@newsreader.com>
>> 221 0 From header of article <20000220110821.423$oq@newsreader.com>.
>> <20000220110821.423$oq@newsreader.com> curt@kcwc.com (Curt Welch)
>> .
>> xpat From <20000220110821.423$oq@newsreader.com> *curt*
>> 221 From matches follow.
>> <20000220110821.423$oq@newsreader.com> curt@kcwc.com (Curt Welch)
>> .
Curt> Thanks. I hope the NNTP draft gets that right. It's stupid to
Curt> try and return an article number.
The NNTP draft obviously doesn't specify XHDR & XPAT, but the example it
includes for PAT header <message-id> does show an article number being
returned:
Example of a successful retrieval of header from an article by
message-id
[S] 200 NNTP Service Ready
[C] PAT subject <i.am.a.test.article@nowhere.to>
[S] 221 Header information follows
3000345 I am just a test article
.
The relevent part of the text says:
Successful responses start with a 221 response followed by
article number, an US-ASCII space, and the header from that
message in which the argument pattern matches the contents of
the specified header line.
IMO there should be some change here to handle this case - either
allowing the returned article number to be '0', or having the message-id
returned instead as for INN's xhdr & xpat.
--
Andrew.
Re: RFC 1036 Revision: General
Author: Jeremy
Date: Mon, 21 Feb 2000 00:00
Date: Mon, 21 Feb 2000 00:00
16 lines
1143 bytes
1143 bytes
Bill Cole <bill@scconsult.com> wrote: > This is obviously not a new idea, since I'm running a news server > (RumorMill) that does just that. Nope; I got the idea from this very newsgroup, some time back, when a patch for INN was posted. > I am unaware of any clients supporting it however. Chicken-and-egg. -- Jeremy ( jeremy@exit109.com | bofh@netscum.dk )
Re: RFC 1036 Revision: General
Author: Andrew
Date: Mon, 21 Feb 2000 00:00
Date: Mon, 21 Feb 2000 00:00
14 lines
1829 bytes
1829 bytes
In article <1e6bqtk.minnfm1dl0bk0N%planb@newsreaders.com>, J. B. Moreno wrote: >How about returning the planned message id in response to a POST >command? The problem we have with that is that the machine that returns the response to POST is not the one that will assign the message-id or do any processing at all on the post. Worse, that machine may not have all the information needed to even guess at a planned ID. -- Andrew, Supernews http://www.supernews.com - UK and US individual and corporate NNTP services
Re: RFC 1036 Revision: General
Author: Curt Welch
Date: Mon, 21 Feb 2000 00:00
Date: Mon, 21 Feb 2000 00:00
46 lines
2643 bytes
2643 bytes
Jeremy <bofh@netscum.dk> wrote: > Curt Welch <curt@kcwc.com> wrote: > > > As it so happens, I added PAT at the same time. Except I don't support > > the <message-id> form of the command yet. It seems inn's XHDR (and I > > assume XPAT as well) has supported that for some time even though > > Typhoon doesn't seem to. > > > > When you use the <message-id> instead of a range with inn, I think the > > format of the return data lists the <message-id> at the beginning of > > the line instead of the article number. Can someone confirm this for > > me? I don't have easy access to an INN box at the moment. > > xhdr From <20000220110821.423$oq@newsreader.com> > 221 0 From header of article <20000220110821.423$oq@newsreader.com>. > <20000220110821.423$oq@newsreader.com> curt@kcwc.com (Curt Welch) > . > xpat From <20000220110821.423$oq@newsreader.com> *curt* > 221 From matches follow. > <20000220110821.423$oq@newsreader.com> curt@kcwc.com (Curt Welch) > . Thanks. I hope the NNTP draft gets that right. It's stupid to try and return an article number. > If you implement xdhr <message-id>, you'll have a feature Supernews > doesn't. :) Ah, then I guess I'll have to get busy on that. :) I don't however really see it as a very useful feature. HEAD <id> is probably all you need. > > mode yankee? > > 200 Supernews NNRP server ready - http://www.supernews.com > mode yankee > 199 Don't Mess With Texas Ok, got that one now too :). -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: nntpext (was RFC 1036 Revision...)
Author: Russ Allbery
Date: Mon, 21 Feb 2000 00:00
Date: Mon, 21 Feb 2000 00:00
21 lines
2026 bytes
2026 bytes
Andrew <andrew+news@supernews.com> writes: > While I would like to see a usable auth mechanism that didn't involve > plaintext passwords, the existing draft isn't it: it has built-in > assumptions that the server has access to the plaintext, or predigested > plaintext, of passwords, and for our authenticated outsource users this > isn't possible. We would need a mechanism that allowed the server to > recover the plaintext as entered by the user (correct or otherwise) so > that it could be validated by external means. This probably implies some > form of public-key mechanism. NNTP should simply require SASL be used for all authentication except for legacy support and be done with it. That way, there's no need to even bother standardizing the response codes of the previous mechanism; just document that some clients use them, but say that everyone should use SASL. -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Re: RFC 1036 Revision: General
Author: Curt Welch
Date: Mon, 21 Feb 2000 00:00
Date: Mon, 21 Feb 2000 00:00
34 lines
2318 bytes
2318 bytes
planb@newsreaders.com (J. B. Moreno) wrote: > Curt Welch <curt@kcwc.com> wrote: > > > Jeremy <bofh@netscum.dk> wrote: > -snip- > > > If you implement xdhr <message-id>, you'll have a feature Supernews > > > doesn't. :) > > > > Ah, then I guess I'll have to get busy on that. :) Done :). > > I don't however really see it as a very useful feature. HEAD <id> > > is probably all you need. > > How about returning the planned message id in response to a POST > command? Are you asking if I do that or are you asking if it could become part of the standard? I don't do it and the NNTP draft I have doesn't include it. Do you want it on the 340 response (the one that tells you to go ahead and send the article), or on the 240 response that comes after the article is sent by the user? And why is this needed? -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: RFC 1036 Revision: General
Author: Joe Greco
Date: Mon, 21 Feb 2000 00:00
Date: Mon, 21 Feb 2000 00:00
32 lines
1925 bytes
1925 bytes
In news.software.nntp article <951164470.927553@news.netscum.dk>, Jeremy <bofh@netscum.dk> wrote: :Curt Welch <curt@kcwc.com> wrote: :> But, for things like Cancel-Locks: based on the ID, or signatures based :> on the ID, the client must know what the ID is going to be before the :> article is posted, so servers which overide the ID after the fact :> should really not be allowed. : :For those, and many other reasons. Rewriting message-ids really should :be a MUST NOT UNDER PAIN OF ETERNAL DAMNATION. And some of us have reasons for overriding the ID. And we've done it. For years. Perhaps a better option would be to provide a command that would allow a client to pre-allocate a Message-ID (and return it to the client), something like: <<< 200 Hiya >>> GIMMEAMESSAGEID <<< 2xx <123@site.com> >>> POST <<< 340 Ok >>> Message-ID: <123@site.com> >>> bla bla >>> >>> . I'm already eternally damned, so your threat doesn't really faze me. ... JG
Re: RFC 1036 Revision: General
Author: J. B. Moreno
Date: Mon, 21 Feb 2000 00:00
Date: Mon, 21 Feb 2000 00:00
40 lines
2910 bytes
2910 bytes
Curt Welch <curt@kcwc.com> wrote: > planb@newsreaders.com (J. B. Moreno) wrote: > > How about returning the planned message id in response to a POST > > command? > > Are you asking if I do that or are you asking if it could become part > of the standard? It's currently being done by INN 2.3 and a couple of other news servers (RumorMill on the Mac, Hamster I believe and someone else who I forget). > I don't do it and the NNTP draft I have doesn't include it. > > Do you want it on the 340 response (the one that tells you to go > ahead and send the article), or on the 240 response that comes > after the article is sent by the user? Bot -- 340 as a recommendation/statement of what will be used, and 240 should have either the id that is going to be used (whether supplied by the client or the same as returned by 340). > And why is this needed? I first saw this mentioned in as a patch to inn, the patch is available at: <http://sites.inka.de/~bigred/sw/inn-msgid.txt>. It just says bookkeeping, but more concrete examples -- canceling, superseding, digital signatures, filing the article for personal records, using the same message-id for articles which are also going to be mailed, scoring/hiliting followups (the client can allow the server to create the id, and still automatically add it to the score file). Lots of reasons to want to know what -- John B. Moreno
Re: nntpext (was RFC 1036 Revision...)
Author: Russ Allbery
Date: Tue, 22 Feb 2000 00:00
Date: Tue, 22 Feb 2000 00:00
66 lines
4156 bytes
4156 bytes
Andrew <andrew+news@supernews.com> writes: > Russ Allbery wrote: >> NNTP should simply require SASL be used for all authentication except >> for legacy support and be done with it. That way, there's no need to >> even bother standardizing the response codes of the previous mechanism; >> just document that some clients use them, but say that everyone should >> use SASL. > You're not reading what I wrote. Er, yes I am, but I didn't make that clear. And I also had a bit of brain fade on a few points. > SASL is a framework for authentication mechanisms, not a mechanism > itself. Right. But it lets you plug any mechanism you choose into it. > The auth draft as it stands requires that any system offering SASL > support implement the DIGEST-MD5 (or maybe CRAM-MD5) mechanism, That's an odd requirement. We run all sorts of services that use SASL which don't do anything of the sort, and there's no reason that I can see for news to be any different. Most of the systems we run using SASL implement KERBEROS_V4 or GSSAPI, which don't require plain text. That's not a solution for the standard Usenet site, of course, since most clients can't speak Kerberos, just an example. > and I can't do those because they assume that the server is doing the > authentication itself rather than invoking an external mechanism such as > a RADIUS server. I need a mechanism that allows the recovery of the > plaintext password, and I don't know if a suitable one exists (I'll > admit to knowing very little about SASL though). Well, there's always the PLAIN SASL mechanism, which just uses clear-text passwords (it "MUST NOT" be advertised or used unless a strong encryption layer has been negotiated, of course, but if you're doing news over SSL that would work fine). Beyond that, I see what you mean in terms of your requirements; something that lets the server securely recover the original password as typed, without relying on transport-layer encryption, is going to require either public key or trusted-third-party, and while Kerberos does fit the bill for the latter, it's probably not something you can use very easily. My point, though, was more that all of these sorts of issues become much easier and approachable, if not immediately solved, by just taking the jump and saying SASL is the one and only way one does authentication in protocols like NNTP, POP, IMAP, SMTP, etc. > The issue of response codes isn't fixed by standardising only SASL in > any case. The problem case is when a client connects, issues a command, > and the server needs to respond with "authentication required". Unless > the code used for that is 480, lots of existing clients break, > regardless of whether you're using plaintext passwords or SASL. Ugh, yeah, that's right. I'd forgotten that the response code matters before you even attempt an authentication mechanism. :/ -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Re: nntpext (was RFC 1036 Revision...)
Author: Curt Welch
Date: Tue, 22 Feb 2000 00:00
Date: Tue, 22 Feb 2000 00:00
39 lines
2726 bytes
2726 bytes
Marshmallow Fluffy <meowing@banet.net> wrote: > Curt Welch wrote: > > > I wasn't, but I've added it now since you mentioned it - as per my > > August 1998 NNTP draft document. Is there a newer document? > > I've got a June 1999 rev.... checking at ftp.academ.com.... yup, that's > still the latest. > > > Note however, that if the server returns a 500 series code for LIST > > EXTENSIONS, then it's ok for the client to go ahead and try to use > > the extensions anyway. > > Yeah but it seems kind of silly to support those and not the sooper > dooper official way of checking for them =) True. That's why I added it. > > The point of the command (as far as I can tell), is to allow a client > > to abort early instead of getting deep into a session before it > > figures out that it can't work with the given server because the server > > doesn't support some extension that the client must have to function. > > I got the feel from the list archives that part of it was a matter of > cleanliness too. Trying commands to see what does and doesn't work > is so icky! I like the idea of just asking the swerver "so hey, what > neat tricks are up your sleeve?" Yeah, there's that. The illegal commands generate messages in the logs so that means that "errors" aren't really errors. With the LIST EXTENSIONS, then it's possible to write a client that can adapted to different servers without generating errors in the processes. And that's better. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
MID in 240 and 340 responses (was: RFC 1036 Revision: General)
Author: J. B. Moreno
Date: Tue, 22 Feb 2000 00:00
Date: Tue, 22 Feb 2000 00:00
32 lines
2949 bytes
2949 bytes
Joe Greco <jgreco@ns.sol.net> wrote:
> curt@kcwc.com (Curt Welch) wrote:
-snip-
> :Well, we want to offer the ID to clients so they can start using that
> :instead of having to make up their own. But we are also willing to let
> :them supply their own. So we don't want the fact that the 340 response
> :includes the ID to imply they can't make up their own, nor do we want to
> :to be foced to leave the ID off the 340 response just because we are
> :willing to let them overide our default.
>
> Maybe _you_ don't want it to imply that :-) I don't particularly care
> what signalling is used, but I think it's reasonable to let a client know
> that I am _not_ going to give them the option to specify the MID, and that
> it _will_ be rewritten.
The 240 response gives you an opportunity to say that after the fact,
but they can always use that info for the next connection.
Since the original information was supposed to be free form (search for
'@' to find the id), you might just want to return:
340 Ok, ID will be ...
instead of
340 Ok, recommended ID ....
BTW -- DNews 5.3 is supposed to do the basic 340/240 with a message-id.
--
John B. Moreno
Re: RFC 1036 Revision: General
Author: Joe Greco
Date: Tue, 22 Feb 2000 00:00
Date: Tue, 22 Feb 2000 00:00
73 lines
3674 bytes
3674 bytes
In news.software.nntp article <20000221223546.221$E4@newsreader.com>, curt@kcwc.com (Curt Welch) wrote: :How about: : :>>> POST :<<< 340 <123@site.com> :>>> . :<<< 441 Empty article : :Followed by: : :>>> POST :<<< 340 <124@site.com> :>>> Message-ID: <123@site.com> :>>> bla bla bla :>>> :>>> . :<<< 240 <123@site.com> : :A bit crude, and I guess unless it was written into the spec, you :may never know if it would actually work (i.e using the id returned :by one post as the Message-ID in another.). It would be all right for me. It would also allow an optimization where something that needs to assign a Message-ID could do >>> POST <<< 340 <1@isp.com> (client: process...process....process....) >>> article >>> bla bla bla >>> . <<< 240 <1@isp.com> But this would be a client-side optimization. Maybe this should in fact be the "right way" to do it...? I don't really know enough cases where a client _needs_ the data to know if that's sufficient. But _that_ seems like an elegant way to do it, and a client could take an exchange such as >>> POST <<< 340 Ok to mean that it is acceptable to generate its own Message-ID (which must then be honored by the server), or that the server may supply one if none is specified in the POSTed data. This is real nice because it gives a nonambiguous indication to the client about what _will_ happen. Does that sound like a workable concept? It covers all the permutations, I think. I really _do_ want to retain control over generated Message-ID's. Among other things, I do front-end sanity checks to prevent Hipcrime-style cancel and supersedes attacks, but I have to deal with the very legitimate case where a user posts <1@isp.com> and then issues a cancel immediately, but the cancel is posted via a different reader - meaning you can't just keep a simple database. One of the uses I have for the locally-generated Message-ID's is that I can then just reject a message containing a cancel or supersedes for something not containing the generated MID tail. I do some other sanity checking, too, like monitoring all of Usenet for my MID tails, it helps to spot <cancel.XXXX@isp.com> if you have that consistent MID tail and you know the article didn't come from you. Think: automatic notification of spam cancel activity against your users. :-) You _can_ work around all of this without rewriting, but it becomes rather more challenging and annoying, and in the multiple years I've been doing the rewrite thing, it's not been a problem. All of that said, I do not believe that the beginning sysadmin wants to do MID rewriting, but I also feel that there are valid reasons to want to do so. ... JG
Re: nntpext (was RFC 1036 Revision...)
Author: Curt Welch
Date: Tue, 22 Feb 2000 00:00
Date: Tue, 22 Feb 2000 00:00
32 lines
2200 bytes
2200 bytes
andrew@supernews.com wrote: > In article <mW.88svjg$csj@meowhost.meow.invalid>, Marshmallow Fluffy > wrote: > >[ Curt Welch and Jeremy are in the midst of a gruelling competition to > >see who can add the most interesting yet pointless NNTP extensions to > >their respective swervers, or something. ] > > > >Are youse guys supporting the LIST EXTENSIONS thingy to accompany > >these spiffy new commands? I actually have client libs that use > >them, but only if that list says it's okay, and that seems to be > >what the draft would require. > > 200 Supernews NNRP server ready - http://www.supernews.com > list extensions > 202 extensions supported > AUTHINFO USER > LISTGROUP > OVER > PAT > . The draft I have says the extension names must be preceeded with one and only one space. Did they change that? And is there a formal definition of the "AUTHINFO USER" extension somewhere? (i.e., damn, the supernews guys are still one-upping me :)). -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: nntpext (was RFC 1036 Revision...)
Author: Curt Welch
Date: Tue, 22 Feb 2000 00:00
Date: Tue, 22 Feb 2000 00:00
29 lines
2112 bytes
2112 bytes
grobe+news@netins.net (Jonathan Grobe) wrote: > In article <mW.88taae$gto@meowhost.meow.invalid>, Marshmallow Fluffy > wrote: > >Curt Welch wrote: > > > >> I wasn't, but I've added it now since you mentioned it - as per my > >> August 1998 NNTP draft document. Is there a newer document? > > > >I've got a June 1999 rev.... checking at ftp.academ.com.... yup, that's > >still the latest. > > > No. The November, 1999 draft is the latest: > > http://search.ietf.org/internet-drafts/draft-ietf-nntpext-base-09.txt Thanks. I see the latest draft still says the single leading space is required on the response from LIST EXTENSIONS, but the example doesn't show any spaces now. The space idea should just be removed and instead add a comment to the RFC that says extension names must not start with a dot. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
nntpext (was RFC 1036 Revision...)
Author: Marshmallow Fluffy
Date: Tue, 22 Feb 2000 00:00
Date: Tue, 22 Feb 2000 00:00
13 lines
1510 bytes
1510 bytes
[ Curt Welch and Jeremy are in the midst of a gruelling competition to see who can add the most interesting yet pointless NNTP extensions to their respective swervers, or something. ] Are youse guys supporting the LIST EXTENSIONS thingy to accompany these spiffy new commands? I actually have client libs that use them, but only if that list says it's okay, and that seems to be what the draft would require. Just to add to the pointlessness, I'm not actually using those libs with any swervers that support the extensions. Duh.
Re: nntpext (was RFC 1036 Revision...)
Author: Russ Allbery
Date: Tue, 22 Feb 2000 00:00
Date: Tue, 22 Feb 2000 00:00
18 lines
1552 bytes
1552 bytes
Jeremy <bofh@netscum.dk> writes: > Curt Welch <curt@kcwc.com> wrote: >> Another example of the X problem. If you follow the RFC and create new >> extensions that use Xcommands and private codes, then you end up with a >> protocol that CAN NOT be a standard. So by following the standard, you >> end up with a non-standard that can't be standardized. > Sure it can. It's standardized by removing the X. Transition is > accomplished by having your implementation work with it both ways. Works okay-ish for commands, although it seems rather pointless. Doesn't work for response codes, as we're now learning. :/ -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Re: nntpext (was RFC 1036 Revision...)
Author: Marshmallow Fluffy
Date: Tue, 22 Feb 2000 00:00
Date: Tue, 22 Feb 2000 00:00
31 lines
2317 bytes
2317 bytes
Curt Welch wrote: > I wasn't, but I've added it now since you mentioned it - as per my August > 1998 NNTP draft document. Is there a newer document? I've got a June 1999 rev.... checking at ftp.academ.com.... yup, that's still the latest. > Note however, that if the server returns a 500 series code for LIST > EXTENSIONS, then it's ok for the client to go ahead and try to use > the extensions anyway. Yeah but it seems kind of silly to support those and not the sooper dooper official way of checking for them =) > The point of the command (as far as I can tell), is to allow a client > to abort early instead of getting deep into a session before it > figures out that it can't work with the given server because the server > doesn't support some extension that the client must have to function. I got the feel from the list archives that part of it was a matter of cleanliness too. Trying commands to see what does and doesn't work is so icky! I like the idea of just asking the swerver "so hey, what neat tricks are up your sleeve?" Oh yeah, and about the output on s00pern00z -- yeah, the June '99 draft does still say thou shalt use exactly one leading space. Seems kind of silly to me to be so specific, but there it is.
Re: nntpext (was RFC 1036 Revision...)
Author: Curt Welch
Date: Tue, 22 Feb 2000 00:00
Date: Tue, 22 Feb 2000 00:00
48 lines
3362 bytes
3362 bytes
Marshmallow Fluffy <meowing@banet.net> wrote: > [ Curt Welch and Jeremy are in the midst of a gruelling competition to > see who can add the most interesting yet pointless NNTP extensions to > their respective swervers, or something. ] > Are youse guys supporting the LIST EXTENSIONS thingy to accompany > these spiffy new commands? I actually have client libs that use > them, but only if that list says it's okay, and that seems to be > what the draft would require. I wasn't, but I've added it now since you mentioned it - as per my August 1998 NNTP draft document. Is there a newer document? I'm supporting the 3 extensions listed: OVER, LISTGROUP, and PAT. Note however, that if the server returns a 500 series code for LIST EXTENSIONS, then it's ok for the client to go ahead and try to use the extensions anyway. For the current extensions, the LIST EXTENSIONS command really has no practical use. Because if a server doesn't have any of those extenions, then the client should try XOVER, and XPAT, and/or fall back to XHDR and or HEAD, and or ARTICLE. The point of the command (as far as I can tell), is to allow a client to abort early instead of getting deep into a session before it figures out that it can't work with the given server because the server doesn't support some extension that the client must have to function. Or for the client to adjust it's behavior based on available extensions (both protocol "behavior" and end-user interface "behavior"). > Just to add to the pointlessness, I'm not actually using those libs > with any swervers that support the extensions. Duh. Yeah, with the currently documented extensions, there's really no need for using the LIST EXTENSIONS command. And example of something that one day would be useful is the very issue we have been talking about for message-ids on the POST commands. There could be an extension defined which indicated that a server would always overwrite the message-ID on POSTED articles. Clients that had functions which required that it know the ID before posting the article, would then know that it could not do that on this server (like include a cancel-lock:). -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: nntpext (was RFC 1036 Revision...)
Author: Jonathan Grobe
Date: Tue, 22 Feb 2000 00:00
Date: Tue, 22 Feb 2000 00:00
19 lines
1677 bytes
1677 bytes
In article <mW.88taae$gto@meowhost.meow.invalid>, Marshmallow Fluffy wrote: >Curt Welch wrote: > >> I wasn't, but I've added it now since you mentioned it - as per my August >> 1998 NNTP draft document. Is there a newer document? > >I've got a June 1999 rev.... checking at ftp.academ.com.... yup, that's still >the latest. > No. The November, 1999 draft is the latest: http://search.ietf.org/internet-drafts/draft-ietf-nntpext-base-09.txt -- Jonathan Grobe Jonathan Grobe Books. Used & out-of-print books: Search or browse subject catalogs: <http://www.netins.net/showcase/grobe> For millions of used/out-of-print books try <http://www.abebooks.com> <http://www.bibliofind.com> <http://www.bookavenue.com>
Re: nntpext (was RFC 1036 Revision...)
Author: Curt Welch
Date: Tue, 22 Feb 2000 00:00
Date: Tue, 22 Feb 2000 00:00
18 lines
1930 bytes
1930 bytes
andrew@supernews.com wrote: > The auth draft is unimplementable at present, because it tries to > reassign the response code meaning 'authentication required', which would > break compatibility with the existing client base. (The existing 480 code > is in a range previously reserved for private use; Another example of the X problem. If you follow the RFC and create new extensions that use Xcommands and private codes, then you end up with a protocol that CAN NOT be a standard. So by following the standard, you end up with a non-standard that can't be standardized. Am I the only one that sees a problem here? :) -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: nntpext (was RFC 1036 Revision...)
Author: Andrew
Date: Tue, 22 Feb 2000 00:00
Date: Tue, 22 Feb 2000 00:00
24 lines
1752 bytes
1752 bytes
In article <mW.88svjg$csj@meowhost.meow.invalid>, Marshmallow Fluffy wrote:
>[ Curt Welch and Jeremy are in the midst of a gruelling competition to
>see who can add the most interesting yet pointless NNTP extensions to
>their respective swervers, or something. ]
>
>Are youse guys supporting the LIST EXTENSIONS thingy to accompany
>these spiffy new commands? I actually have client libs that use
>them, but only if that list says it's okay, and that seems to be
>what the draft would require.
200 Supernews NNRP server ready - http://www.supernews.com
list extensions
202 extensions supported
AUTHINFO USER
LISTGROUP
OVER
PAT
..
--
Andrew, Supernews
http://www.supernews.com - UK and US individual and corporate NNTP services
Re: nntpext (was RFC 1036 Revision...)
Author: Andrew
Date: Tue, 22 Feb 2000 00:00
Date: Tue, 22 Feb 2000 00:00
48 lines
3199 bytes
3199 bytes
In article <20000222005511.925$n3@newsreader.com>, Curt Welch wrote: >> list extensions >> 202 extensions supported >> AUTHINFO USER >> LISTGROUP >> OVER >> PAT >> . > >The draft I have says the extension names must be preceeded with one >and only one space. Did they change that? hmm. ten lashes of the wet noodle for aDe there, I think, though the requirement seems rather strange in any case (and questions about it on the nntp list have gone unanswered). >And is there a formal definition of the "AUTHINFO USER" extension >somewhere? (i.e., damn, the supernews guys are still one-upping me :)). That one's defined in the auth draft (which seems to have expired). It doesn't really mean anything in our case other than indicating that the de-facto standard AUTHINFO USER/PASS commands are supported. Strictly speaking we probably shouldn't include it, as we don't even try and conform to the draft that defines it, because: The auth draft is unimplementable at present, because it tries to reassign the response code meaning 'authentication required', which would break compatibility with the existing client base. (The existing 480 code is in a range previously reserved for private use; the choice is either to overturn that and standardise the existing codes, or require some ugly negotiation between the client & server to decide which responses to use.) While I would like to see a usable auth mechanism that didn't involve plaintext passwords, the existing draft isn't it: it has built-in assumptions that the server has access to the plaintext, or predigested plaintext, of passwords, and for our authenticated outsource users this isn't possible. We would need a mechanism that allowed the server to recover the plaintext as entered by the user (correct or otherwise) so that it could be validated by external means. This probably implies some form of public-key mechanism. A copy of the last draft is at http://www3.innosoft.com/~chris/nntpauth.txt -- Andrew, Supernews http://www.supernews.com - UK and US individual and corporate NNTP services
Re: RFC 1036 Revision: General
Author: Curt Welch
Date: Tue, 22 Feb 2000 00:00
Date: Tue, 22 Feb 2000 00:00
58 lines
2634 bytes
2634 bytes
jgreco@ns.sol.net (Joe Greco) wrote: > In news.software.nntp article <951164470.927553@news.netscum.dk>, Jeremy > <bofh@netscum.dk> wrote: > :Curt Welch <curt@kcwc.com> wrote: > :> But, for things like Cancel-Locks: based on the ID, or signatures > :> based on the ID, the client must know what the ID is going to be > :> before the article is posted, so servers which overide the ID after > :> the fact should really not be allowed. > : > :For those, and many other reasons. Rewriting message-ids really should > :be a MUST NOT UNDER PAIN OF ETERNAL DAMNATION. > > And some of us have reasons for overriding the ID. And we've done it. > For years. Can you explain those reasons? Or at least give us a little insight into your thinking there? > Perhaps a better option would be to provide a command that would allow a > client to pre-allocate a Message-ID (and return it to the client), > something like: > > <<< 200 Hiya > >>> GIMMEAMESSAGEID > <<< 2xx <123@site.com> > >>> POST > <<< 340 Ok > >>> Message-ID: <123@site.com> > >>> bla bla > >>> > >>> . How about: >>> POST <<< 340 <123@site.com> >>> . <<< 441 Empty article Followed by: >>> POST <<< 340 <124@site.com> >>> Message-ID: <123@site.com> >>> bla bla bla >>> >>> . <<< 240 <123@site.com> A bit crude, and I guess unless it was written into the spec, you may never know if it would actually work (i.e using the id returned by one post as the Message-ID in another.). -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Page 1 of 3 • 104 total messages
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