🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #82615

Re: Sanity check - Path headers

#82615
From: D. Stussy
Date: Wed, 20 Jan 2010 06:47
54 lines
3972 bytes
"Russ Allbery" <rra@stanford.edu> wrote in message
news:87r5psxwbx.fsf@windlord.stanford.edu...
> "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.

What harm is there if Injection-Info and Xref are present?  Won't (or
shouldn't) they would be overwritten (or replaced) in the injection process
anyway?  Therefore, if they are present, they will be ignored or deleted in
favor of their new values.

As Path need not be null and isn't ignored but prepended to, I agree with
the above.

Technical Details
Message-ID: <hj68th$8tv$1@snarked.org>
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!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news.addix.net!news.tng.de!goblin3!goblin.stu.neva.ru!de-l.enfer-du-nord.net!weretis.net!feeder2.news.weretis.net!news.snarked.org!not-for-mail
References: <xn0gp4aof4e4o3t00f@newszilla.xs4all.nl><874ompmozn.fsf@windlord.stanford.edu><xn0gp56k45leg54000@newszilla.xs4all.nl> <87r5psxwbx.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <hj68th$8tv$1@snarked.org>
Subject: Re: Sanity check - Path headers
Date: Tue, 19 Jan 2010 22:47:31 -0800
From: "D. Stussy" <spam+newsgroups@bde-arc.ampr.org>
References: <xn0gp4aof4e4o3t00f@newszilla.xs4all.nl><874ompmozn.fsf@windlord.stanford.edu><xn0gp56k45leg54000@newszilla.xs4all.nl> <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!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news.addix.net!news.tng.de!goblin3!goblin.stu.neva.ru!de-l.enfer-du-nord.net!weretis.net!feeder2.news.weretis.net!news.snarked.org!not-for-mail
Newsgroups: news.software.nntp
Lines: 54
Reply-To: "D. Stussy" <replies@newsgroups.kd6lvw.ampr.org>
NNTP-Posting-Host: 71.118.51.220
X-Trace: snarked.org 1263970033 9151 71.118.51.220 (20 Jan 2010 06:47:13 GMT)
X-Complaints-To: newsmaster+complaints@snarked.org
NNTP-Posting-Date: Wed, 20 Jan 2010 06:47:13 +0000 (UTC)
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1478
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478
X-Original-Bytes: 3770