<html xmlns="http://www.w3.org/1999/xhtml" a0:Name="SuikaWiki" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:Version="0.9"><head><a0:parameter name="import"><a0:value>RFC訳語集</a0:value><a0:value>メッセージ訳語集</a0:value></a0:parameter></head><body><p><a0:anchor-end a0:anchor="1">[1]</a0:anchor-end> <strong>Common NNTP Extensions <ins>共通 NNTP 拡張</ins></strong><ul><li>Network Working Group                                          </li><li>Request for Comments: 2980                    </li><li>Category: Informational                                     </li><li>S. Barber</li><li>Academ Consulting Services</li><li>October 2000
<a0:replace by="InfoSatus"></a0:replace></li></ul></p><section><h1>Copyright Notice</h1><blockquote><p>Copyright (C) The Internet Society (2000).  All Rights Reserved.</p></blockquote></section><section><h1>Abstract <ins>概要</ins></h1><blockquote><p>In this document, a number of popular extensions to the Network News
Transfer Protocol (NNTP) protocol defined in RFC 977 are documented
and discussed.  While this document is not intended to serve as a
standard of any kind, it will hopefully serve as a reference document
for future implementers of the NNTP protocol.  In the role, this
document would hopefully create the possibility for some level of
interoperability among implementations that make use of extensions.</p></blockquote></section><section><h1>Introduction <ins>はじめに</ins></h1><blockquote><p>RFC 977 [1] defines the NNTP protocol and  was released over a decade
ago.  Since then, NNTP has become one of the most popular protocols
in use on the Internet.  Many implementations of the protocol have
been created on many different platforms and operating systems.  With
the growth in use of the protocol, work began on a revision to NNTP
in 1991, but that work did not result in a new standard protocol
specification.  However, many ideas from that working group did find
their way into many implementations of NNTP.  Additionally, many
other extensions, often created by newsreader authors, are also in
use.  This document will capture and define all known extensions to
NNTP available in official NNTP server releases of some type as of
this writing.  Where possible, the server software first implementing
a particular extension will be noted.  It is the hope of the author
that using this document in tandem with RFC 977 will limit the
addition of new extensions that essentially do the same thing.
Software developers may wish to use this document and others [2] as a
resource for the  development of new software.</p></blockquote><p><a0:anchor>RFC977</a0:anchor> は <a0:anchor>NNTP</a0:anchor> <a0:replace by="protocol"></a0:replace>を定義しており、十年前に発表されました。
それ以来、 NNTP は Internet 
で使われる最も人気のある<a0:replace by="protocol"></a0:replace>の1つになりました。
この<a0:replace by="protocol"></a0:replace>の多くの実装が多くの異なる<a0:replace by="platform"></a0:replace>や<a0:replace by="operating system"></a0:replace>で作られてきました。
<a0:replace by="protocol"></a0:replace>の利用が伸びるに従い、 NNTP の改訂作業が 
1991年に始まりましたが、新しい標準<a0:replace by="protocol"></a0:replace>仕様には至っていません。
しかし、この作業部会の多くの考えは多くの NNTP の実装に取り入れられました。
加えて、多くの他の、しばしば<a0:replace by="newsreader"></a0:replace>の著者が作った拡張も使われています。
この文書は、執筆の時点で何らかの形で発表された公式 NNTP
サーバーで利用出来る全ての既知の NNTP への拡張を収集・定義します。
可能であれば、その拡張を最初に実装したサーバー・ソフトウェアも注記します。
著者の望むところは、この文書を RFC 977 と併用して本質的に同じことをする新しい拡張の追加を制限することです。
ソフトウェア開発者は新しいソフトウェアの開発のための資源としてこの文書や他のものを使いたいと願うかもしれません。</p><blockquote><p>This document does not specify an Internet Standard of any kind.  It
only attempts to document current practices.  While this document may
clarify some ambiguity in RFC 977, RFC 977 should be regarded as
authoritative in all cases.  There are some implementations that are
not strictly RFC 977 compliant and where necessary, these deviations
from the standard will be noted.  This document does reflect the work
of the IETF NNTP-EXT working group chaired by Ned Freed and Stan Barber.</p></blockquote><p>この文書はいかなる種類の<a0:replace by="Internet Standard"></a0:replace>を規定するものでもありません。
この文書はただ現在の慣習を文書化しようとするものです。
この文書は RFC 977 の曖昧性を明確化するかもしれませんが、全ての場合において
RFC 977 が信頼するべきものであるとみなすべきです。
厳密には RFC 977 に適合しない実装が幾つかあり、必要ならば、標準からの相違点を記します。
この文書は Ned Freed と Stan Barber が議長を務める <a0:anchor>IETF</a0:anchor>
NNTP-EXT 作業部会の作業を反映していません。</p><blockquote><p>This document is provided to help implementers have a uniform source
of information about extensions, however, it is important for any
prospective implementer to understand that the extensions listed here
are NOT part of any current standard for NNTP.  In fact, some of the
ones listed in this document should not be included in new NNTP
implementations as they should no longer be used modern NNTP
environments.  Such commands should be considered historic and are
documented as such in this document.</p></blockquote><p>この文書は実装者が拡張についての統一情報源を持つことを補助するものですが、ここに列挙された拡張はどの現行
NNTP 標準の一部でもないことをいかなる実装者予備軍もが理解することが重要であります。
実際、この文書に列挙した内には既に現代 NNTP 環境では使用するべきではないため新しい 
NNTP 実装には含めないのがよいものがあります。
そのような命令は歴史的なものと考えるのが良く、この文書ではそう書いています。</p><blockquote><p>Extensions fall into three categories: transport, newsreader and
other.  Transport extensions are additions to the NNTP specification
that were made specifically to move news articles from one server to
another server.  Newsreader extensions are additions to the NNTP
specification that were made to assist NNTP clients in selecting and
retrieving news articles from servers.  Other extensions to the NNTP
specification are those which did not specifically fall into either
of the other two categories.  Examples of other extensions include
authentication and time-of-day extensions.  For each command, the
format of section 3 of RFC 977 will be used.</p></blockquote><p>拡張は3つの種類に分類できます。転送, <a0:replace by="newsreader"></a0:replace>, その他です。
転送拡張は特にニュース記事をあるサーバーから他のサーバーへ移動するために作られた
NNTP 仕様への拡張です。
<a0:replace by="newsreader"></a0:replace>拡張は NNTP <a0:replace by="client"></a0:replace>がニュース記事をサーバーから選択したり取り出したりするのを補助する
NNTP 仕様への拡張です。その他の NNTP への拡張は他の2つの分類のどちらにも特に当てはまらないものです。
その他の拡張の例には認証や日中の時刻の拡張を含みます。
各命令について、 RFC 977 の3節の書式を使います。</p></section><section><h1>1. Transport Extensions <ins>転送拡張</ins></h1><blockquote><p>A transport extension is one which is primarily used in inter-server
communications.  Following are the descriptions of each transport
extension commands and the responses which will be returned by those commands.</p></blockquote><p>転送拡張は主にサーバー間通信で使われるものです。
次に示すのは各転送拡張命令とその命令により返される応答の説明です。</p><blockquote><p>Each command is shown in upper case for clarity, although case is
ignored in the interpretation of commands by the NNTP server.  Any
parameters are shown in lower case.  A parameter shown in [square
brackets] is optional.  For example, [GMT] indicates that the
triglyph GMT may present or omitted.  A parameter that may be
repeated is followed by an ellipsis.</p></blockquote><p>各命令は分かりやすいように大文字で示しますが、 NNTP
サーバーの命令の解釈では大文字・小文字の区別はされません。
[大括弧] 中に示されたパラメーターは省略可能です。
例えば、 [GMT] は3文字 <code>GMT</code> が出現しても省略されても良いことを示します。
繰り返しても良いパラメーターは <code>...</code> を続けることで示します。</p><section><h1>1.1.1  The CHECK command</h1><pre>   CHECK &lt;message-id&gt;</pre><blockquote><p>CHECK is used by a peer to discover if the article with the specified
message-id should be sent to the server using the TAKETHIS command.
The peer does not have to wait for a response from the server before
sending the next command.</p></blockquote><p>CHECK は<a0:replace by="peer"></a0:replace>が、指定した <var>message-id</var>
を持った記事をサーバーに <code class="NNTP">TAKETHIS</code> 命令を使って送信するのが良いかどうかを調べるのに使います。<a0:replace by="peer"></a0:replace>は次の命令を送信する前にサーバーからの応答を待つ必要はありません。</p><blockquote><p>From using the responses to the sequence of CHECK commands, a list of
articles to be sent can be constructed for subsequent use by the
TAKETHIS command.</p></blockquote><p>CHECK 命令の連続への応答を使うことから、送信する記事の一覧を続く
<code class="NNTP">TAKETHIS</code> 命令の使用に向けて構築できます。</p><blockquote><p>The use of the CHECK command for streaming is optional.  Some
implementations will directly use the TAKETHIS command and send all
articles in the send queue on that peer for the server.</p></blockquote><p><code class="NNTP">CHECK</code> 命令の<a0:replace by="streaming"></a0:replace>への使用は任意です。
<code class="NNTP">TAKETHIS</code> 命令を直接使って<a0:replace by="peer"></a0:replace>の送信<a0:replace by="queue"></a0:replace>にある全ての記事をサーバーに送信する実装もあります。</p><blockquote><p>On some implementations, the use of the CHECK command is not
permitted when the server is in slave mode (via the SLAVE command).</p></blockquote><p>幾つかの実装では、サーバーが (<code class="NNTP">SLAVE</code> 命令により) 
<a0:replace by="slave"></a0:replace>モードである時には <code class="NNTP">CHECK</code> 命令を許していません。</p><blockquote><p>Responses that are of the form X3X must specify the message-id in the response.</p></blockquote><p><var>X</var>3<var>X</var> の形式の応答は、応答中に <var>message-id</var>
を指定しなければなりません。</p><section><h1>1.1.2.  Responses <ins>応答</ins></h1><ul><li>238 no such article found, please send it to me <ins>(そんな記事ないです。。。送って下さい)</ins></li><li>400 not accepting articles <ins>(記事を受け付けていません)</ins></li><li>431 try sending it again later <ins>(後でまた送信してみて下さい)</ins></li><li>438 already have it, please don't send it to me <ins>(もう持ってます。送らないで下さい。)</ins></li><li>480 Transfer permission denied <ins>(転送許可不許可)</ins></li><li>500 Command not understood <ins>(命令理解不能)</ins></li></ul></section></section><section><h1>1.2.1  The MODE STREAM command</h1><pre>   MODE STREAM</pre><blockquote><p>MODE STREAM is used by a peer to indicate to the server that it would
like to suspend the lock step conversational nature of NNTP and send
commands in streams.  This command should be used before TAKETHIS and
CHECK.  See the section on the commands TAKETHIS and CHECK for more details.</p></blockquote><p><code class="NNTP">MODE STREAM</code> は<a0:replace by="peer"></a0:replace>がサーバーに NNTP
の段階固定対話性を停止して命令を<a0:replace by="stream"></a0:replace>で送信したいと示すのに使います。
この命令は <code class="NNTP">TAKETHIS</code> 及び <code class="NNTP">CHECK</code>
の前に使用するのが良いです。詳しくは命令 <code class="NNTP">TAKETHIS</code>
及び <code class="NNTP">CHECK</code> の節をご覧下さい。</p><section><h1>1.2.2.  Responses <ins>応答</ins></h1><ul><li>203 Streaming is OK <ins>(<a0:replace by="streaming"></a0:replace>了解)</ins></li><li>500 Command not understood <ins>(命令理解不能)</ins></li></ul></section></section><section><h1>1.3.1  The TAKETHIS command</h1><pre>   TAKETHIS &lt;message-id&gt;</pre><blockquote><p>TAKETHIS is used to send articles to a server when in streaming mode.
The entire article (header and body, in that sequence) is sent
immediately after the peer sends the TAKETHIS command.  The peer does
not have to wait for a response from the server before sending the
next command and the associated article.</p></blockquote><p><code class="NNTP">TAKETHIS</code> は<a0:replace by="streaming"></a0:replace><a0:replace by="mode"></a0:replace>において記事をサーバーに送信するのに使います。
記事全体 (頭及び本体をこの順序で。) は <code class="NNTP">TAKETHIS</code>
命令を<a0:replace by="peer"></a0:replace>が送信したすぐ後に送信します。<a0:replace by="peer"></a0:replace>は次の命令及び関連付けられた記事を送信する前にサーバーからの応答を待つ必要はありません。</p><blockquote><p>During transmission of the article, the peer should send the entire
article, including header and body, in the manner specified for text
transmission from the server.  See RFC 977, Section 2.4.1 for details.</p></blockquote><p>記事の転送の際、<a0:replace by="peer"></a0:replace>は記事全体, つまり頭及び本体を、サーバーからの<a0:replace by="text"></a0:replace>転送の方法で送信するのが良いです。
詳しくは RFC 977 2.4.1節をご覧下さい。</p><blockquote><p>Responses that are of the form X3X must specify the message-id in the response.</p></blockquote><p><var>X</var>3<var>X</var> の形式の応答は、応答中に <var>message-id</var>
を指定しなければなりません。</p><section><h1>1.3.2.  Responses <ins>応答</ins></h1><ul><li>239 article transferred ok <ins>(記事転送了解)</ins></li><li>400 not accepting articles <ins>(記事を受け付けていません)</ins></li><li>439 article transfer failed <ins>(記事転送失敗)</ins></li><li>480 Transfer permission denied <ins>(転送許可不許可)</ins></li><li>500 Command not understood <ins>(命令理解不能)</ins></li></ul></section></section><section><h1>1.4.1  The XREPLIC command</h1><pre>   XREPLIC ggg:nnn[,ggg:nnn...]</pre><blockquote><p>The XREPLIC command makes is possible to exactly duplicate the news
spool structure of one server in another server.  It first appeared in INN.</p></blockquote><p><code class="NNTP">XREPLIC</code> 命令によりあるサーバーのニュース<a0:replace by="spool"></a0:replace>構造を他のサーバーに丁度複製することが出来ます。
これは <a0:anchor>INN</a0:anchor> に最初に出現しました。</p><blockquote><p>This command works similarly to the IHAVE command as specified in RFC
977.  The same response codes are used.  The command line arguments
consist of entries separated by a single comma.  Each entry consists
of a news group name, a colon, and an article number.  If the server
responds with a 335 response, the article should be filed in the news
group(s) and article number(s) specified in the XREPLIC command line.
If the server cannot do successfully install the article once it has
accepted it, a 436 or 437 response code can be used to indicate the failure.</p></blockquote><p>この命令は RFC 977 で規定されている <code class="NNTP">IHAVE</code>
命令と同様に機能します。同じ応答符号が使われます。
命令行引数は単一の読点で区切られた項目群で構成します。
各項目は<a0:replace by="newsgroup"></a0:replace>名, コロン, 記事番号から成ります。
サーバーが <code class="NNTP">335</code> 応答で応答した場合、記事は <code class="NNTP">XREPLIC</code>
命令行で指定したニュース組及び記事番号で埋めるのが良いです。
サーバーが一度受け入れた記事を成功裏に取り入れられなければ、失敗を示すのに
<code class="NNTP">436</code> 又は <code class="NNTP">437</code> の応答符号を使うことが出来ます。</p><blockquote><p>This command should only be used when the receiving server is being
fed by only one other server.  It is likely that when used with
servers that have multiple feeds that this command will frequently fail.</p></blockquote><p>この命令は受信サーバーが他の1つのサーバーのみから供給されている場合にのみ使うのが良いです。
複数の供給のあるサーバーで使うとこの命令は頻繁に失敗するようです。</p><blockquote><p>XREPLIC slaving has been deprecated in INN version 1.7.2 and later.
INN now has the ability to slave servers via transparent means,
simply by having the article's Xref header transferred.  (In previous
versions, this header was generated locally and stripped off on
outgoing feeds.)</p></blockquote><p>XREPLIC <a0:replace by="slaving"></a0:replace>は INN 1.7.2 版以降では非推奨とされています。
INN は今は転送の手段で, 単純に記事の <code>Xref</code>
<a0:replace by="header"></a0:replace>を転送することでサーバーを<a0:replace by="slave"></a0:replace>しています。
(以前の版では、この<a0:replace by="header"></a0:replace>は) <a0:replace by="local"></a0:replace>で生成して外部に供給する時には捨てていました。)</p><blockquote><p>It is likely that future versions of INN will no longer support XREPLIC.</p></blockquote><p>将来の版の INN は <code class="NNTP">XREPLIC</code> に対応しなくなるかもしれません。</p><section><h1>1.4.2.  Responses <ins>応答</ins></h1><ul><li>235 article transferred ok</li><li>335 send article to be transferred.  End with &lt;CR-LF&gt;.&lt;CR-LF&gt;</li><li>435 article not wanted - do not send it</li><li>436 transfer failed - try again later</li><li>437 article rejected - do not try again</li></ul></section></section></section><section><h1>2. Newsreader Extensions <ins><a0:replace by="newsreader"></a0:replace>拡張</ins></h1><blockquote><p>Newsreader extensions are those which are primarily used by
newsreading clients.  Following are the descriptions of each
newsreader extension commands and the responses which will be
returned by those commands.</p></blockquote><a0:replace by="newsreader"></a0:replace><p>拡張は主にニュースを読む<a0:replace by="client"></a0:replace>で使われるものです。
次に示すのは各転送拡張命令とその命令により返される応答の説明です。</p><blockquote><p>Each command is shown in upper case for clarity, although case is
ignored in the interpretation of commands by the NNTP server.  Any
parameters are shown in lower case.  A parameter shown in [square
brackets] is optional.  For example, [GMT] indicates that the
triglyph GMT may present or omitted.  A parameter that may be
repeated is followed by an ellipsis.  Mutually exclusive parameters
are separated by a vertical bar (|) character.  For example,
ggg|&lt;message-id&gt; indicates that  a group name or a &lt;message-id&gt; may
be specified, but not both.  Some parameters, notably &lt;message-id&gt;,
is case specific.  See RFC 1036 for these details.</p></blockquote><p>各命令は分かりやすいように大文字で示しますが、 NNTP
サーバーの命令の解釈では大文字・小文字の区別はされません。
パラメーターは小文字で示します。 [大括弧] 中に示されたパラメーターは省略可能です。
例えば、 [GMT] は3文字 <code>GMT</code> が出現しても省略されても良いことを示します。
繰り返しても良いパラメーターは <code>...</code> を続けることで示します。
相互に排他的なパラメーターは垂直線 (<code>|</code>) 文字で区切ります。
例えば、 <samp>ggg|&lt;message-id&gt;</samp> は、組名又は <var>&lt;message-id&gt;</var>
を指定しても構いませんが、両方を指定してはいけないことを示します。
パラメーターの中には、大文字・小文字を区別するものがあります。
特に <var>&lt;message-id&gt;</var> はそうです。詳しくは <a0:anchor>RFC1036</a0:anchor>
をご覧下さい。</p><blockquote><p>Also, certain commands make use of a pattern for selection of
multiple news groups.  The pattern in all cases is based on the
wildmat [4] format introduced by Rich Salz in 1986.  Arguments
expected to be in wildmat format will be represented by the string
wildmat.  This format is discussed in detail in section 3.3 of this document.</p></blockquote><p>また、ある命令は複数の<a0:replace by="newsgroup"></a0:replace>の選択に<a0:replace by="pattern"></a0:replace>を使用します。
この<a0:replace by="pattern"></a0:replace>は全ての場合において Rich Salz が1986年に考案した wildmat
形式に基づいています。 wildmat 形式で指定する引数は文字列 <code>wildmat</code>
で示します。この形式は詳しくはこの文書の3.3節で述べています。</p><section><h1>2.1.1 Extensions to the LIST command <ins>LIST 命令の拡張</ins></h1><blockquote><p>The original LIST command took no arguments in RFC 977 and returned
the contents of the active file in a specific format.  Since the
original newsreaders made use of other information available in the
news transport software in addition to the active file, extensions to
the LIST command were created to make that information available to
NNTP newsreaders.  There may be other extensions to the LIST command
that simply return the contents of a file.  This approach is
suggested over the addition of over verbs.  For example, LIST MOTD
could be used instead of adding XMOTD.</p></blockquote><p>元の <code class="NNTP">LIST</code> 命令は RFC 977 では引数を取らず、活性<a0:replace by="file"></a0:replace>の内容を規定の形式で返しました。
元の<a0:replace by="newsreader"></a0:replace>が活性<a0:replace by="file"></a0:replace>に加えてニュース転送ソフトウェアで利用出来る他の情報を使っていたので、
<code class="NNTP">LIST</code> 命令の拡張はこうした情報を NNTP <a0:replace by="newsreader"></a0:replace>が利用出来るように作られました。
単純にファイルの内容を返す他の <code class="NNTP">LIST</code>
命令の拡張もあるかもしれません。
この方法は動詞の追加よりも提案されています。例えば、 <code class="NNTP">LIST MOTD</code>
は <code class="NNTP">XMOTD</code> の追加の代わりに使用出来るでしょう。</p><section><h1>2.1.2 LIST ACTIVE</h1><pre>   LIST ACTIVE [wildmat]</pre><blockquote><p>LIST ACTIVE is exactly the same as the LIST command specified in RFC
977.  The responses and the format should exactly match the LIST
command without arguments.  If the optional matching parameter is
specified, the list is limited to only the groups that match the
pattern.  Specifying a single group is usually very efficient for the
server, and multiple groups may be specified by using wildmat
patterns (described later in this document), not regular expressions.
If nothing is matched an empty list is returned, not an error.  This
command first appeared in the UNIX reference version.</p></blockquote><p><code class="NNTP">LIST ARCHIVE</code> は RFC 977 で規定されている <code class="NNTP">LIST</code>
命令と全く同じです。応答及び書式は引数無しの <code class="NNTP">LIST</code>
命令と全く一致するのが良いです。省略可能の一致パラメーターが指定されている場合、一覧は<a0:replace by="pattern"></a0:replace>に一致する<a0:replace by="group"></a0:replace>のみに限定されます。
単一の<a0:replace by="group"></a0:replace>の指定は普通サーバーには非常に有用で、
wildmat <a0:replace by="pattern"></a0:replace> (この文書の後で説明。)
を使って複数の<a0:replace by="group"></a0:replace>を指定しても構いません。
何も一致しなかった場合空の一覧が返され、エラーにはなりません。
こう命令は最初 UNIX <a0:replace by="reference version"></a0:replace>に現れました。</p></section><section><h1>2.1.3 LIST ACTIVE.TIMES</h1><pre>   LIST ACTIVE.TIMES</pre><blockquote><p>The active.times file is maintained by some news transports systems
to contain information about the when and who created a particular
news group.  The format of this file generally include three fields.
The first field is the name of the news group.  The second is the
time when this group was created on this news server measured in
seconds since January 1, 1970.  The third is the email address of the
entity that created the news group.  When executed, the information
is displayed following the 215 response.  When display is completed,
the server will send a period on a line by itself.  If the
information is not available, the server will return the 503 error
response.  This command first appeared in the UNIX reference version.</p></blockquote><p><code>active.times</code> <a0:replace by="file"></a0:replace>は幾つかのニュース転送<a0:replace by="system"></a0:replace>で、いつ誰がその<a0:replace by="newsgroup"></a0:replace>を作ったのかの情報を維持しています。
この<a0:replace by="file"></a0:replace>の書式では通常、3つの欄が含まれます。
最初の欄は<a0:replace by="newsgroup"></a0:replace>の名前です。2番目はその<a0:replace by="group"></a0:replace>がこのニュース・サーバーで作られた時刻を1970年1月1日からの秒数で示したもの <ins>(Un*x 時間)</ins>
です。3番目は<a0:replace by="newsgroup"></a0:replace>を作った<a0:replace by="email"></a0:replace>アドレスの実体です。
実行された時、情報は <code class="NNTP">225</code>
応答に続けて表示されます。表示が完了した時、サーバーは句点のみから成る行を送ります。
情報が利用不能な場合、サーバーは <code class="NNTP">503</code>
エラー応答を返します。この命令は最初 UNIX <a0:replace by="reference version"></a0:replace>に現れました。</p><section><h1>2.1.3.1 Responses <ins>応答</ins></h1><ul><li>215 information follows <ins>(情報を続けます)</ins></li><li>503 program error, function not performed <ins>(プログラム・エラー, 機能は実行されず)</ins></li></ul></section></section><section><h1>2.1.4 LIST DISTRIBUTIONS</h1><pre>   LIST DISTRIBUTIONS</pre><blockquote><p>The distributions file is maintained by some news transport systems
to contain information about valid values for the Distribution: line
in a news article header and about what the values mean.  Each line
contains two fields, the value and a short explanation on the meaning
of the value.  When executed, the information is displayed following
the 215 response.  When display is completed, the server will send a
period on a line by itself.  If the information is not available, the
server will return the 503 error response.  This command first
appeared in the UNIX reference version.</p></blockquote><p>配布<a0:replace by="file"></a0:replace>は幾つかのニュース転送<a0:replace by="system"></a0:replace>で、ニュース記事<a0:replace by="head"></a0:replace>の
<code>Distribution:</code> 行で妥当な値とその値の意味についての情報を入れて維持されています。
各行は値と値の意味の短い説明の2つの欄で構成されます。
実行された時、 <code class="NNTP">215</code> 応答に続けて情報が表示されます。
表示が完了した時、サーバーは句点のみの行を送ります。
情報が利用出来ない場合、サーバーは <code class="NNTP">503</code>
エラー応答を返します。この命令は初め UNIX <a0:replace by="reference version"></a0:replace>に出現しました。</p><section><h1>2.1.4.1 Responses <ins>応答</ins></h1><ul><li>215 information follows <ins>(情報が続きます)</ins></li><li>503 program error, function not performed <ins>(プログラム・エラー, 機能実行されず)</ins></li></ul></section></section><section><h1>2.1.5 LIST DISTRIB.PATS</h1><pre>   LIST DISTRIB.PATS</pre><blockquote><p>The distrib.pats file is maintained by some news transport systems to
contain default values for the Distribution:  line in a news article
header when posting to particular news groups.  This information
could be used to provide a default value for the Distribution: line
in the header when posting an article.  The information returned
involves three fields separated by colons.  The first column is a
weight.  The second is a group name or a pattern that can be used to
match a group name in the wildmat format.  The third is the value of
the Distribution:  line that should be used when the group name
matches and the weight value is the highest.  All this processing is
done by the news posting client and not by the server itself.  The
server just provides this information to the client for it to use or
ignore as it chooses.  When executed, the information is displayed
following the 215 response.  When display is completed, the server
will send a period on a line by itself.  If the information is not
available, the server will return the 503 error response.  This 
command first appeared in INN.</p></blockquote><p><code>distrib.pats</code> <a0:replace by="file"></a0:replace>は、特定<a0:replace by="newsgroup"></a0:replace>への投稿時のニュース記事の
<a0:anchor>Distribution:</a0:anchor> 行の値の既定値を含めるために幾つかのニュース転送系で維持されています。
この情報は記事を投稿する時に<a0:replace by="header"></a0:replace>の <code>Distribution:</code> 
行の既定値を提供するのに使っても構いません。この情報はコロンで区切った3つの欄を含みます。
最初の列は重みです。2番目は<a0:replace by="group"></a0:replace>名又は<a0:replace by="wildmat"></a0:replace>形式で<a0:replace by="group"></a0:replace>名に一致する<a0:replace by="pattern"></a0:replace>です。
3番目は<a0:replace by="group"></a0:replace>名が一致して重み値が最大の時に使うのがよい <code>Distribution:</code>
行の値です。この処理は全てニュース投稿<a0:replace by="client"></a0:replace>により行われ、サーバー自体は行いません。
サーバーはただクライアントに、この情報を使うか無視するかを選べるよう提供するだけです。
実行された時、情報は <code>215</code> 応答に続けて表示します。
表示が完了した時、サーバーは句点のみの行を送ります。
情報が利用出来ない場合、サーバーは <code>503</code> エラー応答を返します。
この命令は最初に INN に実装されました。</p><section><h1>2.1.5.1 Responses <ins>応答</ins></h1><pre>      215 information follows
      503 program error, function not performed</pre></section></section><section><h1>2.1.6 LIST NEWSGROUPS</h1><pre>   LIST NEWSGROUPS [wildmat]</pre><pre>   The newsgroups file is maintained by some news transport systems to
   contain the name of each news group which is active on the server and
   a short description about the purpose of each news group.  Each line
   in the file contains two fields, the news group name and a short
   explanation of the purpose of that news group.  When executed, the
   information is displayed following the 215 response.  When display is
   completed, the server will send a period on a line by itself.  If the
   information is not available, the server will return the 503
   response.  If the optional matching parameter is specified, the list
   is limited to only the groups that match the pattern (no matching is
   done on the group descriptions).  Specifying a single group is
   usually very efficient for the server, and multiple groups may be
   specified by using wildmat patterns (similar to file globbing), not
   regular expressions.  If nothing is matched an empty list is
   returned, not an error.</pre><pre>   When the optional parameter is specified, this command is equivalent
   to the XGTITLE command, though the response code are different.</pre><pre>      215 information follows
      503 program error, function not performed</pre><p>2.1.7 LIST OVERVIEW.FMT</p><pre>   LIST OVERVIEW.FMT</pre><pre>   The overview.fmt file is maintained by some news transport systems to
   contain the order in which header information is stored in the
   overview databases for each news group.  When executed, news article
   header fields are displayed one line at a time in the order in which
   they are stored in the overview database [5] following the 215
   response.  When display is completed, the server will send a period
   on a line by itself.  If the information is not available, the server
   will return the 503 response.</pre><pre>   Please note that if the header has the word &quot;full&quot; (without quotes)
   after the colon, the header's name is prepended to its field in the
   output returned by the server.</pre><pre>   Many newsreaders work better if Xref: is one of the optional fields.</pre><pre>   It is STRONGLY recommended that this command be implemented in any
   server that implements the XOVER command.  See section 2.8 for more
   details about the XOVER command.</pre><p>2.1.7.1 Responses</p><pre>      215 information follows
      503 program error, function not performed</pre><p>Barber                       Informational                      [Page 8]

RFC 2980                 Common NNTP Extensions             October 2000</p><p>2.1.8 LIST SUBSCRIPTIONS</p><pre>   LIST SUBSCRIPTIONS</pre><pre>   This command is used to get a default subscription list for new users
   of this server.  The order of groups is significant.</pre><pre>   When this list is available, it is preceded by the 215 response and
   followed by a period on a line by itself.  When this list is not
   available, the server returns a 503 response code.</pre><p>2.1.8.1 Responses</p><pre>      215 information follows
      503 program error, function not performed</pre><p>2.2 LISTGROUP</p><pre>   LISTGROUP [ggg]</pre><pre>   The LISTGROUP command is used to get a listing of all the article
   numbers in a particular news group.</pre><pre>   The optional parameter ggg is the name of the news group to be
   selected (e.g. &quot;news.software.b&quot;).  A list of valid news groups may
   be obtained from the LIST command.  If no group is specified, the
   current group is used as the default argument.</pre><pre>   The successful selection response will be a list of the article
   numbers in the group followed by a period on a line by itself.</pre><pre>   When a valid group is selected by means of this command, the
   internally maintained &quot;current article pointer&quot; is set to the first
   article in the group.  If an invalid group is specified, the
   previously selected group and article remain selected.  If an empty
   news group is selected, the &quot;current article pointer&quot; is in an
   indeterminate state and should not be used.</pre><pre>   Note that the name of the news group is not case-dependent.  It must
   otherwise match a news group obtained from the LIST command or an
   error will result.</pre><p>2.2.1  Responses</p><pre>      211 list of article numbers follow
      412 Not currently in newsgroup
      502 no permission</pre><p>Barber                       Informational                      [Page 9]

RFC 2980                 Common NNTP Extensions             October 2000</p><p>2.3 MODE READER</p><pre>   MODE READER is used by the client to indicate to the server that it
   is a news reading client.  Some implementations make use of this
   information to reconfigure themselves for better performance in
   responding to news reader commands.  This command can be contrasted
   with the SLAVE command in RFC 977, which was not widely implemented.
   MODE READER was first available in INN.</pre><p>2.3.1 Responses</p><pre>      200 Hello, you can post
      201 Hello, you can't post</pre><p>2.4 XGTITLE</p><pre>   XGTITLE [wildmat]</pre><pre>   The XGTITLE command is used to retrieve news group descriptions for
   specific news groups.</pre><pre>   This extension first appeared in ANU-NEWS, an NNTP implementation for
   DEC's VMS.  The optional parameter is a pattern in wildmat format.
   When executed, a 282 response is given followed by lines that have
   two fields, the news group name (which matches the pattern in the
   argument) and a short explanation of the purpose of the news group.
   When no argument is specified, the default argument is the current
   group name.  When display is completed, the server sends a period on
   a line by itself.</pre><pre>   Please note that this command and the LIST NEWSGROUP command provide
   the same functionality with different response codes.</pre><pre>   Since this command provides the same functionality as LIST NEWSGROUP
   it is suggested that this extension be deprecated and no longer be
   used in newsreading clients.</pre><pre>   Note that there is a conflict in one of the response codes from
   XGTITLE and some of the authentication extensions.</pre><p>2.5.1 Responses</p><pre>      481 Groups and descriptions unavailable
      282 list of groups and descriptions follows</pre><p>Barber                       Informational                     [Page 10]

RFC 2980                 Common NNTP Extensions             October 2000</p><p>2.6 XHDR</p><pre>   XHDR header [range|&lt;message-id&gt;]</pre><pre>   The XHDR command is used to retrieve specific headers from specific
   articles.</pre><pre>   The required parameter is the name of a header line (e.g.  &quot;subject&quot;)
   in a news group article.  See RFC 1036 for a list of valid header
   lines.  The optional range argument may be any of the following:</pre><pre>               an article number
               an article number followed by a dash to indicate
                  all following
               an article number followed by a dash followed by
                  another article number</pre><pre>   The optional message-id argument indicates a specific article.  The
   range and message-id arguments are mutually exclusive.  If no
   argument is specified, then information from the current article is
   displayed.  Successful responses start with a 221 response followed
   by a the matched headers from all matched messages.  Each line
   containing matched headers returned by the server has an article
   number (or message ID, if a message ID was specified in the command),
   then one or more spaces, then the value of the requested header in
   that article.  Once the output is complete, a period is sent on a
   line by itself.  If the optional argument is a message-id and no such
   article exists, the 430 error response is returned.  If a range is
   specified, a news group must have been selected earlier, else a 412
   error response is returned.  If no articles are in the range
   specified, a 420 error response is returned by the server.  A 502
   response will be returned if the client only has permission to
   transfer articles.</pre><pre>   Some implementations will return &quot;(none)&quot; followed by a period on a
   line by itself if no headers match in any of the articles searched.
   Others return the 221 response code followed by a period on a line by
   itself.</pre><pre>   The XHDR command has been available in the UNIX reference
   implementation from its first release.  However, until now, it has
   been documented only in the source for the server.</pre><p>Barber                       Informational                     [Page 11]

RFC 2980                 Common NNTP Extensions             October 2000</p><p>2.6.1 Responses</p><pre>      221 Header follows
      412 No news group current selected
      420 No current article selected
      430 no such article
      502 no permission</pre><p>2.7 XINDEX</p><pre>   XINDEX ggg</pre><pre>   The XINDEX command is used to retrieve an index file in the format of
   originally created for use by the TIN [6] news reader.</pre><pre>   The required parameter ggg is the name of the news group to be
   selected (e.g. &quot;news.software.b&quot;).  A list of valid news groups may
   be obtained from the LIST command.</pre><pre>   The successful selection response will return index file in the
   format used by the TIN news reader followed by a period on a line by
   itself.</pre><pre>   When a valid group is selected by means of this command, the
   internally maintained &quot;current article pointer&quot; is set to the first
   article in the group.  If an invalid group is specified, the
   previously selected group and article remain selected.  If an empty
   news group is selected, the &quot;current article pointer&quot; is in an
   indeterminate state and should not be used.</pre><pre>   Note that the name of the news group is not case-dependent.  It must
   otherwise match a news group obtained from the LIST command or an
   error will result.</pre><pre>   The format of the tin-style index file is discussed in the
   documentation for the TIN newsreader.  Since more recent versions of
   TIN 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.</pre><p>2.7.1 Responses</p><pre>      218 tin-style index follows
      418 no tin-style index is available for this news group</pre><p>Barber                       Informational                     [Page 12]

RFC 2980                 Common NNTP Extensions             October 2000</p><p>2.8 XOVER</p><pre>   XOVER [range]</pre><pre>   The XOVER command returns information from the overview database for
   the article(s) specified.  This command was originally suggested as
   part of the OVERVIEW work described in &quot;The Design of a Common
   Newsgroup Overview Database for Newsreaders&quot; by Geoff Collyer.  This
   document is distributed in the Cnews distribution.  The optional
   range argument may be any of the following:</pre><pre>               an article number
               an article number followed by a dash to indicate
                  all following
               an article number followed by a dash followed by
                  another article number</pre><pre>   If no argument is specified, then information from the current
   article is displayed.  Successful responses start with a 224 response
   followed by the overview information for all matched messages.  Once
   the output is complete, a period is sent on a line by itself.  If no
   argument is specified, the information for the current article is
   returned.  A news group must have been selected earlier, else a 412
   error response is returned.  If no articles are in the range
   specified, a 420 error response is returned by the server.  A 502
   response will be returned if the client only has permission to
   transfer articles.</pre><pre>   Each line of output will be formatted with the article number,
   followed by each of the headers in the overview database or the
   article itself (when the data is not available in the overview
   database) for that article separated by a tab character.  The
   sequence of fields must be in this order: subject, author, date,
   message-id, references, byte count, and line count.  Other optional
   fields may follow line count.  Other optional fields may follow line
   count.  These fields are specified by examining the response to the
   LIST OVERVIEW.FMT command.  Where no data exists, a null field must
   be provided (i.e. the output will have two tab characters adjacent to
   each other).  Servers should not output fields for articles that have
   been removed since the XOVER database was created.</pre><pre>   The LIST OVERVIEW.FMT command should be implemented if XOVER is
   implemented.  A client can use LIST OVERVIEW.FMT to determine what
   optional fields  and in which order all fields will be supplied by
   the XOVER command.  See Section 2.1.7 for more details about the LIST
   OVERVIEW.FMT command.</pre><p>Barber                       Informational                     [Page 13]

RFC 2980                 Common NNTP Extensions             October 2000</p><pre>   Note that any tab and end-of-line characters in any header data that
   is returned will be converted to a space character.</pre><p>2.8.1 Responses</p><pre>      224 Overview information follows
      412 No news group current selected
      420 No article(s) selected
      502 no permission</pre><p>2.9 XPAT</p><pre>   XPAT header range|&lt;message-id&gt; pat [pat...]</pre><pre>   The XPAT command is used to retrieve specific headers from specific
   articles, based on pattern matching on the contents of the header.
   This command was first available in INN.</pre><pre>   The required header parameter is the name of a header line (e.g.
   &quot;subject&quot;) in a news group article.  See RFC 1036 for a list of valid
   header lines.  The required range argument may be any of the
   following:</pre><pre>               an article number
               an article number followed by a dash to indicate
                  all following
               an article number followed by a dash followed by
                  another article number</pre><pre>   The required message-id argument indicates a specific article.  The
   range and message-id arguments are mutually exclusive.  At least one
   pattern in wildmat must be specified as well.  If there are
   additional arguments the are joined together separated by a single
   space to form one complete pattern.  Successful responses start with
   a 221 response followed by a the headers from all messages in which
   the pattern matched the contents of the specified header line.  This
   includes an empty list.  Once the output is complete, a period is
   sent on a line by itself.  If the optional argument is a message-id
   and no such article exists, the 430 error response is returned.  A
   502 response will be returned if the client only has permission to
   transfer articles.</pre><p>2.9.1 Responses</p><pre>      221 Header follows
      430 no such article
      502 no permission</pre><p>Barber                       Informational                     [Page 14]

RFC 2980                 Common NNTP Extensions             October 2000</p><p>2.10 The XPATH command</p><pre>   XPATH &lt;message-id&gt;</pre><pre>   The XPATH command is used to determine the filenames in which an
   article is filed.  It first appeared in INN.</pre><pre>   The required parameter message-id is the message id of an article as
   shown in that article's message-id header.  According to RFC 1036
   [3], all message ids for all articles within the netnews environment
   are unique, but articles may be crossposted to multiple groups.  The
   response to an XPATH command will include a listing of all filenames
   in which an article is stored separated by spaces or a response
   indicating that no article with the specified message-id exists.  The
   returned data is only useful if the news client knows the
   implementation details of the server.  Because of this, it is
   recommended that client avoid using this command.</pre><p>2.10.1  Responses</p><pre>      223 path1[ path2 ...]
      430 no such article on server</pre><p>2.11 The XROVER command</p><pre>   XROVER [range]</pre><pre>   The XROVER command returns reference information from the overview
   database for the article(s) specified.  This command first appeared
   in the Unix reference implementation.  The optional range argument
   may be any of the following:</pre><pre>               an article number
               an article number followed by a dash to indicate
                    all following
               an article number followed by a dash followed by
                   another article number</pre><pre>   Successful responses start with a 224 response followed by the
   contents of reference information for all matched messages.  Once the
   output is complete, a period is sent on a line by itself.  If no
   argument is specified, the information for the current article is
   returned.  A news group must have been selected earlier, else a 412
   error response is returned.  If no articles are in the range
   specified, a 420 error response is returned by the server.  A 502
   response will be returned if the client only has permission to
   transfer articles.</pre><p>Barber                       Informational                     [Page 15]

RFC 2980                 Common NNTP Extensions             October 2000</p><pre>   The output will be formatted with the article number, followed by the
   contents of the References: line for that article, but does not
   contain the field name itself.</pre><pre>   This command provides the same basic functionality as using the XHDR
   command and &quot;references&quot; as the header argument.</pre><p>2.11.1 Responses</p><pre>      224 Overview information follows
      412 No news group current selected
      420 No article(s) selected
      502 no permission</pre><p>2.12 XTHREAD</p><pre>   XTHREAD [DBINIT|THREAD]</pre><pre>   The XTHREAD command is used to retrieve threading information
   in format of originally created for use by the TRN [6] news
   reader.</pre><pre>   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.</pre><pre>   If no parameter is given, XTHREAD THREAD is assumed.</pre><pre>   To use XTHREAD THREAD, a news group must have been selected
   earlier, else a 412 error response is returned.</pre><pre>   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.</pre><pre>   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.</pre><p>2.12.1 Responses</p><pre>      288 Binary data to follow
      412 No newsgroup current selected
      502 No permission
      503 program error, function not performed</pre><p>Barber                       Informational                     [Page 16]

RFC 2980                 Common NNTP Extensions             October 2000</p><p>3. Other Extensions</p><p>3.1 AUTHINFO</p><pre>   AUTHINFO is used to inform a server about the identity of a user of
   the server.  In all cases, clients must provide this information when
   requested by the server.  Servers are not required to accept
   authentication information that is volunteered by the client.
   Clients must accommodate servers that reject any authentication
   information volunteered by the client.</pre><pre>   There are three forms of AUTHINFO in use.  The original version, an
   NNTP v2 revision called AUTHINFO SIMPLE and a more recent version
   which is called AUTHINFO GENERIC.</pre><p>3.1.1 Original AUTHINFO</p><pre>   AUTHINFO USER username
   AUTHINFO PASS password</pre><pre>   The original AUTHINFO is used to identify a specific entity to the
   server using a simple username/password combination.  It first
   appeared in the UNIX reference implementation.</pre><pre>   When authorization is required, the server will send a 480 response
   requesting authorization from the client.  The client must enter
   AUTHINFO USER followed by the username.  Once sent, the server will
   cache the username and may send a 381 response requesting the
   password associated with that username.  Should the server request a
   password using the 381 response, the client must enter AUTHINFO PASS
   followed by a password and the server will then check the
   authentication database to see if the username/password combination
   is valid.  If the combination is valid or if no password is required,
   the server will return a 281 response.  The client should then retry
   the original command to which the server responded with the 480
   response.  The command should then be processed by the server
   normally.  If the combination is not valid, the server will return a
   502 response.</pre><pre>   Clients must provide authentication when requested by the server.  It
   is possible that some implementations will accept authentication
   information at the beginning of a session, but this was not the
   original intent of the specification.  If a client attempts to
   reauthenticate, the server may return 482 response indicating that
   the new authentication data is rejected by the server.  The 482 code
   will also be returned when the AUTHINFO commands are not entered in
   the correct sequence (like two AUTHINFO USERs in a row, or AUTHINFO
   PASS preceding AUTHINFO USER).</pre><p>Barber                       Informational                     [Page 17]

RFC 2980                 Common NNTP Extensions             October 2000</p><pre>   All information is passed in cleartext.</pre><pre>   When authentication succeeds, the server will create an email address
   for the client from the user name supplied in the AUTHINFO USER
   command and the hostname generated by a reverse lookup on the IP
   address of the client.  If the reverse lookup fails, the IP address,
   represented in dotted-quad format, will be used.  Once authenticated,
   the server shall generate a Sender:  line using the email address
   provided by authentication if it does not match the client-supplied
   From: line.  Additionally, the server should log the event, including
   the email address.  This will provide a means by which subsequent
   statistics generation can associate newsgroup references with unique
   entities - not necessarily by name.</pre><p>3.1.1.1 Responses</p><pre>      281 Authentication accepted
      381 More authentication information required
      480 Authentication required
      482 Authentication rejected
      502 No permission</pre><p>3.1.2 AUTHINFO SIMPLE</p><pre>   AUTHINFO SIMPLE
   user password</pre><pre>   This version of AUTHINFO was part of a proposed NNTP V2
   specification, which was started in 1991 but never completed, and is
   implemented in some servers and clients.  It is a refinement of the
   original AUTHINFO and provides the same basic functionality, but the
   sequence of commands is much simpler.</pre><pre>   When authorization is required, the server sends a 450 response
   requesting authorization from the client.  The client must enter
   AUTHINFO SIMPLE.  If the server will accept this form of
   authentication, the server responds with a 350 response.  The client
   must then send the username followed by one or more space characters
   followed by the password.  If accepted, the server returns a 250
   response and the client should then retry the original command to
   which the server responded with the 450 response.  The command should
   then be processed by the server normally.  If the combination is not
   valid, the server will return a 452 response.</pre><pre>   Note that the response codes used here were part of the proposed NNTP
   V2 specification and are violations of RFC 977.  It is recommended
   that this command not be implemented, but use either or both of the
   other forms of AUTHINFO if such functionality if required.</pre><p>Barber                       Informational                     [Page 18]

RFC 2980                 Common NNTP Extensions             October 2000</p><p>3.1.2.1 Responses</p><pre>      250 Authorization accepted
      350 Continue with authorization sequence
      450 Authorization required for this command
      452 Authorization rejected</pre><p>3.1.3 AUTHINFO GENERIC</p><pre>   AUTHINFO GENERIC authenticator arguments...</pre><pre>   AUTHINFO GENERIC is used to identify a specific entity to the server
   using arbitrary authentication  or identification protocols.  The
   desired protocol is indicated by the authenticator parameter, and any
   number of parameters can be passed to the authenticator.</pre><pre>   When authorization is required, the server will send a 480 response
   requesting authorization from the client.  The client should enter
   AUTHINFO GENERIC followed by the authenticator name, and the
   arguments if any.  The authenticator and arguments must not contain
   the sequence &quot;..&quot;.</pre><pre>   The server will attempt to engage the server end authenticator,
   similarly, the client should engage the client end authenticator.
   The server end authenticator will then initiate authentication using
   the NNTP sockets (if appropriate for that authentication protocol),
   using the protocol specified by the authenticator name.  These
   authentication protocols are not included in this document, but are
   similar in structure to those referenced in RFC 1731 [8] for the
   IMAP-4 protocol.</pre><pre>   If the server returns 501, this means that the authenticator
   invocation was syntactically incorrect, or that AUTHINFO GENERIC is
   not supported.  The client should retry using the AUTHINFO USER
   command.</pre><pre>   If the requested authenticator capability is not found, the server
   returns the 503 response code.</pre><pre>   If there is some other unspecified server program error, the server
   returns the 500 response code.</pre><pre>   The authenticators converse using their protocol until complete.  If
   the authentication succeeds, the server authenticator will terminate
   with a 281, and the client can continue by reissuing the command that
   prompted the 380.  If the authentication fails, the server will
   respond with a 502.</pre><p>Barber                       Informational                     [Page 19]

RFC 2980                 Common NNTP Extensions             October 2000</p><pre>   The client must provide authentication when requested by the server.
   The server may request authentication at any time.  Servers may
   request authentication more than once during a single session.</pre><pre>   When the server authenticator completes, it provides to the server
   (by a mechanism herein undefined) the email address of the user, and
   potentially what the user is allowed to access.  Once authenticated,
   the server shall generate a Sender:  line using the email address
   provided by the authenticator if it does not match the user-supplied
   From: line.  Additionally, the server should log the event, including
   the user's authenticated email address (if available).  This will
   provide a means by which subsequent statistics generation can
   associate newsgroup references with unique entities - not necessarily
   by name.</pre><pre>   Some implementations make it possible to obtain a list of
   authentication procedures available by sending the server AUTHINFO
   GENERIC with no arguments.  The server then returns a list of
   supported mechanisms followed by a period on a line by itself.</pre><p>3.1.3.1 Responses</p><pre>      281 Authentication succeeded
      480 Authentication required
      500 Command not understood
      501 Command not supported
      502 No permission
      503 Program error, function not performed
      nnn  authenticator-specific protocol.</pre><p>3.2 DATE</p><pre>   DATE</pre><pre>   The first NNTP working group discussed and proposed a syntax for this
   command to help clients find out the current time from the server's
   perspective.  At the time this command was discussed (1991-1992), the
   Network Time Protocol [9] (NTP) was not yet in wide use and there was
   also some concern that small systems may not be able to make
   effective use of NTP.</pre><pre>   This command returns a one-line response code of 111 followed by the
   GMT date and time on the server in the form YYYYMMDDhhmmss.</pre><p>3.2.1 Responses</p><pre>      111 YYYYMMDDhhmmss</pre><p>Barber                       Informational                     [Page 20]

RFC 2980                 Common NNTP Extensions             October 2000</p><p>3.3 The WILDMAT format</p><pre>   The WILDMAT format was first developed by Rich Salz based on the
   format used in the UNIX &quot;find&quot; command to articulate file names.  It
   was developed to provide a uniform mechanism for matching patterns in
   the same manner that the UNIX shell matches filenames.  Patterns are
   implicitly anchored at the beginning and end of each string when
   testing for a match.  There are five pattern matching operations
   other than a strict one-to-one match between the pattern and the
   source to be checked for a match.  The first is an asterisk (*) to
   match any sequence of zero or more characters.  The second is a
   question mark (?) to match any single character.  The third specifies
   a specific set of characters.  The set is specified as a list of
   characters, or as a range of characters where the beginning and end
   of the range are separated by a minus (or dash) character, or as any
   combination of lists and ranges.  The dash can also be included in
   the set as a character it if is the beginning or end of the set.
   This set is enclosed in square brackets.  The close square bracket
   (]) may be used in a set if it is the first character in the set.
   The fourth operation is the same as the logical not of the third
   operation and is specified the same way as the third with the
   addition of a caret character (^) at the beginning of the test string
   just inside the open square bracket.  The final operation uses the
   backslash character to invalidate the special meaning of the a open
   square bracket ([), the asterisk, backslash or the question mark.
   Two backslashes in sequence will result in the evaluation of the
   backslash as a character with no special meaning.</pre><p>3.3.1 Examples</p><pre>   a. [^]-] -- matches any single character other than a close square
               bracket or a minus sign/dash.</pre><pre>   b. *bdc  -- matches any string that ends with the string &quot;bdc&quot;
               including the string &quot;bdc&quot; (without quotes).</pre><pre>   c. [0-9a-zA-Z] -- matches any single printable alphanumeric ASCII
               character.</pre><pre>   d. a??d  --  matches any four character string which begins
                with a and ends with d.</pre><p>Barber                       Informational                     [Page 21]

RFC 2980                 Common NNTP Extensions             October 2000</p><p>3.4 Additional Headers</p><pre>   Many NNTP implementations add headers to Usenet articles when then
   are POSTed via NNTP.  These headers are discussed in this section.
   None of these headers conflict with those specified in RFC 1036 and
   should be passed unchanged by Usenet transports conforming to RFC
   1036.</pre><p>3.4.1 NNTP-Posting-Host</p><pre>   This line is added to the header of a posted article by the server.
   The contents of the header is either the IP address or the fully
   qualified domain name of the client host posting the article.  The
   fully qualified domain name should be determined by doing a reverse
   lookup in the DNS on the IP address of the client.  If the client
   article contains this line, it is removed by the server before
   acceptance of the article by the Usenet transport system.</pre><pre>   This header provides some idea of the actual host posting the article
   as opposed to information in the Sender or From lines that may be
   present in the article.  This is not a fool-proof methodology since
   reverse lookups in the DNS are vulnerable to certain types of
   spoofing, but such discussions are outside the scope of this
   document.</pre><p>3.4.2 X-Newsreader and others</p><pre>   There are other lines that are added by clients as well.  Most of
   these indicate the type of newsreader software that is posting the
   article.</pre><p>4.0 Common Implementation Issues</p><pre>   Many NNTP implementations do not follow the specifications in RFC
   977.  In this section, some common implementation issues are
   summarized.</pre><p>4.1 The Response to the LIST command</p><pre>   RFC 977 says that the fourth field of the &quot;list of valid newsgroups
   associated information&quot; returned must be &quot;either 'y' or 'n'
   indicating whether posting to this newsgroup is allowed ('y') or
   prohibited ('n').  Most implementations simply output the exact
   contents of the transport system's active newsgroup list.  For more
   implementations, the fourth field usually has more values that 'y' or
   'n'.</pre><p>Barber                       Informational                     [Page 22]

RFC 2980                 Common NNTP Extensions             October 2000</p><p>4.2 The Required Headers in an Article and the POST command</p><pre>   RFC 977 notes in section 3.10.1 that articles presented &quot;should
   include all required header lines.&quot; In fact, modern implementations
   only require From, Subject, and Newsgroups header lines and will
   supply the rest; further, many implementers believe that it is best
   for clients to generate as few headers as possible, since clients
   often do not format other headers correctly.</pre><pre>   This implementation behavior is consistent with both Bnews and Cnews
   which would supply missing headers for articles directly submitted to
   them.</pre><p>4.3 Article Numbering</p><pre>   RFC 977 does not directly address the rules concerning articles
   number.  However, the current practice is simple: article numbers are
   monotonically increasing, articles may disappear, and therefore the
   high and low water marks returned in a GROUP command should be
   treated as maximum minima, and minimum maxima, respectively.</pre><p>4.4 Availability of commands defined in RFC 977</p><pre>   Some implementations permit administrators to disable commands
   defined RFC 977.  Some implementations have some set of commands
   disabled by default.  This means that client implementations cannot
   depend on the availability of the disabled set of commands.  This
   increases the complexity of the client and does not encourage
   implementors to optimize the implementation of commands that don't
   perform well.</pre><pre>   NEWNEWS is one of the commands frequently disabled.</pre><p>4.5 The Distribution header and NEWNEWS</p><pre>   In section 12.4 of RFC 977, the optional distributions argument is
   described.  This argument, according to RFC 977, would limit the
   responses to articles that were in newsgroups with prefixes that
   matched the optional distributions argument.</pre><pre>   Some implementations implement this by matching the Distributions
   header in articles to the distribution argument.  Others do the match
   against segments of the newsgroup's name.</pre><pre>   This variation is probably best explained by the evolution of the
   USENET article format.  At the time RFC 977 was specified, the
   newsgroup name defined how the group was distributed throughout
   USENET.  RFC 1036 changed this convention.  So, those that are</pre><p>Barber                       Informational                     [Page 23]

RFC 2980                 Common NNTP Extensions             October 2000</p><pre>   strictly implementing RFC 977 would match the newsgroup name prefix
   against the distribution argument and only display matches.  Those
   that implement against the intent of the command (as modified by the
   redefinition of the article format)would match the Distributions
   header against the distribution argument and only display those
   matches.</pre><p>5.0 Further Work</p><pre>   With the continued use of NNTP on the Internet, there remains an
   interest in creating an optimized transport protocol for server-to-
   server transfers and an optimized client protocol for client-to-
   server interactions.  There is also considerable interest is building
   better mechanisms to provide audit information on which news groups
   are being read by which users.</pre><pre>   An IETF working group has been formed and it is the hope of this
   author that these issues will be addressed in that forum.</pre><p>6.0 Security Considerations</p><pre>   The use of the AUTHINFO is optional.  This command as documented has
   a number of security implications.  In the original and simple forms,
   all passwords are passed in plaintext and could be discovered by
   various forms of network or system surveillance.  The AUTHINFO
   GENERIC command has the potential for the same problems if a
   mechanism is used that also passes cleartext passwords.  RFC 1731 [8]
   discusses these issues in greater detail.</pre><p>7.0 References</p><pre>   [1]  Kantor, B and P. Lapsley, &quot;Network News Transfer Protocol&quot;, RFC
        977, February 1986.</pre><pre>   [2]  Limoncelli, Tom, &quot;Read This Before You Write a Newsreader&quot;,
        http://mars.superlink.net/tal/news-software-authors.html, June,
        1996.</pre><pre>   [3]  Horton, M. and R. Adams, &quot;Standard for interchange of USENET
        messages&quot;,  RFC 1036, December 1987.</pre><pre>   [4]  Salz, Rich, Manual Page for wildmat(3) from the INN 1.4
        distribution, UUNET Technologies, Revision 1.10, April, 1992.</pre><pre>   [5]  Robertson, Rob, &quot;FAQ: Overview database / NOV General
        Information&quot;, ftp://ftp.uu.net/networking/news/nntp/inn/faq-
        nov.Z, January, 1995.</pre><p>Barber                       Informational                     [Page 24]

RFC 2980                 Common NNTP Extensions             October 2000</p><pre>   [6]  Lea, Iain, &quot;FAQ about the TIN newsreader&quot;,
        http://www.cs.unca.edu/~davidson/handouts/tinfaq.html</pre><pre>   [7]  Kappesser, Peter, &quot;[news.software.readers] trn newsreader FAQ&quot;,
        2 parts, ftp://rtfm.mit.edu/pub/usenet-by-hierarchy/news/
        software/readers/%5Bnews.software.readers%5D_trn_newsreader
        _FAQ%2C_part_1%3A_Basics and ftp://rtfm.mit.edu/pub/usenet-by
        -hierarchy/news/software/readers/%5Bnews.software.readers
        %5D_trn_news-reader_FAQ%2C_part_2%3A_Advanced, February, 1995.</pre><pre>   [8]  Meyers, J., &quot;IMAP4 Authentication Mechanisms&quot;, RFC 1731,
        December 1994.</pre><pre>   [9]  Mills, D., &quot;Network Time Protocol (Version 3), Specification,
        Implementation and Analysis&quot;, RFC 1305, March 1992.</pre><p>8.0 Notes</p><pre>   DEC is a registered trademark of Compaq Computer Corporation.  UNIX
   is a registered trademark of The Open Group.  VMS is a registered
   trademark of Compaq Computer Corporation.</pre><p>9.0 Acknowledgments</p><pre>   The author gratefully acknowledges the comments and additional
   information provided by the following individuals:</pre><pre>   Wayne Davison &lt;davison@armory.com&gt;
   Chris Lewis &lt;clewis@bnr.ca&gt;
   Tom Limoncelli &lt;tal@lucent.com&gt;
   Eric Schnoebelen &lt;eric@egsner.cirr.com&gt;
   Rich Salz &lt;rsalz@osf.org&gt;</pre><pre>   This work was precipitated by the work of various newsreader authors
   and newsserver authors which includes those listed below:</pre><pre>   Rick Adams    -- Original author of the NNTP extensions to the RN
                    newsreader and last maintainer of Bnews
   Stan Barber   -- Original author of the NNTP extensions to the
                    newsreaders that are part of Bnews.
   Geoff Collyer -- Original author of the OVERVIEW database proposal and
                    one of the original authors of CNEWS
   Dan Curry     -- Original author of the xvnews newsreader
   Wayne Davison -- Author of the first threading extensions to the
                    RN newsreader (commonly called TRN).
   Geoff Huston  -- Original author of ANU NEWS</pre><p>Barber                       Informational                     [Page 25]

RFC 2980                 Common NNTP Extensions             October 2000</p><pre>   Phil Lapsey   -- Original author of the UNIX reference
                    implementation
   Iain Lea      -- Original maintainer of the TIN newsreader
   Chris Lewis   -- First known implementor of the AUTHINFO GENERIC
                    extension
   Rich Salz     -- Original author of INN
   Henry Spencer -- One of the original authors of CNEWS
   Kim Storm     -- Original author of the NN newsreader</pre><p>10.0 Author's Address</p><pre>   Stan Barber
   P.O. Box 300481
   Houston, Texas, 77230</pre><pre>   EMail: sob@academ.com</pre><p>Barber                       Informational                     [Page 26]

RFC 2980                 Common NNTP Extensions             October 2000</p><p>11.0 Full Copyright Statement</p><pre>   Copyright (C) The Internet Society (2000).  All Rights Reserved.</pre><pre>   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 implementation 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.</pre><pre>   The limited permissions granted above are perpetual and will not be
   revoked by the Internet Society or its successors or assigns.</pre><pre>   This document and the information contained herein is provided on an
   &quot;AS IS&quot; 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.</pre><p>Acknowledgement</p><pre>   Funding for the RFC Editor function is currently provided by the
   Internet Society.</pre><p>Barber                       Informational                     [Page 27]
</p></section></section></section><section><h1>License</h1><p><a0:anchor>RFCのライセンス</a0:anchor></p></section><section><h1>メモ</h1></section></body></html>