🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
92 messages
92 total messages Page 1 of 2 Started by Jonathan Grobe Thu, 17 Feb 2000 00:00
Page 1 of 2 • 92 total messages
RFC 1036 Revision: General
#58040
Author: Jonathan Grobe
Date: Thu, 17 Feb 2000 00:00
577 lines
28180 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
#58017
Author: Paul Tomblin
Date: Thu, 17 Feb 2000 00:00
20 lines
1660 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
#58018
Author: Curt Welch
Date: Thu, 17 Feb 2000 00:00
55 lines
3521 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
#58021
Author: Russ Allbery
Date: Thu, 17 Feb 2000 00:00
56 lines
3180 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
#58029
Author: Paul Tomblin
Date: Thu, 17 Feb 2000 00:00
18 lines
1613 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
#58049
Author: Russ Allbery
Date: Thu, 17 Feb 2000 00:00
19 lines
1617 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
#58072
Author: Curt Welch
Date: Sat, 19 Feb 2000 00:00
22 lines
1868 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
#58073
Author: Andrew
Date: Sat, 19 Feb 2000 00:00
25 lines
1904 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
#58074
Author: Terrance Richard Boyes
Date: Sat, 19 Feb 2000 00:00
53 lines
4067 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
#58075
Author: Andrew Gierth
Date: Sat, 19 Feb 2000 00:00
13 lines
1489 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
#58077
Author: those who know me have no need o...
Date: Sat, 19 Feb 2000 00:00
16 lines
1491 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
#58078
Author: Jeremy
Date: Sun, 20 Feb 2000 00:00
14 lines
934 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
#58079
Author: J. B. Moreno
Date: Sun, 20 Feb 2000 00:00
29 lines
1913 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
#58081
Author: BARRY BOUWSMA IS A MASSMURDERER
Date: Sun, 20 Feb 2000 00:00
24 lines
2063 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
#58082
Author: Paul Tomblin
Date: Sun, 20 Feb 2000 00:00
17 lines
1366 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
#58090
Author: Curt Welch
Date: Sun, 20 Feb 2000 00:00
27 lines
1927 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
#58091
Author: Jonathan Grobe
Date: Sun, 20 Feb 2000 00:00
59 lines
2820 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
#58093
Author: IRS Agent
Date: Sun, 20 Feb 2000 00:00
51 lines
2656 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
#58094
Author: Curt Welch
Date: Sun, 20 Feb 2000 00:00
35 lines
2261 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
#58095
Author: Jeremy
Date: Sun, 20 Feb 2000 00:00
34 lines
1850 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
#58098
Author: Curt Welch
Date: Mon, 21 Feb 2000 00:00
91 lines
5310 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
#58099
Author: Jeremy
Date: Mon, 21 Feb 2000 00:00
24 lines
1595 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
#58100
Author: Curt Welch
Date: Mon, 21 Feb 2000 00:00
71 lines
3953 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
#58102
Author: Bill Cole
Date: Mon, 21 Feb 2000 00:00
30 lines
1738 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)
#58103
Author: Andrew Gierth
Date: Mon, 21 Feb 2000 00:00
61 lines
3733 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.

Re: RFC 1036 Revision: General
#58104
Author: Jeremy
Date: Mon, 21 Feb 2000 00:00
37 lines
2319 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  )

MID in 240 and 340 responses (was: RFC 1036 Revision: General)
#58105
Author: J. B. Moreno
Date: Mon, 21 Feb 2000 00:00
115 lines
6771 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
#58106
Author: Jeremy
Date: Mon, 21 Feb 2000 00:00
24 lines
1444 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  )

ietf-nntp Re: RFC 1036 Revision: General
#58108
Author: Andrew Gierth
Date: Mon, 21 Feb 2000 00:00
51 lines
2571 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
#58116
Author: Jeremy
Date: Mon, 21 Feb 2000 00:00
16 lines
1046 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
#58118
Author: Curt Welch
Date: Mon, 21 Feb 2000 00:00
46 lines
2546 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: RFC 1036 Revision: General
#58119
Author: Andrew
Date: Mon, 21 Feb 2000 00:00
14 lines
1732 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
#58129
Author: Curt Welch
Date: Mon, 21 Feb 2000 00:00
34 lines
2221 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
#58133
Author: Joe Greco
Date: Mon, 21 Feb 2000 00:00
32 lines
1828 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
#58146
Author: J. B. Moreno
Date: Mon, 21 Feb 2000 00:00
40 lines
2813 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

MID in 240 and 340 responses (was: RFC 1036 Revision: General)
#58152
Author: J. B. Moreno
Date: Tue, 22 Feb 2000 00:00
32 lines
2852 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
#58161
Author: Joe Greco
Date: Tue, 22 Feb 2000 00:00
73 lines
3577 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: RFC 1036 Revision: General
#58163
Author: Curt Welch
Date: Tue, 22 Feb 2000 00:00
121 lines
6008 bytes
jgreco@ns.sol.net (Joe Greco) wrote:
> 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>

Yes, that's the way it was designed to be used (have you seen our other
messages on this subject today?).  There's a patch for INN to do just
that and I think someone say one of the lastest versions of INN does
it by default (i.e. tell you the message-id it's going to use if
you don't supply one).

> But this would be a client-side optimization.  Maybe this should in fact
> be the "right way" to do it...?

Yeah, I think it would make sense to get all clients to switch to
doing things that way.  i.e., either don't include the message-id: header
at all and just the let the server add it, or if the client needs (or
wants) to know the ID, then use the one supplied in the POST command from
the server.

> 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.

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.

> 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,

I haven't figured out what I'm going to do about limiting those.  But
I would tend to lean towards a solution where a user could only issue
a cancel/supersede for their own article -- and that would be determined
by looking at the article that was to be cancled.  I'd force the addition
of some extra header (like X-Trace:) to all posts so my server could tell
of the article to be canceled matched the user sending the cancel insteald
of forcing this info into the Message-ID.

> 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.

Not sure what you are saying there.

> 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.  :-)

But if we all offered the ID on the 340 resonse, and we got most
newsreaders converted so they would use that, then for the most part,
we would get the benifit you talk about without having to force our
IDs on everyone. i.e., most articles from our servers would have "our"
format Message-ID on it so they would be easy to spot on Usenet.

> 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.

Do you do anything to limit a user so they can only cancel their own
posts?  Or does your rewriting only allow you to block cancles to
articles outside of your own user base?  If you include the user
ID in the message-ID, I guess you could do that without having access
to the orginal article, but that just seems wrong to me.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/

Re: RFC 1036 Revision: General
#58176
Author: Curt Welch
Date: Tue, 22 Feb 2000 00:00
58 lines
2537 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/

Re: RFC 1036 Revision: General
#58178
Author: Joe Greco
Date: Tue, 22 Feb 2000 00:00
198 lines
10623 bytes
In news.software.nntp article <20000222030128.423$f9@newsreader.com>, curt@kcwc.com (Curt Welch) wrote:
:jgreco@ns.sol.net (Joe Greco) wrote:
:> 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>
:
:Yes, that's the way it was designed to be used (have you seen our other
:messages on this subject today?).  There's a patch for INN to do just
:that and I think someone say one of the lastest versions of INN does
:it by default (i.e. tell you the message-id it's going to use if
:you don't supply one).
:
:> But this would be a client-side optimization.  Maybe this should in fact
:> be the "right way" to do it...?
:
:Yeah, I think it would make sense to get all clients to switch to
:doing things that way.  i.e., either don't include the message-id: header
:at all and just the let the server add it, or if the client needs (or
:wants) to know the ID, then use the one supplied in the POST command from
:the server.
:
:> 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.
:
: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.

:> 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,
:
:I haven't figured out what I'm going to do about limiting those.  But
:I would tend to lean towards a solution where a user could only issue
:a cancel/supersede for their own article -- and that would be determined
:by looking at the article that was to be cancled.  I'd force the addition
:of some extra header (like X-Trace:) to all posts so my server could tell
:of the article to be canceled matched the user sending the cancel insteald
:of forcing this info into the Message-ID.

My outgoing posts server does not necessarily keep posts around a long
time.  I'd like my users to be able to cancel an article they posted
three months ago (since I've a six-month text spool).  That should be a
legitimate thing to do.  Also, since many sites do not have the concept
of "matched the user" (since they use ip.ra.nge.* for access control),
the method I'm using is somewhat more suited for a minimally-invasive
system modification for many sites.

:> 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.
:
:Not sure what you are saying there.

What I'm saying is that to have a solution where a user can only issue a
cancel/supersede for their own article, you need to maintain a central
database of some sort, or do other site-specific trickery (which, by the
way, only works if you _do_ have an idea of who your specific user is, which
many sites do not).  The goal is to provide fast response to the client.
Unfortunately, if your database is down (or busy), or you have redundant
databases (and one is behind), you can wind up with a situation where the
original message may not be "visible" within the part of your backend
system the cancel is traversing, while the cancel propagates through 
faster.  The solution is to sleep for a while and see if the original 
message shows up, but you do not want (or need) to sleep for this event, 
because you are delaying your response to the client.  You just say 
"240 Ok" and accept it on faith, and silently drop it on the backend if 
it doesn't match a post the user was authorized to cancel.

:> 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.  :-)
:
:But if we all offered the ID on the 340 resonse, and we got most
:newsreaders converted so they would use that, then for the most part,
:we would get the benifit you talk about without having to force our
:IDs on everyone. i.e., most articles from our servers would have "our"
:format Message-ID on it so they would be easy to spot on Usenet.

Hmmm... okay..  so...

I forcibly rewrite the remainder, and tell people that insist that they
need to be able to {sign, encode, whatever} their articles and that they
need the MID to do so to get a more current client that works with this. 
I could live with that.  It is no different than what I do now, except 
that the client then has a way to find out that MID in advance.  Which is
fine, IMO.

:> 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.
:
:Do you do anything to limit a user so they can only cancel their own
:posts?  Or does your rewriting only allow you to block cancles to
:articles outside of your own user base?  If you include the user
:ID in the message-ID, I guess you could do that without having access
:to the orginal article, but that just seems wrong to me.

I don't always have access to the user identity.  Some of it, I _do_ have
to do on blind faith.  But if Hipcrime wants to come and cancel all my users
posts, at least that is something where the whole show is under my control.
I can turn off outbound cancels completely, and repost as many of the posts
as are in my outbound spool (which may range up as far as 3 or 4 months if
there aren't lots of binaries being posted).  This puts the responsibility
in my hands, which is where I want it.  I do not want my users to be able
to cancel posts originating at other sites.  Period.  If they cancel each
other user posts, I can deal with that a lot more effectively than if
Hipcrime manages to cancel All-Of-Usenet via my server.

So all I'm really talking about is a general site policy type thing, that
says "all MID's will end in @isp.com>, no cancels allowed and no supersedes
allowed for non @isp.com> MID's".  At least for me.

But you are right:  you _could_ use this as a per-user thing by hashing 
the user-ID and then using some digits from it, and do something like

<random-garbage@12345678.news.isp.com>

where 12345678 is some digits from the md5 hash of the user name that is
currently authenticated.  This may be useful in some environments, and I
do not know who it "just seems wrong" to you.  I think it'd be a good thing
to specify a standard in a way that allows clever admins to do clever
things that are very useful with the least amount of additional backend 
work.

I'm trying to tackle some of the abuse issues at a source-code level.  The
current development Diablo has (#undef'd but #define-able) support for the
specific sitewide anti-rogue-cancel/supersede mechanism I describe above,
plus it turns off other Control: message generation by default unless the
admin specifically enables it in the auth file.  I don't really want to
find myself the source of an alt.0-000. banner newgroup storm, or a
Hipcrime attack, or any of a number of other things.  I can selectively
empower users to do arbitrary cancels, or newgroups/rmgroups, but I do not
want to just open it up to whatever crap happens to be POST'ed at me.  That
may have been desirable 10 years ago when people could generally be trusted,
but today's average "trust model" can be bought for $15/month or less, and
I'd rather have a more restrictive model for some of the things that have
traditionally been abused.

... JG

Re: RFC 1036 Revision: General
#58184
Author: Jeremy
Date: Wed, 23 Feb 2000 00:00
17 lines
1263 bytes
Joe Greco <jgreco@ns.sol.net> wrote:

>> 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.

That's fine; a standard isn't going to stop you.  You will have read it,
considered it, weighed the consequenses versus the benefits, and decided
to go ahead and do it your way.  I'm not concerned about *you* violating
the standard.  I'm concerned about *other people* doing it.

-- 
Jeremy  (  jeremy@exit109.com  |  bofh@netscum.dk  )

Re: RFC 1036 Revision: General
#58190
Author: greg
Date: Wed, 23 Feb 2000 00:00
30 lines
2568 bytes
In article <20000223174915.931$Pf@newsreader.com>,
curt@kcwc.com (Curt Welch) wrote:
>jgreco@ns.sol.net (Joe Greco) wrote:

>> 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.

> Yes, it would be nice if there were a standard way to let the client know
> that.  But in your case, it sounds like you wouldn't have a problem if
> the client was just willing to use an ID which you supplied.
>
> The new LIST EXTENSIONS could be used for this.  The use of the Message-ID
> on the return data of the POST command could be defined as a standard
> extension (POSTID?), and there could be optional parameters to the
> extension which meant "I will overwrite the ID if you don't use the
> ID which I supplied".  Something like "POSTID OVERWRITE".

Should it not be sufficient to refuse the posting entirely unless the ID 
is the one supplied or is absent (allowing the server to generate its 
own)?  Overwriting the ID is not necessary.

-- 
 --     ---                          <greg@apple2.com>
  --   -- -- ------------------------------------------------------------------
   -- --   ---              <http://www.war-of-the-worlds.org/>
    ---

Re: RFC 1036 Revision: General
#58198
Author: Joe Greco
Date: Wed, 23 Feb 2000 00:00
269 lines
14291 bytes
In news.software.nntp article <20000223174915.931$Pf@newsreader.com>, curt@kcwc.com (Curt Welch) wrote:
:> 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.
:
:Yes, it would be nice if there were a standard way to let the client know
:that.  But in your case, it sounds like you wouldn't have a problem if
:the client was just willing to use an ID which you supplied.
:
:The new LIST EXTENSIONS could be used for this.  The use of the Message-ID
:on the return data of the POST command could be defined as a standard
:extension (POSTID?), and there could be optional parameters to the
:extension which meant "I will overwrite the ID if you don't use the
:ID which I supplied".  Something like "POSTID OVERWRITE".
:
:That way, any client which had to be able to generate it's own IDs in
:order to function correctly could know ahead of time (and warn the user)
:that that function won't work for the server.

That is fine too.  The mechanism does not particularly concern me.  The
functionality would be nice.

:> :> 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,
:> :
:> :I haven't figured out what I'm going to do about limiting those.  But
:> :I would tend to lean towards a solution where a user could only issue
:> :a cancel/supersede for their own article -- and that would be determined
:> :by looking at the article that was to be cancled.  I'd force the
:> :addition of some extra header (like X-Trace:) to all posts so my server
:> :could tell of the article to be canceled matched the user sending the
:> :cancel insteald of forcing this info into the Message-ID.
:>
:> My outgoing posts server does not necessarily keep posts around a long
:> time.
:
:Ah, I see.  The checks aren't done on a server which has (easy) access
:to your main spool(s).

And my checking for spam cancels against <*@isp.com> aren't done on a
machine with any spool at all.  Right now, it runs completely standalone
with a Diablo header-only feed, and basically looks for "Control: cancel"
or "Supersedes".  If a strstr on that against "@isp.com>" returns true,
then you have some off-siter whacking your articles, and you may want to
know why.  You don't even need a fast machine to do this.  It's cool.

:I was thinking you meant the user just happened
:to save a copy of his article and then months later decided to cancel
:it.  Even thought that's possible, most users don't even think about
:that if they can no longer "see" the article on the server.

I'd agree with that.

:> I'd like my users to be able to cancel an article they posted
:> three months ago (since I've a six-month text spool).  That should be a
:> legitimate thing to do.  Also, since many sites do not have the concept
:> of "matched the user" (since they use ip.ra.nge.* for access control),
:
:Yes, I wasn't thinking about that.  I've been in the context of "knowing"
:the user for so long I just forgot that many people don't.

I figured I'd remind you :-)

:> What I'm saying is that to have a solution where a user can only issue a
:> cancel/supersede for their own article, you need to maintain a central
:> database of some sort, or do other site-specific trickery (which, by the
:> way, only works if you _do_ have an idea of who your specific user is,
:> which many sites do not).  The goal is to provide fast response to the
:> client. Unfortunately, if your database is down (or busy), or you have
:> redundant databases (and one is behind), you can wind up with a situation
:> where the original message may not be "visible" within the part of your
:> backend system the cancel is traversing, while the cancel propagates
:> through faster.  The solution is to sleep for a while and see if the
:> original message shows up, but you do not want (or need) to sleep for
:> this event, because you are delaying your response to the client.  You
:> just say "240 Ok" and accept it on faith, and silently drop it on the
:> backend if it doesn't match a post the user was authorized to cancel.
:
:Ok, I'm with you.
:
:> I don't always have access to the user identity.  Some of it, I _do_ have
:> to do on blind faith.  But if Hipcrime wants to come and cancel all my
:> users posts, at least that is something where the whole show is under my
:> control. I can turn off outbound cancels completely, and repost as many
:> of the posts as are in my outbound spool (which may range up as far as 3
:> or 4 months if there aren't lots of binaries being posted).  This puts
:> the responsibility in my hands, which is where I want it.  I do not want
:> my users to be able to cancel posts originating at other sites.  Period.
:
:Right, that's a good policy.  Even it is "is" there's, they just have to
:go back to the other system if they want to cancel it.

Which is fine by me for the very few users who might want that.  If it is
a serious issue, I don't even have a problem selectively authorizing
people to be able to issue arbitrary cancels, or other controls, but I do
not just want to open the floodgates by default.  So it's not even a cast-
in-stone policy, more of an issue of not wanting to default to a Hipcrime-
vulnerable (etc) model.

:> If they cancel each other user posts, I can deal with that a lot more
:> effectively than if Hipcrime manages to cancel All-Of-Usenet via my
:> server.
:>
:> So all I'm really talking about is a general site policy type thing, that
:> says "all MID's will end in @isp.com>, no cancels allowed and no
:> supersedes allowed for non @isp.com> MID's".  At least for me.
:>
:> But you are right:  you _could_ use this as a per-user thing by hashing
:> the user-ID and then using some digits from it, and do something like
:>
:> <random-garbage@12345678.news.isp.com>
:>
:> where 12345678 is some digits from the md5 hash of the user name that is
:> currently authenticated.  This may be useful in some environments, and I
:> do not know who it "just seems wrong" to you.
:
:Actually, I'm thinking it's an OK soultion.  That makes it simple to
:validate canceles without having to reference the orginal article.  You
:don't know if they are really valid, but you do know they are harmless
:to the rest of Usenet.  But it requires your type of control over the IDs
:which in general, I don't like (i.e., I don't mind if you do it, but I
:would never do it...).  And that's just if you take control of the ID
:at the server level, then that means the users can't use it for anything.
:
:My "seems wrong" comment is just because it's encoding information into
:the Message-ID that "belongs" elsewhere in the header.  Taken to the
:extreme, you could encode the entire article into the Message-ID.

Yes, but think about what the intent of the Message-ID is.  It's intended
to be a unique identifier created by the originating system that guarantees
a lack of collision.

Now, if I have two people using doofusware news posting software, and both
happen to post an article right NOW, there's a chance that both will create
a Message-ID of

<WedFeb231838392000-default@news>

because both happened to post at Wed Feb 23, 18:38:39, 2000, using the
default username, and the program used the name of the news server as the
destination.  Or "localhost", or any other random and likely name that a
client might dredge up to shove in there - most of which are not guaranteed
to be unique.  And this isn't just a case of "all clients using doofusware
at ISP X".  It's "all clients using doofusware, netwide".

I can guarantee uniqueness at the server level (or it can at least be my
fault if I fail to do so), because unlike the client situation, I've got
control over all Message-ID's being tagged "@isp.com>", and anybody else
who wants to play in my MID namespace can lose.

1036 does suggest conformance with RFC-822, which is to put a FQDN in as
the latter portion of the Message-ID, but how many clients actually do
that?

:Also, people keep suggesting different things that could be encoded
:into Message-IDs and in general, I think they are mostly bogus (at least
:as a net-wide standard).  It should be left mostly how it is so people can
:play various "games" with it as they see fit locally (like the type of
:stuff you are doing).

I think you are saying what I'm thinking, which is mostly to leave the state
of affairs as it is but provide a way for a client to know that the server
intends to clobber the Message-ID.  Am I reading you wrong?

I am not looking to encode arbitrary data into the MID.  I'm actually
looking at "strict enforcement of RFC1036:2.1.5" if you want to be rather
more literal, and if you interpret the originating server as the "host at
which the message entered the network".  In fact, under such an
interpretation, one might consider the behaviour I'm proposing to be the
correct one.

:> I think it'd be a good
:> thing to specify a standard in a way that allows clever admins to do
:> clever things that are very useful with the least amount of additional
:> backend work.
:>
:> I'm trying to tackle some of the abuse issues at a source-code level.
:> The current development Diablo has (#undef'd but #define-able) support
:> for the specific sitewide anti-rogue-cancel/supersede mechanism I
:> describe above, plus it turns off other Control: message generation by
:> default unless the admin specifically enables it in the auth file.  I
:> don't really want to find myself the source of an alt.0-000. banner
:> newgroup storm, or a Hipcrime attack, or any of a number of other things.
:
:Yeah, I think we all want that.
:
:> I can selectively empower users to do arbitrary cancels, or
:> newgroups/rmgroups, but I do not want to just open it up to whatever crap
:> happens to be POST'ed at me.
:
:Right.
:
:In my mind, the only special thing a standard user should be allowed to
:send is a cancel or supersede.  And only if the target article was posted
:by them (or simply looks like it was posted by them).  This means the
:target article must be availabe to the server processing the POST for the
:cancel.  I don't have a problem with that.  If the target article is
:delayed for some technical reason, then the cancel just gets rejected.
:Sorry, the user just has to try again later.  I'd rather drop 10 valid
:cancels than send out one bogus cancel.

Me too.

:If the article has expired, sorry, you can't cancel or supersede it.  Like
:I said, most users just won't have a problem with that anyway.
:
:The extra delay this adds in the procssing of the POST of a cancel just
:isn't a problem for me.
:
:I don't have any of this checking in place at the moment, but that is my
:current plan and I don't see any problem in implementing it.

And that seems like a fine policy.  My own enforcement is a different
strategy, but equally valid (IMHO), and has the additional benefit that
because I'm rewriting, I can look for cancels or supersedes issued against
my articles.

:For special cases of users that want to post FAQs or do other special
:things, I'll just need the ability to give them special powers. Since all
:my users are authenticated, then there really is no technical problem with
:doing that.

And that seems like a fine model to move towards, for _everyone_.

:> That may have been desirable 10 years ago
:> when people could generally be trusted, but today's average "trust model"
:> can be bought for $15/month or less, and I'd rather have a more
:> restrictive model for some of the things that have traditionally been
:> abused.
:
:I agree with your logic and motive.  And the loss of the user's ability
:to control the Message-ID is a small and fair price to pay to get the
:type of control you are looking for.

That's what I've felt.

:Blocking my users from abusing Usenet is easy without controlling the
:ID.  Protecting my users from being abused by others on Usenet is seems
:straight forward for my system as well.  I already end up reading the
:target article header for most cancel/supersede messages so it would
:be straight forward to do add the checkes to make make sure external
:canceles comming in weren't canceling local articles.  But to be
:honest, I'm not sure if that's the right thing to do anyhow.  If
:the article was cancled on the "rest" of Usenet, then I think it would
:be a disservice to my user to make him think everything was "fine" by
:hiding that fact.

I'm not talking about hiding the fact.  I'm talking more of an

| mail abuse@isp.com

type thing.

:What I really want is to allow users to "see" canceled articles if they
:choose to do so.  Right now, I do that by running parallel front-end
:systems.  One which processes cancles, and one which doesn't.  Ultimatly,
:I'll be able to do it on a per-user basis.
:
:And none of this would require me to overwrite Message-IDs as far as
:I can tell.

That seems like something completely different, and I'd have to agree that
it has nothing to do with rewriting Message-ID's.  :-)

... JG

Re: RFC 1036 Revision: General
#58217
Author: Joe Greco
Date: Wed, 23 Feb 2000 00:00
43 lines
2962 bytes
In news.software.nntp article <951281558.332434@news.netscum.dk>, Jeremy <bofh@netscum.dk> wrote:
:Joe Greco <jgreco@ns.sol.net> wrote:
:
:>> 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.
:
:That's fine; a standard isn't going to stop you.  You will have read it,
:considered it, weighed the consequenses versus the benefits, and decided
:to go ahead and do it your way.  I'm not concerned about *you* violating
:the standard.  I'm concerned about *other people* doing it.

Well, the _point_ of this, is that if we can engineer a way to let a
client _know_ that this is going to happen, or an overall better solution
such as providing a recommended Message-ID to the client in advance, then
we have actually made the state of affairs better.  In the case where the
server breaks the letter of a standard, then, you actually win because you
are less likely to generate breakage.  This is better than the current
state of affairs where I just rewrite it, silently dropping any previous
Message-ID.  So I'd love to see something worked out.  Something along the
lines of

"Clients which need knowledge of the Message-ID of the message being posted,
for purposes including (but not limited to) signing, etc., MUST query the
server for this data by doing <xxx> for the Message-ID to assign to the 
message.  Clients that do not need this knowledge should not attempt to
provide a Message-ID."  (last part optional IMO).

You can still prohibit the rewriting of client-specified Message-ID's in
the standard, and in fact when most clients abide by the sort of language
that I've given above, I might even honor such a prohibition and stop
forcibly rewriting Message-ID's, since I would have fewer compelling 
reasons to do so.

I'm just looking to reduce the amount of potential breakage by including
a way for the client to do things in a manner that cooperates with any
administrative policy that might exist.

... JG

Re: RFC 1036 Revision: General
#58219
Author: Curt Welch
Date: Wed, 23 Feb 2000 00:00
214 lines
11914 bytes
jgreco@ns.sol.net (Joe Greco) wrote:
> In news.software.nntp article <20000222030128.423$f9@newsreader.com>,
> curt@kcwc.com (Curt Welch) wrote:
> :jgreco@ns.sol.net (Joe Greco) wrote:
> :> In news.software.nntp article <20000221223546.221$E4@newsreader.com>,
> :> curt@kcwc.com (Curt Welch) wrote:

> :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.

Yes, it would be nice if there were a standard way to let the client know
that.  But in your case, it sounds like you wouldn't have a problem if
the client was just willing to use an ID which you supplied.

The new LIST EXTENSIONS could be used for this.  The use of the Message-ID
on the return data of the POST command could be defined as a standard
extension (POSTID?), and there could be optional parameters to the
extension which meant "I will overwrite the ID if you don't use the
ID which I supplied".  Something like "POSTID OVERWRITE".

That way, any client which had to be able to generate it's own IDs in
order to function correctly could know ahead of time (and warn the user)
that that function won't work for the server.

> :> 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,
> :
> :I haven't figured out what I'm going to do about limiting those.  But
> :I would tend to lean towards a solution where a user could only issue
> :a cancel/supersede for their own article -- and that would be determined
> :by looking at the article that was to be cancled.  I'd force the
> :addition of some extra header (like X-Trace:) to all posts so my server
> :could tell of the article to be canceled matched the user sending the
> :cancel insteald of forcing this info into the Message-ID.
>
> My outgoing posts server does not necessarily keep posts around a long
> time.

Ah, I see.  The checks aren't done on a server which has (easy) access
to your main spool(s).  I was thinking you meant the user just happened
to save a copy of his article and then months later decided to cancel
it.  Even thought that's possible, most users don't even think about
that if they can no longer "see" the article on the server.

> I'd like my users to be able to cancel an article they posted
> three months ago (since I've a six-month text spool).  That should be a
> legitimate thing to do.  Also, since many sites do not have the concept
> of "matched the user" (since they use ip.ra.nge.* for access control),

Yes, I wasn't thinking about that.  I've been in the context of "knowing"
the user for so long I just forgot that many people don't.

> the method I'm using is somewhat more suited for a minimally-invasive
> system modification for many sites.
>
> :> 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.
> :
> :Not sure what you are saying there.
>
> What I'm saying is that to have a solution where a user can only issue a
> cancel/supersede for their own article, you need to maintain a central
> database of some sort, or do other site-specific trickery (which, by the
> way, only works if you _do_ have an idea of who your specific user is,
> which many sites do not).  The goal is to provide fast response to the
> client. Unfortunately, if your database is down (or busy), or you have
> redundant databases (and one is behind), you can wind up with a situation
> where the original message may not be "visible" within the part of your
> backend system the cancel is traversing, while the cancel propagates
> through faster.  The solution is to sleep for a while and see if the
> original message shows up, but you do not want (or need) to sleep for
> this event, because you are delaying your response to the client.  You
> just say "240 Ok" and accept it on faith, and silently drop it on the
> backend if it doesn't match a post the user was authorized to cancel.

Ok, I'm with you.

> I don't always have access to the user identity.  Some of it, I _do_ have
> to do on blind faith.  But if Hipcrime wants to come and cancel all my
> users posts, at least that is something where the whole show is under my
> control. I can turn off outbound cancels completely, and repost as many
> of the posts as are in my outbound spool (which may range up as far as 3
> or 4 months if there aren't lots of binaries being posted).  This puts
> the responsibility in my hands, which is where I want it.  I do not want
> my users to be able to cancel posts originating at other sites.  Period.

Right, that's a good policy.  Even it is "is" there's, they just have to
go back to the other system if they want to cancel it.

> If they cancel each other user posts, I can deal with that a lot more
> effectively than if Hipcrime manages to cancel All-Of-Usenet via my
> server.
>
> So all I'm really talking about is a general site policy type thing, that
> says "all MID's will end in @isp.com>, no cancels allowed and no
> supersedes allowed for non @isp.com> MID's".  At least for me.
>
> But you are right:  you _could_ use this as a per-user thing by hashing
> the user-ID and then using some digits from it, and do something like
>
> <random-garbage@12345678.news.isp.com>
>
> where 12345678 is some digits from the md5 hash of the user name that is
> currently authenticated.  This may be useful in some environments, and I
> do not know who it "just seems wrong" to you.

Actually, I'm thinking it's an OK soultion.  That makes it simple to
validate canceles without having to reference the orginal article.  You
don't know if they are really valid, but you do know they are harmless
to the rest of Usenet.  But it requires your type of control over the IDs
which in general, I don't like (i.e., I don't mind if you do it, but I
would never do it...).  And that's just if you take control of the ID
at the server level, then that means the users can't use it for anything.

My "seems wrong" comment is just because it's encoding information into
the Message-ID that "belongs" elsewhere in the header.  Taken to the
extreme, you could encode the entire article into the Message-ID.

Also, people keep suggesting different things that could be encoded
into Message-IDs and in general, I think they are mostly bogus (at least
as a net-wide standard).  It should be left mostly how it is so people can
play various "games" with it as they see fit locally (like the type of
stuff you are doing).

> I think it'd be a good
> thing to specify a standard in a way that allows clever admins to do
> clever things that are very useful with the least amount of additional
> backend work.
>
> I'm trying to tackle some of the abuse issues at a source-code level.
> The current development Diablo has (#undef'd but #define-able) support
> for the specific sitewide anti-rogue-cancel/supersede mechanism I
> describe above, plus it turns off other Control: message generation by
> default unless the admin specifically enables it in the auth file.  I
> don't really want to find myself the source of an alt.0-000. banner
> newgroup storm, or a Hipcrime attack, or any of a number of other things.

Yeah, I think we all want that.

> I can selectively empower users to do arbitrary cancels, or
> newgroups/rmgroups, but I do not want to just open it up to whatever crap
> happens to be POST'ed at me.

Right.

In my mind, the only special thing a standard user should be allowed to
send is a cancel or supersede.  And only if the target article was posted
by them (or simply looks like it was posted by them).  This means the
target article must be availabe to the server processing the POST for the
cancel.  I don't have a problem with that.  If the target article is
delayed for some technical reason, then the cancel just gets rejected.
Sorry, the user just has to try again later.  I'd rather drop 10 valid
cancels than send out one bogus cancel.

If the article has expired, sorry, you can't cancel or supersede it.  Like
I said, most users just won't have a problem with that anyway.

The extra delay this adds in the procssing of the POST of a cancel just
isn't a problem for me.

I don't have any of this checking in place at the moment, but that is my
current plan and I don't see any problem in implementing it.

For special cases of users that want to post FAQs or do other special
things, I'll just need the ability to give them special powers. Since all
my users are authenticated, then there really is no technical problem with
doing that.

> That may have been desirable 10 years ago
> when people could generally be trusted, but today's average "trust model"
> can be bought for $15/month or less, and I'd rather have a more
> restrictive model for some of the things that have traditionally been
> abused.

I agree with your logic and motive.  And the loss of the user's ability
to control the Message-ID is a small and fair price to pay to get the
type of control you are looking for.

Blocking my users from abusing Usenet is easy without controlling the
ID.  Protecting my users from being abused by others on Usenet is seems
straight forward for my system as well.  I already end up reading the
target article header for most cancel/supersede messages so it would
be straight forward to do add the checkes to make make sure external
canceles comming in weren't canceling local articles.  But to be
honest, I'm not sure if that's the right thing to do anyhow.  If
the article was cancled on the "rest" of Usenet, then I think it would
be a disservice to my user to make him think everything was "fine" by
hiding that fact.

What I really want is to allow users to "see" canceled articles if they
choose to do so.  Right now, I do that by running parallel front-end
systems.  One which processes cancles, and one which doesn't.  Ultimatly,
I'll be able to do it on a per-user basis.

And none of this would require me to overwrite Message-IDs as far as
I can tell.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/

Re: RFC 1036 Revision: General
#58228
Author: Joe Greco
Date: Wed, 23 Feb 2000 00:00
66 lines
4548 bytes
In news.software.nntp article <951351775.22050@news.netscum.dk>, Jeremy <bofh@netscum.dk> wrote:
:Curt Welch <curt@kcwc.com> wrote:
:
:>> 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.
:> 
:> Yes, it would be nice if there were a standard way to let the client know
:> that.  But in your case, it sounds like you wouldn't have a problem if
:> the client was just willing to use an ID which you supplied.
:> 
:> The new LIST EXTENSIONS could be used for this.  The use of the Message-ID
:> on the return data of the POST command could be defined as a standard
:> extension (POSTID?), and there could be optional parameters to the
:> extension which meant "I will overwrite the ID if you don't use the
:> ID which I supplied".  Something like "POSTID OVERWRITE".
:
:I don't like that at all.  Rewriting message-ids is so exceptionally bad
:that I would like for it to be completely prohibited in the standard; if
:it's not, I really at least don't want it specifically allowed by some
:extension.  I don't want *anyone* doing it who doesn't *really* know what
:they're doing.  If it's a MUST NOT, then we only have people like Joe
:doing it, and we don't have to worry about them.  If it's in there as
:something you can do, we'll have people doing it who don't understand why
:they shouldn't be doing it, and that will be a problem, since no existing
:clients will support that extension.
:
:I understand the desire to have a way to tell the client you're going to
:do it, but I fear that creating such a method will legitimize and possibly
:encourage something that we *really* don't want people doing.

Then do it in a more passive manner, say that a client POST'ing an article
should not specify a Message-ID: without reason, and if it is going to
specify a Message-ID:, that it should ask for one from the server.  This
seems to make sense from a variety of perspectives.  Can you give me a
reason that this sort of methodology would be, to use the phrase you did,
"so exceptionally bad"?

You already need to do things like preventing people who use suck feeds
from POST'ing back at you (or elsewhere) to prevent overwriting of other
authentication information such as the X-Trace: and NNTP-Posting-Host:
lines.  The suck feed case is the only case I can think of where MID 
rewriting of POST would be a bad thing, given the ability of a client to 
predetermine what MID would be used in advance.  People doing mailing list 
gatewaying can always opt for direct NNTP rather than NNRP, or find a site 
where MID rewriting doesn't happen.

Am I missing something?  Or is it time for this ten-year-old-plus mindset
of "anything that can be IHAVE'd can be POST'ed" to die?  It died the day
we started forcibly rewriting NNTP-Posting-Host:, and moving to
differentiate the two things even further is probably a good thing, if
anything at all.  If a client is on the far end of a POST, then they are
my direct user and should be subject to my administrative control.  If they
want an NNTP feed, they should arrange for one.

But I'm not even pushing for that.  I'm just pushing for a minor change of
some sort that can allow a client that _needs_ to know what MID the message
will receive what actual MID the message will be posted with.  I'd also
like for advice to be put in that clients that do not need to supply a MID
should not in fact supply one, but that's just something I feel to be
common sense more than anything.

... JG

Re: RFC 1036 Revision: General
#58234
Author: Jeremy
Date: Thu, 24 Feb 2000 00:00
35 lines
2438 bytes
Curt Welch <curt@kcwc.com> wrote:

>> 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.
> 
> Yes, it would be nice if there were a standard way to let the client know
> that.  But in your case, it sounds like you wouldn't have a problem if
> the client was just willing to use an ID which you supplied.
> 
> The new LIST EXTENSIONS could be used for this.  The use of the Message-ID
> on the return data of the POST command could be defined as a standard
> extension (POSTID?), and there could be optional parameters to the
> extension which meant "I will overwrite the ID if you don't use the
> ID which I supplied".  Something like "POSTID OVERWRITE".

I don't like that at all.  Rewriting message-ids is so exceptionally bad
that I would like for it to be completely prohibited in the standard; if
it's not, I really at least don't want it specifically allowed by some
extension.  I don't want *anyone* doing it who doesn't *really* know what
they're doing.  If it's a MUST NOT, then we only have people like Joe
doing it, and we don't have to worry about them.  If it's in there as
something you can do, we'll have people doing it who don't understand why
they shouldn't be doing it, and that will be a problem, since no existing
clients will support that extension.

I understand the desire to have a way to tell the client you're going to
do it, but I fear that creating such a method will legitimize and possibly
encourage something that we *really* don't want people doing.

-- 
Jeremy  (  jeremy@exit109.com  |  bofh@netscum.dk  )

Re: RFC 1036 Revision: General
#58253
Author: Jeremy
Date: Thu, 24 Feb 2000 00:00
75 lines
3942 bytes
Joe Greco <jgreco@ns.sol.net> wrote:

> I don't allow automated "daemon" clients of any sort to POST into my 
> machines.  This includes NNTPCache, the various bastard Microsoft things, 
> or anything else that is as clever as what you're outlining.  POST access
> is for direct communication with end users.  If you want a "feed", get a
> feed and use IHAVE, and then that's fine.

But it's not an automated daemon.  It connects to your server when I connect
to it with a newsreader; it enters a group on your server when I ask for it.
When I ask for an overview, it returns what it has cached, then asks for the
rest from your server.  When I ask for an article, it only asks for it from
your server if it doesn't already have it cached.  Basically, it acts like
many of the Windows newsreaders.  (Yes, that's a bit of a simplification,
but that's essentially how the thing works.)

I can't get a feed, as I'm not on a dedicated connection.  My calls are
metered, so I can't stay connected 24x7.

You'd rather I pull the entire overview from your server every time I enter
a group?  And pull articles down multiple times?

>> Right.  But in my case, although the thing generating my message-ids
>> is a "server", it's really being used as a newsreader that lets me use
>> multiple servers and doesn't make me download the overviews every time
>> I enter a group.  If that's client software you don't want used
>> against your system, that's fine, I suppose, but the failure mode is
>> article spews, and that's not so good.
> 
> I think I'd count it as either "client software I don't want used - ask
> for an IHAVE uplink", or "client software which you need to arrange to
> have used", in which case I could force you to auth and then turn off MID
> rewriting.

If I were your user, I might not even think to ask; I might just say, "Well,
they're clobbering message-ids, I guess I'll have to go somewhere else."

> I agree that article spews are not desirable.  I don't see any coming from
> any server I administer, yet most do rewrite MID's.

Like I said, I'm not concerned about you doing this.  There's nothing that
can go into the standard that's going to stop you.  I just don't want to
encourage other people to do it, who aren't as skilled as you.

> Yes, a very sad state of affairs.  More sadly, the instances of generation
> such as 
> 
> <12345678@news>
> 
> where the tail is set to the $NEWSSERVER, which is just "news", and
> therefore you have a huge chance for collisions if the LHS is poorly
> computed from something simplistic like the time and date.
> 
> There's an argument _for_ rewriting.  :-/

I consider it an argument for server-generated IDs... slightly different
thing :)

>> I'm behind that 100% also.  It baffles me why client authors go to
>> such great lengths to generate their own message-ids when they aren't
>> even doing anything with them.
> 
> So I'm happy to back the idea of such a change, regardless of the "SHOULD
> NOT" or "MUST NOT" status of the idea of MID rewriting.  
> 
> What's the most generalized way to do this?
> 
> Putting it in as part of the POST exchange?

This seems to be the thing to do...

-- 
Jeremy  (  jeremy@exit109.com  |  bofh@netscum.dk  )

Re: RFC 1036 Revision: General
#58257
Author: Russ Allbery
Date: Thu, 24 Feb 2000 00:00
24 lines
1984 bytes
In news.software.nntp, Joe Greco <jgreco@ns.sol.net> writes:

> Realistically, though, I can choose to exempt people from the policy if
> I feel that doing so is warranted, so there are multiple ways to deal
> with the occasional Andrew.  And, in my experience, the 0:340,000 ratio
> of Andrews to Users here is a fairly small ratio.

I realize that the conversation has veered away from the new standard
draft to some degree, but I feel obligated to point out here that this
exact same argument applies to the prohibition against Message-ID
rewriting in the standard.  There are multiple ways to deal with the
occasional Joe; in my experience, the 1:10,000 ratio of Joes to News
Administrators or Software Developers is a fairly small ratio.  :)

Your injection agent isn't actually just an injection agent; it's both an
injection agent and a posting agent that happens to understand how to talk
to news readers.  *shrug*  I trust you to generally know what you're doing
and not cause the loops and other problems that result from message ID
rewriting in the more common case.  :)

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: RFC 1036 Revision: General
#58262
Author: J. B. Moreno
Date: Thu, 24 Feb 2000 00:00
33 lines
3057 bytes
Andrew Gierth <andrew@erlenstar.demon.co.uk> wrote:

> >>>>> "Joe" == Joe Greco <jgreco@ns.sol.net> writes:
> 
>  >> You're also breaking any existing clients that depend on knowing a
>  >> posted article's message-id for various features, since those
>  >> clients won't have implemented the message-id-from-server feature.
> 
>  Joe> I haven't run into this as an issue for a non-trivial sized
>  Joe> userbase.  I am inclined to expect that I can refer any new
>  Joe> instances of such a problem to simply use a new client that does
>  Joe> support it.
> 
> If I were your user I might, just possibly, bitch to you about the
> issue once only before going elsewhere for posting access. Any attempt
> by you to suggest a change of client would just make me leave
> faster. I wouldn't ever consider posting via Airnews for exactly the
> same reason.
> 
> Decent client software _will_ legitimately want to generate the
> message-id, for good reasons, such as to enable scoring on
> followups. Having the server suggest ids does nothing to help this.

Although it would be more complex to do and possibly much slower, it
would be possible to do scoring on followups if the message id is
returned as part of the 240 response (keep a list of id's and run them
all through the scoring mechanism).


-- 
John B. Moreno

Re: RFC 1036 Revision: General
#58265
Author: Joe Greco
Date: Thu, 24 Feb 2000 00:00
61 lines
3650 bytes
In news.software.nntp article <87snyilpw3.fsf@erlenstar.demon.co.uk>, Andrew Gierth <andrew@erlenstar.demon.co.uk> wrote:
:>>>>> "Joe" == Joe Greco <jgreco@ns.sol.net> writes:
:
: >> You're also breaking any existing clients that depend on knowing a
: >> posted article's message-id for various features, since those
: >> clients won't have implemented the message-id-from-server feature.
:
: Joe> I haven't run into this as an issue for a non-trivial sized
: Joe> userbase.  I am inclined to expect that I can refer any new
: Joe> instances of such a problem to simply use a new client that does
: Joe> support it.
:
:If I were your user I might, just possibly, bitch to you about the
:issue once only before going elsewhere for posting access. Any attempt
:by you to suggest a change of client would just make me leave
:faster. I wouldn't ever consider posting via Airnews for exactly the
:same reason.

Well, then, I'm glad you're not a user of mine :-)

Realistically, though, I can choose to exempt people from the policy if
I feel that doing so is warranted, so there are multiple ways to deal
with the occasional Andrew.  And, in my experience, the 0:340,000 ratio
of Andrews to Users here is a fairly small ratio.

So:  we have:

1) Ignore the issue (possibly losing the customer),
2) Refer customer to new client,
3) Exempt the customer from the policy

All as viable alternatives (at least for me, and most likely for many
news admins).  In my opinion, having the additional anti-spam and anti-
abuse measures that I can gain by this simple measure is worth a loss
of .0003% of my customer base (1:340,000).

Now, of course, if someone were to release a clever post filter that
could address the various issues that I am interested in, without me
doing Message-ID rewriting, then maybe - just maybe - I'd actually jump
on that bandwagon.

That does not negate the value of thinking about the issue of client vs
server Message-ID generation, however.  I do firmly believe that a client
which has no reason to generate a MID should, in fact, not do so, and a
client that has a need for a MID should prefer a server-provided MID to
one that is internally generated.

:Decent client software _will_ legitimately want to generate the
:message-id, for good reasons, such as to enable scoring on
:followups. Having the server suggest ids does nothing to help this.

Lame, Andrew.  You can't seriously be telling me that the client must
be the one to assign the MID in order to "remember" it.  The client needs
to _know_ the assigned MID, but the act of assignment could happen by
server, client, or arbitrary third party, and in all cases, so long as the
client is informed as to the MID, the client will be able to track the
followups.

... JG

Page 1 of 2 • 92 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