🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #82588

Re: Sanity check - Path headers

#82588
From: Russ Allbery
Date: Thu, 14 Jan 2010 20:31
49 lines
3460 bytes
"Pieter Zijlstra" <p.zylstra.notthis@hccnet.nl> writes:

> Thanks!  

> To me it is/was mainly the following part of RFC5536 3.1.5 which is a
> little unclear:
>   "The Path header field indicates the route taken by an article since
>    its injection into the Netnews system.  Each agent that processes an
>    article is required to prepend at least one <path-identity> to this
>    header field body [...]"

> More over because "agent" in 1.5 is described as:
>   "The generic term "agent" is used when describing requirements that
>   apply to both user agents and news servers"

RFC 5536 only really covers the format and isn't specific about the
process.  RFC 5537 is where you want to go for the process.  See section
3.2:

   All news server components (injecting agents, relaying agents, and
   serving agents) MUST identify themselves, when processing an article,
   by prepending their <path-identity> (defined in Section 3.1.5 of
   [RFC5536]) to the Path header field.  Injecting agents MUST also use
   the same identity in Injection-Info header fields that they add, and
   serving and relaying agents SHOULD use the same identity in any Xref
   header fields they add.

and 3.4.1:

   A proto-article is an article in the format used by a posting agent
   when offering that article to an injecting agent.  It may omit
   certain header fields that can be better supplied by the injecting
   agent and will not contain header fields that are added by the
   injecting agent.  A proto-article is only for transmission to an
   injecting agent and SHOULD NOT be transmitted to any other agent.

   A proto-article has the same format as a normal article except that
   the Injection-Info and Xref header fields MUST NOT be present, the
   Path header field SHOULD NOT contain a "POSTED" <diag-keyword>, and
   any of the following mandatory header fields MAY be omitted:
   Message-ID, Date, and Path.  In all other respects, a proto-article
   MUST be a valid Netnews article.  In particular, the header fields
   that may be omitted MUST NOT be present with invalid content.

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

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <87r5psxwbx.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border2.nntp.ams.giganews.com!nntp.giganews.com!feeds.phibee-telecom.net!de-l.enfer-du-nord.net!news.glorb.com!news2.glorb.com!usenet.stanford.edu!news.stanford.edu!not-for-mail
References: <xn0gp4aof4e4o3t00f@newszilla.xs4all.nl> <874ompmozn.fsf@windlord.stanford.edu> <xn0gp56k45leg54000@newszilla.xs4all.nl>

Show Full Headers
Complete Article Headers
Message-ID: <87r5psxwbx.fsf@windlord.stanford.edu>
Subject: Re: Sanity check - Path headers
Date: Thu, 14 Jan 2010 12:31:14 -0800
From: Russ Allbery <rra@stanford.edu>
References: <xn0gp4aof4e4o3t00f@newszilla.xs4all.nl> <874ompmozn.fsf@windlord.stanford.edu> <xn0gp56k45leg54000@newszilla.xs4all.nl>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border2.nntp.ams.giganews.com!nntp.giganews.com!feeds.phibee-telecom.net!de-l.enfer-du-nord.net!news.glorb.com!news2.glorb.com!usenet.stanford.edu!news.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 49
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.stanford.edu 1263501074 7903 171.67.225.134 (14 Jan 2010
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)
Cancel-Lock: sha1:oabwd6ohLJaICgdRL/aa2oK87ZM=